patch-2.1.100 linux/drivers/block/opti621.c
Next file: linux/drivers/block/paride/pd.c
Previous file: linux/drivers/block/ns87415.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed May 6 14:42:54 1998
- Orig file:
v2.1.99/linux/drivers/block/opti621.c
- Orig date:
Mon Apr 6 17:40:59 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/block/opti621.c linux/drivers/block/opti621.c
@@ -242,8 +242,8 @@
hwif->name, ax, second.data_time, second.recovery_time, drdy);
#endif
- save_flags(flags);
- cli();
+ save_flags(flags); /* all CPUs */
+ cli(); /* all CPUs */
reg_base = hwif->io_ports[IDE_DATA_OFFSET];
outb(0xc0, reg_base+CNTRL_REG); /* allow Register-B */
@@ -268,7 +268,7 @@
write_reg(misc, MISC_REG); /* set address setup, DRDY timings, */
/* and read prefetch for both drives */
- restore_flags(flags);
+ restore_flags(flags); /* all CPUs */
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov