diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-05-05 15:47:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-05 15:47:25 -0400 |
commit | 98efd8a6be79550767f5a9be6f3db8e7e9b747da (patch) | |
tree | c2117eb3b6099333594245d81a8d192912f18706 /drivers/net/tg3.h | |
parent | 5cf64b8a7399999439f0d6748babb1ccb6bcad7c (diff) |
[TG3]: Eliminate the TG3_FLAG_5701_REG_WRITE_BUG flag.
This patch removes the use of the TG3_FLAG_5701_REG_WRITE_BUG flag.
It's logic is only used to set a function pointer and thus the
logic can be collapsed and the flag removed.
[ Comment tidy by Christoph Hellwig. -DaveM ]
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index dd04a46c6f14..c52acb0a602b 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2199,7 +2199,6 @@ struct tg3 { | |||
2199 | #define TG3_FLAG_USE_LINKCHG_REG 0x00000008 | 2199 | #define TG3_FLAG_USE_LINKCHG_REG 0x00000008 |
2200 | #define TG3_FLAG_USE_MI_INTERRUPT 0x00000010 | 2200 | #define TG3_FLAG_USE_MI_INTERRUPT 0x00000010 |
2201 | #define TG3_FLAG_ENABLE_ASF 0x00000020 | 2201 | #define TG3_FLAG_ENABLE_ASF 0x00000020 |
2202 | #define TG3_FLAG_5701_REG_WRITE_BUG 0x00000040 | ||
2203 | #define TG3_FLAG_POLL_SERDES 0x00000080 | 2202 | #define TG3_FLAG_POLL_SERDES 0x00000080 |
2204 | #define TG3_FLAG_MBOX_WRITE_REORDER 0x00000100 | 2203 | #define TG3_FLAG_MBOX_WRITE_REORDER 0x00000100 |
2205 | #define TG3_FLAG_PCIX_TARGET_HWBUG 0x00000200 | 2204 | #define TG3_FLAG_PCIX_TARGET_HWBUG 0x00000200 |