Bridge device - which kind of driver?

I try to build wdm-style driver for Tundra UniverseII device: class 06 -
PCI bridge, subclass 80 - other bridge device. I build driver based on one
of the PCI-WDM samples. Under W98 all works fine, but under W2K driver
don’t work - no AddDevice called and I see resources conflict “ports
0xC000-0xCFFF conflict with AGP bridge” (really this resources have no any
conflicts). May be my inf-file is wrong, may be my driver - I don’t
understand… Which inf-file from NTDDK i can use as template? And which
driver sample?

Victor,

I try to build wdm-style driver for Tundra UniverseII device: class
06 -
PCI bridge, subclass 80 - other bridge device. I build driver based on
one
of the PCI-WDM samples. Under W98 all works fine, but under W2K driver
don’t work - no AddDevice called and I see resources conflict “ports
0xC000-0xCFFF conflict with AGP bridge” (really this resources have no
any
conflicts). May be my inf-file is wrong, may be my driver - I don’t
understand… Which inf-file from NTDDK i can use as template? And
which
driver sample?

It depends on what kind of functionality you are planning to implement :

  1. If your smart device looks like a network card - look at NDIS
    miniport samples (e100bex).

  2. If it is a generic device with your own protocol accessed throw
    IOCTLs - look at the DDK’s toaster sample or any WDM-driver sample
    (f.e. Walter Oney’s books include good samples).

  3. Any other device type you need ))

I’ve succesfully implemented both methods 1) and 2) for our
bridge-based device.


Best regards,
Valeriy Glushkov