patch-2.2.0-pre7 linux/drivers/block/floppy.c

Next file: linux/drivers/block/genhd.c
Previous file: linux/arch/i386/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre6/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -4154,6 +4154,7 @@
 	fdc_state[1].address = FDC2;
 #endif
 
+	fdc = 0; /* reset fdc in case of unexpected interrupt */
 	if (floppy_grab_irq_and_dma()){
 		del_timer(&fd_timeout);
 		blk_dev[MAJOR_NR].request_fn = NULL;

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