summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2012-02-13 15:20:16 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-13 20:45:08 -0500
commite740522e6d3a6c3014da30f65fe254bc7f6410d7 (patch)
tree4f45d50d0f8c966ce7eee6477376ef40b8a946f9 /drivers/net/ethernet/broadcom/tg3.h
parentc6700ce2248ecf3b1b6fd009f6aed9b6387d3377 (diff)
downloadblackbird-op-linux-e740522e6d3a6c3014da30f65fe254bc7f6410d7.tar.gz
blackbird-op-linux-e740522e6d3a6c3014da30f65fe254bc7f6410d7.zip
tg3: Use *_UNKNOWN ethtool definitions
This patch replaces tg3's private SPEED_INVALID and DUPLEX_INVALID definitions with SPEED_UNKNOWN and DUPLEX_UNKNOWN respectively. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index 2ddd92e5f54f..300c6e55a411 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -2702,9 +2702,6 @@ struct tg3_link_config {
u8 active_flowctrl;
u8 active_duplex;
-#define SPEED_INVALID 0xffff
-#define DUPLEX_INVALID 0xff
-#define AUTONEG_INVALID 0xff
u16 active_speed;
u32 rmt_adv;
};
OpenPOWER on IntegriCloud