[realtek] rtl8139 1.17

jhorton@equiinet.com jhorton@equiinet.com
Wed Feb 27 07:33:00 2002


This is a multi-part message in MIME format.
--------------18DACB058B894D52A2410199
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I have found that the attached diff actually gives better results. Can
anyone confirm this?
John

--------------18DACB058B894D52A2410199
Content-Type: text/plain; charset=us-ascii;
 name="rtl8139.diff2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="rtl8139.diff2"

--- rtl8139_v17.c	Wed Feb 27 09:59:33 2002
+++ rtl8139.c	Wed Feb 27 09:18:25 2002
@@ -1110,6 +1110,14 @@
 			if (tp->msg_level & NETIF_MSG_DRV)
 				printk(KERN_NOTICE"%s: Abnormal interrupt, status %8.8x.\n",
 					   dev->name, status);
+			if(status==RxUnderrun||status==(RxUnderrun|RxOK)){
+				printk("resetting hardware\n");
+				rtl_hw_start(dev);
+			}
 
 			if (status == 0xffff)
 				break;

--------------18DACB058B894D52A2410199--