Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Rojhalat Ibrahim <ibrahim@schenk.isar.de>
To: linux-mips@linux-mips.org
Subject: Titan ethernet and little endian
Date: Thu, 03 Feb 2005 15:59:32 +0100	[thread overview]
Message-ID: <42023C54.7060801@schenk.isar.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

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


[-- Attachment #2: titan_ge_little_endian_patch --]
[-- Type: text/plain, Size: 692 bytes --]

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 */

             reply	other threads:[~2005-02-03 15:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 14:59 Rojhalat Ibrahim [this message]
2005-02-03 18:13 ` Titan ethernet and little endian Manish Lachwani
2005-02-07  7:43   ` Rojhalat Ibrahim
2005-02-07 17:30     ` Manish Lachwani
2005-02-08  7:30       ` Rojhalat Ibrahim
2005-02-10  8:43       ` Rojhalat Ibrahim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42023C54.7060801@schenk.isar.de \
    --to=ibrahim@schenk.isar.de \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox