Skip a few more ACPI PNP IDs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Skip a few more ACPI PNP IDs

Mark Kettenis
Diff below adds a a few more entries that show up in dmesglog.
PNP0303 gets renamed to match the acpica/iasl output.

ok?


Index: dev/acpi/acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpi.c,v
retrieving revision 1.332
diff -u -p -r1.332 acpi.c
--- dev/acpi/acpi.c 17 Aug 2017 05:16:27 -0000 1.332
+++ dev/acpi/acpi.c 13 Nov 2017 20:06:10 -0000
@@ -2784,9 +2784,11 @@ acpi_parsehid(struct aml_node *node, voi
 const char *acpi_skip_hids[] = {
  "INT0800", /* Intel 82802Firmware Hub Device */
  "PNP0000", /* 8259-compatible Programmable Interrupt Controller */
+ "PNP0001", /* EISA Interrupt Controller */
  "PNP0100", /* PC-class System Timer */
  "PNP0103", /* HPET System Timer */
  "PNP0200", /* PC-class DMA Controller */
+ "PNP0201", /* EISA DMA Controller */
  "PNP0800", /* Microsoft Sound System Compatible Device */
  "PNP0A03", /* PCI Bus */
  "PNP0A08", /* PCI Express Bus */
@@ -2801,8 +2803,13 @@ const char *acpi_skip_hids[] = {
 
 /* ISA devices for which we attach a driver later */
 const char *acpi_isa_hids[] = {
- "PNP0303", /* 8042 PS/2 Controller */
+ "PNP0303", /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */
+ "PNP0400", /* Standard LPT Parallel Port */
+ "PNP0401", /* ECP Parallel Port */
  "PNP0501", /* 16550A-compatible COM Serial Port */
+ "PNP0700", /* PC-class Floppy Disk Controller */
+ "PNP0F03", /* Microsoft PS/2-style Mouse */
+ "PNP0F13", /* PS/2 Mouse */
  NULL
 };