linux-mips
[Top] [All Lists]

Au1000 ethernet patch

To: Linux MIPS mailing list <linux-mips@linux-mips.org>
Subject: Au1000 ethernet patch
From: Hartvig Ekner <hartvig@ekner.info>
Date: Fri, 28 Mar 2003 20:14:42 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The following patch fixes an error where ethernet minimum packets are 4 bytes 
too long. This caused certain
devices not to respond to ARP requests (which is a bug on their side as well, 
but.....).

/Hartvig


Index: au1000_eth.h
===================================================================
RCS file: /home/cvs/linux/drivers/net/au1000_eth.h,v
retrieving revision 1.2.2.8
diff -u -r1.2.2.8 au1000_eth.h
--- au1000_eth.h        3 Mar 2003 06:40:30 -0000       1.2.2.8
+++ au1000_eth.h        28 Mar 2003 19:05:48 -0000
@@ -36,7 +36,7 @@
 #define MAX_BUF_SIZE 2048
 
 #define ETH_TX_TIMEOUT HZ/4
-#define MAC_MIN_PKT_SIZE 64
+#define MAC_MIN_PKT_SIZE 60
 
 #if defined(CONFIG_MIPS_PB1000) || defined(CONFIG_MIPS_PB1500) || 
defined(CONFIG_MIPS_PB1100) || defined(CONFIG_MIPS_DB1000) || 
defined(CONFIG_MIPS_DB1100) || defined(CONFIG_MIPS_DB1500)
 #define PHY_ADDRESS              0
<Prev in Thread] Current Thread [Next in Thread>