Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4). Avoids
authorkettenis <kettenis@openbsd.org>
Fri, 3 Aug 2018 22:18:13 +0000 (22:18 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 3 Aug 2018 22:18:13 +0000 (22:18 +0000)
commite3ba7f7856adaa90dc89385d36b59e1d22c08cc7
tree9ca371b9ad5c5b15c3690e9941354be805ce2f61
parentf1089a02d7b6a5dfa6cc070b1cb55d13a1103558
Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4).  Avoids
having to add many more _HID entries to the match table.

ok deraadt@, mlarkin@
sys/dev/acpi/acpi.c
sys/dev/acpi/acpivar.h
sys/dev/acpi/ahci_acpi.c
sys/dev/pci/ahci_pci.c
sys/dev/pci/pcireg.h