Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev/vme CFARG_IATTR usage audit:



details:   https://anonhg.NetBSD.org/src/rev/0a2285b85e1c
branches:  thorpej-cfargs
changeset: 953832:0a2285b85e1c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 21 17:35:39 2021 +0000

description:
CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached.  cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.

diffstat:

 sys/arch/acorn32/eb7500atx/rsbus.c           |  5 ++---
 sys/arch/acorn32/mainbus/pioc.c              |  5 ++---
 sys/arch/amiga/clockport/clockport.c         |  3 +--
 sys/arch/arm/at91/at91bus.c                  |  5 ++---
 sys/arch/arm/broadcom/bcm53xx_ccb.c          |  3 +--
 sys/arch/arm/ep93xx/epsoc.c                  |  5 ++---
 sys/arch/arm/gemini/gemini_lpc.c             |  5 ++---
 sys/arch/arm/imx/imx23_ahb.c                 |  3 +--
 sys/arch/arm/imx/imx23_apbh.c                |  4 +---
 sys/arch/arm/imx/imx23_apbx.c                |  4 +---
 sys/arch/arm/imx/imx23_usb.c                 |  3 +--
 sys/arch/arm/imx/imx31_ahb.c                 |  6 ++----
 sys/arch/arm/imx/imx31_aips.c                |  7 +++----
 sys/arch/arm/imx/imx51_axi.c                 |  6 ++----
 sys/arch/arm/imx/imx51_usb.c                 |  5 ++---
 sys/arch/arm/iomd/vidc20.c                   |  5 ++---
 sys/arch/arm/ixp12x0/ixpsip.c                |  5 ++---
 sys/arch/arm/mainbus/mainbus.c               |  5 ++---
 sys/arch/arm/mpcore/mpcore_axi.c             |  6 ++----
 sys/arch/arm/mpcore/mpcore_pmr.c             |  5 ++---
 sys/arch/arm/omap/omap2_gpmc.c               |  7 +++----
 sys/arch/arm/omap/omap2_l3i.c                |  7 +++----
 sys/arch/arm/omap/omap2_obio.c               |  8 +++-----
 sys/arch/arm/omap/omap_emifs.c               |  5 ++---
 sys/arch/arm/omap/omap_ocp.c                 |  5 ++---
 sys/arch/arm/omap/omap_tipb.c                |  6 ++----
 sys/arch/arm/omap/omapl1x_tipb.c             |  4 +---
 sys/arch/arm/s3c2xx0/s3c2410.c               |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2410_extint.c        |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2410_spi.c           |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2440.c               |  3 +--
 sys/arch/arm/s3c2xx0/s3c2440_extint.c        |  3 +--
 sys/arch/arm/s3c2xx0/s3c2440_i2s.c           |  1 -
 sys/arch/arm/s3c2xx0/s3c2440_spi.c           |  3 +--
 sys/arch/arm/s3c2xx0/s3c2800.c               |  5 ++---
 sys/arch/arm/sa11x0/sa11x0.c                 |  5 ++---
 sys/arch/arm/xscale/ixp425_ixme.c            |  5 ++---
 sys/arch/arm/xscale/ixp425_npe.c             |  5 ++---
 sys/arch/arm/xscale/ixp425_sip.c             |  5 ++---
 sys/arch/arm/xscale/pxa2x0.c                 |  5 ++---
 sys/arch/arm/zynq/zynq_axi.c                 |  6 ++----
 sys/arch/atari/vme/vme.c                     |  5 ++---
 sys/arch/cesfic/cesfic/autoconf.c            |  5 ++---
 sys/arch/cobalt/cobalt/mainbus.c             |  5 ++---
 sys/arch/dreamcast/dev/g1/g1bus.c            |  5 ++---
 sys/arch/dreamcast/dev/g2/g2bus.c            |  5 ++---
 sys/arch/epoc32/epoc32/external.c            |  5 ++---
 sys/arch/evbarm/adi_brh/obio.c               |  5 ++---
 sys/arch/evbarm/g42xxeb/gb225.c              |  3 +--
 sys/arch/evbarm/g42xxeb/obio.c               |  3 +--
 sys/arch/evbarm/gumstix/gxio.c               |  5 ++---
 sys/arch/evbarm/hdl_g/obio.c                 |  5 ++---
 sys/arch/evbarm/iq80310/obio.c               |  5 ++---
 sys/arch/evbarm/iq80321/obio.c               |  5 ++---
 sys/arch/evbarm/iyonix/obio.c                |  5 ++---
 sys/arch/evbarm/lubbock/obio.c               |  5 ++---
 sys/arch/evbarm/lubbock/sacc_obio.c          |  5 ++---
 sys/arch/evbsh3/evbsh3/mainbus.c             |  5 ++---
 sys/arch/hp300/dev/hpib.c                    |  5 ++---
 sys/arch/hp300/hp300/autoconf.c              |  5 ++---
 sys/arch/hpcarm/dev/ipaq_atmelgpio.c         |  5 ++---
 sys/arch/hpcarm/dev/ipaq_saip.c              |  5 ++---
 sys/arch/hpcarm/dev/j720ssp.c                |  5 ++---
 sys/arch/hpcarm/dev/nbppcon.c                |  5 ++---
 sys/arch/hpcarm/dev/sacc_hpcarm.c            |  5 ++---
 sys/arch/hpcarm/dev/uda1341.c                |  5 ++---
 sys/arch/hpcmips/dev/plum.c                  |  6 ++----
 sys/arch/hpcmips/dev/plumiobus.c             |  5 ++---
 sys/arch/hpcmips/dev/ucb1200.c               |  5 ++---
 sys/arch/hpcmips/tx/tx39sib.c                |  5 ++---
 sys/arch/hpcmips/tx/tx39spi.c                |  5 ++---
 sys/arch/hpcmips/tx/tx39uart.c               |  5 ++---
 sys/arch/hpcmips/tx/txcsbus.c                |  6 ++----
 sys/arch/hpcmips/tx/txsim.c                  |  7 ++-----
 sys/arch/hpcmips/vr/vrc4173bcu.c             |  5 ++---
 sys/arch/hpcmips/vr/vrip.c                   |  6 ++----
 sys/arch/i386/pnpbios/pnpbios.c              |  5 ++---
 sys/arch/iyonix/iyonix/obio.c                |  5 ++---
 sys/arch/landisk/dev/obio.c                  |  5 ++---
 sys/arch/mac68k/mac68k/mainbus.c             |  5 ++---
 sys/arch/mac68k/obio/obio.c                  |  5 ++---
 sys/arch/mips/ralink/ralink_mainbus.c        |  6 ++----
 sys/arch/mips/rmi/rmixl_iobus.c              |  5 ++---
 sys/arch/mips/rmi/rmixl_mainbus.c            |  5 ++---
 sys/arch/mips/rmi/rmixl_obio.c               |  5 ++---
 sys/arch/mips/rmi/rmixl_usbi.c               |  5 ++---
 sys/arch/mips/sibyte/dev/sbgbus.c            |  5 ++---
 sys/arch/mipsco/obio/obio.c                  |  5 ++---
 sys/arch/mmeye/mmeye/mainbus.c               |  5 ++---
 sys/arch/news68k/dev/hb.c                    |  5 ++---
 sys/arch/news68k/news68k/mainbus.c           |  5 ++---
 sys/arch/newsmips/dev/hb.c                   |  5 ++---
 sys/arch/next68k/dev/intio.c                 |  5 ++---
 sys/arch/next68k/next68k/mainbus.c           |  5 ++---
 sys/arch/playstation2/dev/sbus.c             |  5 ++---
 sys/arch/playstation2/playstation2/mainbus.c |  5 ++---
 sys/arch/powerpc/booke/dev/pq3obio.c         |  5 ++---
 sys/arch/prep/pnpbus/pnpbus.c                |  5 ++---
 sys/arch/rs6000/mca/ioplanar.c               |  3 +--
 sys/arch/sandpoint/sandpoint/eumb.c          |  5 ++---
 sys/arch/sgimips/gio/gio.c                   |  5 ++---
 sys/arch/sgimips/ioc/ioc.c                   |  5 ++---
 sys/arch/sgimips/mace/mace.c                 |  5 ++---
 sys/arch/sgimips/sgimips/mainbus.c           |  5 ++---
 sys/arch/sh3/dev/adc.c                       |  5 ++---
 sys/arch/sh3/dev/shb.c                       |  5 ++---
 sys/arch/sparc/dev/obio.c                    |  6 ++----
 sys/arch/sun2/sun2/mbio.c                    |  6 ++----
 sys/arch/sun2/sun2/mbmem.c                   |  6 ++----
 sys/arch/sun2/sun2/obio.c                    |  6 ++----
 sys/arch/sun2/sun2/obmem.c                   |  6 ++----
 sys/arch/sun3/sun3/obmem.c                   |  5 ++---
 sys/arch/sun3/sun3/vme.c                     |  5 ++---
 sys/arch/sun3/sun3x/vme.c                    |  5 ++---
 sys/arch/vax/vsa/vsbus.c                     |  5 ++---
 sys/arch/x68k/dev/grf_machdep.c              |  5 ++---
 sys/arch/x68k/dev/intio.c                    |  5 ++---
 sys/arch/x68k/dev/mfp.c                      |  5 ++---
 sys/arch/x68k/dev/neptune.c                  |  5 ++---
 sys/arch/x68k/dev/scsirom.c                  |  5 ++---
 sys/arch/x86/pci/amdnb_misc.c                |  5 ++---
 sys/arch/zaurus/dev/zssp.c                   |  5 ++---
 sys/dev/gpib/cs80bus.c                       |  5 ++---
 sys/dev/gpib/gpib.c                          |  6 ++----
 sys/dev/gpio/gpio.c                          |  5 ++---
 sys/dev/hpc/hpcioman.c                       |  5 ++---
 sys/dev/isa/tsdio.c                          |  5 ++---
 sys/dev/marvell/obio.c                       |  5 ++---
 sys/dev/qbus/uba.c                           |  5 ++---
 sys/dev/scsipi/atapiconf.c                   |  5 ++---
 sys/dev/scsipi/scsiconf.c                    |  5 ++---
 sys/dev/spi/spi.c                            |  5 ++---
 sys/dev/vme/vme.c                            |  6 ++----
 133 files changed, 255 insertions(+), 410 deletions(-)

