aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2013-05-27 00:08:27 -0400
committerDavid S. Miller <davem@davemloft.net>2013-05-28 00:41:49 -0400
commitca1ee4b259ea8c4f91c84ee4c737338658711272 (patch)
tree1bd8495772d72027ae66b95016b3fa1f73060a4d /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
parente09b74d0195496fdc2dbe106eaa55da48873876e (diff)
bnx2x: Add and correct PCI link speed prints
This adds the print of the PCI gen3 link speed (8GHz), as well as correcting the same print for 57712 boards (the print erroneously showed a 2.5GHz speed). Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
index 946450d6d988..47b06fc22b97 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
@@ -2342,4 +2342,9 @@ enum {
2342 2342
2343#define NUM_MACS 8 2343#define NUM_MACS 8
2344 2344
2345enum bnx2x_pci_bus_speed {
2346 BNX2X_PCI_LINK_SPEED_2500 = 2500,
2347 BNX2X_PCI_LINK_SPEED_5000 = 5000,
2348 BNX2X_PCI_LINK_SPEED_8000 = 8000
2349};
2345#endif /* bnx2x.h */ 2350#endif /* bnx2x.h */