without pci driver, can I use ne2000 driver

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
blueheart

without pci driver, can I use ne2000 driver

Post by blueheart »

without pci driver, can write a ne2000 driver?
Dex4u

Re:without pci driver, can I use ne2000 driver

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:without pci driver, can I use ne2000 driver

Post 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 ...
blueheart

Re:without pci driver, can I use ne2000 driver

Post 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?
Post Reply