-
由 Wong Vee Khee 提交于
Expose PCIe bridges attributes such as secondary bus number, subordinate bus number, max link speed and link width, current link speed and link width via sysfs in /sys/bus/pci/devices/... This information is available via lspci, but that requires root privilege. Signed-off-by: NWong Vee Khee <vee.khee.wong@ni.com> Signed-off-by: NHui Chun Ong <hui.chun.ong@ni.com> [bhelgaas: changelog, return errors early to unindent usual case, return errors with same style throughout] Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
56c1af46