Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/vr Be explicit about our interface attributes.



details:   https://anonhg.NetBSD.org/src/rev/0dfef545e778
branches:  trunk
changeset: 379241:0dfef545e778
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 22 16:00:42 2021 +0000

description:
Be explicit about our interface attributes.

diffstat:

 sys/arch/hpcmips/vr/vrgiu.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r e392fad217c5 -r 0dfef545e778 sys/arch/hpcmips/vr/vrgiu.c
--- a/sys/arch/hpcmips/vr/vrgiu.c       Sat May 22 15:05:36 2021 +0000
+++ b/sys/arch/hpcmips/vr/vrgiu.c       Sat May 22 16:00:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vrgiu.c,v 1.45 2021/04/24 23:36:38 thorpej Exp $       */
+/*     $NetBSD: vrgiu.c,v 1.46 2021/05/22 16:00:42 thorpej Exp $       */
 /*-
  * Copyright (c) 1999-2001
  *         Shin Takemura and PocketBSD Project. All rights reserved.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrgiu.c,v 1.45 2021/04/24 23:36:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrgiu.c,v 1.46 2021/05/22 16:00:42 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -268,7 +268,9 @@ vrgiu_attach(device_t parent, device_t s
        haa.haa_sc = sc;
        haa.haa_getchip = vrgiu_getchip;
        haa.haa_iot = sc->sc_iot;
-       while (config_found(self, &haa, vrgiu_print, CFARG_EOL)) ;
+       while (config_found(self, &haa, vrgiu_print,
+           CFARG_IATTR, "hpcioif",
+           CFARG_EOL)) ;
        /*
         * GIU-ISA bridge
         */
@@ -289,7 +291,9 @@ vrgiu_callback(device_t self)
        haa.haa_sc = sc;
        haa.haa_getchip = vrgiu_getchip;
        haa.haa_iot = sc->sc_iot;
-       config_found(self, &haa, vrgiu_print, CFARG_EOL);
+       config_found(self, &haa, vrgiu_print,
+           CFARG_IATTR, "vrisabif",
+           CFARG_EOL);
 }
 
 int



Home | Main Index | Thread Index | Old Index