Module Name: src
Committed By: thorpej
Date: Mon Apr 5 01:01:49 UTC 2021
Modified Files:
src/sys/arch/acorn32/eb7500atx [thorpej-cfargs]: rsbus.c
src/sys/arch/acorn32/mainbus [thorpej-cfargs]: pioc.c
src/sys/arch/arm/at91 [thorpej-cfargs]: at91bus.c at91pio.c
src/sys/arch/arm/ep93xx [thorpej-cfargs]: epgpio.c epsoc.c
src/sys/arch/arm/imx [thorpej-cfargs]: imx23_ahb.c imx23_apbh.c
imx23_apbx.c imx23_usb.c imx51_axi.c imx51_usb.c
src/sys/arch/arm/iomd [thorpej-cfargs]: vidc20.c
src/sys/arch/arm/ixp12x0 [thorpej-cfargs]: ixpsip.c
src/sys/arch/arm/mainbus [thorpej-cfargs]: mainbus.c
src/sys/arch/arm/mpcore [thorpej-cfargs]: mpcore_axi.c mpcore_pmr.c
src/sys/arch/arm/sa11x0 [thorpej-cfargs]: sa1111.c sa11x0.c
src/sys/arch/arm/xscale [thorpej-cfargs]: becc.c ixp425_ixme.c
ixp425_npe.c ixp425_sip.c
src/sys/arch/arm/zynq [thorpej-cfargs]: zynq_axi.c
src/sys/arch/atari/vme [thorpej-cfargs]: vme.c
src/sys/arch/cesfic/cesfic [thorpej-cfargs]: autoconf.c
src/sys/arch/cobalt/cobalt [thorpej-cfargs]: mainbus.c
src/sys/arch/dreamcast/dev/g1 [thorpej-cfargs]: g1bus.c
src/sys/arch/dreamcast/dev/g2 [thorpej-cfargs]: g2bus.c
src/sys/arch/epoc32/epoc32 [thorpej-cfargs]: internal.c
src/sys/arch/evbarm/adi_brh [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/g42xxeb [thorpej-cfargs]: gb225.c obio.c
src/sys/arch/evbarm/hdl_g [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/ifpga [thorpej-cfargs]: ifpga.c
src/sys/arch/evbarm/iq80310 [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/iq80321 [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/iyonix [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/tsarm [thorpej-cfargs]: tspld.c
src/sys/arch/hp300/dev [thorpej-cfargs]: hpib.c
src/sys/arch/hp300/hp300 [thorpej-cfargs]: autoconf.c
src/sys/arch/hpcarm/dev [thorpej-cfargs]: ipaq_atmelgpio.c ipaq_saip.c
j720ssp.c uda1341.c
src/sys/arch/iyonix/iyonix [thorpej-cfargs]: obio.c
src/sys/arch/landisk/dev [thorpej-cfargs]: obio.c
src/sys/arch/mac68k/mac68k [thorpej-cfargs]: mainbus.c
src/sys/arch/mac68k/obio [thorpej-cfargs]: obio.c
src/sys/arch/mips/ralink [thorpej-cfargs]: ralink_mainbus.c
src/sys/arch/mips/rmi [thorpej-cfargs]: rmixl_iobus.c rmixl_mainbus.c
rmixl_obio.c rmixl_usbi.c
src/sys/arch/mips/sibyte/dev [thorpej-cfargs]: sbgbus.c
src/sys/arch/mipsco/obio [thorpej-cfargs]: obio.c
src/sys/arch/news68k/dev [thorpej-cfargs]: hb.c
src/sys/arch/news68k/news68k [thorpej-cfargs]: mainbus.c
src/sys/arch/newsmips/dev [thorpej-cfargs]: hb.c
src/sys/arch/next68k/dev [thorpej-cfargs]: intio.c
src/sys/arch/next68k/next68k [thorpej-cfargs]: mainbus.c
src/sys/arch/powerpc/booke/dev [thorpej-cfargs]: pq3obio.c
src/sys/arch/prep/pnpbus [thorpej-cfargs]: pnpbus.c
src/sys/arch/rs6000/mca [thorpej-cfargs]: ioplanar.c
src/sys/arch/sandpoint/sandpoint [thorpej-cfargs]: eumb.c
src/sys/arch/sgimips/gio [thorpej-cfargs]: gio.c
src/sys/arch/sgimips/ioc [thorpej-cfargs]: ioc.c
src/sys/arch/sgimips/mace [thorpej-cfargs]: mace.c
src/sys/arch/sgimips/sgimips [thorpej-cfargs]: mainbus.c
src/sys/arch/sh3/dev [thorpej-cfargs]: adc.c shb.c
src/sys/arch/sparc/dev [thorpej-cfargs]: obio.c
src/sys/arch/sun3/sun3 [thorpej-cfargs]: autoconf.c
src/sys/arch/sun68k/sun68k [thorpej-cfargs]: autoconf.c
src/sys/arch/x68k/dev [thorpej-cfargs]: intio.c mfp.c
src/sys/dev/gpib [thorpej-cfargs]: cs80bus.c gpib.c
src/sys/dev/gpio [thorpej-cfargs]: gpio.c
src/sys/dev/isa [thorpej-cfargs]: isa.c tsdio.c
src/sys/dev/marvell [thorpej-cfargs]: obio.c
src/sys/dev/ppbus [thorpej-cfargs]: ppbus_conf.c
src/sys/dev/spi [thorpej-cfargs]: spi.c
src/sys/rump/librump/rumpkern [thorpej-cfargs]: rump_autoconf.c
Log Message:
Treat config_probe() as if it were a boolean function; don't compare
return value > 0... except for the odd balls, which are now really easy
to spot.
To generate a diff of this commit:
cvs rdiff -u -r1.10.52.5 -r1.10.52.6 src/sys/arch/acorn32/eb7500atx/rsbus.c
cvs rdiff -u -r1.18.52.7 -r1.18.52.8 src/sys/arch/acorn32/mainbus/pioc.c
cvs rdiff -u -r1.27.4.7 -r1.27.4.8 src/sys/arch/arm/at91/at91bus.c
cvs rdiff -u -r1.6.52.5 -r1.6.52.6 src/sys/arch/arm/at91/at91pio.c
cvs rdiff -u -r1.5.52.5 -r1.5.52.6 src/sys/arch/arm/ep93xx/epgpio.c
cvs rdiff -u -r1.13.52.7 -r1.13.52.8 src/sys/arch/arm/ep93xx/epsoc.c
cvs rdiff -u -r1.1.50.5 -r1.1.50.6 src/sys/arch/arm/imx/imx23_ahb.c
cvs rdiff -u -r1.1.56.5 -r1.1.56.6 src/sys/arch/arm/imx/imx23_apbh.c \
src/sys/arch/arm/imx/imx23_apbx.c
cvs rdiff -u -r1.3.2.5 -r1.3.2.6 src/sys/arch/arm/imx/imx23_usb.c
cvs rdiff -u -r1.7.16.5 -r1.7.16.6 src/sys/arch/arm/imx/imx51_axi.c
cvs rdiff -u -r1.5.12.5 -r1.5.12.6 src/sys/arch/arm/imx/imx51_usb.c
cvs rdiff -u -r1.17.54.5 -r1.17.54.6 src/sys/arch/arm/iomd/vidc20.c
cvs rdiff -u -r1.14.52.5 -r1.14.52.6 src/sys/arch/arm/ixp12x0/ixpsip.c
cvs rdiff -u -r1.21.42.5 -r1.21.42.6 src/sys/arch/arm/mainbus/mainbus.c
cvs rdiff -u -r1.1.74.5 -r1.1.74.6 src/sys/arch/arm/mpcore/mpcore_axi.c
cvs rdiff -u -r1.3.68.5 -r1.3.68.6 src/sys/arch/arm/mpcore/mpcore_pmr.c
cvs rdiff -u -r1.26.2.2 -r1.26.2.3 src/sys/arch/arm/sa11x0/sa1111.c
cvs rdiff -u -r1.27.52.5 -r1.27.52.6 src/sys/arch/arm/sa11x0/sa11x0.c
cvs rdiff -u -r1.16.52.5 -r1.16.52.6 src/sys/arch/arm/xscale/becc.c
cvs rdiff -u -r1.5.52.5 -r1.5.52.6 src/sys/arch/arm/xscale/ixp425_ixme.c
cvs rdiff -u -r1.11.34.5 -r1.11.34.6 src/sys/arch/arm/xscale/ixp425_npe.c
cvs rdiff -u -r1.13.52.5 -r1.13.52.6 src/sys/arch/arm/xscale/ixp425_sip.c
cvs rdiff -u -r1.1.38.5 -r1.1.38.6 src/sys/arch/arm/zynq/zynq_axi.c
cvs rdiff -u -r1.17.68.5 -r1.17.68.6 src/sys/arch/atari/vme/vme.c
cvs rdiff -u -r1.27.10.5 -r1.27.10.6 src/sys/arch/cesfic/cesfic/autoconf.c
cvs rdiff -u -r1.20.18.5 -r1.20.18.6 src/sys/arch/cobalt/cobalt/mainbus.c
cvs rdiff -u -r1.1.36.5 -r1.1.36.6 src/sys/arch/dreamcast/dev/g1/g1bus.c
cvs rdiff -u -r1.14.74.5 -r1.14.74.6 src/sys/arch/dreamcast/dev/g2/g2bus.c
cvs rdiff -u -r1.1.54.4 -r1.1.54.5 src/sys/arch/epoc32/epoc32/internal.c
cvs rdiff -u -r1.11.68.5 -r1.11.68.6 src/sys/arch/evbarm/adi_brh/obio.c
cvs rdiff -u -r1.10.68.5 -r1.10.68.6 src/sys/arch/evbarm/g42xxeb/gb225.c
cvs rdiff -u -r1.11.52.5 -r1.11.52.6 src/sys/arch/evbarm/g42xxeb/obio.c
cvs rdiff -u -r1.3.68.5 -r1.3.68.6 src/sys/arch/evbarm/hdl_g/obio.c
cvs rdiff -u -r1.28.4.5 -r1.28.4.6 src/sys/arch/evbarm/ifpga/ifpga.c
cvs rdiff -u -r1.20.68.5 -r1.20.68.6 src/sys/arch/evbarm/iq80310/obio.c
cvs rdiff -u -r1.16.68.5 -r1.16.68.6 src/sys/arch/evbarm/iq80321/obio.c
cvs rdiff -u -r1.1.16.5 -r1.1.16.6 src/sys/arch/evbarm/iyonix/obio.c
cvs rdiff -u -r1.24.44.5 -r1.24.44.6 src/sys/arch/evbarm/tsarm/tspld.c
cvs rdiff -u -r1.41.2.5 -r1.41.2.6 src/sys/arch/hp300/dev/hpib.c
cvs rdiff -u -r1.108.2.5 -r1.108.2.6 src/sys/arch/hp300/hp300/autoconf.c
cvs rdiff -u -r1.16.68.5 -r1.16.68.6 src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c
cvs rdiff -u -r1.23.68.5 -r1.23.68.6 src/sys/arch/hpcarm/dev/ipaq_saip.c
cvs rdiff -u -r1.32.78.5 -r1.32.78.6 src/sys/arch/hpcarm/dev/j720ssp.c
cvs rdiff -u -r1.15.68.5 -r1.15.68.6 src/sys/arch/hpcarm/dev/uda1341.c
cvs rdiff -u -r1.6.68.5 -r1.6.68.6 src/sys/arch/iyonix/iyonix/obio.c
cvs rdiff -u -r1.9.68.5 -r1.9.68.6 src/sys/arch/landisk/dev/obio.c
cvs rdiff -u -r1.21.68.5 -r1.21.68.6 src/sys/arch/mac68k/mac68k/mainbus.c
cvs rdiff -u -r1.25.68.5 -r1.25.68.6 src/sys/arch/mac68k/obio/obio.c
cvs rdiff -u -r1.5.30.5 -r1.5.30.6 src/sys/arch/mips/ralink/ralink_mainbus.c
cvs rdiff -u -r1.5.10.5 -r1.5.10.6 src/sys/arch/mips/rmi/rmixl_iobus.c
cvs rdiff -u -r1.4.68.6 -r1.4.68.7 src/sys/arch/mips/rmi/rmixl_mainbus.c
cvs rdiff -u -r1.5.68.5 -r1.5.68.6 src/sys/arch/mips/rmi/rmixl_obio.c \
src/sys/arch/mips/rmi/rmixl_usbi.c
cvs rdiff -u -r1.13.68.5 -r1.13.68.6 src/sys/arch/mips/sibyte/dev/sbgbus.c
cvs rdiff -u -r1.17.68.5 -r1.17.68.6 src/sys/arch/mipsco/obio/obio.c
cvs rdiff -u -r1.19.100.5 -r1.19.100.6 src/sys/arch/news68k/dev/hb.c
cvs rdiff -u -r1.16.70.5 -r1.16.70.6 src/sys/arch/news68k/news68k/mainbus.c
cvs rdiff -u -r1.21.2.5 -r1.21.2.6 src/sys/arch/newsmips/dev/hb.c
cvs rdiff -u -r1.14.68.5 -r1.14.68.6 src/sys/arch/next68k/dev/intio.c
cvs rdiff -u -r1.11.68.5 -r1.11.68.6 src/sys/arch/next68k/next68k/mainbus.c
cvs rdiff -u -r1.5.4.5 -r1.5.4.6 src/sys/arch/powerpc/booke/dev/pq3obio.c
cvs rdiff -u -r1.13.2.5 -r1.13.2.6 src/sys/arch/prep/pnpbus/pnpbus.c
cvs rdiff -u -r1.4.68.5 -r1.4.68.6 src/sys/arch/rs6000/mca/ioplanar.c
cvs rdiff -u -r1.6.62.5 -r1.6.62.6 src/sys/arch/sandpoint/sandpoint/eumb.c
cvs rdiff -u -r1.36.10.7 -r1.36.10.8 src/sys/arch/sgimips/gio/gio.c
cvs rdiff -u -r1.11.32.5 -r1.11.32.6 src/sys/arch/sgimips/ioc/ioc.c
cvs rdiff -u -r1.23.32.5 -r1.23.32.6 src/sys/arch/sgimips/mace/mace.c
cvs rdiff -u -r1.20.70.5 -r1.20.70.6 src/sys/arch/sgimips/sgimips/mainbus.c
cvs rdiff -u -r1.13.74.5 -r1.13.74.6 src/sys/arch/sh3/dev/adc.c
cvs rdiff -u -r1.14.78.5 -r1.14.78.6 src/sys/arch/sh3/dev/shb.c
cvs rdiff -u -r1.74.50.5 -r1.74.50.6 src/sys/arch/sparc/dev/obio.c
cvs rdiff -u -r1.79.44.2 -r1.79.44.3 src/sys/arch/sun3/sun3/autoconf.c
cvs rdiff -u -r1.30.52.3 -r1.30.52.4 src/sys/arch/sun68k/sun68k/autoconf.c
cvs rdiff -u -r1.47.4.5 -r1.47.4.6 src/sys/arch/x68k/dev/intio.c
cvs rdiff -u -r1.27.10.5 -r1.27.10.6 src/sys/arch/x68k/dev/mfp.c
cvs rdiff -u -r1.17.34.5 -r1.17.34.6 src/sys/dev/gpib/cs80bus.c
cvs rdiff -u -r1.24.10.5 -r1.24.10.6 src/sys/dev/gpib/gpib.c
cvs rdiff -u -r1.64.10.9 -r1.64.10.10 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.138.76.7 -r1.138.76.8 src/sys/dev/isa/isa.c
cvs rdiff -u -r1.11.54.5 -r1.11.54.6 src/sys/dev/isa/tsdio.c
cvs rdiff -u -r1.15.76.5 -r1.15.76.6 src/sys/dev/marvell/obio.c
cvs rdiff -u -r1.21.10.4 -r1.21.10.5 src/sys/dev/ppbus/ppbus_conf.c
cvs rdiff -u -r1.16.2.7 -r1.16.2.8 src/sys/dev/spi/spi.c
cvs rdiff -u -r1.1.14.4 -r1.1.14.5 \
src/sys/rump/librump/rumpkern/rump_autoconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/acorn32/eb7500atx/rsbus.c
diff -u src/sys/arch/acorn32/eb7500atx/rsbus.c:1.10.52.5 src/sys/arch/acorn32/eb7500atx/rsbus.c:1.10.52.6
--- src/sys/arch/acorn32/eb7500atx/rsbus.c:1.10.52.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/acorn32/eb7500atx/rsbus.c Mon Apr 5 01:01:41 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rsbus.c,v 1.10.52.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: rsbus.c,v 1.10.52.6 2021/04/05 01:01:41 thorpej Exp $ */
/*
* Copyright (c) 2002
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.10.52.5 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.10.52.6 2021/04/05 01:01:41 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -86,7 +86,7 @@ rsbus_search(device_t parent, cfdata_t c
sa.sa_size = cf->cf_loc[RSBUSCF_SIZE];
sa.sa_intr = cf->cf_loc[RSBUSCF_IRQ];
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, rsbus_print, CFARG_EOL);
return (0);
Index: src/sys/arch/acorn32/mainbus/pioc.c
diff -u src/sys/arch/acorn32/mainbus/pioc.c:1.18.52.7 src/sys/arch/acorn32/mainbus/pioc.c:1.18.52.8
--- src/sys/arch/acorn32/mainbus/pioc.c:1.18.52.7 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/acorn32/mainbus/pioc.c Mon Apr 5 01:01:41 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pioc.c,v 1.18.52.7 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: pioc.c,v 1.18.52.8 2021/04/05 01:01:41 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.7 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.18.52.8 2021/04/05 01:01:41 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -233,7 +233,7 @@ piocsearch(device_t parent, cfdata_t cf,
}
tryagain = 0;
- if (config_probe(parent, cf, &pa) > 0) {
+ if (config_probe(parent, cf, &pa)) {
config_attach(parent, cf, &pa, piocprint, CFARG_EOL);
/* tryagain = (cf->cf_fstate == FSTATE_STAR);*/
}
@@ -266,7 +266,7 @@ piocsubmatch(device_t parent, cfdata_t c
if (pa->pa_irq == -1)
pa->pa_irq = cf->cf_loc[PIOCCF_IRQ];
tryagain = 0;
- if (config_probe(parent, cf, pa) > 0) {
+ if (config_probe(parent, cf, pa)) {
config_attach(parent, cf, pa, piocprint, CFARG_EOL);
/* tryagain = (cf->cf_fstate == FSTATE_STAR);*/
}
Index: src/sys/arch/arm/at91/at91bus.c
diff -u src/sys/arch/arm/at91/at91bus.c:1.27.4.7 src/sys/arch/arm/at91/at91bus.c:1.27.4.8
--- src/sys/arch/arm/at91/at91bus.c:1.27.4.7 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/at91/at91bus.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: at91bus.c,v 1.27.4.7 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: at91bus.c,v 1.27.4.8 2021/04/05 01:01:42 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.7 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.27.4.8 2021/04/05 01:01:42 thorpej Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -651,7 +651,7 @@ at91bus_search(device_t parent, cfdata_t
sa->sa_size = cf->cf_loc[AT91BUSCF_SIZE];
sa->sa_pid = cf->cf_loc[AT91BUSCF_PID];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, at91bus_print, CFARG_EOL);
return (0);
Index: src/sys/arch/arm/at91/at91pio.c
diff -u src/sys/arch/arm/at91/at91pio.c:1.6.52.5 src/sys/arch/arm/at91/at91pio.c:1.6.52.6
--- src/sys/arch/arm/at91/at91pio.c:1.6.52.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/at91/at91pio.c Mon Apr 5 01:01:42 2021
@@ -1,5 +1,5 @@
-/* $Id: at91pio.c,v 1.6.52.5 2021/04/05 00:48:45 thorpej Exp $ */
-/* $NetBSD: at91pio.c,v 1.6.52.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $Id: at91pio.c,v 1.6.52.6 2021/04/05 01:01:42 thorpej Exp $ */
+/* $NetBSD: at91pio.c,v 1.6.52.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91pio.c,v 1.6.52.5 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91pio.c,v 1.6.52.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -223,7 +223,7 @@ at91pio_search(device_t parent, cfdata_t
paa.paa_pid = cf->cf_loc[AT91PIOCF_PID];
paa.paa_bit = cf->cf_loc[AT91PIOCF_BIT];
- if (config_probe(parent, cf, &paa) > 0)
+ if (config_probe(parent, cf, &paa))
config_attach(parent, cf, &paa, at91pio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/ep93xx/epgpio.c
diff -u src/sys/arch/arm/ep93xx/epgpio.c:1.5.52.5 src/sys/arch/arm/ep93xx/epgpio.c:1.5.52.6
--- src/sys/arch/arm/ep93xx/epgpio.c:1.5.52.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/ep93xx/epgpio.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: epgpio.c,v 1.5.52.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: epgpio.c,v 1.5.52.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2005 HAMAJIMA Katsuomi. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.5.52.5 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.5.52.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -349,7 +349,7 @@ epgpio_search(device_t parent, cfdata_t
ga.ga_bit1 = cf->cf_loc[EPGPIOCF_BIT1];
ga.ga_bit2 = cf->cf_loc[EPGPIOCF_BIT2];
- if (config_probe(parent, cf, &ga) > 0)
+ if (config_probe(parent, cf, &ga))
config_attach(parent, cf, &ga, epgpio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/ep93xx/epsoc.c
diff -u src/sys/arch/arm/ep93xx/epsoc.c:1.13.52.7 src/sys/arch/arm/ep93xx/epsoc.c:1.13.52.8
--- src/sys/arch/arm/ep93xx/epsoc.c:1.13.52.7 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/ep93xx/epsoc.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: epsoc.c,v 1.13.52.7 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: epsoc.c,v 1.13.52.8 2021/04/05 01:01:42 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.7 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.13.52.8 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -205,7 +205,7 @@ epsoc_search(device_t parent, cfdata_t c
sa->sa_size = cf->cf_loc[EPSOCCF_SIZE];
sa->sa_intr = cf->cf_loc[EPSOCCF_INTR];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, epsoc_print, CFARG_EOL);
return (0);
Index: src/sys/arch/arm/imx/imx23_ahb.c
diff -u src/sys/arch/arm/imx/imx23_ahb.c:1.1.50.5 src/sys/arch/arm/imx/imx23_ahb.c:1.1.50.6
--- src/sys/arch/arm/imx/imx23_ahb.c:1.1.50.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx23_ahb.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $Id: imx23_ahb.c,v 1.1.50.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $Id: imx23_ahb.c,v 1.1.50.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -117,7 +117,7 @@ ahb_search_cb(device_t parent, cfdata_t
aa->aa_size = cf->cf_loc[AHBCF_SIZE];
aa->aa_irq = cf->cf_loc[AHBCF_IRQ];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, ahb_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/imx/imx23_apbh.c
diff -u src/sys/arch/arm/imx/imx23_apbh.c:1.1.56.5 src/sys/arch/arm/imx/imx23_apbh.c:1.1.56.6
--- src/sys/arch/arm/imx/imx23_apbh.c:1.1.56.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx23_apbh.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $Id: imx23_apbh.c,v 1.1.56.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $Id: imx23_apbh.c,v 1.1.56.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -126,7 +126,7 @@ apbh_search_cb(device_t parent, cfdata_t
aa->aa_size = cf->cf_loc[APBHCF_SIZE];
aa->aa_irq = cf->cf_loc[APBHCF_IRQ];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, apbh_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/imx/imx23_apbx.c
diff -u src/sys/arch/arm/imx/imx23_apbx.c:1.1.56.5 src/sys/arch/arm/imx/imx23_apbx.c:1.1.56.6
--- src/sys/arch/arm/imx/imx23_apbx.c:1.1.56.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx23_apbx.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $Id: imx23_apbx.c,v 1.1.56.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $Id: imx23_apbx.c,v 1.1.56.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -126,7 +126,7 @@ apbx_search_cb(device_t parent, cfdata_t
aa->aa_size = cf->cf_loc[APBXCF_SIZE];
aa->aa_irq = cf->cf_loc[APBXCF_IRQ];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, apbx_print, CFARG_EOL);
return 0;
@@ -150,7 +150,7 @@ apbx_search_crit_cb(device_t parent, cfd
aa->aa_size = cf->cf_loc[APBXCF_SIZE];
aa->aa_irq = cf->cf_loc[APBXCF_IRQ];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, apbx_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/imx/imx23_usb.c
diff -u src/sys/arch/arm/imx/imx23_usb.c:1.3.2.5 src/sys/arch/arm/imx/imx23_usb.c:1.3.2.6
--- src/sys/arch/arm/imx/imx23_usb.c:1.3.2.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx23_usb.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $Id: imx23_usb.c,v 1.3.2.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $Id: imx23_usb.c,v 1.3.2.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -146,7 +146,7 @@ imxusbc_search(device_t parent, cfdata_t
aa.aa_unit = cf->cf_loc[IMXUSBCCF_UNIT];
aa.aa_irq = cf->cf_loc[IMXUSBCCF_IRQ];
- if (config_probe(parent, cf, &aa) > 0)
+ if (config_probe(parent, cf, &aa))
config_attach(parent, cf, &aa, NULL, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/imx/imx51_axi.c
diff -u src/sys/arch/arm/imx/imx51_axi.c:1.7.16.5 src/sys/arch/arm/imx/imx51_axi.c:1.7.16.6
--- src/sys/arch/arm/imx/imx51_axi.c:1.7.16.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx51_axi.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: imx51_axi.c,v 1.7.16.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: imx51_axi.c,v 1.7.16.6 2021/04/05 01:01:42 thorpej Exp $ */
/*-
* Copyright (c) 2010 SHIMIZU Ryo <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_axi.c,v 1.7.16.5 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_axi.c,v 1.7.16.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -115,7 +115,7 @@ axi_critical_search(device_t parent, str
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
@@ -136,7 +136,7 @@ axi_search(device_t parent, struct cfdat
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/imx/imx51_usb.c
diff -u src/sys/arch/arm/imx/imx51_usb.c:1.5.12.5 src/sys/arch/arm/imx/imx51_usb.c:1.5.12.6
--- src/sys/arch/arm/imx/imx51_usb.c:1.5.12.5 Mon Apr 5 00:48:45 2021
+++ src/sys/arch/arm/imx/imx51_usb.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: imx51_usb.c,v 1.5.12.5 2021/04/05 00:48:45 thorpej Exp $ */
+/* $NetBSD: imx51_usb.c,v 1.5.12.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2010 Genetec Corporation. All rights reserved.
* Written by Hiroyuki Bessho for Genetec Corporation.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_usb.c,v 1.5.12.5 2021/04/05 00:48:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_usb.c,v 1.5.12.6 2021/04/05 01:01:42 thorpej Exp $");
#include "locators.h"
#include "opt_imx.h"
@@ -90,7 +90,7 @@ imxusbc_search(device_t parent, cfdata_t
aa.aa_unit = cf->cf_loc[IMXUSBCCF_UNIT];
aa.aa_irq = cf->cf_loc[IMXUSBCCF_IRQ];
- if (config_probe(parent, cf, &aa) > 0)
+ if (config_probe(parent, cf, &aa))
config_attach(parent, cf, &aa, imxusbc_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/iomd/vidc20.c
diff -u src/sys/arch/arm/iomd/vidc20.c:1.17.54.5 src/sys/arch/arm/iomd/vidc20.c:1.17.54.6
--- src/sys/arch/arm/iomd/vidc20.c:1.17.54.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/iomd/vidc20.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: vidc20.c,v 1.17.54.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: vidc20.c,v 1.17.54.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.17.54.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.17.54.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -109,7 +109,7 @@ static int
vidcsearch(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, NULL, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/ixp12x0/ixpsip.c
diff -u src/sys/arch/arm/ixp12x0/ixpsip.c:1.14.52.5 src/sys/arch/arm/ixp12x0/ixpsip.c:1.14.52.6
--- src/sys/arch/arm/ixp12x0/ixpsip.c:1.14.52.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/ixp12x0/ixpsip.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixpsip.c,v 1.14.52.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: ixpsip.c,v 1.14.52.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2002
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixpsip.c,v 1.14.52.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixpsip.c,v 1.14.52.6 2021/04/05 01:01:42 thorpej Exp $");
/*
* Slow peripheral bus of ixp12x0 Processor
@@ -87,7 +87,7 @@ ixpsip_search(device_t parent, cfdata_t
sa.sa_size = cf->cf_loc[IXPSIPCF_SIZE];
sa.sa_intr = cf->cf_loc[IXPSIPCF_INTR];
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, ixpsip_print, CFARG_EOL);
return (0);
Index: src/sys/arch/arm/mainbus/mainbus.c
diff -u src/sys/arch/arm/mainbus/mainbus.c:1.21.42.5 src/sys/arch/arm/mainbus/mainbus.c:1.21.42.6
--- src/sys/arch/arm/mainbus/mainbus.c:1.21.42.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/mainbus/mainbus.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.21.42.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.21.42.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21.42.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21.42.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -149,7 +149,7 @@ mainbussearch(device_t parent, cfdata_t
mb.mb_iot = &mainbus_bs_tag;
tryagain = 0;
- if (config_probe(parent, cf, &mb) > 0) {
+ if (config_probe(parent, cf, &mb)) {
config_attach(parent, cf, &mb, mainbusprint, CFARG_EOL);
#ifdef MULTIPROCESSOR
tryagain = (cf->cf_fstate == FSTATE_STAR);
Index: src/sys/arch/arm/mpcore/mpcore_axi.c
diff -u src/sys/arch/arm/mpcore/mpcore_axi.c:1.1.74.5 src/sys/arch/arm/mpcore/mpcore_axi.c:1.1.74.6
--- src/sys/arch/arm/mpcore/mpcore_axi.c:1.1.74.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/mpcore/mpcore_axi.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mpcore_axi.c,v 1.1.74.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: mpcore_axi.c,v 1.1.74.6 2021/04/05 01:01:42 thorpej Exp $ */
/*-
* Copyright (c) 2010 SHIMIZU Ryo <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpcore_axi.c,v 1.1.74.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpcore_axi.c,v 1.1.74.6 2021/04/05 01:01:42 thorpej Exp $");
#include "bus_space_a2x.h"
#include "bus_space_a4x.h"
@@ -136,7 +136,7 @@ axi_critical_search(device_t parent, str
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
@@ -159,7 +159,7 @@ axi_search(device_t parent, struct cfdat
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/mpcore/mpcore_pmr.c
diff -u src/sys/arch/arm/mpcore/mpcore_pmr.c:1.3.68.5 src/sys/arch/arm/mpcore/mpcore_pmr.c:1.3.68.6
--- src/sys/arch/arm/mpcore/mpcore_pmr.c:1.3.68.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/mpcore/mpcore_pmr.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mpcore_pmr.c,v 1.3.68.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: mpcore_pmr.c,v 1.3.68.6 2021/04/05 01:01:42 thorpej Exp $ */
/*
* Copyright (c) 2010, 2011 Genetec Corporation. All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpcore_pmr.c,v 1.3.68.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpcore_pmr.c,v 1.3.68.6 2021/04/05 01:01:42 thorpej Exp $");
#include "locators.h"
@@ -113,7 +113,7 @@ pmr_search(device_t parent, cfdata_t cf,
pa.pa_ioh = sc->sc_ioh;
pa.pa_irq = cf->cf_loc[MPCOREPMRCF_IRQ];
- if (config_probe(parent, cf, &pa) > 0)
+ if (config_probe(parent, cf, &pa))
config_attach(parent, cf, &pa, NULL, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/sa11x0/sa1111.c
diff -u src/sys/arch/arm/sa11x0/sa1111.c:1.26.2.2 src/sys/arch/arm/sa11x0/sa1111.c:1.26.2.3
--- src/sys/arch/arm/sa11x0/sa1111.c:1.26.2.2 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/sa11x0/sa1111.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: sa1111.c,v 1.26.2.2 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: sa1111.c,v 1.26.2.3 2021/04/05 01:01:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa1111.c,v 1.26.2.2 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa1111.c,v 1.26.2.3 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -102,7 +102,7 @@ sa1111_search(device_t parent, cfdata_t
aa.sa_memsize = cf->cf_loc[SACCCF_MEMSIZE];
#endif
- if (config_probe(parent, cf, &aa) > 0)
+ if (config_probe(parent, cf, &aa))
config_attach(parent, cf, &aa, sa1111_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/sa11x0/sa11x0.c
diff -u src/sys/arch/arm/sa11x0/sa11x0.c:1.27.52.5 src/sys/arch/arm/sa11x0/sa11x0.c:1.27.52.6
--- src/sys/arch/arm/sa11x0/sa11x0.c:1.27.52.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/sa11x0/sa11x0.c Mon Apr 5 01:01:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: sa11x0.c,v 1.27.52.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: sa11x0.c,v 1.27.52.6 2021/04/05 01:01:42 thorpej Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0.c,v 1.27.52.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0.c,v 1.27.52.6 2021/04/05 01:01:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -212,7 +212,7 @@ sa11x0_search(device_t parent, cfdata_t
sa.sa_intr = cf->cf_loc[SAIPCF_INTR];
sa.sa_gpio = cf->cf_loc[SAIPCF_GPIO];
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, sa11x0_print, CFARG_EOL);
return 0;
Index: src/sys/arch/arm/xscale/becc.c
diff -u src/sys/arch/arm/xscale/becc.c:1.16.52.5 src/sys/arch/arm/xscale/becc.c:1.16.52.6
--- src/sys/arch/arm/xscale/becc.c:1.16.52.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/xscale/becc.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: becc.c,v 1.16.52.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: becc.c,v 1.16.52.6 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.16.52.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.16.52.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -228,7 +228,7 @@ becc_search(device_t parent, cfdata_t cf
ba.ba_dmat = &sc->sc_local_dmat;
- if (config_probe(parent, cf, &ba) > 0)
+ if (config_probe(parent, cf, &ba))
config_attach(parent, cf, &ba, becc_print, CFARG_EOL);
return (0);
Index: src/sys/arch/arm/xscale/ixp425_ixme.c
diff -u src/sys/arch/arm/xscale/ixp425_ixme.c:1.5.52.5 src/sys/arch/arm/xscale/ixp425_ixme.c:1.5.52.6
--- src/sys/arch/arm/xscale/ixp425_ixme.c:1.5.52.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/xscale/ixp425_ixme.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp425_ixme.c,v 1.5.52.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: ixp425_ixme.c,v 1.5.52.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp425_ixme.c,v 1.5.52.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_ixme.c,v 1.5.52.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -125,7 +125,7 @@ ixme_search(device_t parent, cfdata_t cf
ixa.ixa_dt = &sc->sc_dt;
ixa.ixa_npe = cf->cf_loc[IXMECF_NPE];
- if (config_probe(parent, cf, &ixa) > 0) {
+ if (config_probe(parent, cf, &ixa)) {
config_attach(parent, cf, &ixa, ixme_print, CFARG_EOL);
return (1);
}
Index: src/sys/arch/arm/xscale/ixp425_npe.c
diff -u src/sys/arch/arm/xscale/ixp425_npe.c:1.11.34.5 src/sys/arch/arm/xscale/ixp425_npe.c:1.11.34.6
--- src/sys/arch/arm/xscale/ixp425_npe.c:1.11.34.5 Mon Apr 5 00:48:46 2021
+++ src/sys/arch/arm/xscale/ixp425_npe.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp425_npe.c,v 1.11.34.5 2021/04/05 00:48:46 thorpej Exp $ */
+/* $NetBSD: ixp425_npe.c,v 1.11.34.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 2006 Sam Leffler, Errno Consulting
@@ -62,7 +62,7 @@
#if 0
__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $");
#endif
-__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.11.34.5 2021/04/05 00:48:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.11.34.6 2021/04/05 01:01:43 thorpej Exp $");
/*
* Intel XScale Network Processing Engine (NPE) support.
@@ -342,7 +342,7 @@ ixpnpe_search(device_t parent, cfdata_t
na.na_iot = ixa->ixa_iot;
na.na_dt = ixa->ixa_dt;
- if (config_probe(parent, cf, &na) > 0) {
+ if (config_probe(parent, cf, &na)) {
config_attach(parent, cf, &na, ixpnpe_print, CFARG_EOL);
return (1);
}
Index: src/sys/arch/arm/xscale/ixp425_sip.c
diff -u src/sys/arch/arm/xscale/ixp425_sip.c:1.13.52.5 src/sys/arch/arm/xscale/ixp425_sip.c:1.13.52.6
--- src/sys/arch/arm/xscale/ixp425_sip.c:1.13.52.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/arm/xscale/ixp425_sip.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp425_sip.c,v 1.13.52.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: ixp425_sip.c,v 1.13.52.6 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 2003
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp425_sip.c,v 1.13.52.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_sip.c,v 1.13.52.6 2021/04/05 01:01:43 thorpej Exp $");
/*
* Slow peripheral bus of IXP425 Processor
@@ -99,7 +99,7 @@ ixpsip_search(device_t parent, cfdata_t
sa.sa_index = cf->cf_loc[IXPSIPCF_INDEX];
sa.sa_intr = cf->cf_loc[IXPSIPCF_INTR];
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, ixpsip_print, CFARG_EOL);
return (0);
Index: src/sys/arch/arm/zynq/zynq_axi.c
diff -u src/sys/arch/arm/zynq/zynq_axi.c:1.1.38.5 src/sys/arch/arm/zynq/zynq_axi.c:1.1.38.6
--- src/sys/arch/arm/zynq/zynq_axi.c:1.1.38.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/arm/zynq/zynq_axi.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: zynq_axi.c,v 1.1.38.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: zynq_axi.c,v 1.1.38.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 2010 SHIMIZU Ryo <[email protected]>
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zynq_axi.c,v 1.1.38.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zynq_axi.c,v 1.1.38.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -106,7 +106,7 @@ axi_critical_search(device_t parent, str
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
@@ -125,7 +125,7 @@ axi_search(device_t parent, struct cfdat
aa->aa_irq = cf->cf_loc[AXICF_IRQ];
aa->aa_irqbase = cf->cf_loc[AXICF_IRQBASE];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, axi_print, CFARG_EOL);
return 0;
Index: src/sys/arch/atari/vme/vme.c
diff -u src/sys/arch/atari/vme/vme.c:1.17.68.5 src/sys/arch/atari/vme/vme.c:1.17.68.6
--- src/sys/arch/atari/vme/vme.c:1.17.68.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/atari/vme/vme.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: vme.c,v 1.17.68.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: vme.c,v 1.17.68.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vme.c,v 1.17.68.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vme.c,v 1.17.68.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -111,7 +111,7 @@ vmesearch(device_t parent, cfdata_t cf,
va.va_msize = cf->cf_msize;
va.va_irq = cf->cf_irq;
- if (config_probe(parent, cf, &va) > 0)
+ if (config_probe(parent, cf, &va))
config_attach(parent, cf, &va, vmeprint, CFARG_EOL);
return (0);
}
Index: src/sys/arch/cesfic/cesfic/autoconf.c
diff -u src/sys/arch/cesfic/cesfic/autoconf.c:1.27.10.5 src/sys/arch/cesfic/cesfic/autoconf.c:1.27.10.6
--- src/sys/arch/cesfic/cesfic/autoconf.c:1.27.10.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/cesfic/cesfic/autoconf.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.27.10.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: autoconf.c,v 1.27.10.6 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 1997, 1999
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27.10.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27.10.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -98,7 +98,7 @@ int
mainbussearch(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, NULL, CFARG_EOL);
return (0);
}
Index: src/sys/arch/cobalt/cobalt/mainbus.c
diff -u src/sys/arch/cobalt/cobalt/mainbus.c:1.20.18.5 src/sys/arch/cobalt/cobalt/mainbus.c:1.20.18.6
--- src/sys/arch/cobalt/cobalt/mainbus.c:1.20.18.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/cobalt/cobalt/mainbus.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.20.18.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.20.18.6 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.20.18.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.20.18.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -78,7 +78,7 @@ mainbus_search(device_t parent, cfdata_t
ma->ma_iot = &cobalt_bs;
ma->ma_level = cf->cf_loc[MAINBUSCF_LEVEL];
ma->ma_irq = cf->cf_loc[MAINBUSCF_IRQ];
- if (config_probe(parent, cf, ma) > 0)
+ if (config_probe(parent, cf, ma))
config_attach(parent, cf, ma, mainbus_print, CFARG_EOL);
} while (cf->cf_fstate == FSTATE_STAR);
Index: src/sys/arch/dreamcast/dev/g1/g1bus.c
diff -u src/sys/arch/dreamcast/dev/g1/g1bus.c:1.1.36.5 src/sys/arch/dreamcast/dev/g1/g1bus.c:1.1.36.6
--- src/sys/arch/dreamcast/dev/g1/g1bus.c:1.1.36.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/dreamcast/dev/g1/g1bus.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: g1bus.c,v 1.1.36.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: g1bus.c,v 1.1.36.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 2001 Marcus Comstedt
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: g1bus.c,v 1.1.36.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: g1bus.c,v 1.1.36.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -91,7 +91,7 @@ int
g1bussearch(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, g1busprint, CFARG_EOL);
return 0;
Index: src/sys/arch/dreamcast/dev/g2/g2bus.c
diff -u src/sys/arch/dreamcast/dev/g2/g2bus.c:1.14.74.5 src/sys/arch/dreamcast/dev/g2/g2bus.c:1.14.74.6
--- src/sys/arch/dreamcast/dev/g2/g2bus.c:1.14.74.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/dreamcast/dev/g2/g2bus.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: g2bus.c,v 1.14.74.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: g2bus.c,v 1.14.74.6 2021/04/05 01:01:43 thorpej Exp $ */
/*-
* Copyright (c) 2001 Marcus Comstedt
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.14.74.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.14.74.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,7 +93,7 @@ int
g2bussearch(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, g2busprint, CFARG_EOL);
return 0;
Index: src/sys/arch/epoc32/epoc32/internal.c
diff -u src/sys/arch/epoc32/epoc32/internal.c:1.1.54.4 src/sys/arch/epoc32/epoc32/internal.c:1.1.54.5
--- src/sys/arch/epoc32/epoc32/internal.c:1.1.54.4 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/epoc32/epoc32/internal.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: internal.c,v 1.1.54.4 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: internal.c,v 1.1.54.5 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 2012 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: internal.c,v 1.1.54.4 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: internal.c,v 1.1.54.5 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -77,7 +77,7 @@ internal_search(device_t self, cfdata_t
} else
return 0;
- if (config_probe(self, cf, aux) > 0)
+ if (config_probe(self, cf, aux))
config_attach(self, cf, aux, NULL, CFARG_EOL);
return 0;
Index: src/sys/arch/evbarm/adi_brh/obio.c
diff -u src/sys/arch/evbarm/adi_brh/obio.c:1.11.68.5 src/sys/arch/evbarm/adi_brh/obio.c:1.11.68.6
--- src/sys/arch/evbarm/adi_brh/obio.c:1.11.68.5 Mon Apr 5 00:48:47 2021
+++ src/sys/arch/evbarm/adi_brh/obio.c Mon Apr 5 01:01:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.11.68.5 2021/04/05 00:48:47 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.11.68.6 2021/04/05 01:01:43 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.11.68.5 2021/04/05 00:48:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.11.68.6 2021/04/05 01:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -137,7 +137,7 @@ obio_search(device_t parent, cfdata_t cf
oba.oba_width = cf->cf_loc[OBIOCF_WIDTH];
oba.oba_irq = cf->cf_loc[OBIOCF_IRQ];
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/evbarm/g42xxeb/gb225.c
diff -u src/sys/arch/evbarm/g42xxeb/gb225.c:1.10.68.5 src/sys/arch/evbarm/g42xxeb/gb225.c:1.10.68.6
--- src/sys/arch/evbarm/g42xxeb/gb225.c:1.10.68.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/g42xxeb/gb225.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gb225.c,v 1.10.68.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: gb225.c,v 1.10.68.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec corp. All rights reserved.
@@ -190,7 +190,7 @@ opio_search(device_t parent, cfdata_t cf
oba.oba_addr = cf->cf_loc[OPIOCF_ADDR];
oba.oba_intr = cf->cf_loc[OPIOCF_INTR];
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, opio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/evbarm/g42xxeb/obio.c
diff -u src/sys/arch/evbarm/g42xxeb/obio.c:1.11.52.5 src/sys/arch/evbarm/g42xxeb/obio.c:1.11.52.6
--- src/sys/arch/evbarm/g42xxeb/obio.c:1.11.52.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/g42xxeb/obio.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.11.52.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.11.52.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec corp. All rights reserved.
@@ -281,7 +281,7 @@ obio_search(device_t parent, cfdata_t cf
oba.oba_addr = cf->cf_loc[OBIOCF_ADDR];
oba.oba_intr = cf->cf_loc[OBIOCF_INTR];
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/evbarm/hdl_g/obio.c
diff -u src/sys/arch/evbarm/hdl_g/obio.c:1.3.68.5 src/sys/arch/evbarm/hdl_g/obio.c:1.3.68.6
--- src/sys/arch/evbarm/hdl_g/obio.c:1.3.68.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/hdl_g/obio.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.3.68.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.3.68.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.3.68.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.3.68.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -123,7 +123,7 @@ obio_search(device_t parent, cfdata_t cf
else
oba.oba_irq = -1;
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/evbarm/ifpga/ifpga.c
diff -u src/sys/arch/evbarm/ifpga/ifpga.c:1.28.4.5 src/sys/arch/evbarm/ifpga/ifpga.c:1.28.4.6
--- src/sys/arch/evbarm/ifpga/ifpga.c:1.28.4.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/ifpga/ifpga.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpga.c,v 1.28.4.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: ifpga.c,v 1.28.4.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ifpga.c,v 1.28.4.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ifpga.c,v 1.28.4.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -123,7 +123,7 @@ ifpga_search(device_t parent, cfdata_t c
ifa.ifa_sc_ioh = sc->sc_sc_ioh;
tryagain = 0;
- if (config_probe(parent, cf, &ifa) > 0) {
+ if (config_probe(parent, cf, &ifa)) {
config_attach(parent, cf, &ifa, ifpga_print, CFARG_EOL);
tryagain = (cf->cf_fstate == FSTATE_STAR);
}
Index: src/sys/arch/evbarm/iq80310/obio.c
diff -u src/sys/arch/evbarm/iq80310/obio.c:1.20.68.5 src/sys/arch/evbarm/iq80310/obio.c:1.20.68.6
--- src/sys/arch/evbarm/iq80310/obio.c:1.20.68.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/iq80310/obio.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.20.68.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.20.68.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.20.68.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.20.68.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -159,7 +159,7 @@ obio_search(device_t parent, cfdata_t cf
else
oba.oba_irq = -1;
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/evbarm/iq80321/obio.c
diff -u src/sys/arch/evbarm/iq80321/obio.c:1.16.68.5 src/sys/arch/evbarm/iq80321/obio.c:1.16.68.6
--- src/sys/arch/evbarm/iq80321/obio.c:1.16.68.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/iq80321/obio.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.16.68.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.16.68.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.16.68.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.16.68.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -140,7 +140,7 @@ obio_search(device_t parent, cfdata_t cf
else
oba.oba_irq = -1;
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/evbarm/iyonix/obio.c
diff -u src/sys/arch/evbarm/iyonix/obio.c:1.1.16.5 src/sys/arch/evbarm/iyonix/obio.c:1.1.16.6
--- src/sys/arch/evbarm/iyonix/obio.c:1.1.16.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/iyonix/obio.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.1.16.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.1.16.6 2021/04/05 01:01:44 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.1.16.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.1.16.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,7 +139,7 @@ obio_search(device_t parent, cfdata_t cf
else
oba.oba_irq = -1;
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/evbarm/tsarm/tspld.c
diff -u src/sys/arch/evbarm/tsarm/tspld.c:1.24.44.5 src/sys/arch/evbarm/tsarm/tspld.c:1.24.44.6
--- src/sys/arch/evbarm/tsarm/tspld.c:1.24.44.5 Mon Apr 5 00:48:48 2021
+++ src/sys/arch/evbarm/tsarm/tspld.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tspld.c,v 1.24.44.5 2021/04/05 00:48:48 thorpej Exp $ */
+/* $NetBSD: tspld.c,v 1.24.44.6 2021/04/05 01:01:44 thorpej Exp $ */
/*-
* Copyright (c) 2004 Jesse Off
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.24.44.5 2021/04/05 00:48:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.24.44.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -442,7 +442,7 @@ tspld_search(device_t parent, cfdata_t c
sa.ta_iot = sc->sc_iot;
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, tspld_print, CFARG_EOL);
return (0);
Index: src/sys/arch/hp300/dev/hpib.c
diff -u src/sys/arch/hp300/dev/hpib.c:1.41.2.5 src/sys/arch/hp300/dev/hpib.c:1.41.2.6
--- src/sys/arch/hp300/dev/hpib.c:1.41.2.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hp300/dev/hpib.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: hpib.c,v 1.41.2.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: hpib.c,v 1.41.2.6 2021/04/05 01:01:44 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.41.2.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.41.2.6 2021/04/05 01:01:44 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -208,7 +208,7 @@ hpibbussearch(device_t parent, cfdata_t
/* Make sure this is in a consistent state. */
ha->ha_punit = 0;
- if (config_probe(parent, cf, ha) > 0) {
+ if (config_probe(parent, cf, ha)) {
/*
* The device probe has succeeded, and filled in
* the punit information. Make sure the configuration
Index: src/sys/arch/hp300/hp300/autoconf.c
diff -u src/sys/arch/hp300/hp300/autoconf.c:1.108.2.5 src/sys/arch/hp300/hp300/autoconf.c:1.108.2.6
--- src/sys/arch/hp300/hp300/autoconf.c:1.108.2.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hp300/hp300/autoconf.c Mon Apr 5 01:01:44 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.108.2.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: autoconf.c,v 1.108.2.6 2021/04/05 01:01:44 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 2002 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.108.2.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.108.2.6 2021/04/05 01:01:44 thorpej Exp $");
#include "dvbox.h"
#include "gbox.h"
@@ -269,7 +269,7 @@ static int
mainbussearch(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, NULL, CFARG_EOL);
return 0;
}
Index: src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c
diff -u src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c:1.16.68.5 src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c:1.16.68.6
--- src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c:1.16.68.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ipaq_atmelgpio.c,v 1.16.68.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: ipaq_atmelgpio.c,v 1.16.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.16.68.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.16.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -132,7 +132,7 @@ static int
atmelgpio_search(device_t parent, cfdata_t cf, const int *ldesc,
void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, atmelgpio_print, CFARG_EOL);
return 0;
}
Index: src/sys/arch/hpcarm/dev/ipaq_saip.c
diff -u src/sys/arch/hpcarm/dev/ipaq_saip.c:1.23.68.5 src/sys/arch/hpcarm/dev/ipaq_saip.c:1.23.68.6
--- src/sys/arch/hpcarm/dev/ipaq_saip.c:1.23.68.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hpcarm/dev/ipaq_saip.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ipaq_saip.c,v 1.23.68.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: ipaq_saip.c,v 1.23.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.23.68.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.23.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -115,7 +115,7 @@ ipaq_attach(device_t parent, device_t se
int
ipaq_search(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, ipaq_print, CFARG_EOL);
return 0;
Index: src/sys/arch/hpcarm/dev/j720ssp.c
diff -u src/sys/arch/hpcarm/dev/j720ssp.c:1.32.78.5 src/sys/arch/hpcarm/dev/j720ssp.c:1.32.78.6
--- src/sys/arch/hpcarm/dev/j720ssp.c:1.32.78.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hpcarm/dev/j720ssp.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: j720ssp.c,v 1.32.78.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: j720ssp.c,v 1.32.78.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2006 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
/* Jornada 720 SSP port. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: j720ssp.c,v 1.32.78.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j720ssp.c,v 1.32.78.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -106,7 +106,7 @@ static int
j720ssp_search(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, j720ssp_print, CFARG_EOL);
return 0;
Index: src/sys/arch/hpcarm/dev/uda1341.c
diff -u src/sys/arch/hpcarm/dev/uda1341.c:1.15.68.5 src/sys/arch/hpcarm/dev/uda1341.c:1.15.68.6
--- src/sys/arch/hpcarm/dev/uda1341.c:1.15.68.5 Mon Apr 5 00:48:49 2021
+++ src/sys/arch/hpcarm/dev/uda1341.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: uda1341.c,v 1.15.68.5 2021/04/05 00:48:49 thorpej Exp $ */
+/* $NetBSD: uda1341.c,v 1.15.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.15.68.5 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.15.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -154,7 +154,7 @@ uda1341_attach(device_t parent, device_t
static int
uda1341_search(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, uda1341_print, CFARG_EOL);
return 0;
}
Index: src/sys/arch/iyonix/iyonix/obio.c
diff -u src/sys/arch/iyonix/iyonix/obio.c:1.6.68.5 src/sys/arch/iyonix/iyonix/obio.c:1.6.68.6
--- src/sys/arch/iyonix/iyonix/obio.c:1.6.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/iyonix/iyonix/obio.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.6.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.6.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.6.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.6.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,7 +139,7 @@ obio_search(device_t parent, cfdata_t cf
else
oba.oba_irq = -1;
- if (config_probe(parent, cf, &oba) > 0)
+ if (config_probe(parent, cf, &oba))
config_attach(parent, cf, &oba, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/landisk/dev/obio.c
diff -u src/sys/arch/landisk/dev/obio.c:1.9.68.5 src/sys/arch/landisk/dev/obio.c:1.9.68.6
--- src/sys/arch/landisk/dev/obio.c:1.9.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/landisk/dev/obio.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.9.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.9.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.9.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.9.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include "btn_obio.h"
#include "pwrsw_obio.h"
@@ -142,7 +142,7 @@ obio_search(device_t parent, cfdata_t cf
oa.oa_nirq = 1;
tryagain = 0;
- if (config_probe(parent, cf, &oa) > 0) {
+ if (config_probe(parent, cf, &oa)) {
config_attach(parent, cf, &oa, obio_print, CFARG_EOL);
tryagain = (cf->cf_fstate == FSTATE_STAR);
}
Index: src/sys/arch/mac68k/mac68k/mainbus.c
diff -u src/sys/arch/mac68k/mac68k/mainbus.c:1.21.68.5 src/sys/arch/mac68k/mac68k/mainbus.c:1.21.68.6
--- src/sys/arch/mac68k/mac68k/mainbus.c:1.21.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mac68k/mac68k/mainbus.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.21.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.21.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -101,7 +101,7 @@ static int
mainbus_search(device_t parent, cfdata_t cf,
const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, NULL, CFARG_EOL);
return 0;
}
Index: src/sys/arch/mac68k/obio/obio.c
diff -u src/sys/arch/mac68k/obio/obio.c:1.25.68.5 src/sys/arch/mac68k/obio/obio.c:1.25.68.6
--- src/sys/arch/mac68k/obio/obio.c:1.25.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mac68k/obio/obio.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.25.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.25.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.25.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.25.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -95,7 +95,7 @@ obio_search(device_t parent, cfdata_t cf
oa.oa_tag = mba->mba_bst;
oa.oa_dmat = mba->mba_dmat;
- if (config_probe(parent, cf, &oa) > 0)
+ if (config_probe(parent, cf, &oa))
config_attach(parent, cf, &oa, obio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/mips/ralink/ralink_mainbus.c
diff -u src/sys/arch/mips/ralink/ralink_mainbus.c:1.5.30.5 src/sys/arch/mips/ralink/ralink_mainbus.c:1.5.30.6
--- src/sys/arch/mips/ralink/ralink_mainbus.c:1.5.30.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/ralink/ralink_mainbus.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ralink_mainbus.c,v 1.5.30.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: ralink_mainbus.c,v 1.5.30.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2011 CradlePoint Technology, Inc.
* All rights reserved.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ralink_mainbus.c,v 1.5.30.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ralink_mainbus.c,v 1.5.30.6 2021/04/05 01:01:45 thorpej Exp $");
#include "locators.h"
#include <sys/param.h>
@@ -132,7 +132,7 @@ mainbus_search(device_t parent, cfdata_t
ma = aux;
ma->ma_addr = cf->cf_loc[MAINBUSCF_ADDR];
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, mainbus_print, CFARG_EOL);
else
mainbus_print(aux, cf->cf_name);
Index: src/sys/arch/mips/rmi/rmixl_iobus.c
diff -u src/sys/arch/mips/rmi/rmixl_iobus.c:1.5.10.5 src/sys/arch/mips/rmi/rmixl_iobus.c:1.5.10.6
--- src/sys/arch/mips/rmi/rmixl_iobus.c:1.5.10.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/rmi/rmixl_iobus.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rmixl_iobus.c,v 1.5.10.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: rmixl_iobus.c,v 1.5.10.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_iobus.c,v 1.5.10.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_iobus.c,v 1.5.10.6 2021/04/05 01:01:45 thorpej Exp $");
#include "locators.h"
@@ -283,7 +283,7 @@ rmixl_iobus_search(device_t parent, cfda
ia.ia_dev_parm = cs->cs_dev_parm;
- if (config_probe(parent, cf, &ia) > 0) {
+ if (config_probe(parent, cf, &ia)) {
cs->cs_allocated = true;
config_attach(parent, cf, &ia, rmixl_iobus_print, CFARG_EOL);
}
Index: src/sys/arch/mips/rmi/rmixl_mainbus.c
diff -u src/sys/arch/mips/rmi/rmixl_mainbus.c:1.4.68.6 src/sys/arch/mips/rmi/rmixl_mainbus.c:1.4.68.7
--- src/sys/arch/mips/rmi/rmixl_mainbus.c:1.4.68.6 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/rmi/rmixl_mainbus.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rmixl_mainbus.c,v 1.4.68.6 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: rmixl_mainbus.c,v 1.4.68.7 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_mainbus.c,v 1.4.68.6 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_mainbus.c,v 1.4.68.7 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -151,7 +151,7 @@ mainbus_search(device_t parent, cfdata_t
ma.ma_node = mainbus_node_alloc(sc, cf->cf_loc[MAINBUSCF_NODE]);
- if (config_probe(parent, cf, &ma) > 0)
+ if (config_probe(parent, cf, &ma))
config_attach(parent, cf, &ma, mainbus_print, CFARG_EOL);
return 0;
Index: src/sys/arch/mips/rmi/rmixl_obio.c
diff -u src/sys/arch/mips/rmi/rmixl_obio.c:1.5.68.5 src/sys/arch/mips/rmi/rmixl_obio.c:1.5.68.6
--- src/sys/arch/mips/rmi/rmixl_obio.c:1.5.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/rmi/rmixl_obio.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rmixl_obio.c,v 1.5.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: rmixl_obio.c,v 1.5.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_obio.c,v 1.5.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_obio.c,v 1.5.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include "locators.h"
#include "pci.h"
@@ -161,7 +161,7 @@ obio_search(device_t parent, cfdata_t cf
obio.obio_32bit_dmat = sc->sc_32bit_dmat;
obio.obio_64bit_dmat = sc->sc_64bit_dmat;
- if (config_probe(parent, cf, &obio) > 0)
+ if (config_probe(parent, cf, &obio))
config_attach(parent, cf, &obio, obio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/mips/rmi/rmixl_usbi.c
diff -u src/sys/arch/mips/rmi/rmixl_usbi.c:1.5.68.5 src/sys/arch/mips/rmi/rmixl_usbi.c:1.5.68.6
--- src/sys/arch/mips/rmi/rmixl_usbi.c:1.5.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/rmi/rmixl_usbi.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rmixl_usbi.c,v 1.5.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: rmixl_usbi.c,v 1.5.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_usbi.c,v 1.5.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_usbi.c,v 1.5.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include "locators.h"
@@ -201,7 +201,7 @@ rmixl_usbi_search(device_t parent, cfdat
usbi.usbi_intr = cf->cf_loc[RMIXL_USBICF_INTR];
usbi.usbi_dmat = sc->sc_dmat;
- if (config_probe(parent, cf, &usbi) > 0)
+ if (config_probe(parent, cf, &usbi))
config_attach(parent, cf, &usbi, rmixl_usbi_print, CFARG_EOL);
return 0;
Index: src/sys/arch/mips/sibyte/dev/sbgbus.c
diff -u src/sys/arch/mips/sibyte/dev/sbgbus.c:1.13.68.5 src/sys/arch/mips/sibyte/dev/sbgbus.c:1.13.68.6
--- src/sys/arch/mips/sibyte/dev/sbgbus.c:1.13.68.5 Mon Apr 5 00:48:50 2021
+++ src/sys/arch/mips/sibyte/dev/sbgbus.c Mon Apr 5 01:01:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: sbgbus.c,v 1.13.68.5 2021/04/05 00:48:50 thorpej Exp $ */
+/* $NetBSD: sbgbus.c,v 1.13.68.6 2021/04/05 01:01:45 thorpej Exp $ */
/*
* Copyright 2000, 2001
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbgbus.c,v 1.13.68.5 2021/04/05 00:48:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbgbus.c,v 1.13.68.6 2021/04/05 01:01:45 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -156,7 +156,7 @@ sbgbussearch(device_t parent, cfdata_t c
}
tryagain = 0;
- if (config_probe(parent, cf, &sga) > 0) {
+ if (config_probe(parent, cf, &sga)) {
config_attach(parent, cf, &sga, sbgbusprint, CFARG_EOL);
tryagain = (cf->cf_fstate == FSTATE_STAR);
}
Index: src/sys/arch/mipsco/obio/obio.c
diff -u src/sys/arch/mipsco/obio/obio.c:1.17.68.5 src/sys/arch/mipsco/obio/obio.c:1.17.68.6
--- src/sys/arch/mipsco/obio/obio.c:1.17.68.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/mipsco/obio/obio.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.17.68.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.17.68.6 2021/04/05 01:01:46 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.17.68.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.17.68.6 2021/04/05 01:01:46 thorpej Exp $");
#include "locators.h"
@@ -99,7 +99,7 @@ obio_search(device_t parent, cfdata_t cf
ca->ca_addr = cf->cf_addr;
ca->ca_name = cf->cf_name;
- if (config_probe(parent, cf, ca) != 0)
+ if (config_probe(parent, cf, ca))
config_attach(parent, cf, ca, obio_print, CFARG_EOL);
return 0;
Index: src/sys/arch/news68k/dev/hb.c
diff -u src/sys/arch/news68k/dev/hb.c:1.19.100.5 src/sys/arch/news68k/dev/hb.c:1.19.100.6
--- src/sys/arch/news68k/dev/hb.c:1.19.100.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/news68k/dev/hb.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: hb.c,v 1.19.100.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: hb.c,v 1.19.100.6 2021/04/05 01:01:46 thorpej Exp $ */
/*-
* Copyright (c) 1999 Izumi Tsutsui. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.19.100.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.19.100.6 2021/04/05 01:01:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -89,7 +89,7 @@ hb_search(device_t parent, cfdata_t cf,
ha->ha_bust = ISIIOPA(ha->ha_address) ?
NEWS68K_BUS_SPACE_INTIO : NEWS68K_BUS_SPACE_EIO;
- if (config_probe(parent, cf, ha) > 0)
+ if (config_probe(parent, cf, ha))
config_attach(parent, cf, ha, hb_print, CFARG_EOL);
return 0;
Index: src/sys/arch/news68k/news68k/mainbus.c
diff -u src/sys/arch/news68k/news68k/mainbus.c:1.16.70.5 src/sys/arch/news68k/news68k/mainbus.c:1.16.70.6
--- src/sys/arch/news68k/news68k/mainbus.c:1.16.70.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/news68k/news68k/mainbus.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.16.70.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.16.70.6 2021/04/05 01:01:46 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16.70.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16.70.6 2021/04/05 01:01:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -82,7 +82,7 @@ mainbus_search(device_t parent, cfdata_t
ma->ma_name = cf->cf_name;
ma->ma_systype = cf->cf_systype;
- if (config_probe(parent, cf, ma) > 0)
+ if (config_probe(parent, cf, ma))
config_attach(parent, cf, ma, mainbus_print, CFARG_EOL);
return 0;
Index: src/sys/arch/newsmips/dev/hb.c
diff -u src/sys/arch/newsmips/dev/hb.c:1.21.2.5 src/sys/arch/newsmips/dev/hb.c:1.21.2.6
--- src/sys/arch/newsmips/dev/hb.c:1.21.2.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/newsmips/dev/hb.c Mon Apr 5 01:01:46 2021
@@ -1,7 +1,7 @@
-/* $NetBSD: hb.c,v 1.21.2.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: hb.c,v 1.21.2.6 2021/04/05 01:01:46 thorpej Exp $ */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.21.2.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.21.2.6 2021/04/05 01:01:46 thorpej Exp $");
#define __INTR_PRIVATE
#include <sys/param.h>
@@ -67,7 +67,7 @@ hb_search(device_t parent, cfdata_t cf,
ha->ha_addr = cf->cf_addr;
ha->ha_level = cf->cf_level;
- if (config_probe(parent, cf, ha) > 0)
+ if (config_probe(parent, cf, ha))
config_attach(parent, cf, ha, hb_print, CFARG_EOL);
return 0;
Index: src/sys/arch/next68k/dev/intio.c
diff -u src/sys/arch/next68k/dev/intio.c:1.14.68.5 src/sys/arch/next68k/dev/intio.c:1.14.68.6
--- src/sys/arch/next68k/dev/intio.c:1.14.68.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/next68k/dev/intio.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: intio.c,v 1.14.68.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: intio.c,v 1.14.68.6 2021/04/05 01:01:46 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.14.68.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.14.68.6 2021/04/05 01:01:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -107,7 +107,7 @@ intiosearch(device_t parent, cfdata_t cf
ia.ia_bst = NEXT68K_INTIO_BUS_SPACE;
ia.ia_dmat = mba->mba_dmat;
- if (config_probe(parent, cf, &ia) == 0)
+ if (!config_probe(parent, cf, &ia))
break;
config_attach(parent, cf, &ia, intioprint, CFARG_EOL);
} while (cf->cf_fstate == FSTATE_STAR);
Index: src/sys/arch/next68k/next68k/mainbus.c
diff -u src/sys/arch/next68k/next68k/mainbus.c:1.11.68.5 src/sys/arch/next68k/next68k/mainbus.c:1.11.68.6
--- src/sys/arch/next68k/next68k/mainbus.c:1.11.68.5 Mon Apr 5 00:48:51 2021
+++ src/sys/arch/next68k/next68k/mainbus.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.11.68.5 2021/04/05 00:48:51 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.11.68.6 2021/04/05 01:01:46 thorpej Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11.68.5 2021/04/05 00:48:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11.68.6 2021/04/05 01:01:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -101,7 +101,7 @@ static int
mainbus_search(device_t parent, cfdata_t cf,
const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, aux) > 0)
+ if (config_probe(parent, cf, aux))
config_attach(parent, cf, aux, NULL, CFARG_EOL);
return 0;
}
Index: src/sys/arch/powerpc/booke/dev/pq3obio.c
diff -u src/sys/arch/powerpc/booke/dev/pq3obio.c:1.5.4.5 src/sys/arch/powerpc/booke/dev/pq3obio.c:1.5.4.6
--- src/sys/arch/powerpc/booke/dev/pq3obio.c:1.5.4.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/powerpc/booke/dev/pq3obio.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3obio.c,v 1.5.4.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: pq3obio.c,v 1.5.4.6 2021/04/05 01:01:46 thorpej Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -37,7 +37,7 @@
#define LBC_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3obio.c,v 1.5.4.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3obio.c,v 1.5.4.6 2021/04/05 01:01:46 thorpej Exp $");
#include "locators.h"
@@ -144,7 +144,7 @@ pq3obio_search(device_t parent, cfdata_t
}
tryagain = false;
- if (config_probe(parent, cf, &ga) > 0) {
+ if (config_probe(parent, cf, &ga)) {
int floc[OBIOCF_NLOCS] = {
[OBIOCF_ADDR] = ga.ga_addr,
[OBIOCF_SIZE] = ga.ga_size,
Index: src/sys/arch/prep/pnpbus/pnpbus.c
diff -u src/sys/arch/prep/pnpbus/pnpbus.c:1.13.2.5 src/sys/arch/prep/pnpbus/pnpbus.c:1.13.2.6
--- src/sys/arch/prep/pnpbus/pnpbus.c:1.13.2.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/prep/pnpbus/pnpbus.c Mon Apr 5 01:01:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pnpbus.c,v 1.13.2.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: pnpbus.c,v 1.13.2.6 2021/04/05 01:01:46 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pnpbus.c,v 1.13.2.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pnpbus.c,v 1.13.2.6 2021/04/05 01:01:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -402,7 +402,7 @@ pnpbus_search(device_t parent, cfdata_t
for (i = 0; i < ((ndev > MAX_DEVICES) ? MAX_DEVICES : ndev); i++) {
pnp_getpna(&pna, paa, &ppc_dev[i]);
- if (config_probe(parent, cf, &pna) > 0)
+ if (config_probe(parent, cf, &pna))
config_attach(parent, cf, &pna, pnpbus_print,
CFARG_EOL);
}
Index: src/sys/arch/rs6000/mca/ioplanar.c
diff -u src/sys/arch/rs6000/mca/ioplanar.c:1.4.68.5 src/sys/arch/rs6000/mca/ioplanar.c:1.4.68.6
--- src/sys/arch/rs6000/mca/ioplanar.c:1.4.68.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/rs6000/mca/ioplanar.c Mon Apr 5 01:01:47 2021
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ioplanar.c,v 1.4.68.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ioplanar.c,v 1.4.68.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -108,7 +108,7 @@ ioplanar_search(device_t parent, cfdata_
case MCA_PRODUCT_IBM_SIO_RAINBOW:
for (i=0; i < RAINBOW_DEVS; i++) {
idaa.idaa_device = rainbow_map[i];
- if (config_probe(parent, cf, &idaa) > 0)
+ if (config_probe(parent, cf, &idaa))
config_attach(parent, cf, &idaa,
ioplanar_print, CFARG_EOL);
}
Index: src/sys/arch/sandpoint/sandpoint/eumb.c
diff -u src/sys/arch/sandpoint/sandpoint/eumb.c:1.6.62.5 src/sys/arch/sandpoint/sandpoint/eumb.c:1.6.62.6
--- src/sys/arch/sandpoint/sandpoint/eumb.c:1.6.62.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sandpoint/sandpoint/eumb.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: eumb.c,v 1.6.62.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: eumb.c,v 1.6.62.6 2021/04/05 01:01:47 thorpej Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eumb.c,v 1.6.62.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eumb.c,v 1.6.62.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -83,7 +83,7 @@ eumb_search(device_t parent, cfdata_t cf
eaa.eumb_name = cf->cf_name;
eaa.eumb_bt = ma->ma_bst;
eaa.eumb_unit = cf->cf_loc[EUMBCF_UNIT];
- if (config_probe(parent, cf, &eaa) > 0)
+ if (config_probe(parent, cf, &eaa))
config_attach(parent, cf, &eaa, eumb_print, CFARG_EOL);
return 0;
Index: src/sys/arch/sgimips/gio/gio.c
diff -u src/sys/arch/sgimips/gio/gio.c:1.36.10.7 src/sys/arch/sgimips/gio/gio.c:1.36.10.8
--- src/sys/arch/sgimips/gio/gio.c:1.36.10.7 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sgimips/gio/gio.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gio.c,v 1.36.10.7 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: gio.c,v 1.36.10.8 2021/04/05 01:01:47 thorpej Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gio.c,v 1.36.10.7 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gio.c,v 1.36.10.8 2021/04/05 01:01:47 thorpej Exp $");
#include "opt_ddb.h"
@@ -336,7 +336,7 @@ gio_search(device_t parent, cfdata_t cf,
ga->ga_iot = normal_memt;
ga->ga_ioh = MIPS_PHYS_TO_KSEG1(ga->ga_addr);
- if (config_probe(parent, cf, ga) > 0)
+ if (config_probe(parent, cf, ga))
config_attach(parent, cf, ga, gio_print, CFARG_EOL);
} while (cf->cf_fstate == FSTATE_STAR);
Index: src/sys/arch/sgimips/ioc/ioc.c
diff -u src/sys/arch/sgimips/ioc/ioc.c:1.11.32.5 src/sys/arch/sgimips/ioc/ioc.c:1.11.32.6
--- src/sys/arch/sgimips/ioc/ioc.c:1.11.32.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sgimips/ioc/ioc.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ioc.c,v 1.11.32.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: ioc.c,v 1.11.32.6 2021/04/05 01:01:47 thorpej Exp $ */
/*
* Copyright (c) 2003 Christopher Sekiya
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.11.32.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.11.32.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -194,7 +194,7 @@ ioc_search(device_t parent, cfdata_t cf,
iaa.iaa_sh = sc->sc_ioh; /* XXX */
tryagain = 0;
- if (config_probe(parent, cf, &iaa) > 0) {
+ if (config_probe(parent, cf, &iaa)) {
config_attach(parent, cf, &iaa, ioc_print, CFARG_EOL);
tryagain = (cf->cf_fstate == FSTATE_STAR);
}
Index: src/sys/arch/sgimips/mace/mace.c
diff -u src/sys/arch/sgimips/mace/mace.c:1.23.32.5 src/sys/arch/sgimips/mace/mace.c:1.23.32.6
--- src/sys/arch/sgimips/mace/mace.c:1.23.32.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sgimips/mace/mace.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mace.c,v 1.23.32.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: mace.c,v 1.23.32.6 2021/04/05 01:01:47 thorpej Exp $ */
/*
* Copyright (c) 2003 Christopher Sekiya
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.23.32.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.23.32.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -237,7 +237,7 @@ mace_search(device_t parent, struct cfda
maa.isa_ringbuffer = sc->isa_ringbuffer;
tryagain = 0;
- if (config_probe(parent, cf, &maa) > 0) {
+ if (config_probe(parent, cf, &maa)) {
config_attach(parent, cf, &maa, mace_print, CFARG_EOL);
tryagain = (cf->cf_fstate == FSTATE_STAR);
}
Index: src/sys/arch/sgimips/sgimips/mainbus.c
diff -u src/sys/arch/sgimips/sgimips/mainbus.c:1.20.70.5 src/sys/arch/sgimips/sgimips/mainbus.c:1.20.70.6
--- src/sys/arch/sgimips/sgimips/mainbus.c:1.20.70.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sgimips/sgimips/mainbus.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.20.70.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.20.70.6 2021/04/05 01:01:47 thorpej Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.20.70.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.20.70.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -88,7 +88,7 @@ mainbus_search(device_t parent, cfdata_t
ma->ma_addr = cf->cf_loc[MAINBUSCF_ADDR];
ma->ma_iot = 0;
ma->ma_ioh = MIPS_PHYS_TO_KSEG1(ma->ma_addr);
- if (config_probe(parent, cf, ma) > 0)
+ if (config_probe(parent, cf, ma))
config_attach(parent, cf, ma, mainbus_print, CFARG_EOL);
} while (cf->cf_fstate == FSTATE_STAR);
Index: src/sys/arch/sh3/dev/adc.c
diff -u src/sys/arch/sh3/dev/adc.c:1.13.74.5 src/sys/arch/sh3/dev/adc.c:1.13.74.6
--- src/sys/arch/sh3/dev/adc.c:1.13.74.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sh3/dev/adc.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: adc.c,v 1.13.74.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: adc.c,v 1.13.74.6 2021/04/05 01:01:47 thorpej Exp $ */
/*
* Copyright (c) 2003 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adc.c,v 1.13.74.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adc.c,v 1.13.74.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -98,7 +98,7 @@ static int
adc_search(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, adc_print, CFARG_EOL);
return (0);
Index: src/sys/arch/sh3/dev/shb.c
diff -u src/sys/arch/sh3/dev/shb.c:1.14.78.5 src/sys/arch/sh3/dev/shb.c:1.14.78.6
--- src/sys/arch/sh3/dev/shb.c:1.14.78.5 Mon Apr 5 00:48:52 2021
+++ src/sys/arch/sh3/dev/shb.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: shb.c,v 1.14.78.5 2021/04/05 00:48:52 thorpej Exp $ */
+/* $NetBSD: shb.c,v 1.14.78.6 2021/04/05 01:01:47 thorpej Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: shb.c,v 1.14.78.5 2021/04/05 00:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shb.c,v 1.14.78.6 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -80,7 +80,7 @@ static int
shb_search(device_t parent, cfdata_t cf, const int *ldesc, void *aux)
{
- if (config_probe(parent, cf, NULL) > 0)
+ if (config_probe(parent, cf, NULL))
config_attach(parent, cf, NULL, shb_print, CFARG_EOL);
return (0);
Index: src/sys/arch/sparc/dev/obio.c
diff -u src/sys/arch/sparc/dev/obio.c:1.74.50.5 src/sys/arch/sparc/dev/obio.c:1.74.50.6
--- src/sys/arch/sparc/dev/obio.c:1.74.50.5 Mon Apr 5 00:48:53 2021
+++ src/sys/arch/sparc/dev/obio.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.74.50.5 2021/04/05 00:48:53 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.74.50.6 2021/04/05 01:01:47 thorpej Exp $ */
/*-
* Copyright (c) 1997,1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.74.50.5 2021/04/05 00:48:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.74.50.6 2021/04/05 01:01:47 thorpej Exp $");
#include "locators.h"
@@ -282,7 +282,7 @@ obiosearch(device_t parent, struct cfdat
oba->oba_paddr = BUS_ADDR(PMAP_OBIO, addr);
oba->oba_pri = cf->cf_loc[OBIOCF_LEVEL];
- if (config_probe(parent, cf, &uoba) == 0)
+ if (!config_probe(parent, cf, &uoba))
return (0);
config_attach(parent, cf, &uoba, obioprint, CFARG_EOL);
Index: src/sys/arch/sun3/sun3/autoconf.c
diff -u src/sys/arch/sun3/sun3/autoconf.c:1.79.44.2 src/sys/arch/sun3/sun3/autoconf.c:1.79.44.3
--- src/sys/arch/sun3/sun3/autoconf.c:1.79.44.2 Mon Apr 5 00:48:53 2021
+++ src/sys/arch/sun3/sun3/autoconf.c Mon Apr 5 01:01:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.79.44.2 2021/04/05 00:48:53 thorpej Exp $ */
+/* $NetBSD: autoconf.c,v 1.79.44.3 2021/04/05 01:01:47 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.79.44.2 2021/04/05 00:48:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.79.44.3 2021/04/05 01:01:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -121,7 +121,7 @@ bus_scan(device_t parent, cfdata_t cf, c
* preserved for the related attach call.
* XXX - This is a hack...
*/
- if (config_probe(parent, cf, ca) > 0) {
+ if (config_probe(parent, cf, ca)) {
config_attach(parent, cf, ca, bus_print, CFARG_EOL);
}
return 0;
Index: src/sys/arch/sun68k/sun68k/autoconf.c
diff -u src/sys/arch/sun68k/sun68k/autoconf.c:1.30.52.3 src/sys/arch/sun68k/sun68k/autoconf.c:1.30.52.4
--- src/sys/arch/sun68k/sun68k/autoconf.c:1.30.52.3 Mon Apr 5 00:48:53 2021
+++ src/sys/arch/sun68k/sun68k/autoconf.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.30.52.3 2021/04/05 00:48:53 thorpej Exp $ */
+/* $NetBSD: autoconf.c,v 1.30.52.4 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.30.52.3 2021/04/05 00:48:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.30.52.4 2021/04/05 01:01:48 thorpej Exp $");
#include "opt_kgdb.h"
@@ -225,7 +225,7 @@ sun68k_bus_search(device_t parent, cfdat
* preserved for the related attach call.
* XXX - This is a hack...
*/
- if (config_probe(parent, cf, &ma) > 0) {
+ if (config_probe(parent, cf, &ma)) {
config_attach(parent, cf, &ma, sun68k_bus_print, CFARG_EOL);
}
return 0;
Index: src/sys/arch/x68k/dev/intio.c
diff -u src/sys/arch/x68k/dev/intio.c:1.47.4.5 src/sys/arch/x68k/dev/intio.c:1.47.4.6
--- src/sys/arch/x68k/dev/intio.c:1.47.4.5 Mon Apr 5 00:48:53 2021
+++ src/sys/arch/x68k/dev/intio.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: intio.c,v 1.47.4.5 2021/04/05 00:48:53 thorpej Exp $ */
+/* $NetBSD: intio.c,v 1.47.4.6 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.47.4.5 2021/04/05 00:48:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.47.4.6 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -194,7 +194,7 @@ intio_search(device_t parent, cfdata_t c
ia->ia_dma = cf->cf_dma;
ia->ia_dmaintr = cf->cf_dmaintr;
- if (config_probe(parent, cf, ia) > 0)
+ if (config_probe(parent, cf, ia))
config_attach(parent, cf, ia, intio_print, CFARG_EOL);
return (0);
Index: src/sys/arch/x68k/dev/mfp.c
diff -u src/sys/arch/x68k/dev/mfp.c:1.27.10.5 src/sys/arch/x68k/dev/mfp.c:1.27.10.6
--- src/sys/arch/x68k/dev/mfp.c:1.27.10.5 Mon Apr 5 00:48:53 2021
+++ src/sys/arch/x68k/dev/mfp.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mfp.c,v 1.27.10.5 2021/04/05 00:48:53 thorpej Exp $ */
+/* $NetBSD: mfp.c,v 1.27.10.6 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 1998 NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfp.c,v 1.27.10.5 2021/04/05 00:48:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfp.c,v 1.27.10.6 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -115,7 +115,7 @@ mfp_attach(device_t parent, device_t sel
static int
mfp_search(device_t parent, cfdata_t cf, const int *loc, void *aux)
{
- if (config_probe(parent, cf, __UNCONST(cf->cf_name)) > 0)
+ if (config_probe(parent, cf, __UNCONST(cf->cf_name)))
config_attach(parent, cf, __UNCONST(cf->cf_name), NULL,
CFARG_EOL);
return 0;
Index: src/sys/dev/gpib/cs80bus.c
diff -u src/sys/dev/gpib/cs80bus.c:1.17.34.5 src/sys/dev/gpib/cs80bus.c:1.17.34.6
--- src/sys/dev/gpib/cs80bus.c:1.17.34.5 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/gpib/cs80bus.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: cs80bus.c,v 1.17.34.5 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: cs80bus.c,v 1.17.34.6 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs80bus.c,v 1.17.34.5 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs80bus.c,v 1.17.34.6 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -160,7 +160,7 @@ cs80bussearch(device_t parent, cfdata_t
DPRINTF(DBG_FOLLOW, ("cs80bussearch: id=0x%x slave=%d punit=%d\n",
ca->ca_id, ca->ca_slave, ca->ca_punit));
- if (config_probe(parent, cf, ca) > 0) {
+ if (config_probe(parent, cf, ca)) {
DPRINTF(DBG_FOLLOW,
("cs80bussearch: got id=0x%x slave=%d punit %d\n",
Index: src/sys/dev/gpib/gpib.c
diff -u src/sys/dev/gpib/gpib.c:1.24.10.5 src/sys/dev/gpib/gpib.c:1.24.10.6
--- src/sys/dev/gpib/gpib.c:1.24.10.5 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/gpib/gpib.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gpib.c,v 1.24.10.5 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: gpib.c,v 1.24.10.6 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpib.c,v 1.24.10.5 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpib.c,v 1.24.10.6 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -164,7 +164,7 @@ gpibsubmatch1(device_t parent, cfdata_t
if (cf->cf_loc[GPIBCF_ADDRESS] == sc->sc_myaddr)
return (0);
- if (config_probe(parent, cf, ga) > 0) {
+ if (config_probe(parent, cf, ga)) {
if (gpib_alloc(sc, ga->ga_address))
return (0);
config_attach(parent, cf, ga, gpibprint, CFARG_EOL);
@@ -182,7 +182,7 @@ gpibsubmatch2(device_t parent, cfdata_t
return (0);
ga->ga_address = GPIBCF_ADDRESS_DEFAULT;
- if (config_probe(parent, cf, ga) > 0) {
+ if (config_probe(parent, cf, ga)) {
config_attach(parent, cf, ga, gpibdevprint, CFARG_EOL);
return (0);
}
Index: src/sys/dev/gpio/gpio.c
diff -u src/sys/dev/gpio/gpio.c:1.64.10.9 src/sys/dev/gpio/gpio.c:1.64.10.10
--- src/sys/dev/gpio/gpio.c:1.64.10.9 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/gpio/gpio.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.64.10.9 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: gpio.c,v 1.64.10.10 2021/04/05 01:01:48 thorpej Exp $ */
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.9 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.10 2021/04/05 01:01:48 thorpej Exp $");
/*
* General Purpose Input/Output framework.
@@ -277,7 +277,7 @@ gpio_search(device_t parent, cfdata_t cf
ga.ga_dvname = kmem_alloc(namlen, KM_SLEEP);
strcpy(ga.ga_dvname, cf->cf_name);
- if (config_probe(parent, cf, &ga) > 0)
+ if (config_probe(parent, cf, &ga))
config_attach(parent, cf, &ga, gpio_print, CFARG_EOL);
kmem_free(ga.ga_dvname, namlen);
return 0;
Index: src/sys/dev/isa/isa.c
diff -u src/sys/dev/isa/isa.c:1.138.76.7 src/sys/dev/isa/isa.c:1.138.76.8
--- src/sys/dev/isa/isa.c:1.138.76.7 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/isa/isa.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: isa.c,v 1.138.76.7 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: isa.c,v 1.138.76.8 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2001, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.138.76.7 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.138.76.8 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -472,7 +472,7 @@ isasearch(device_t parent, cfdata_t cf,
return (0);
tryagain = 0;
- if (config_probe(parent, cf, &ia) > 0) {
+ if (config_probe(parent, cf, &ia)) {
/*
* This is not necessary for detach, but might
* still be useful to collect device information.
Index: src/sys/dev/isa/tsdio.c
diff -u src/sys/dev/isa/tsdio.c:1.11.54.5 src/sys/dev/isa/tsdio.c:1.11.54.6
--- src/sys/dev/isa/tsdio.c:1.11.54.5 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/isa/tsdio.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tsdio.c,v 1.11.54.5 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: tsdio.c,v 1.11.54.6 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsdio.c,v 1.11.54.5 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsdio.c,v 1.11.54.6 2021/04/05 01:01:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -136,7 +136,7 @@ tsdio_search(device_t parent, cfdata_t c
sa.ta_iot = sc->sc_iot;
sa.ta_ioh = sc->sc_ioh;
- if (config_probe(parent, cf, &sa) > 0)
+ if (config_probe(parent, cf, &sa))
config_attach(parent, cf, &sa, tsdio_print, CFARG_EOL);
return (0);
Index: src/sys/dev/marvell/obio.c
diff -u src/sys/dev/marvell/obio.c:1.15.76.5 src/sys/dev/marvell/obio.c:1.15.76.6
--- src/sys/dev/marvell/obio.c:1.15.76.5 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/marvell/obio.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.15.76.5 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: obio.c,v 1.15.76.6 2021/04/05 01:01:48 thorpej Exp $ */
/*
* Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.15.76.5 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.15.76.6 2021/04/05 01:01:48 thorpej Exp $");
#include "opt_marvell.h"
@@ -171,7 +171,7 @@ obio_cfsearch(device_t parent, cfdata_t
oa.oa_size = cf->cf_loc[OBIOCF_SIZE];
oa.oa_irq = cf->cf_loc[OBIOCF_IRQ];
- if (config_probe(parent, cf, &oa) > 0)
+ if (config_probe(parent, cf, &oa))
config_attach(parent, cf, &oa, obio_cfprint, CFARG_EOL);
return 0;
Index: src/sys/dev/ppbus/ppbus_conf.c
diff -u src/sys/dev/ppbus/ppbus_conf.c:1.21.10.4 src/sys/dev/ppbus/ppbus_conf.c:1.21.10.5
--- src/sys/dev/ppbus/ppbus_conf.c:1.21.10.4 Mon Apr 5 00:48:54 2021
+++ src/sys/dev/ppbus/ppbus_conf.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ppbus_conf.c,v 1.21.10.4 2021/04/05 00:48:54 thorpej Exp $ */
+/* $NetBSD: ppbus_conf.c,v 1.21.10.5 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 Nicolas Souchu
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppbus_conf.c,v 1.21.10.4 2021/04/05 00:48:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppbus_conf.c,v 1.21.10.5 2021/04/05 01:01:48 thorpej Exp $");
#include "opt_ppbus.h"
#include "opt_ppbus_1284.h"
@@ -245,7 +245,7 @@ ppbus_search_children(device_t parent, c
device_t dev;
int rval = 0;
- if (config_probe(parent, cf, aux) > 0) {
+ if (config_probe(parent, cf, aux)) {
dev = config_attach(parent, cf, aux, NULL, CFARG_EOL);
if (dev) {
child = device_private(dev);
Index: src/sys/dev/spi/spi.c
diff -u src/sys/dev/spi/spi.c:1.16.2.7 src/sys/dev/spi/spi.c:1.16.2.8
--- src/sys/dev/spi/spi.c:1.16.2.7 Mon Apr 5 00:48:55 2021
+++ src/sys/dev/spi/spi.c Mon Apr 5 01:01:48 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: spi.c,v 1.16.2.7 2021/04/05 00:48:55 thorpej Exp $ */
+/* $NetBSD: spi.c,v 1.16.2.8 2021/04/05 01:01:48 thorpej Exp $ */
/*-
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.16.2.7 2021/04/05 00:48:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.16.2.8 2021/04/05 01:01:48 thorpej Exp $");
#include "locators.h"
@@ -158,7 +158,7 @@ spi_search(device_t parent, cfdata_t cf,
if (ISSET(sa.sa_handle->sh_flags, SPIH_ATTACHED))
return -1;
- if (config_probe(parent, cf, &sa) > 0) {
+ if (config_probe(parent, cf, &sa)) {
SET(sa.sa_handle->sh_flags, SPIH_ATTACHED);
config_attach(parent, cf, &sa, spi_print, CFARG_EOL);
}
Index: src/sys/rump/librump/rumpkern/rump_autoconf.c
diff -u src/sys/rump/librump/rumpkern/rump_autoconf.c:1.1.14.4 src/sys/rump/librump/rumpkern/rump_autoconf.c:1.1.14.5
--- src/sys/rump/librump/rumpkern/rump_autoconf.c:1.1.14.4 Mon Apr 5 00:48:55 2021
+++ src/sys/rump/librump/rumpkern/rump_autoconf.c Mon Apr 5 01:01:49 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_autoconf.c,v 1.1.14.4 2021/04/05 00:48:55 thorpej Exp $ */
+/* $NetBSD: rump_autoconf.c,v 1.1.14.5 2021/04/05 01:01:49 thorpej Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_autoconf.c,v 1.1.14.4 2021/04/05 00:48:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_autoconf.c,v 1.1.14.5 2021/04/05 01:01:49 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -118,7 +118,7 @@ mainbus_search(device_t parent, cfdata_t
struct mainbus_attach_args maa;
maa.maa_unit = cf->cf_unit;
- if (config_probe(parent, cf, &maa) > 0)
+ if (config_probe(parent, cf, &maa))
config_attach(parent, cf, &maa, NULL, CFARG_EOL);
return 0;