Fix the problem with DMA mode not working on Aladdin chips.
Amasing in how many ways Acer has screwed up that chip.
This commit is contained in:
parent
82494980f2
commit
7f7e251f51
@ -1107,8 +1107,7 @@ ata_intr(void *data)
|
||||
#endif
|
||||
default:
|
||||
if (scp->flags & ATA_DMA_ACTIVE) {
|
||||
if (((dmastat = ata_dmastatus(scp)) &
|
||||
(ATA_BMSTAT_ACTIVE|ATA_BMSTAT_INTERRUPT))!=ATA_BMSTAT_INTERRUPT)
|
||||
if (!((dmastat = ata_dmastatus(scp)) & ATA_BMSTAT_INTERRUPT))
|
||||
return;
|
||||
outb(scp->bmaddr + ATA_BMSTAT_PORT, dmastat | ATA_BMSTAT_INTERRUPT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user