patch-2.0.2 linux/drivers/net/lance32.c

Next file: linux/fs/exec.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.1/linux/drivers/net/lance32.c linux/drivers/net/lance32.c
@@ -789,8 +789,8 @@
 lance32_get_stats(struct device *dev)
 {
 	struct lance32_private *lp = (struct lance32_private *)dev->priv;
-	short ioaddr = dev->base_addr;
-	short saved_addr;
+	int ioaddr = dev->base_addr;
+	unsigned short saved_addr;
 	unsigned long flags;
 
 	save_flags(flags);
@@ -809,7 +809,7 @@
 
 static void lance32_set_multicast_list(struct device *dev)
 {
-	short ioaddr = dev->base_addr;
+	int ioaddr = dev->base_addr;
 	struct lance32_private *lp = (struct lance32_private *)dev->priv;    
 
 	if (dev->flags&IFF_PROMISC) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov