diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-17 01:48:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:10 -0500 |
commit | 439104b3a39b2f576daa229d783eb2cefac8b7df (patch) | |
tree | 176bbf470b922bd6b0057006cd7e351eb6b972e8 /drivers/net/sungem.h | |
parent | f3ec33e587df02e25963755989cc473e3f07bf0d (diff) |
sungem endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sungem.h')
-rw-r--r-- | drivers/net/sungem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index 76d760acc9e2..f7a02917ce5e 100644 --- a/drivers/net/sungem.h +++ b/drivers/net/sungem.h | |||
@@ -828,8 +828,8 @@ | |||
828 | * DMA mappings for a transmitted packet. | 828 | * DMA mappings for a transmitted packet. |
829 | */ | 829 | */ |
830 | struct gem_txd { | 830 | struct gem_txd { |
831 | u64 control_word; | 831 | __le64 control_word; |
832 | u64 buffer; | 832 | __le64 buffer; |
833 | }; | 833 | }; |
834 | 834 | ||
835 | #define TXDCTRL_BUFSZ 0x0000000000007fffULL /* Buffer Size */ | 835 | #define TXDCTRL_BUFSZ 0x0000000000007fffULL /* Buffer Size */ |
@@ -863,8 +863,8 @@ struct gem_txd { | |||
863 | * by the host driver just as in the TX descriptor case above. | 863 | * by the host driver just as in the TX descriptor case above. |
864 | */ | 864 | */ |
865 | struct gem_rxd { | 865 | struct gem_rxd { |
866 | u64 status_word; | 866 | __le64 status_word; |
867 | u64 buffer; | 867 | __le64 buffer; |
868 | }; | 868 | }; |
869 | 869 | ||
870 | #define RXDCTRL_TCPCSUM 0x000000000000ffffULL /* TCP Pseudo-CSUM */ | 870 | #define RXDCTRL_TCPCSUM 0x000000000000ffffULL /* TCP Pseudo-CSUM */ |