patch-2.2.16 linux/drivers/block/ide-probe.c
Next file: linux/drivers/block/ide-tape.c
Previous file: linux/drivers/block/ide-pmac.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Jun 7 14:26:42 2000
- Orig file:
v2.2.15/linux/drivers/block/ide-probe.c
- Orig date:
Wed May 3 17:16:33 2000
diff -urN v2.2.15/linux/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
@@ -191,6 +191,10 @@
} else
hd_status = IDE_ALTSTATUS_REG; /* use non-intrusive polling */
+ /* set features register for atapi identify command */
+ if((cmd == WIN_PIDENTIFY))
+ OUT_BYTE(0,IDE_FEATURE_REG); /* disable dma & overlap mode */
+
#if CONFIG_BLK_DEV_PDC4030
if (IS_PDC4030_DRIVE) {
extern int pdc4030_cmd(ide_drive_t *, byte);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)