]> git.ipfire.org Git - thirdparty/pciutils.git/commit
Cleaned up detection of physical slots.
authorMartin Mares <mj@ucw.cz>
Sat, 13 Dec 2008 12:00:50 +0000 (13:00 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 13 Dec 2008 12:00:50 +0000 (13:00 +0100)
commit6171c06d5d3db61a657479963cfbe4be0026005d
tree278f576105aed9c84bb042d33aa00e24def365b6
parent527637ddf3f368c5279f87cf75b90af619383db7
Cleaned up detection of physical slots.

Improved error handling. If the kernel does not support the slots directory at
all, we do not complain. Parse errors are now reported as warnings.

Also, the PCI_FILL_PHYS_SLOT is set for all devices whenever we try to detect
the slots, no matter how successful the detection was.
lib/sysfs.c