This message is from the T13 list server.

>>The slot number is the same as the PCI Device number.

>  It is not. And I'd prefer this item to be called a "device #" in EDD-2 to
>avoid further confusion.

>> In some non-T13
>>documents, the slot number is a combination of PCI Bus, Device and
Function
>>numbers,

> Hm, never heard of that interpretation. Thanks. :-)

>> but here it is just the PCI Device number.

>   I was almost 100% it is. But it does confuse people and results in a
>buggy code.

>>   When the EDD documents (D1386 & D1484) say "PCI slot", do they
>>mean the slot # or the device #?
>>   This actually is a source of confusion among the BIOS writers (and
>>now it confuses me as well :-). I myself was sure that the docs atually
>>mean the device # (just because you can't get the PCI slot # that simply,
>>and there are m/b devices which just don't have the slot #).
>>   But I know BIOSes that get the matter straight, and return the slot
#...
>>of 0--
>>I first thought that those BIOSes just don't return anything meaningful
>>(partly
>>because the same BIOSes return zero-padded Host Bus Type and Interface
>>Type fields instead of pading them with spaces) but then it turned out
that
>>they get the controller's slot # from the PCI BIOS (from the PCI interrupt
>>routing table). And as the controller is actually on the motherboard, the
>>slot # is 0 (which, er, doesn't help much to identify the controller,
unlike
>>the PCI device #)...

>   Well, actually the field name in the IRQ Routing Table is not "slot #"
but
>a "link value" instead although it is treated as slot # because each PCI
slot
>in a PC has an unique one.

   I'm sorry for a little disiformation. There's a deicated field called
"slot #"
in each routing table entry (there are 4 "link values" per slot) which does
correspond to the PCI slot physical placement (and not to the bus/device/
function #'s). It is 0 for m/b devices. Anyway, this makes the reason to
change the wording in EDD-2 even stronger. :-)

--
Sergei Shtylyov
E-mail: [EMAIL PROTECTED]
FidoNet: 2:5020/118.24




Reply via email to