Page 1 of 1

without pci driver, can I use ne2000 driver

Posted: Thu Nov 10, 2005 8:32 am
by blueheart
without pci driver, can write a ne2000 driver?

Re:without pci driver, can I use ne2000 driver

Posted: Thu Nov 10, 2005 8:40 am
by Dex4u
You can test for the persent of ne2000 in the ne2000 driver and exit with a error mesage if not present.
To start with.

Re:without pci driver, can I use ne2000 driver

Posted: Thu Nov 10, 2005 9:29 am
by Pype.Clicker
- hardcode/prompt user for bus:device:function (shouldn't change between reboots, but will not please most users)
- hardcode BARs content (e.g. assume you already know where resources of the NE2K stands) ... you're more likely to write something that never works, though...

But basically, that's all. NE2K doesn't use busmastering, and iirc, it has only 1 I/O region ...

Re:without pci driver, can I use ne2000 driver

Posted: Thu Nov 10, 2005 7:28 pm
by blueheart
I write a ne2000irs(..),
and use the irq_install (irq_num, handler);
register the ne2000irs(..) as the interrupt handler function for
ne2000, this is ok?