summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ide.c b/ide.c
index f0fd0f9..4e2e1a6 100644
--- a/ide.c
+++ b/ide.c
@@ -50,6 +50,7 @@ void
ide_init(void)
{
initlock(&ide_lock, "ide");
+ irq_setmask_8259A(irq_mask_8259A & ~(1 << IRQ_IDE));
ioapic_enable (IRQ_IDE, ncpu - 1);
ide_wait_ready(0);
disk_1_present = ide_probe_disk1();