patch-2.4.20 linux-2.4.20/drivers/net/3c503.c
Next file: linux-2.4.20/drivers/net/3c505.c
Previous file: linux-2.4.20/drivers/mtd/maps/pb1xxx-flash.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Thu Nov 28 15:53:13 2002
-  Orig file: 
linux-2.4.19/drivers/net/3c503.c
-  Orig date: 
Fri Aug  2 17:39:44 2002
diff -urN linux-2.4.19/drivers/net/3c503.c linux-2.4.20/drivers/net/3c503.c
@@ -512,6 +512,7 @@
 
     if (dev->mem_start) {       /* Use the shared memory. */
 	isa_memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr));
+	hdr->count = le16_to_cpu(hdr->count);
 	return;
     }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)