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/7879bc54b7ee
branches:  trunk
changeset: 961976:7879bc54b7ee
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 309ab74dff5a -r 7879bc54b7ee 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 @@
        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