This should fix the mess. Sorry for that.
This commit is contained in:
@@ -209,7 +209,6 @@ void ide_irq_lower(IDE *ide)
|
||||
ide->irqstat=0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
void ide_irq_update(IDE *ide)
|
||||
{
|
||||
int pending = 0;
|
||||
@@ -267,8 +266,6 @@ void ide_irq_update(IDE *ide)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Copy a string into a buffer, padding with spaces, and placing characters as
|
||||
* if they were packed into 16-bit values, stored little-endian.
|
||||
@@ -914,6 +911,7 @@ void writeide(int ide_board, uint16_t addr, uint8_t val)
|
||||
ide->lba_addr = (ide->lba_addr & 0x0FFFFFF) | ((val & 0xF) << 24);
|
||||
ide_other->lba_addr = (ide_other->lba_addr & 0x0FFFFFF)|((val & 0xF) << 24);
|
||||
|
||||
ide_irq_update(ide);
|
||||
return;
|
||||
|
||||
case 0x1F7: /* Command register */
|
||||
@@ -1224,10 +1222,9 @@ ide_bad_command:
|
||||
idecallback[ide_board] = 0LL;
|
||||
timer_update_outstanding();
|
||||
ide->atastat = ide_other->atastat = BUSY_STAT;
|
||||
ide_irq_lower(ide);
|
||||
ide_irq_lower(ide_other);
|
||||
}
|
||||
ide->fdisk = ide_other->fdisk = val;
|
||||
ide_irq_update(ide);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user