summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide.c b/ide.c
index 78c3123..7445797 100644
--- a/ide.c
+++ b/ide.c
@@ -47,7 +47,7 @@ ide_init(void)
int i;
initlock(&ide_lock, "ide");
- irq_enable(IRQ_IDE);
+ pic_enable(IRQ_IDE);
ioapic_enable(IRQ_IDE, ncpu - 1);
ide_wait_ready(0);