diff --git a/sys/dev/pci/joy_eap.c b/sys/dev/pci/joy_eap.c index b7963b0fcb48..3d0bffe6ce25 100644 --- a/sys/dev/pci/joy_eap.c +++ b/sys/dev/pci/joy_eap.c @@ -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 -__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 #include @@ -59,7 +59,9 @@ eap_joy_attach(device_t eapdev, struct eap_gameport_args *gpa) 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);