Tech Support > Microsoft Windows > Drivers > Re: How to get PCI bus number and Func ID
Re: How to get PCI bus number and Func ID
Posted by Bill McKenzie on October 3rd, 2003


If separate functions then your device is providing separate BARs for the
resources as per PCI multifunction spec yes? If so, then you don't need to
access the bus/dev/func info for the device. StartDevice will receive the
correct resources automagically. Your INF files specifies the DeviceID and
the config space should specify the correct BARs to use. The PCI driver
handles it all for you.

Please see the DDK documentation under the headings: "Using PCI IDs with
Windows", "Supporting Multifunction Devices" and "Supporting Multifunction
PCI Devices".

--
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashu...es/utility.htm


"Bob Stewart" <bstewart@vzavenue.net> wrote in message
news:080801c38914$e1cf0d20$a301280a@phx.gbl...



Similar Posts