summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2024-06-19 21:31:11 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2024-06-19 21:31:11 +0000
commit921e1dfbcfa2137ad399f83712d0361d82cb192c (patch)
tree575549eac9b8225107b02f2c7297af52131b69f5 /sys/dev/acpi
parent2bfe9ccd20f67d1bb0239c496a0255d858b8e498 (diff)
Add PNP IDs to handle the X1E80100 (Snapdragon X Elite) USB controllers.
ok kettenis@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/xhci_acpi.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/acpi/xhci_acpi.c b/sys/dev/acpi/xhci_acpi.c
index a1d696e156e..ad504b46ba4 100644
--- a/sys/dev/acpi/xhci_acpi.c
+++ b/sys/dev/acpi/xhci_acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhci_acpi.c,v 1.11 2022/10/30 15:34:54 patrick Exp $ */
+/* $OpenBSD: xhci_acpi.c,v 1.12 2024/06/19 21:31:10 patrick Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
@@ -62,6 +62,9 @@ const char *xhci_hids[] = {
"QCOM0826", /* SC7180 USB */
"QCOM24B6", /* SDM850 URS */
"QCOM24B7",
+ "QCOM0C8B", /* X1E80100 URS */
+ "QCOM0C8C",
+ "QCOM0D07",
NULL
};
@@ -108,7 +111,10 @@ xhci_acpi_attach(struct device *parent, struct device *self, void *aux)
strcmp(aaa->aaa_dev, "QCOM068B") == 0 ||
strcmp(aaa->aaa_dev, "QCOM068C") == 0 ||
strcmp(aaa->aaa_dev, "QCOM24B6") == 0 ||
- strcmp(aaa->aaa_dev, "QCOM24B7") == 0) {
+ strcmp(aaa->aaa_dev, "QCOM24B7") == 0 ||
+ strcmp(aaa->aaa_dev, "QCOM0C8B") == 0 ||
+ strcmp(aaa->aaa_dev, "QCOM0C8C") == 0 ||
+ strcmp(aaa->aaa_dev, "QCOM0D07") == 0) {
SIMPLEQ_FOREACH(node, &sc->sc_node->son, sib) {
if (strncmp(node->name, "USB", 3) == 0) {
aaa->aaa_node = node;