diff options
author | Michael Chan <mchan@broadcom.com> | 2005-08-09 20:17:00 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 15:50:38 -0700 |
commit | 09ee929cccfd0b56ea3724b3c6299fbbe813df43 (patch) | |
tree | 52d0002518d41a6eea12859f9134c17d2af6c473 /drivers/net/tg3.h | |
parent | 1ee582d8e49a1c9dd43b2599f1cd26507182a8d4 (diff) | |
download | kernel_samsung_smdk4412-09ee929cccfd0b56ea3724b3c6299fbbe813df43.tar.gz kernel_samsung_smdk4412-09ee929cccfd0b56ea3724b3c6299fbbe813df43.tar.bz2 kernel_samsung_smdk4412-09ee929cccfd0b56ea3724b3c6299fbbe813df43.zip |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 394acddd53b..c398b8478d6 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -2051,6 +2051,7 @@ struct tg3 { u32 (*read32) (struct tg3 *, u32); void (*write32) (struct tg3 *, u32, u32); + u32 (*read32_mbox) (struct tg3 *, u32); void (*write32_mbox) (struct tg3 *, u32, u32); void __iomem *regs; |