Hi all,
I have an NDIS 5.0 Driver, running on Windows 2000.
The driver currently maps a hardware register set into
virtual memory. This is done by calling
NdisReadPciSlotInformation to get the PCI base address
registers, and then calling NdisMMapIoSpace.
What I would like the driver to do now, is to scan the
PCI bus for another device, and map its registers into
virtual memory.
I have tried the NDIS function
NdisReadPciSlotInformation ( which according to the
documentation “returns bus-specific PCI configuration
information from the PCI configuration space for a
device at a particular slot on the bus”) The function
seems to return the same information, ignoring the
slot number parameter. (my theory seems to be
corroborated by old questions in this archive and the
E100bex DDK example)
I have tried calling HalGetBusData function, which
causes the machine to reboot.
Has anyone implemented such a driver? Is this approach
possible? any information would be greatly
appreciated,
Thanks,
Doug McLetchie
xxxxx@yahoo.com
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com