diffs (truncated from 3504 to 300 lines):

diff -r ea677d427230 -r 0a2285b85e1c sys/arch/acorn32/eb7500atx/rsbus.c
--- a/sys/arch/acorn32/eb7500atx/rsbus.c        Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/acorn32/eb7500atx/rsbus.c        Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rsbus.c,v 1.10.52.1 2021/03/20 19:33:30 thorpej Exp $ */
+/* $NetBSD: rsbus.c,v 1.10.52.2 2021/03/21 17:35:39 thorpej Exp $ */
 
 /*
  * Copyright (c) 2002
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.10.52.1 2021/03/20 19:33:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.10.52.2 2021/03/21 17:35:39 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -72,7 +72,6 @@
         */
        config_search(self, NULL,
            CFARG_SUBMATCH, rsbus_search,
-           CFARG_IATTR, "rsbus",
            CFARG_EOL);
 }
 
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/acorn32/mainbus/pioc.c
--- a/sys/arch/acorn32/mainbus/pioc.c   Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/acorn32/mainbus/pioc.c   Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pioc.c,v 1.18.52.1 2021/03/20 19:33:30 thorpej Exp $   */     
+/*     $NetBSD: pioc.c,v 1.18.52.2 2021/03/21 17:35:39 thorpej Exp $   */     
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -41,7 +41,7 @@
 /*#define PIOC_DEBUG*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.18.52.1 2021/03/20 19:33:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.18.52.2 2021/03/21 17:35:39 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -495,7 +495,6 @@
 #if 0
        config_search(self, NULL,
            CFARG_SUBMATCH, piocsearch,
-           CFARG_IATTR, "pioc",
            CFARG_EOL);
 #endif
 }
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/amiga/clockport/clockport.c
--- a/sys/arch/amiga/clockport/clockport.c      Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/amiga/clockport/clockport.c      Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: clockport.c,v 1.5.52.1 2021/03/20 19:33:30 thorpej Exp $ */
+/*      $NetBSD: clockport.c,v 1.5.52.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -67,7 +67,6 @@
 
        config_search(self, NULL,
            CFARG_SUBMATCH, clockport_submatch,
-           CFARG_IATTR, "clockport",
            CFARG_EOL);
 }
 
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/at91/at91bus.c
--- a/sys/arch/arm/at91/at91bus.c       Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/at91/at91bus.c       Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at91bus.c,v 1.27.4.1 2021/03/20 19:33:31 thorpej Exp $ */
+/*     $NetBSD: at91bus.c,v 1.27.4.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.27.4.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.27.4.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_console.h"
@@ -622,7 +622,6 @@
        sa.sa_dmat = sc->sc_dmat;
        config_search(self, &sa,
            CFARG_SUBMATCH, at91bus_search,
-           CFARG_IATTR, "at91bus",
            CFARG_EOL);
 }
 
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/broadcom/bcm53xx_ccb.c
--- a/sys/arch/arm/broadcom/bcm53xx_ccb.c       Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_ccb.c       Sun Mar 21 17:35:39 2021 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_ccb.c,v 1.6.44.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_ccb.c,v 1.6.44.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -203,7 +203,6 @@
 
                cfdata_t cf = config_search(self, &ccbaa,
                                            CFARG_SUBMATCH, bcmccb_find,
-                                           CFARG_IATTR, "bcmccb",
                                            CFARG_EOL);
                if (cf != NULL)
                        config_attach(self, cf, &ccbaa, bcmccb_print);
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/ep93xx/epsoc.c
--- a/sys/arch/arm/ep93xx/epsoc.c       Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/ep93xx/epsoc.c       Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epsoc.c,v 1.13.52.1 2021/03/20 19:33:31 thorpej Exp $  */
+/*     $NetBSD: epsoc.c,v 1.13.52.2 2021/03/21 17:35:40 thorpej Exp $  */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.13.52.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.13.52.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -173,7 +173,6 @@
                              epsoc_print, epsoc_submatch));
        config_search(self, &sa,
            CFARG_SUBMATCH, epsoc_search,
-           CFARG_IATTR, "epsoc",
            CFARG_EOL);
 }
 
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/gemini/gemini_lpc.c
--- a/sys/arch/arm/gemini/gemini_lpc.c  Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/gemini/gemini_lpc.c  Sun Mar 21 17:35:39 2021 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: gemini_lpc.c,v 1.4.52.1 2021/03/20 19:33:31 thorpej Exp $      */
+/*     $NetBSD: gemini_lpc.c,v 1.4.52.2 2021/03/21 17:35:40 thorpej Exp $      */
 
 #include "opt_gemini.h"
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_lpc.c,v 1.4.52.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_lpc.c,v 1.4.52.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -114,7 +114,6 @@
         */
        config_search(self, NULL,
            CFARG_SUBMATCH, gemini_lpc_search,
-           CFARG_IATTR, "lpc",
            CFARG_EOL);
 }
 
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx23_ahb.c
--- a/sys/arch/arm/imx/imx23_ahb.c      Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx23_ahb.c      Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_ahb.c,v 1.1.50.1 2021/03/20 19:33:31 thorpej Exp $ */
+/* $Id: imx23_ahb.c,v 1.1.50.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -85,7 +85,6 @@
 
        config_search(self, &aa,
            CFARG_SUBMATCH, ahb_search_cb,
-           CFARG_IATTR, "ahb",
            CFARG_EOL);
 
        ahb_attached = 1;
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx23_apbh.c
--- a/sys/arch/arm/imx/imx23_apbh.c     Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx23_apbh.c     Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_apbh.c,v 1.1.56.1 2021/03/20 19:33:31 thorpej Exp $ */
+/* $Id: imx23_apbh.c,v 1.1.56.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -91,11 +91,9 @@
 
        config_search(self, &aa,
            CFARG_SUBMATCH, apbh_search_crit_cb,
-           CFARG_IATTR, "apbh",
            CFARG_EOL);
        config_search(self, &aa,
            CFARG_SUBMATCH, apbh_search_cb,
-           CFARG_IATTR, "apbh",
            CFARG_EOL);
 
        apbh_attached = 1;
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx23_apbx.c
--- a/sys/arch/arm/imx/imx23_apbx.c     Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx23_apbx.c     Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_apbx.c,v 1.1.56.1 2021/03/20 19:33:31 thorpej Exp $ */
+/* $Id: imx23_apbx.c,v 1.1.56.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -91,11 +91,9 @@
 
        config_search(self, &aa,
            CFARG_SUBMATCH, apbx_search_crit_cb,
-           CFARG_IATTR, "apbx",
            CFARG_EOL);
        config_search(self, &aa,
            CFARG_SUBMATCH, apbx_search_cb,
-           CFARG_IATTR, "apbx",
            CFARG_EOL);
 
        apbx_attached = 1;
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx23_usb.c
--- a/sys/arch/arm/imx/imx23_usb.c      Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx23_usb.c      Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $Id: imx23_usb.c,v 1.3.2.1 2021/03/20 19:33:31 thorpej Exp $ */
+/* $Id: imx23_usb.c,v 1.3.2.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -123,7 +123,6 @@
        /* attach OTG/EHCI host controllers */
        config_search(self, NULL,
            CFARG_SUBMATCH, imxusbc_search,
-           CFARG_IATTR, "imxusbc",
            CFARG_EOL);
 
        return;
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx31_ahb.c
--- a/sys/arch/arm/imx/imx31_ahb.c      Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx31_ahb.c      Sun Mar 21 17:35:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx31_ahb.c,v 1.7.12.1 2021/03/20 19:33:31 thorpej Exp $       */
+/*     $NetBSD: imx31_ahb.c,v 1.7.12.2 2021/03/21 17:35:40 thorpej Exp $       */
 
 /*
  * Copyright (c) 2002, 2005  Genetec Corporation.  All rights reserved.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$Id: imx31_ahb.c,v 1.7.12.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$Id: imx31_ahb.c,v 1.7.12.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include "locators.h"
 #include "avic.h"
@@ -177,7 +177,6 @@
        ahba.ahba_dmat = sc->sc_dmat;
        config_search(self, &ahba,
            CFARG_SUBMATCH, ahb_search,
-           CFARG_IATTR, "ahb",
            CFARG_EOL);
 }
 
@@ -264,7 +263,6 @@
 
                cf = config_search(sc->sc_dev, &ahba,
                    CFARG_SUBMATCH, ahb_find,
-                   CFARG_IATTR, "ahb",
                    CFARG_EOL);
                if (cf == NULL && critical_devs[i].required)
                        panic("ahb_attach_critical: failed to find %s!",
diff -r ea677d427230 -r 0a2285b85e1c sys/arch/arm/imx/imx31_aips.c
--- a/sys/arch/arm/imx/imx31_aips.c     Sun Mar 21 16:32:00 2021 +0000
+++ b/sys/arch/arm/imx/imx31_aips.c     Sun Mar 21 17:35:39 2021 +0000
@@ -1,7 +1,7 @@
-/*     $Id: imx31_aips.c,v 1.5.52.1 2021/03/20 19:33:31 thorpej Exp $  */
+/*     $Id: imx31_aips.c,v 1.5.52.2 2021/03/21 17:35:40 thorpej Exp $  */
 
 /* derived from:       */
-/*     $NetBSD: imx31_aips.c,v 1.5.52.1 2021/03/20 19:33:31 thorpej Exp $ */
+/*     $NetBSD: imx31_aips.c,v 1.5.52.2 2021/03/21 17:35:40 thorpej Exp $ */
 
 /*
  * Copyright (c) 2002, 2005  Genetec Corporation.  All rights reserved.
@@ -102,7 +102,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$Id: imx31_aips.c,v 1.5.52.1 2021/03/20 19:33:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$Id: imx31_aips.c,v 1.5.52.2 2021/03/21 17:35:40 thorpej Exp $");
 
 #include "locators.h"
 
@@ -159,7 +159,6 @@
         */
        config_search(self, sc,



Home | Main Index | Thread Index | Old Index