patch-2.1.132 linux/drivers/net/ibmtr.c
Next file: linux/drivers/net/irda/Config.in
Previous file: linux/drivers/net/hp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Dec 18 09:36:05 1998
- Orig file:
v2.1.131/linux/drivers/net/ibmtr.c
- Orig date:
Thu Nov 12 16:21:19 1998
diff -u --recursive --new-file v2.1.131/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -1230,7 +1230,7 @@
{
struct tok_info *ti;
short PIOaddr;
- int i;
+ unsigned long i;
PIOaddr = dev->base_addr;
ti=(struct tok_info *) dev->priv;
@@ -1252,7 +1252,7 @@
#endif
outb(0, PIOaddr+ADAPTRESET);
- for (i=jiffies+TR_RESET_INTERVAL; jiffies<=i;); /* wait 50ms */
+ for (i=jiffies+TR_RESET_INTERVAL; time_before_eq(jiffies, i);); /* wait 50ms */
outb(0,PIOaddr+ADAPTRESETREL);
#if !TR_NEWFORMAT
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov