Lines 5159-5169
inline unsigned int ata_host_intr (struc
Link Here
|
5159 |
|
5159 |
|
5160 |
/* check altstatus */ |
5160 |
/* check altstatus */ |
5161 |
status = ata_altstatus(ap); |
5161 |
status = ata_altstatus(ap); |
|
|
5162 |
if (ap->id == 2) |
5163 |
printk(KERN_ERR "ata%u: dev_altstatus 0x%X\n", |
5164 |
status); |
5165 |
|
5162 |
if (status & ATA_BUSY) |
5166 |
if (status & ATA_BUSY) |
5163 |
goto idle_irq; |
5167 |
goto idle_irq; |
5164 |
|
5168 |
|
5165 |
/* check main status, clearing INTRQ */ |
5169 |
/* check main status, clearing INTRQ */ |
5166 |
status = ata_chk_status(ap); |
5170 |
status = ata_chk_status(ap); |
|
|
5171 |
if (ap->id == 2) |
5172 |
printk(KERN_ERR "ata%u: dev_status 0x%X\n", |
5173 |
status); |
5167 |
if (unlikely(status & ATA_BUSY)) |
5174 |
if (unlikely(status & ATA_BUSY)) |
5168 |
goto idle_irq; |
5175 |
goto idle_irq; |
5169 |
|
5176 |
|