summaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-12-17 07:48:04 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:07:10 +0100
commit439104b3a39b2f576daa229d783eb2cefac8b7df (patch)
tree176bbf470b922bd6b0057006cd7e351eb6b972e8 /drivers/net/sungem.h
parentsunhme endianness annotations (diff)
downloadlinux-439104b3a39b2f576daa229d783eb2cefac8b7df.tar.xz
linux-439104b3a39b2f576daa229d783eb2cefac8b7df.zip
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.h8
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 @@
* DMA mappings for a transmitted packet.
*/
struct gem_txd {
- u64 control_word;
- u64 buffer;
+ __le64 control_word;
+ __le64 buffer;
};
#define TXDCTRL_BUFSZ 0x0000000000007fffULL /* Buffer Size */
@@ -863,8 +863,8 @@ struct gem_txd {
* by the host driver just as in the TX descriptor case above.
*/
struct gem_rxd {
- u64 status_word;
- u64 buffer;
+ __le64 status_word;
+ __le64 buffer;
};
#define RXDCTRL_TCPCSUM 0x000000000000ffffULL /* TCP Pseudo-CSUM */