summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2007-05-05 12:47:25 -0700
committerDavid S. Miller <davem@davemloft.net>2007-05-05 12:47:25 -0700
commit98efd8a6be79550767f5a9be6f3db8e7e9b747da (patch)
treec2117eb3b6099333594245d81a8d192912f18706 /drivers/net/tg3.h
parent5cf64b8a7399999439f0d6748babb1ccb6bcad7c (diff)
downloadkernel-crypto-98efd8a6be79550767f5a9be6f3db8e7e9b747da.tar.gz
kernel-crypto-98efd8a6be79550767f5a9be6f3db8e7e9b747da.tar.xz
kernel-crypto-98efd8a6be79550767f5a9be6f3db8e7e9b747da.zip
[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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index dd04a46c6f1..c52acb0a602 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2199,7 +2199,6 @@ struct tg3 {
#define TG3_FLAG_USE_LINKCHG_REG 0x00000008
#define TG3_FLAG_USE_MI_INTERRUPT 0x00000010
#define TG3_FLAG_ENABLE_ASF 0x00000020
-#define TG3_FLAG_5701_REG_WRITE_BUG 0x00000040
#define TG3_FLAG_POLL_SERDES 0x00000080
#define TG3_FLAG_MBOX_WRITE_REORDER 0x00000100
#define TG3_FLAG_PCIX_TARGET_HWBUG 0x00000200