[ros-dev] The ne2000 driver

art yerkes ayerkes at speakeasy.net
Thu Nov 4 22:20:47 CET 2004


I'm continuing to have trouble with the ne2000 driver, and I'm honestly not
sure how to fix it.

I've been poking around a little, so I'll put a diff from my tree as well.

Basically, the problem i see is that BusType and BusNumber from

IoGetDeviceProperty(..., DevicePropertyLegacyBusType, ..., &Adapter->BusType, ...)

and

IoGetDeviceProperty(..., DevicePropertyLegacyBusNumber, ...)

are always -1 in drivers/net/ndis/ndis/miniport.c, line 1404.

Even when i force these values to sensible ones (Isa, 0), the ne2000 gives
0xff for all the bytes of the mac address.

I should mention that I'm using qemu.  I've tried my trusty 32-bit 0.5.5
build, 32-bit 0.6.0, and 64-bit 0.6.0 builds.

http://64.81.145.152/~arty/ne2000-goodies.zip
--> arty/arty-poke.diff
--> arty/run-log.txt
--> arty/qemu-0.*       (various versions of qemu i tested if it helps)

-- 
Here's a simple experiment. Stand on a train track between two locomotives
which are pushing on you with equal force in opposite directions. You will
exhibit no net motion. None the less, you may soon begin to notice that
something important is happening.
-- Robert Stirniman


More information about the Ros-dev mailing list