From 4837ede3f5bfaec14899a5078dc1770deac5270a Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 22 Jul 2023 03:46:09 +0000 Subject: [PATCH] match AMD x86 CPUs in fw_update(8) ok deraadt@ --- usr.sbin/fw_update/patterns.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/fw_update/patterns.c b/usr.sbin/fw_update/patterns.c index 2294657542c..bb070a579a4 100644 --- a/usr.sbin/fw_update/patterns.c +++ b/usr.sbin/fw_update/patterns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patterns.c,v 1.9 2023/06/27 22:31:27 patrick Exp $ */ +/* $OpenBSD: patterns.c,v 1.10 2023/07/22 03:46:09 jsg Exp $ */ /* * Copyright (c) 1995, 1996 Christopher G. Demetriou. All rights reserved. @@ -88,6 +88,8 @@ int main(void) { printf("%s\n", "acx"); + printf("%s\n", "amd"); + printf("%s\n", "amd ^cpu0:* AMD"); printf("%s\n", "amdgpu"); print_devices("amdgpu", amdgpu_devices, nitems(amdgpu_devices)); printf("%s\n", "amdgpu ^vga*vendor \"ATI\", unknown product"); -- 2.20.1