summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-01-14 21:37:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-01-14 21:37:19 +0000
commit485ee50e8c118898bb1bd458365f09ef98aec68c (patch)
tree7b33d719ea2f6bdcd3469cdd3c9e040c1f583d9c /sys/dev/acpi
parent22fc930ab9c74fe2aa3d922caa19febbbe04ca0e (diff)
Attach dwiic(4) on the Intel Bay Trail i2c controllers as well.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi.c5
-rw-r--r--sys/dev/acpi/acpireg.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 5db9046c053..987951b8906 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.302 2016/01/12 07:42:39 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.303 2016/01/14 21:37:18 kettenis Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -2808,7 +2808,8 @@ acpi_foundhid(struct aml_node *node, void *arg)
} else if (!strcmp(dev, ACPI_DEV_DWIIC1) ||
!strcmp(dev, ACPI_DEV_DWIIC2) ||
!strcmp(dev, ACPI_DEV_DWIIC3) ||
- !strcmp(dev, ACPI_DEV_DWIIC4)) {
+ !strcmp(dev, ACPI_DEV_DWIIC4) ||
+ !strcmp(dev, ACPI_DEV_DWIIC5)) {
aaa.aaa_name = "dwiic";
}
diff --git a/sys/dev/acpi/acpireg.h b/sys/dev/acpi/acpireg.h
index 0f3c2eee0c5..14c87482cca 100644
--- a/sys/dev/acpi/acpireg.h
+++ b/sys/dev/acpi/acpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpireg.h,v 1.33 2016/01/12 07:42:39 kettenis Exp $ */
+/* $OpenBSD: acpireg.h,v 1.34 2016/01/14 21:37:18 kettenis Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
@@ -763,5 +763,6 @@ struct acpi_ivrs {
#define ACPI_DEV_DWIIC2 "INT33C3"
#define ACPI_DEV_DWIIC3 "INT3432"
#define ACPI_DEV_DWIIC4 "INT3433"
+#define ACPI_DEV_DWIIC5 "80860F41"
#endif /* !_DEV_ACPI_ACPIREG_H_ */