linux-mips
[Top] [All Lists]

Titan ethernet and little endian

To: linux-mips@linux-mips.org
Subject: Titan ethernet and little endian
From: Rojhalat Ibrahim <ibrahim@schenk.isar.de>
Date: Thu, 03 Feb 2005 15:59:32 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040617
Hi,
a while ago I posted the attached patch,
which makes the titan_ge driver work in
little-endian mode. I got no reaction
whatsoever. What did I do wrong?
Rojhalat Ibrahim

Index: titan_ge.h
===================================================================
RCS file: /home/cvs/linux/drivers/net/titan_ge.h,v
retrieving revision 1.17
diff -u -r1.17 titan_ge.h
--- titan_ge.h  4 Dec 2004 23:42:53 -0000       1.17
+++ titan_ge.h  10 Jan 2005 12:59:20 -0000
@@ -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 */
<Prev in Thread] Current Thread [Next in Thread>