aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_reg.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:37:14 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:41 -0500
commitc2c8b03e200bdda3ba23d27f5c33bac784dced01 (patch)
treec15811bb47f3790e106660e5919cb690f288f3af /drivers/net/bnx2x_reg.h
parented8680a7e68fc07d6b2bfa977e8f5f3d3c568d14 (diff)
bnx2x: Pre emphasis configuration
Supporting non-default pre-emphasis settings for the internal and some external PHYs Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r--drivers/net/bnx2x_reg.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index d3086e924709..08e703dc2b46 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -5603,6 +5603,42 @@
5603#define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1 5603#define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
5604#define MDIO_TX0_TX_DRIVER_ICBUF1T 1 5604#define MDIO_TX0_TX_DRIVER_ICBUF1T 1
5605 5605
5606#define MDIO_REG_BANK_TX1 0x8070
5607#define MDIO_TX1_TX_DRIVER 0x17
5608#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
5609#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
5610#define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
5611#define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
5612#define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
5613#define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
5614#define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
5615#define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
5616#define MDIO_TX0_TX_DRIVER_ICBUF1T 1
5617
5618#define MDIO_REG_BANK_TX2 0x8080
5619#define MDIO_TX2_TX_DRIVER 0x17
5620#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
5621#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
5622#define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
5623#define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
5624#define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
5625#define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
5626#define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
5627#define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
5628#define MDIO_TX0_TX_DRIVER_ICBUF1T 1
5629
5630#define MDIO_REG_BANK_TX3 0x8090
5631#define MDIO_TX3_TX_DRIVER 0x17
5632#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
5633#define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
5634#define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
5635#define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
5636#define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
5637#define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
5638#define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
5639#define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
5640#define MDIO_TX0_TX_DRIVER_ICBUF1T 1
5641
5606#define MDIO_REG_BANK_XGXS_BLOCK0 0x8000 5642#define MDIO_REG_BANK_XGXS_BLOCK0 0x8000
5607#define MDIO_BLOCK0_XGXS_CONTROL 0x10 5643#define MDIO_BLOCK0_XGXS_CONTROL 0x10
5608 5644