ne2000 on pc386

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jan 14 00:57:27 UTC 2002



Vivek Vaid wrote:
> 
> hi,
> 
> i tried to compile and run netdemo on a 486 machine, which has a bootrom
> and boots from netboot, and runs other rtems programs correctly.
> 
> it said:
> PCI DEC not found...
> then i tried using "wd1" driver but that said "too many files open"
> 
> I have read a similar query and its answer related to some other card on
> the archive.
> 
> i cannot find where should i set "ne1"
> I know somewhere it has to be "ne1" because i did a grep and found it in
> i386ex, but it was not in PC386 directory

The file netconfig.h looks to what the BSP set for constants
that reflect the driver name and attach routine.  The default 
is the DEC Tulip driver.  I think the file 
c/src/lib/libbsp/i386/pc386/include/bsp.h has the entries for
the NE2K commented out.

> The card i am using is ne2000, compatible isa card. so on windows and
> linux it doesnt work unless i specify the io address and irq.
> should i modify the structure in netconfig.h for net demo, adding these
> fields ?

I think so.  Search the old mail list archives for details.

> i would appreciate any help and pointers.

Me too. Someone sent me an old (real) ISA NE2K that we are trying
to get working in an equally ancient 486DX4.  So trading hints is
definitely appreciated for us also.
 
> till then I am recompiling the full bsp for i386..

I don't know what you mean by this.  Modify the one file or override
its settings for driver name and attach routine in the networkconf.h.

> regards
> Vivek

-- 
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