Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Ignore PNP0001 (EISA interrupt controller) and ...



details:   https://anonhg.NetBSD.org/src/rev/cc66e7067021
branches:  trunk
changeset: 942468:cc66e7067021
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 08 14:16:59 2020 +0000

description:
Ignore PNP0001 (EISA interrupt controller) and PNP0C02 (motherboard
resources) when enumerating devices.

diffstat:

 sys/dev/acpi/acpi.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 9d43fc538c1b -r cc66e7067021 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c       Sun Nov 08 14:00:52 2020 +0000
+++ b/sys/dev/acpi/acpi.c       Sun Nov 08 14:16:59 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi.c,v 1.285 2020/06/22 16:14:18 maxv Exp $  */
+/*     $NetBSD: acpi.c,v 1.286 2020/11/08 14:16:59 jmcneill Exp $      */
 
 /*-
  * Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.285 2020/06/22 16:14:18 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.286 2020/11/08 14:16:59 jmcneill Exp $");
 
 #include "pci.h"
 #include "opt_acpi.h"
@@ -166,9 +166,11 @@
 #if defined(i386) || defined(x86_64)
        "ACPI0007",     /* ACPI CPUs do not attach to acpi(4) */
        "PNP0000",      /* AT interrupt controller is handled internally */
+       "PNP0001",      /* EISA interrupt controller is handled internally */
        "PNP0200",      /* AT DMA controller is handled internally */
        "PNP0A??",      /* PCI Busses are handled internally */
        "PNP0B00",      /* AT RTC is handled internally */
+       "PNP0C02",      /* PnP motherboard resources */
        "PNP0C0F",      /* ACPI PCI link devices are handled internally */
 #endif
 #if defined(x86_64)



Home | Main Index | Thread Index | Old Index