summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 19:41:19 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 12:41:52 -0700
commit857e37dc367142f25836fac42e045f08114bd4be (patch)
tree8f1344667a0493b229155bee33ac399405b7a492 /drivers/net/ipg.h
parentf53f4137baedc1be179880d35f390e20445428ba (diff)
downloadop-kernel-dev-857e37dc367142f25836fac42e045f08114bd4be.zip
op-kernel-dev-857e37dc367142f25836fac42e045f08114bd4be.tar.gz
ipg: endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ipg.h')
-rw-r--r--drivers/net/ipg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h
index 1952d0d..e418b90 100644
--- a/drivers/net/ipg.h
+++ b/drivers/net/ipg.h
@@ -776,17 +776,17 @@ enum ipg_regs {
* TFD field is 64 bits wide.
*/
struct ipg_tx {
- u64 next_desc;
- u64 tfc;
- u64 frag_info;
+ __le64 next_desc;
+ __le64 tfc;
+ __le64 frag_info;
};
/* Receive Frame Descriptor. Note, each RFD field is 64 bits wide.
*/
struct ipg_rx {
- u64 next_desc;
- u64 rfs;
- u64 frag_info;
+ __le64 next_desc;
+ __le64 rfs;
+ __le64 frag_info;
};
struct SJumbo {
OpenPOWER on IntegriCloud