diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2012-02-13 15:20:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-13 20:45:08 -0500 |
commit | e740522e6d3a6c3014da30f65fe254bc7f6410d7 (patch) | |
tree | 4f45d50d0f8c966ce7eee6477376ef40b8a946f9 /drivers/net/ethernet/broadcom/tg3.h | |
parent | c6700ce2248ecf3b1b6fd009f6aed9b6387d3377 (diff) |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index 2ddd92e5f54..300c6e55a41 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; }; |