patch-2.3.99-pre6 linux/drivers/ide/ide-probe.c
Next file: linux/drivers/ide/ide-proc.c
Previous file: linux/drivers/ide/ide-pnp.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Apr 13 22:54:26 2000
- Orig file:
v2.3.99-pre5/linux/drivers/ide/ide-probe.c
- Orig date:
Mon Mar 27 08:08:24 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/ide/ide-probe.c linux/drivers/ide/ide-probe.c
@@ -204,6 +204,10 @@
hd_status = IDE_STATUS_REG;
}
+ /* set features register for atapi identify command to be sure of reply */
+ if ((cmd == WIN_PIDENTIFY))
+ OUT_BYTE(0,IDE_FEATURE_REG); /* disable dma & overlap */
+
#if CONFIG_BLK_DEV_PDC4030
if (HWIF(drive)->chipset == ide_pdc4030) {
/* DC4030 hosted drives need their own identify... */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)