aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEliezer Tamir <eliezert@broadcom.com>2008-02-28 14:50:16 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-28 14:50:16 -0500
commit250479504ff7d7e8c7d5cf85bedd40fb8d725429 (patch)
tree0bbcae29bc8aeed97e1050c4b5b7939830633198 /drivers/net/bnx2x.h
parentc14423fe585a5937db6e2eece4b79486521103be (diff)
[BNX2X]: Correct init_one()
Correct PCI-E info printed by init_one() In one case it failed to free the netdev. Signed-off-by: Eliezer Tamir <eliezert@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 7a01668e3978..ea9100855c5c 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -867,6 +867,11 @@ struct bnx2x {
867 DPM_TRIGER_TYPE); \ 867 DPM_TRIGER_TYPE); \
868 } while (0) 868 } while (0)
869 869
870/* PCIE link and speed */
871#define PCICFG_LINK_WIDTH 0x1f00000
872#define PCICFG_LINK_WIDTH_SHIFT 20
873#define PCICFG_LINK_SPEED 0xf0000
874#define PCICFG_LINK_SPEED_SHIFT 16
870 875
871/* stuff added to make the code fit 80Col */ 876/* stuff added to make the code fit 80Col */
872 877