patch-2.0.11 linux/drivers/block/qd6580.c
Next file: linux/drivers/block/rz1000.c
Previous file: linux/drivers/block/ide_modes.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Aug 5 08:12:25 1996
- Orig file:
v2.0.10/linux/drivers/block/qd6580.c
- Orig date:
Fri May 3 11:07:24 1996
diff -u --recursive --new-file v2.0.10/linux/drivers/block/qd6580.c linux/drivers/block/qd6580.c
@@ -47,10 +47,7 @@
{
unsigned long flags;
- if (pio == 255)
- pio = ide_get_best_pio_mode (drive);
- if (pio > 3)
- pio = 3;
+ pio = ide_get_best_pio_mode(drive, pio, 3, NULL);
save_flags(flags);
cli();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov