patch-2.2.0-pre1 linux/drivers/char/isicom.c
Next file: linux/drivers/char/pc_keyb.c
Previous file: linux/drivers/char/Makefile
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Dec 23 09:44:41 1998
- Orig file:
v2.1.132/linux/drivers/char/isicom.c
- Orig date:
Tue Dec 22 14:16:55 1998
diff -u --recursive --new-file v2.1.132/linux/drivers/char/isicom.c linux/drivers/char/isicom.c
@@ -152,12 +152,12 @@
inw(base+0x8);
- for(i=jiffies+HZ/100;i>jiffies;);
+ for(i=jiffies+HZ/100;time_before(jiffies, i););
outw(0,base+0x8); /* Reset */
for(j=1;j<=3;j++) {
- for(i=jiffies+HZ;i>jiffies;);
+ for(i=jiffies+HZ;time_before(jiffies, i););
printk(".");
}
signature=(inw(base+0x4)) & 0xff;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov