art yerkes wrote:
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.
That's not problem. In case IoGetDeviceProperty fails, these values really should be read from registry. This is not implemented yet, but it shouldn't matter because these values are used only by the PCI specific code (which obviously isn't used by the NE2K driver).
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.
It works for me with QEMU 2004-10-09 in ISA mode (I haven't tested PCI mode...). What's the result of "info network" command on QEMU console?
Regards, Filip