X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fnet%2Fsungem.h;h=f7a02917ce5ec31fb1735c144cb30a48665e7615;hb=d7b6de14a0ef8a376f9d57b867545b47302b7bfb;hp=58cf87c5751e44b63adf331019cf309b039bb986;hpb=b643b0fdbc59cf6bbb086974b29d2571e9e9f646;p=mv-sheeva.git diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index 58cf87c5751..f7a02917ce5 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 */ @@ -993,6 +993,7 @@ struct gem { u32 msg_enable; u32 status; + struct napi_struct napi; struct net_device_stats net_stats; int tx_fifo_sz;