Re: NDIS WDM driver installation for multi-port NIC



The bus driver should instantiate a PDO for each physical port. If you
design the interface correctly, this will allow you to have a seperate NDIS
WDM instance, that then talks to its given port.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"DW" <DZ@xxxxxxxxxxxxx> wrote in message
news:A7B6D992-A1F9-483D-BCBE-AD4AEF344F4E@xxxxxxxxxxxxxxxx
I know how to install an NDIS WDM driver over a bus driver like the pcidrv
sample. However, I'm still trying to understand the different ways to
programmatically install multiple instances of an NDIS WDM driver over a
single instance of a bus driver. The reason there is an N-1
correspondence of
miniport devices to bus/functional devices is because the bus/functional
device accesses a single card, which has multiple physical ports. Would
it
make more sense to create the device tree differently so that there is a
1-1
correspondence between devices and to share the state information?

Can the devcon sample be used as a starting point? If I understand things
correctly, I should be able to use SetupDiCreateDeviceInfo to create
multiple
NDIS WDM devices/nodes on top of a given bus/functional device.


.