Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-cfargs]: src/sys Convert config_found_ia() call sites where the ...
details: https://anonhg.NetBSD.org/src/rev/eb4366272335
branches: thorpej-cfargs
changeset: 960459:eb4366272335
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Mar 23 07:14:41 2021 +0000
description:
Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
diffstat:
sys/arch/algor/dev/bonito_mainbus.c | 6 +-
sys/arch/algor/dev/vtpbc_mainbus.c | 6 +-
sys/arch/algor/pci/pcib.c | 6 +-
sys/arch/alpha/pci/apecs.c | 6 +-
sys/arch/alpha/pci/cia.c | 6 +-
sys/arch/alpha/pci/dwlpx.c | 6 +-
sys/arch/alpha/pci/lca.c | 6 +-
sys/arch/alpha/pci/mcpcia.c | 6 +-
sys/arch/alpha/pci/tsc.c | 6 +-
sys/arch/alpha/pci/tsciic.c | 10 ++--
sys/arch/alpha/pci/ttwoga.c | 6 +-
sys/arch/amiga/dev/acafh.c | 8 ++--
sys/arch/amiga/dev/p5bus.c | 8 ++--
sys/arch/amiga/dev/xsh.c | 6 +-
sys/arch/amiga/dev/xsurf.c | 12 +++---
sys/arch/amiga/dev/z3rambd.c | 6 +-
sys/arch/amiga/pci/cv3dpb.c | 4 +-
sys/arch/amiga/pci/em4k.c | 4 +-
sys/arch/amiga/pci/mppb.c | 4 +-
sys/arch/amiga/pci/p5pb.c | 4 +-
sys/arch/amigappc/amigappc/mainbus.c | 6 +-
sys/arch/arc/pci/necpb.c | 6 +-
sys/arch/arm/acpi/acpipchb.c | 6 +-
sys/arch/arm/amlogic/meson_pinctrl.c | 6 +-
sys/arch/arm/at91/at91cf.c | 9 ++--
sys/arch/arm/at91/at91spi.c | 8 ++--
sys/arch/arm/at91/at91twi.c | 8 ++--
sys/arch/arm/broadcom/bcm2835_bsc_acpi.c | 6 +-
sys/arch/arm/broadcom/bcm2835_gpio.c | 6 +-
sys/arch/arm/broadcom/bcm2835_mbox.c | 6 +-
sys/arch/arm/broadcom/bcm2835_spi.c | 6 +-
sys/arch/arm/broadcom/bcm2838_pcie.c | 6 +-
sys/arch/arm/broadcom/bcm53xx_pax.c | 4 +-
sys/arch/arm/ep93xx/eppcic.c | 7 +--
sys/arch/arm/fdt/acpi_fdt.c | 6 +-
sys/arch/arm/fdt/pcihost_fdt.c | 6 +-
sys/arch/arm/gemini/gemini_gpio.c | 6 +-
sys/arch/arm/imx/imx23_pinctrl.c | 4 +-
sys/arch/arm/imx/imx31_gpio.c | 6 +-
sys/arch/arm/imx/imx51_ipuv3.c | 6 +-
sys/arch/arm/imx/imx_pcic.c | 10 ++--
sys/arch/arm/imx/imxgpio.c | 6 +-
sys/arch/arm/imx/imxspi.c | 6 +-
sys/arch/arm/iomd/iomdiic.c | 4 +-
sys/arch/arm/ixp12x0/ixp12x0.c | 6 +-
sys/arch/arm/marvell/mvsocgpp.c | 6 +-
sys/arch/arm/nvidia/tegra_gpio.c | 8 ++--
sys/arch/arm/nvidia/tegra_pcie.c | 6 +-
sys/arch/arm/nxp/imxpcie.c | 6 +-
sys/arch/arm/omap/am335x_gpio.c | 6 +-
sys/arch/arm/omap/omap2_gpio.c | 6 +-
sys/arch/arm/omap/omap3_i2c.c | 10 ++--
sys/arch/arm/omap/ti_iic.c | 10 ++--
sys/arch/arm/omap/tiotg.c | 6 +-
sys/arch/arm/rockchip/rk_gpio.c | 6 +-
sys/arch/arm/s3c2xx0/s3c2440_touch.c | 3 +-
sys/arch/arm/s3c2xx0/s3c2800_pci.c | 6 +-
sys/arch/arm/sa11x0/sa11x1_pcic.c | 8 ++--
sys/arch/arm/samsung/exynos_gpio.c | 8 ++--
sys/arch/arm/sociox/sni_gpio.c | 6 +-
sys/arch/arm/sociox/sni_i2c.c | 6 +-
sys/arch/arm/sunxi/sun6i_spi.c | 6 +-
sys/arch/arm/sunxi/sunxi_debe.c | 7 +--
sys/arch/arm/sunxi/sunxi_gpio.c | 6 +-
sys/arch/arm/sunxi/sunxi_ts.c | 8 ++--
sys/arch/arm/ti/omap2_nand.c | 6 +-
sys/arch/arm/ti/ti_gpio.c | 6 +-
sys/arch/arm/xscale/becc.c | 6 +-
sys/arch/arm/xscale/iopi2c.c | 6 +-
sys/arch/arm/xscale/pxa2x0_gpio.c | 6 +-
sys/arch/arm/xscale/pxa2x0_pcic.c | 8 ++--
sys/arch/atari/isa/isa_machdep.c | 6 +-
sys/arch/atari/pci/pci_machdep.c | 6 +-
sys/arch/cats/pci/pcib.c | 6 +-
sys/arch/cobalt/dev/gt.c | 6 +-
sys/arch/dreamcast/dev/g2/gapspci.c | 6 +-
sys/arch/epoc32/dev/etna.c | 6 +-
sys/arch/evbarm/armadillo/armadillo9_iic.c | 6 +-
sys/arch/evbarm/g42xxeb/gb225_pcic.c | 4 +-
sys/arch/evbarm/gumstix/gxiic.c | 6 +-
sys/arch/evbarm/mpcsa/mpcsa_leds.c | 8 ++--
sys/arch/evbarm/nslu2/nslu2_iic.c | 4 +-
sys/arch/evbmips/alchemy/mainbus.c | 6 +-
sys/arch/evbmips/atheros/mainbus.c | 6 +-
sys/arch/evbmips/gdium/bonito_mainbus.c | 6 +-
sys/arch/evbmips/ingenic/mainbus.c | 6 +-
sys/arch/evbmips/loongson/bonito_mainbus.c | 6 +-
sys/arch/evbmips/malta/dev/gt.c | 6 +-
sys/arch/evbmips/malta/pci/pcib.c | 6 +-
sys/arch/evbmips/mipssim/mainbus.c | 8 ++--
sys/arch/evbppc/walnut/pci/pchb.c | 6 +-
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c | 8 ++--
sys/arch/evbsh3/evbsh3/mainbus.c | 6 +-
sys/arch/hpcarm/dev/ipaq_pcic.c | 8 ++--
sys/arch/hpcarm/dev/j720pwr.c | 6 +-
sys/arch/hpcarm/dev/nbpiic.c | 6 +-
sys/arch/hpcarm/dev/wzero3_keypad.c | 7 +--
sys/arch/hpcmips/dev/it8368.c | 7 +--
sys/arch/hpcmips/isa/isa_machdep.c | 6 +-
sys/arch/hpcmips/isa/plumisa_machdep.c | 6 +-
sys/arch/hpcmips/vr/vrc4172pci.c | 6 +-
sys/arch/hpcmips/vr/vrpciu.c | 6 +-
sys/arch/hpcsh/dev/psh3tp.c | 6 +-
sys/arch/hppa/dev/elroy.c | 4 +-
sys/arch/i386/pci/pcmb.c | 6 +-
sys/arch/macppc/dev/ki2c.c | 4 +-
sys/arch/macppc/dev/smu.c | 2 +-
sys/arch/macppc/dev/smuiic.c | 4 +-
sys/arch/macppc/pci/bandit.c | 6 +-
sys/arch/macppc/pci/grackle.c | 6 +-
sys/arch/macppc/pci/u3.c | 4 +-
sys/arch/macppc/pci/uninorth.c | 6 +-
sys/arch/mips/alchemy/dev/augpio.c | 6 +-
sys/arch/mips/alchemy/dev/aupci.c | 6 +-
sys/arch/mips/alchemy/dev/ausmbus_psc.c | 6 +-
sys/arch/mips/alchemy/dev/auspi.c | 6 +-
sys/arch/mips/atheros/dev/argpio.c | 6 +-
sys/arch/mips/atheros/dev/arpci.c | 6 +-
sys/arch/mips/atheros/dev/arspi.c | 6 +-
sys/arch/mips/ingenic/apbus.c | 6 +-
sys/arch/mips/ingenic/jziic.c | 6 +-
sys/arch/mips/ralink/ralink_gpio.c | 6 +-
sys/arch/mips/rmi/rmixl_gpio.c | 8 ++--
sys/arch/mips/rmi/rmixl_pcie.c | 6 +-
sys/arch/mips/rmi/rmixl_pcix.c | 6 +-
sys/arch/mipsco/isa/isa_machdep.c | 6 +-
sys/arch/mmeye/dev/mmeyepcmcia.c | 8 ++--
sys/arch/mmeye/dev/rtciic.c | 6 +-
sys/arch/mmeye/mmeye/mainbus.c | 8 ++--
sys/arch/netwinder/pci/pcib.c | 6 +-
sys/arch/ofppc/pci/ofwpci.c | 6 +-
sys/arch/powerpc/booke/pci/pq3pci.c | 6 +-
sys/arch/powerpc/ibm4xx/dev/gpiic_opb.c | 4 +-
sys/arch/powerpc/ibm4xx/dev/plb.c | 8 ++--
sys/arch/powerpc/ibm4xx/pci/pchb.c | 6 +-
sys/arch/powerpc/pci/pcib.c | 6 +-
sys/arch/sgimips/gio/pci_gio.c | 6 +-
sys/arch/sgimips/ioc/oioc.c | 6 +-
sys/arch/sgimips/mace/pci_mace.c | 6 +-
sys/arch/shark/ofw/vlpci.c | 6 +-
sys/arch/sparc/sparc/msiiep.c | 6 +-
sys/arch/sparc64/dev/jbus-i2c.c | 7 +--
sys/arch/sparc64/dev/psycho.c | 6 +-
sys/arch/usermode/dev/mainbus.c | 20 +++++-----
sys/arch/usermode/dev/vatapi.c | 8 ++--
sys/arch/x86/pci/dwiic_pci.c | 6 +-
sys/arch/x86/pci/imcsmb/imc.c | 6 +-
sys/arch/xen/xen/xpci_xenbus.c | 6 +-
sys/arch/xen/xenbus/xenbus_probe.c | 8 ++--
sys/arch/zaurus/dev/zapm.c | 6 +-
sys/arch/zaurus/dev/ziic.c | 6 +-
sys/dev/acpi/acpi_display.c | 8 ++--
sys/dev/acpi/dwiic_acpi.c | 6 +-
sys/dev/acpi/ipmi_acpi.c | 6 +-
sys/dev/acpi/smbus_acpi.c | 6 +-
sys/dev/cardbus/rbus_ppb.c | 6 +-
sys/dev/fdt/gpiokeys.c | 8 ++--
sys/dev/gpio/gpiosim.c | 4 +-
sys/dev/hpc/hpcapm.c | 6 +-
sys/dev/hyperv/vmbus.c | 8 ++--
sys/dev/i2c/i2cmux.c | 6 +-
sys/dev/i2c/tcakp.c | 6 +-
sys/dev/ic/pca9564.c | 6 +-
sys/dev/ic/pl061.c | 7 +--
sys/dev/isa/nsclpcsio_isa.c | 6 +-
sys/dev/isa/ptcd.c | 4 +-
sys/dev/marvell/gtpci.c | 6 +-
sys/dev/marvell/mvpex.c | 6 +-
sys/dev/marvell/mvspi.c | 2 +-
sys/dev/pci/alipm.c | 6 +-
sys/dev/pci/amdpm_smbus.c | 6 +-
sys/dev/pci/ibmcd.c | 4 +-
sys/dev/pci/nfsmb.c | 6 +-
sys/dev/pci/ppb.c | 6 +-
sys/dev/pckbport/pckbd.c | 6 +-
sys/dev/pckbport/pms.c | 6 +-
sys/dev/podulebus/acemidi.c | 6 +-
sys/dev/sdmmc/sdmmc.c | 6 +-
sys/dev/spi/mcp23s17.c | 6 +-
sys/dev/usb/irmce.c | 8 ++--
sys/dev/usb/uatp.c | 7 +--
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c | 6 +-
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c | 6 +-
183 files changed, 568 insertions(+), 577 deletions(-)
diffs (truncated from 4885 to 300 lines):
diff -r 2d79526bb54c -r eb4366272335 sys/arch/algor/dev/bonito_mainbus.c
--- a/sys/arch/algor/dev/bonito_mainbus.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/algor/dev/bonito_mainbus.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bonito_mainbus.c,v 1.17 2016/05/31 03:51:55 dholland Exp $ */
+/* $NetBSD: bonito_mainbus.c,v 1.17.32.1 2021/03/23 07:14:41 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bonito_mainbus.c,v 1.17 2016/05/31 03:51:55 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bonito_mainbus.c,v 1.17.32.1 2021/03/23 07:14:41 thorpej Exp $");
#include "opt_algor_p6032.h"
@@ -113,5 +113,5 @@
}
#endif /* ALGOR_P6032 */
- (void) config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
diff -r 2d79526bb54c -r eb4366272335 sys/arch/algor/dev/vtpbc_mainbus.c
--- a/sys/arch/algor/dev/vtpbc_mainbus.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/algor/dev/vtpbc_mainbus.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vtpbc_mainbus.c,v 1.19 2012/10/27 17:17:24 chs Exp $ */
+/* $NetBSD: vtpbc_mainbus.c,v 1.19.52.1 2021/03/23 07:14:41 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vtpbc_mainbus.c,v 1.19 2012/10/27 17:17:24 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vtpbc_mainbus.c,v 1.19.52.1 2021/03/23 07:14:41 thorpej Exp $");
#include "opt_algor_p4032.h"
#include "opt_algor_p5064.h"
@@ -128,5 +128,5 @@
}
#endif /* ALGOR_P4032 || ALGOR_P5064 */
- (void) config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
diff -r 2d79526bb54c -r eb4366272335 sys/arch/algor/pci/pcib.c
--- a/sys/arch/algor/pci/pcib.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/algor/pci/pcib.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcib.c,v 1.26 2020/11/14 02:23:04 thorpej Exp $ */
+/* $NetBSD: pcib.c,v 1.26.2.1 2021/03/23 07:14:41 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.26 2020/11/14 02:23:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.26.2.1 2021/03/23 07:14:41 thorpej Exp $");
#include "opt_algor_p5064.h"
#include "opt_algor_p6032.h"
@@ -317,7 +317,7 @@
iba.iba_ic->ic_attach_hook = pcib_isa_attach_hook;
iba.iba_ic->ic_detach_hook = pcib_isa_detach_hook;
- (void) config_found_ia(sc->sc_dev, "isabus", &iba, isabusprint);
+ config_found(sc->sc_dev, &iba, isabusprint, CFARG_EOL);
}
void
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/apecs.c
--- a/sys/arch/alpha/pci/apecs.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/apecs.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apecs.c,v 1.54 2012/02/06 02:14:14 matt Exp $ */
+/* $NetBSD: apecs.c,v 1.54.62.1 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: apecs.c,v 1.54 2012/02/06 02:14:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apecs.c,v 1.54.62.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -230,7 +230,7 @@
pba.pba_bridgetag = NULL;
pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
- config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
static int
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/cia.c
--- a/sys/arch/alpha/pci/cia.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/cia.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cia.c,v 1.74 2015/10/11 08:46:43 martin Exp $ */
+/* $NetBSD: cia.c,v 1.74.32.1 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.74 2015/10/11 08:46:43 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.74.32.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -401,7 +401,7 @@
if ((ccp->cc_flags & CCF_PYXISBUG) == 0)
pba.pba_flags |= PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY |
PCI_FLAGS_MWI_OKAY;
- config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
int
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/dwlpx.c
--- a/sys/arch/alpha/pci/dwlpx.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/dwlpx.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwlpx.c,v 1.39 2020/09/25 03:40:11 thorpej Exp $ */
+/* $NetBSD: dwlpx.c,v 1.39.4.1 2021/03/23 07:14:42 thorpej Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: dwlpx.c,v 1.39 2020/09/25 03:40:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwlpx.c,v 1.39.4.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -181,7 +181,7 @@
pba.pba_bridgetag = NULL;
pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
- config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
void
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/lca.c
--- a/sys/arch/alpha/pci/lca.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/lca.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lca.c,v 1.51 2012/02/06 02:14:14 matt Exp $ */
+/* $NetBSD: lca.c,v 1.51.62.1 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: lca.c,v 1.51 2012/02/06 02:14:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lca.c,v 1.51.62.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -237,7 +237,7 @@
pba.pba_bridgetag = NULL;
pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
- config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
int
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/mcpcia.c
--- a/sys/arch/alpha/pci/mcpcia.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/mcpcia.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcpcia.c,v 1.30 2020/11/18 02:04:29 thorpej Exp $ */
+/* $NetBSD: mcpcia.c,v 1.30.2.1 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mcpcia.c,v 1.30 2020/11/18 02:04:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcpcia.c,v 1.30.2.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -190,7 +190,7 @@
pba.pba_bridgetag = NULL;
pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
- (void) config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
/*
* Clear any errors that may have occurred during the probe
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/tsc.c
--- a/sys/arch/alpha/pci/tsc.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/tsc.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tsc.c,v 1.24.44.1 2021/03/21 21:08:53 thorpej Exp $ */
+/* $NetBSD: tsc.c,v 1.24.44.2 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 1999 by Ross Harvey. All rights reserved.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.24.44.1 2021/03/21 21:08:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.24.44.2 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -237,7 +237,7 @@
pba.pba_bridgetag = NULL;
pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
- config_found_ia(self, "pcibus", &pba, pcibusprint);
+ config_found(self, &pba, pcibusprint, CFARG_EOL);
}
struct tsp_config *
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/tsciic.c
--- a/sys/arch/alpha/pci/tsciic.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/tsciic.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tsciic.c,v 1.2 2019/12/22 23:23:29 thorpej Exp $ */
+/* $NetBSD: tsciic.c,v 1.2.10.1 2021/03/23 07:14:42 thorpej Exp $ */
/*
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsciic.c,v 1.2 2019/12/22 23:23:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsciic.c,v 1.2.10.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -71,7 +71,8 @@
};
void
-tsciic_init(device_t self) {
+tsciic_init(device_t self)
+{
struct tsciic_softc *sc = device_private(self);
struct i2cbus_attach_args iba;
@@ -86,8 +87,7 @@
memset(&iba, 0, sizeof(iba));
iba.iba_tag = &sc->sc_i2c;
- config_found_ia(self, "i2cbus", &iba, iicbus_print);
-
+ config_found(self, &iba, iicbus_print, CFARG_EOL);
}
/* I2C bitbanging */
diff -r 2d79526bb54c -r eb4366272335 sys/arch/alpha/pci/ttwoga.c
--- a/sys/arch/alpha/pci/ttwoga.c Tue Mar 23 06:18:23 2021 +0000
+++ b/sys/arch/alpha/pci/ttwoga.c Tue Mar 23 07:14:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttwoga.c,v 1.15 2012/02/06 02:14:15 matt Exp $ */
+/* $NetBSD: ttwoga.c,v 1.15.62.1 2021/03/23 07:14:42 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: ttwoga.c,v 1.15 2012/02/06 02:14:15 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttwoga.c,v 1.15.62.1 2021/03/23 07:14:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -145,7 +145,7 @@
memset(&pba, 0, sizeof(pba));
pba.pba_bus = hose;
- (void) config_found_ia(self, "ttwoga", &pba, ttwogaprint);
Home |
Main Index |
Thread Index |
Old Index