From 35ecc9da6efcff6ea372ef4100cc47fa17b1aa3c Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 8 Sep 2022 06:33:45 +0000 Subject: [PATCH] Use generic PNP ID to match HID-over-I2C devices. ok patrick@, drahn@ --- sys/dev/acpi/qciic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)); -- 2.20.1