From: patrick Date: Wed, 19 Jun 2024 21:31:10 +0000 (+0000) Subject: Add PNP IDs to handle the X1E80100 (Snapdragon X Elite) USB controllers. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7ac03bdf8cac5820ec4499f7aaa86e444854acd4;p=openbsd Add PNP IDs to handle the X1E80100 (Snapdragon X Elite) USB controllers. ok kettenis@ --- 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;