Module Name: src
Committed By: jmcneill
Date: Thu Feb 13 00:02:40 UTC 2020
Modified Files:
src/sys/arch/arm/acpi: acpi_pci_n1sdp.c
Log Message:
Enable MSI and MSI-X support on N1SDP
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/acpi/acpi_pci_n1sdp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/acpi/acpi_pci_n1sdp.c
diff -u src/sys/arch/arm/acpi/acpi_pci_n1sdp.c:1.1 src/sys/arch/arm/acpi/acpi_pci_n1sdp.c:1.2
--- src/sys/arch/arm/acpi/acpi_pci_n1sdp.c:1.1 Fri Jan 17 17:06:33 2020
+++ src/sys/arch/arm/acpi/acpi_pci_n1sdp.c Thu Feb 13 00:02:40 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci_n1sdp.c,v 1.1 2020/01/17 17:06:33 jmcneill Exp $ */
+/* $NetBSD: acpi_pci_n1sdp.c,v 1.2 2020/02/13 00:02:40 jmcneill Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci_n1sdp.c,v 1.1 2020/01/17 17:06:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci_n1sdp.c,v 1.2 2020/02/13 00:02:40 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -186,8 +186,6 @@ acpi_pci_n1sdp_init(struct acpi_pci_cont
ap->ap_conf_read = acpi_pci_n1sdp_conf_read;
ap->ap_conf_write = acpi_pci_n1sdp_conf_write;
- /* IO space access and MSI seems to cause async SErrors, so disable for now */
- ap->ap_pciflags_clear = PCI_FLAGS_IO_OKAY |
- PCI_FLAGS_MSI_OKAY |
- PCI_FLAGS_MSIX_OKAY;
+ /* IO space access seems to cause async SErrors, so disable for now */
+ ap->ap_pciflags_clear = PCI_FLAGS_IO_OKAY;
}