aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/olympic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tokenring/olympic.h')
-rw-r--r--drivers/net/tokenring/olympic.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/tokenring/olympic.h b/drivers/net/tokenring/olympic.h
index 2fc59c997468..c91956310fb2 100644
--- a/drivers/net/tokenring/olympic.h
+++ b/drivers/net/tokenring/olympic.h
@@ -216,31 +216,31 @@
216/* xxxx These structures are all little endian in hardware. */ 216/* xxxx These structures are all little endian in hardware. */
217 217
218struct olympic_tx_desc { 218struct olympic_tx_desc {
219 u32 buffer; 219 __le32 buffer;
220 u32 status_length; 220 __le32 status_length;
221}; 221};
222 222
223struct olympic_tx_status { 223struct olympic_tx_status {
224 u32 status; 224 __le32 status;
225}; 225};
226 226
227struct olympic_rx_desc { 227struct olympic_rx_desc {
228 u32 buffer; 228 __le32 buffer;
229 u32 res_length; 229 __le32 res_length;
230}; 230};
231 231
232struct olympic_rx_status { 232struct olympic_rx_status {
233 u32 fragmentcnt_framelen; 233 __le32 fragmentcnt_framelen;
234 u32 status_buffercnt; 234 __le32 status_buffercnt;
235}; 235};
236/* xxxx END These structures are all little endian in hardware. */ 236/* xxxx END These structures are all little endian in hardware. */
237/* xxxx There may be more, but I'm pretty sure about these */ 237/* xxxx There may be more, but I'm pretty sure about these */
238 238
239struct mac_receive_buffer { 239struct mac_receive_buffer {
240 u16 next ; 240 __le16 next ;
241 u8 padding ; 241 u8 padding ;
242 u8 frame_status ; 242 u8 frame_status ;
243 u16 buffer_length ; 243 __le16 buffer_length ;
244 u8 frame_data ; 244 u8 frame_data ;
245}; 245};
246 246