From 48ee770e0ae64a72f2835663d028469953849d70 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Fri, 8 Oct 2021 13:06:43 +0200 Subject: [PATCH] drivers/pic: drop level sensitive irq configuration Among others, KVM does not support it. Signed-off-by: Pawel Wieczorkiewicz --- drivers/pic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pic.c b/drivers/pic.c index d51c387f..2419c0f6 100644 --- a/drivers/pic.c +++ b/drivers/pic.c @@ -33,8 +33,8 @@ static inline void pic_outb(io_port_t port, unsigned char value) { void init_pic(void) { /* Cascade mode initialization sequence */ - pic_outb(PIC1_PORT_CMD, PIC_ICW1_INIT | PIC_ICW1_LEVEL | PIC_ICW1_ICW4); - pic_outb(PIC2_PORT_CMD, PIC_ICW1_INIT | PIC_ICW1_LEVEL | PIC_ICW1_ICW4); + pic_outb(PIC1_PORT_CMD, PIC_ICW1_INIT | PIC_ICW1_ICW4); + pic_outb(PIC2_PORT_CMD, PIC_ICW1_INIT | PIC_ICW1_ICW4); /* Remap PICs interrupt vectors */ pic_outb(PIC1_PORT_DATA, PIC_IRQ0_OFFSET);