summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2020-11-08 14:16:59 +0000
committerjmcneill <jmcneill@NetBSD.org>2020-11-08 14:16:59 +0000
commitbb191730b4d712e1ba714f2e6ffbdb0452327393 (patch)
tree04ca8b25c8a5b43098e1530d4371bfd3fb874acf /sys/dev/acpi/acpi.c
parent18a9036356149ff18e8c05d37c0e6d7b54f8b9a1 (diff)
Ignore PNP0001 (EISA interrupt controller) and PNP0C02 (motherboard
resources) when enumerating devices.
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r--sys/dev/acpi/acpi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 69becdbb963..cd77ee5dee2 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -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 @@ static const char * const acpi_ignored_ids[] = {
#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)