Re: No SCSI burning problem (was: Bug in "ide-pci.c")

From: Andre Hedrick (andre@linux-ide.org)
Date: Sat Oct 07 2000 - 03:59:17 EST


> Something like this?

Close but now there is no select.

--- /opt/kernel/linux-2.4.0-test9/drivers/scsi/ide-scsi.c Sat Sep 23
01:04:46 2000
+++ drivers/scsi/ide-scsi.c Sat Oct 7 10:52:13 2000
@@ -435,7 +435,6 @@
+ SELECT_DRIVE(HWIF(drive), drive);
        if (IDE_CONTROL_REG)
                OUT_BYTE (drive->ctl,IDE_CONTROL_REG);
        OUT_BYTE (dma_ok,IDE_FEATURE_REG);
        OUT_BYTE (bcount >> 8,IDE_BCOUNTH_REG);
        OUT_BYTE (bcount & 0xff,IDE_BCOUNTL_REG);
- OUT_BYTE (drive->select.all,IDE_SELECT_REG);

        if (dma_ok) {
                set_bit (PC_DMA_IN_PROGRESS, &pc->flags);

It is a macro issue and ordering task-registers.

Cheers,

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:20 EST