Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Also print the device name with aprint_naive, l...



details:   https://anonhg.NetBSD.org/src/rev/57a8ac7b74db
branches:  trunk
changeset: 988283:57a8ac7b74db
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Oct 07 00:11:08 2021 +0000

description:
Also print the device name with aprint_naive, like wss@pnpbios does.

diffstat:

 sys/dev/acpi/wss_acpi.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 3388ed212df6 -r 57a8ac7b74db sys/dev/acpi/wss_acpi.c
--- a/sys/dev/acpi/wss_acpi.c   Thu Oct 07 00:01:45 2021 +0000
+++ b/sys/dev/acpi/wss_acpi.c   Thu Oct 07 00:11:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wss_acpi.c,v 1.37 2021/10/06 20:10:42 uwe Exp $ */
+/* $NetBSD: wss_acpi.c,v 1.38 2021/10/07 00:11:08 uwe Exp $ */
 
 /*
  * Copyright (c) 2002 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.37 2021/10/06 20:10:42 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.38 2021/10/07 00:11:08 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -181,7 +181,8 @@
        }
 
        /* Attach our wss device */
-       aprint_normal("%s", device_xname(self)); /* NB: sic! */
+       aprint_naive("%s", device_xname(self));
+       aprint_normal("%s", device_xname(self));
        wssattach(sc);
 
        arg.type = AUDIODEV_TYPE_OPL;



Home | Main Index | Thread Index | Old Index