From 03648e32511e4ac85827c71c26250700f3150b57 Mon Sep 17 00:00:00 2001 From: Malo Lecomte Date: Wed, 28 Jul 2021 23:43:48 +0200 Subject: [PATCH] feat(atapi): enable pins for atapi on pic chip --- k/pic/pic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k/pic/pic.c b/k/pic/pic.c index 671a7aa..ddb07c6 100644 --- a/k/pic/pic.c +++ b/k/pic/pic.c @@ -23,7 +23,7 @@ void remap_pic(void) outb(MASTER_PORT_B, PIC_PIN_3 | PIC_PIN_4 | PIC_PIN_5 | PIC_PIN_6 | PIC_PIN_7); outb(SLAVE_PORT_B, PIC_PIN_0 | PIC_PIN_1 | PIC_PIN_2 | PIC_PIN_3 | - PIC_PIN_4 | PIC_PIN_5 | PIC_PIN_6 | PIC_PIN_7); + PIC_PIN_4 | PIC_PIN_5); asm volatile("sti"); }