aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-08-09 23:17:00 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:50:38 -0400
commit09ee929cccfd0b56ea3724b3c6299fbbe813df43 (patch)
tree52d0002518d41a6eea12859f9134c17d2af6c473 /drivers/net/tg3.h
parent1ee582d8e49a1c9dd43b2599f1cd26507182a8d4 (diff)
[TG3]: Add mailbox read method
This patch adds the mailbox read method and also adds an inline function tw32_mailbox_f() for mailbox writes that require read flush. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 394acddd53b3..c398b8478d62 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2051,6 +2051,7 @@ struct tg3 {
2051 2051
2052 u32 (*read32) (struct tg3 *, u32); 2052 u32 (*read32) (struct tg3 *, u32);
2053 void (*write32) (struct tg3 *, u32, u32); 2053 void (*write32) (struct tg3 *, u32, u32);
2054 u32 (*read32_mbox) (struct tg3 *, u32);
2054 void (*write32_mbox) (struct tg3 *, u32, 2055 void (*write32_mbox) (struct tg3 *, u32,
2055 u32); 2056 u32);
2056 void __iomem *regs; 2057 void __iomem *regs;