ATAPI CD still not detected, verbose boot logs available
Soren Schmidt
sos at spider.deepcore.dk
Wed Dec 3 00:54:50 PST 2003
Could you try this simple patch and see if that helps?
Index: ata-lowlevel.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
retrieving revision 1.23
diff -u -r1.23 ata-lowlevel.c
--- ata-lowlevel.c 2 Nov 2003 22:04:53 -0000 1.23
+++ ata-lowlevel.c 3 Dec 2003 07:50:44 -0000
@@ -575,7 +575,7 @@
}
}
}
- if (stat1 & ATA_S_BUSY) {
+ if (!((mask == 0x03) && (stat0 & ATA_S_BUSY)) && (stat1 & ATA_S_BUSY)) {
ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
DELAY(10);
-Søren
.. but it works under windows!!
More information about the freebsd-current
mailing list