Binding to NIC card driver

Hello
We are writing a driver that will work on windows 98 and ME. Basically our
driver makes a call to underneath NIC card driver to find out the latest
status of that NIC card. Till this point it was working fine with Realtek
RTL8139(A PCI fast) Ethernet Adapter card, but in case of Realtek RTL
8139(A/B/C/ 8130) PCI fastEternet NIC card, our driver could not bind and
hence we can not make queries to NIC card driver (It shows entry like:
OurDriver.->Nothing at installation).
To solve this problem I made one change in .inf file i.e.

I replace following line

;Interfaces
HKR,Ndi\Interfaces\LowerRange,“ndis5”

with
;Interfaces
HKR,Ndi\Interfaces\LowerRange,“ndis3,ndis5”

After making this change (i.e. after adding ndis3) our driver binds to both
adapter i.e. Dialup adapter as well as NIC card driver and in turn gives us
status of Dialup adapter which is not useful for us. If I manually remove
the binding with dialup adapter at the time of installation then it works
fine and gives proper values of NIC card.
My question is can we avoid this manual removal of binding or can we write
/ add in inf file that will bind our driver to NIC card only?
Regards and thanks
Sachin


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