patch-2.1.104 linux/drivers/net/lne390.c

Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/hp100.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/net/lne390.c linux/drivers/net/lne390.c
@@ -56,7 +56,7 @@
 
 static void lne390_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr, int ring_page);
 static void lne390_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset);
-static void lne390_block_output(struct device *dev, int count, const unsigned char *buf, const start_page);
+static void lne390_block_output(struct device *dev, int count, const unsigned char *buf, const int start_page);
 
 #define LNE390_START_PG		0x00    /* First page of TX buffer	*/
 #define LNE390_STOP_PG		0x80    /* Last page +1 of RX ring	*/
@@ -279,7 +279,7 @@
 	outb(0x04, ioaddr + LNE390_RESET_PORT);
 	if (ei_debug > 1) printk("%s: resetting the LNE390...", dev->name);
 
-	udelay(2*1000);
+	mdelay(2);
 
 	ei_status.txing = 0;
 	outb(0x01, ioaddr + LNE390_RESET_PORT);

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