From: kettenis Date: Thu, 8 Sep 2022 06:33:45 +0000 (+0000) Subject: Use generic PNP ID to match HID-over-I2C devices. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=35ecc9da6efcff6ea372ef4100cc47fa17b1aa3c;p=openbsd Use generic PNP ID to match HID-over-I2C devices. ok patrick@, drahn@ --- diff --git a/sys/dev/acpi/qciic.c b/sys/dev/acpi/qciic.c index 0f2983b3826..6f4e51b9d43 100644 --- a/sys/dev/acpi/qciic.c +++ b/sys/dev/acpi/qciic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qciic.c,v 1.1 2022/08/31 16:10:59 kettenis Exp $ */ +/* $OpenBSD: qciic.c,v 1.2 2022/09/08 06:33:45 kettenis Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * @@ -429,8 +429,7 @@ qciic_acpi_found_hid(struct aml_node *node, void *arg) acpi_attach_deps(acpi_softc, node->parent); - if (strcmp(dev, "ELAN0674") == 0 || - strcmp(dev, "ELAN06F0") == 0) + if (strcmp(dev, "PNP0C50") == 0 || strcmp(cdev, "PNP0C50") == 0) return qciic_acpi_found_ihidev(sc, node, dev, crs); memset(&ia, 0, sizeof(ia));