Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev snapper carries multiple interface attri...



details:   https://anonhg.NetBSD.org/src/rev/44336f0c362b
branches:  trunk
changeset: 378854:44336f0c362b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 26 14:01:47 2021 +0000

description:
snapper carries multiple interface attributes, so be explicit about
"onewirebus" when attaching to it.

diffstat:

 sys/arch/macppc/dev/snapper.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 324c3b607cff -r 44336f0c362b sys/arch/macppc/dev/snapper.c
--- a/sys/arch/macppc/dev/snapper.c     Mon Apr 26 13:29:51 2021 +0000
+++ b/sys/arch/macppc/dev/snapper.c     Mon Apr 26 14:01:47 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: snapper.c,v 1.58 2021/04/24 23:36:41 thorpej Exp $     */
+/*     $NetBSD: snapper.c,v 1.59 2021/04/26 14:01:47 thorpej Exp $     */
 /*     Id: snapper.c,v 1.11 2002/10/31 17:42:13 tsubai Exp     */
 /*     Id: i2s.c,v 1.12 2005/01/15 14:32:35 tsubai Exp         */
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.58 2021/04/24 23:36:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.59 2021/04/26 14:01:47 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -2301,6 +2301,7 @@ snapper_setup_ow(struct snapper_softc *s
        memset(&oba, 0, sizeof(oba));
        oba.oba_bus = &sc->sc_ow_bus;
        sc->sc_ow_dev = config_found(sc->sc_dev, &oba, onewirebus_print,
+           CFARG_IATTR, "onewirebus",
            CFARG_EOL);
 
 }



Home | Main Index | Thread Index | Old Index