aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/slot.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2009-12-13 08:11:35 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-22 19:15:19 -0500
commit9dfd97fe12f79ec8b68feb63912a4ef2f31f571a (patch)
tree845515c430a3cc48b1d88496d3b8f4d13bd7efb2 /drivers/pci/slot.c
parent45b4cdd57ef0e57555b2ab61b584784819b39365 (diff)
PCI: Add support for reporting PCIe 3.0 speeds
Add the 8.0 GT/s speed. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/slot.c')
-rw-r--r--drivers/pci/slot.c1
1 files changed, 1 insertions, 0 deletions
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)