[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slot number in Desk-top
Well, this probably won't help you for x86, and I have
no idea if x86/solaris creates this property using the
BIOS information or not, but ...
At least for Open Firmware implementations, the pci bus node(s)
should contain the 'slot-names' property, which is defined
in the IEEE 1275 Open Firmware binding to PCI, available at
http://playground.sun.com/1275 (under bus bindings.)
It's basically an integer bit mask, followed by a
bunch of c-strings (NULL terminated string), one c-string
per slot in the bit
mask. The bits in the bit mask represent the device
number. The name encoded in the c-string is intended
to match the name on the chassis, so it's a user
friendly and usable form of the slot name.
{linguist:168} prtconf -vp | grep slot-names
slot-names: 00000000
slot-names:
0000001e.70636961.20736c6f.74203100.70636961.20736c6f.74203200.70636961.20736c6f.74203300.70636961.20736c6f.74203400
{linguist:169} uname -a
SunOS linguist 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
{linguist:170}
-David