From 9f7f04bf1145fddef8fe9586686a71224f9345ae Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 4 Mar 2024 17:03:06 +0000 Subject: [PATCH] x13s (or other qualcomm machines of that generation) will sometimes boot in ACPI mode, then the qcpas0 driver isn't found. But we want a firmware associated with that device name. So also match for the qcpas firmware on ^ppb0*\"Qualcomm SC8280XP PCIe\" ok phessler kettenis --- usr.sbin/fw_update/patterns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/fw_update/patterns.c b/usr.sbin/fw_update/patterns.c index cf0e2ebe2a8..08ae2164f07 100644 --- a/usr.sbin/fw_update/patterns.c +++ b/usr.sbin/fw_update/patterns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patterns.c,v 1.11 2024/01/27 15:15:01 phessler Exp $ */ +/* $OpenBSD: patterns.c,v 1.12 2024/03/04 17:03:06 deraadt Exp $ */ /* * Copyright (c) 1995, 1996 Christopher G. Demetriou. All rights reserved. @@ -114,6 +114,7 @@ main(void) printf("%s\n", "otus"); printf("%s\n", "pgt"); printf("%s\n", "qcpas"); + printf("%s\n", "qcpas ^ppb0*\"Qualcomm SC8280XP PCIe\""); printf("%s\n", "qwx"); printf("%s\n", "radeondrm"); print_devices("radeondrm", radeon_devices, nitems(radeon_devices)); -- 2.20.1