patch-1.3.71 linux/drivers/net/3c503.c

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/isdn/teles/card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/drivers/net/3c503.c linux/drivers/net/3c503.c
@@ -45,6 +45,7 @@
 
 #include <asm/io.h>
 #include <asm/system.h>
+#include <asm/byteorder.h>
 
 #include "8390.h"
 #include "3c503.h"
@@ -435,7 +436,7 @@
 {
     unsigned short int *wrd;
     int boguscount;		/* timeout counter */
-    unsigned shor tmp_rev;	/* temporary for reversed values */
+    unsigned short tmp_rev;	/* temporary for reversed values */
 
     if (ei_status.word16)      /* Tx packets go into bank 0 on EL2/16 card */
 	outb(EGACFR_RSEL|EGACFR_TCM, E33G_GACFR);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this