aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/probe.c2
-rw-r--r--drivers/pci/slot.c1
-rw-r--r--include/linux/pci.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 2803ab96a98c..9672760c7ade 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -416,7 +416,7 @@ static unsigned char pcie_link_speed[] = {
416 PCI_SPEED_UNKNOWN, /* 0 */ 416 PCI_SPEED_UNKNOWN, /* 0 */
417 PCIE_SPEED_2_5GT, /* 1 */ 417 PCIE_SPEED_2_5GT, /* 1 */
418 PCIE_SPEED_5_0GT, /* 2 */ 418 PCIE_SPEED_5_0GT, /* 2 */
419 PCI_SPEED_UNKNOWN, /* 3 */ 419 PCIE_SPEED_8_0GT, /* 3 */
420 PCI_SPEED_UNKNOWN, /* 4 */ 420 PCI_SPEED_UNKNOWN, /* 4 */
421 PCI_SPEED_UNKNOWN, /* 5 */ 421 PCI_SPEED_UNKNOWN, /* 5 */
422 PCI_SPEED_UNKNOWN, /* 6 */ 422 PCI_SPEED_UNKNOWN, /* 6 */
diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c
index c7260d4e339b..49c9e6c9779a 100644
--- a/drivers/pci/slot.c
+++ b/drivers/pci/slot.c
@@ -71,6 +71,7 @@ static char *pci_bus_speed_strings[] = {
71 "133 MHz PCI-X 533", /* 0x13 */ 71 "133 MHz PCI-X 533", /* 0x13 */
72 "2.5 GT/s PCIe", /* 0x14 */ 72 "2.5 GT/s PCIe", /* 0x14 */
73 "5.0 GT/s PCIe", /* 0x15 */ 73 "5.0 GT/s PCIe", /* 0x15 */
74 "8.0 GT/s PCIe", /* 0x16 */
74}; 75};
75 76
76static ssize_t bus_speed_read(enum pci_bus_speed speed, char *buf) 77static ssize_t bus_speed_read(enum pci_bus_speed speed, char *buf)
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 842adaad312e..0c3a29444f89 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -210,6 +210,7 @@ enum pci_bus_speed {
210 PCI_SPEED_133MHz_PCIX_533 = 0x13, 210 PCI_SPEED_133MHz_PCIX_533 = 0x13,
211 PCIE_SPEED_2_5GT = 0x14, 211 PCIE_SPEED_2_5GT = 0x14,
212 PCIE_SPEED_5_0GT = 0x15, 212 PCIE_SPEED_5_0GT = 0x15,
213 PCIE_SPEED_8_0GT = 0x16,
213 PCI_SPEED_UNKNOWN = 0xff, 214 PCI_SPEED_UNKNOWN = 0xff,
214}; 215};
215 216