diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-06-19 21:31:11 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2024-06-19 21:31:11 +0000 |
commit | 921e1dfbcfa2137ad399f83712d0361d82cb192c (patch) | |
tree | 575549eac9b8225107b02f2c7297af52131b69f5 | |
parent | 2bfe9ccd20f67d1bb0239c496a0255d858b8e498 (diff) |
Add PNP IDs to handle the X1E80100 (Snapdragon X Elite) USB controllers.
ok kettenis@
-rw-r--r-- | sys/dev/acpi/xhci_acpi.c | 10 |
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; |