patch-2.3.99-pre7 linux/drivers/block/ps2esdi.c
Next file: linux/drivers/block/rd.c
Previous file: linux/drivers/block/paride/pseudo.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri May 5 12:37:52 2000
- Orig file:
v2.3.99-pre6/linux/drivers/block/ps2esdi.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/block/ps2esdi.c linux/drivers/block/ps2esdi.c
@@ -379,9 +379,9 @@
reset_status = 0;
reset_start = jiffies;
while (!reset_status) {
- esdi_timer.expires = HZ;
+ init_timer(&esdi_timer);
+ esdi_timer.expires = jiffies + HZ;
esdi_timer.data = 0;
- esdi_timer.next = esdi_timer.prev = NULL;
add_timer(&esdi_timer);
sleep_on(&ps2esdi_int);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)