|
Re: PCI device without PCI index ?
|
08/24/2010 11:09 AM
post64104
|
Re: PCI device without PCI index ?
This is a BIOS problem as the _CA_PCI_Find_Device() function cannot find the
device with an index of 1, due to the fact that it is on a separate bus. The
PCI server under QNX6 takes this into consideration.
On 10-08-24 8:47 AM, "Jacek Rudnicki" <community-noreply@qnx.com> wrote:
> Hi,
>
> there is a board with two integrated and the same 1GB Ethernet adapters.
> First of them is visible with pci index equal to 0. Interesting is that pci
> index is not reported for the second card.
>
> Output from the 'show_pci' looks as follows:
> ...
> Vendor ID = 10ech,
> Device ID = 8168h,
> PCI index = 0h
> Class Code = 020000h Network (Ethernet) ProgIF=0
> Revision ID = 1h
> Bus number = 3
> Device number = 0
> Function num = 0
> Status Reg = 4010h
> Command Reg = 107h
> Header type = 0h Single-function
> BIST = 0h Build-in-self-test not supported
> Latency Timer = 0h
> Cache Line Size= 8h un-cacheable
> Base Address = IO@d800h length 256 bytes MEM@feaff000h,64bit length 4096
> Subsystem Vendor ID = 10ech
> Subsystem ID = 8168h
> Expansion ROM = feac0000h length 131072 disabled
> ...
> ...
> Vendor ID = 10ech,
> Device ID = 8168h,
> Class Code = 020000h Network (Ethernet) ProgIF=0
> Revision ID = 1h
> Bus number = 4
> Device number = 0
> Function num = 0
> Status Reg = 4010h
> Command Reg = 107h
> Header type = 0h Single-function
> BIST = 0h Build-in-self-test not supported
> Latency Timer = 0h
> Cache Line Size= 8h un-cacheable
> Base Address = IO@e800h length 256 bytes MEM@febff000h,64bit length 4096
> Subsystem Vendor ID = 10ech
> Subsystem ID = 8168h
> Expansion ROM = febc0000h length 131072 disabled
> ...
>
> The 'pci' command run on the same machine shows both pci indexes correctly.
>
> Regards,
> Jacek
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post64054
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|