rtems 3c509 driver

Joel Sherrill joel.sherrill at OARcorp.com
Wed Oct 17 14:27:30 UTC 2001


Davide Del Vento wrote:
> 
> > > Hi all again.
> > > I was trying to make my ethernet card 3c509 work. I was thinking that it
> > > should be a simple task, but it wasn't. I'm trying to make
> >netdemos-4.5.0
> > > but I find some difficulties (compilation errors)
> > >
> > > I followed the suggestion of the second part of the
> > >
> >http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2001/may/msg00070.html
> > >
> > > and modify my /opt/rtems/pc486/lib/include/bsp.h (please note the path)
> >as
> > > suggested, but when I run my netdemo.exe I get:
> > > RTEMS: DEC PCI network card not found !!
> > >
> > > I searched for 3c509.c in my /opt/rtems directory, but I didn't find
> > > anything (I find some stuff in my home where some sources are and I try
> >to
> > > compile it, but I get lot of errors)
> > > Should I rebuild rtems, setting up everything for my platform?
> >
> >I think your driver name is wrong in your network config because
> >the pc386 BSP defaults to the DEC one.  Try this:
> >Try this before your network configuration.
> >
> >#undef RTEMS_BSP_NETWORK_DRIVER_NAME
> >#undef RTEMS_BSP_NETWORK_DRIVER_ATTACH
> >
> >#define RTEMS_BSP_NETWORK_DRIVER_NAME   "ep"
> >#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_3c509_driver_attach
> 
> I use a very similar definition in my bsp.h (it NAME is "ep0").
> I try "ep" too, but I get exactly the same error.

In the debugger look at rtems_bsdnet_config and see what the
first driver in the table actually is.  If you made this change
correctly (i.e. nothing undid it for you), it should have
worked. :(  So let's figure out what config you actually
have.  

> Bye
> ;David
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list