Titan ethernet driver and little endian
Hi,
the attached patch makes the titan_ge driver
work also in little-endian configuration.
Thanks
Rojhalat Ibrahim
Index: titan_ge.h
===================================================================
RCS file: /home/cvs/linux/drivers/net/titan_ge.h,v retrieving revision 1.17
titan_ge.h +4 -2
@@ -153,8 +153,10 @@/* Define the Rx descriptor */ typedef struct eth_rx_desc { -u32 buffer_addr;/* Buffer address inclusive of checksum */ -u32 cmd_sts;/* Command and Status info */ +u32 buffer_addr;/* CPU buffer address */ +u32 reserved;/* Unused */ +u32 buffer;/* XDMA buffer address */ +u32 cmd_sts;/* Command and Status */ }titan_ge_rx_desc ;/* Define the Tx descriptor */