From 89c511f9ec079500a2bb42a3f19896e382456556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 10 Jan 2021 15:04:20 +0100 Subject: [PATCH] disable PCI interrupts in PCI scan --- pci/pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pci/pci.c b/pci/pci.c index d492d65..e3ff617 100644 --- a/pci/pci.c +++ b/pci/pci.c @@ -952,7 +952,9 @@ static void pci_device_config(uint16_t bus, uint16_t device, uint16_t function) /* disable interrupt on PCI device */ - cr &= ~PCICR_INT_DISABLE; + cr |= PCICR_INT_DISABLE; + + /* allow bus mastering */ cr |= PCICR_MASTER; /*