Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Be explicit about the "eap" interface attribute ...



details:   https://anonhg.NetBSD.org/src/rev/efe724777200
branches:  trunk
changeset: 961990:efe724777200
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 26 19:35:16 2021 +0000

description:
Be explicit about the "eap" interface attribute when attaching a "joy"
instance.

diffstat:

 sys/dev/pci/joy_eap.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 8c8148b63eb8 -r efe724777200 sys/dev/pci/joy_eap.c
--- a/sys/dev/pci/joy_eap.c     Mon Apr 26 19:28:24 2021 +0000
+++ b/sys/dev/pci/joy_eap.c     Mon Apr 26 19:35:16 2021 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: joy_eap.c,v 1.15 2021/04/24 23:36:57 thorpej Exp $ */
+/* $NetBSD: joy_eap.c,v 1.16 2021/04/26 19:35:16 thorpej Exp $ */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: joy_eap.c,v 1.15 2021/04/24 23:36:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: joy_eap.c,v 1.16 2021/04/26 19:35:16 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -59,7 +59,9 @@
        aa.aa_aaa.type = AUDIODEV_TYPE_AUX;
        aa.aa_iot = gpa->gpa_iot;
        aa.aa_ioh = ioh;
-       joydev = config_found(eapdev, &aa, 0, CFARG_EOL);
+       joydev = config_found(eapdev, &aa, 0,
+           CFARG_IATTR, "eap",
+           CFARG_EOL);
        /* this cannot fail */
        KASSERT(joydev != NULL);
 



Home | Main Index | Thread Index | Old Index