]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/tokenring/olympic.h
oprofile: change cpu_buffer from array to per_cpu variable
[linux-2.6-omap-h63xx.git] / drivers / net / tokenring / olympic.h
index 2fc59c9974681de7845613e633ba6d9a8f2dc552..c91956310fb2d358230edb3069f3ae81cafb66cf 100644 (file)
 /* xxxx These structures are all little endian in hardware. */
 
 struct olympic_tx_desc {
-       u32 buffer;
-       u32 status_length;
+       __le32 buffer;
+       __le32 status_length;
 };
 
 struct olympic_tx_status {
-       u32 status;
+       __le32 status;
 };
 
 struct olympic_rx_desc {
-       u32 buffer;
-       u32 res_length; 
+       __le32 buffer;
+       __le32 res_length; 
 };
 
 struct olympic_rx_status {
-       u32 fragmentcnt_framelen;
-       u32 status_buffercnt;
+       __le32 fragmentcnt_framelen;
+       __le32 status_buffercnt;
 };
 /* xxxx END These structures are all little endian in hardware. */
 /* xxxx There may be more, but I'm pretty sure about these */
 
 struct mac_receive_buffer {
-       u16 next ; 
+       __le16 next ; 
        u8 padding ; 
        u8 frame_status ;
-       u16 buffer_length ; 
+       __le16 buffer_length ; 
        u8 frame_data ; 
 };