[PATCH] PCIE: make bus_id for PCI Express devices unique
authorSergey Vlasov <vsu@altlinux.ru>
Mon, 14 Nov 2005 17:30:50 +0000 (20:30 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:15 +0000 (12:13 -0800)
commit8c9ad508c8737ca46a4c55b1062d159b86f7cee2
tree20e2a5ffb2ec6f6dcf98a65c4d612c2766002fa9
parentfb37fb960689aa1346e2621a946f230285c03593
[PATCH] PCIE: make bus_id for PCI Express devices unique

The bus_id string must be unique for all devices of that bus in the
system, not just for devices with the same parent - otherwise multiple
symlinks with identical names appear in /sys/bus/pci_express/devices.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/portdrv_core.c