Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/acpi Enable MSI and MSI-X support on N1SDP



details:   https://anonhg.NetBSD.org/src/rev/e4593abe5801
branches:  trunk
changeset: 744802:e4593abe5801
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Feb 13 00:02:40 2020 +0000

description:
Enable MSI and MSI-X support on N1SDP

diffstat:

 sys/arch/arm/acpi/acpi_pci_n1sdp.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 119b9eb8b03b -r e4593abe5801 sys/arch/arm/acpi/acpi_pci_n1sdp.c
--- a/sys/arch/arm/acpi/acpi_pci_n1sdp.c        Thu Feb 13 00:02:21 2020 +0000
+++ b/sys/arch/arm/acpi/acpi_pci_n1sdp.c        Thu Feb 13 00:02:40 2020 +0000
@@ -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 @@
        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;
 }



Home | Main Index | Thread Index | Old Index