|
@@ -1826,7 +1826,7 @@ static ide_startstop_t cdrom_write_intr(ide_drive_t *drive)
|
|
}
|
|
}
|
|
|
|
|
|
/* Read the interrupt reason and the transfer length. */
|
|
/* Read the interrupt reason and the transfer length. */
|
|
- ireason = HWIF(drive)->INB(IDE_IREASON_REG);
|
|
|
|
|
|
+ ireason = HWIF(drive)->INB(IDE_IREASON_REG) & 0x3;
|
|
lowcyl = HWIF(drive)->INB(IDE_BCOUNTL_REG);
|
|
lowcyl = HWIF(drive)->INB(IDE_BCOUNTL_REG);
|
|
highcyl = HWIF(drive)->INB(IDE_BCOUNTH_REG);
|
|
highcyl = HWIF(drive)->INB(IDE_BCOUNTH_REG);
|
|
|
|
|