[PATCH] tg3 driver - address error in TSO firmware code

From: Andreas Jochens
Date: Mon Apr 19 2004 - 13:15:00 EST

On 04-Apr-19 11:52, Jeff Garzik wrote:
> It's still a patch for more political purposes than technical ones.

Of course you are right. However, the main purpose of posting my
patches was _not_ to get them into the mainline kernel but
to get feedback regarding the technical possibility of using the driver
without the firmware. I got some private mails confirming that the
patched driver works for different controllers without the firmware.

While looking at the tg3.c sources I found the attached problem.

Andreas Jochens

diff -urN linux-2.6.5.orig/drivers/net/tg3.c linux-2.6.5/drivers/net/tg3.c
--- linux-2.6.5.orig/drivers/net/tg3.c 2004-04-03 21:37:23.000000000 -0600
+++ linux-2.6.5/drivers/net/tg3.c 2004-04-19 12:47:09.254148712 -0500
@@ -3842,7 +3842,7 @@
#define TG3_TSO_FW_START_ADDR 0x08000000
#define TG3_TSO_FW_TEXT_ADDR 0x08000000
#define TG3_TSO_FW_TEXT_LEN 0x1a90
-#define TG3_TSO_FW_RODATA_ADDR 0x08001a900
+#define TG3_TSO_FW_RODATA_ADDR 0x08001a90
#define TG3_TSO_FW_RODATA_LEN 0x60
#define TG3_TSO_FW_DATA_ADDR 0x08001b20
#define TG3_TSO_FW_DATA_LEN 0x20

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/