CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:05:52 UTC 2021 Modified Files: src/sys/arch/amiga/amiga [thorpej-cfargs2]: autoconf.c device.h src/sys/arch/amiga/clockport [thorpej-cfargs2]: a1k2cp.c clockport.c gencp.c src/sys/arch/amiga/dev [thorpej-cfargs2]: acafh.c afsc.c ahsc.c amidisplaycc.c atzsc.c bppcsc.c cbiiisc.c drsc.c drsupio.c empsc.c fd.c gayle_pcmcia.c grf.c grf_cc.c grf_cl.c grf_cv.c grf_cv3d.c grf_et.c grf_rh.c grf_rt.c grf_ul.c gtsc.c gvpbus.c gvpio.c hyper.c ioblix_zbus.c ivsc.c kbd.c mfc.c mgnsc.c mlhsc.c mntva.c ms.c otgsc.c p5bus.c wesc.c wstsc.c xsh.c xsurf.c z3rambd.c zbus.c zssc.c src/sys/arch/amiga/pci [thorpej-cfargs2]: cv3dpb.c em4k.c empb.c mppb.c p5pb.c src/sys/arch/amigappc/amigappc [thorpej-cfargs2]: autoconf.c mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.119.6.1 src/sys/arch/amiga/amiga/autoconf.c cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/arch/amiga/amiga/device.h cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/amiga/clockport/a1k2cp.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/amiga/clockport/clockport.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/amiga/clockport/gencp.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/amiga/dev/acafh.c \ src/sys/arch/amiga/dev/bppcsc.c src/sys/arch/amiga/dev/mntva.c \ src/sys/arch/amiga/dev/xsurf.c src/sys/arch/amiga/dev/z3rambd.c cvs rdiff -u -r1.45 -r1.45.8.1 src/sys/arch/amiga/dev/afsc.c cvs rdiff -u -r1.39 -r1.39.8.1 src/sys/arch/amiga/dev/ahsc.c cvs rdiff -u -r1.36 -r1.36.2.1 src/sys/arch/amiga/dev/amidisplaycc.c cvs rdiff -u -r1.44 -r1.44.8.1 src/sys/arch/amiga/dev/atzsc.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/amiga/dev/cbiiisc.c \ src/sys/arch/amiga/dev/drsupio.c cvs rdiff -u -r1.34 -r1.34.8.1 src/sys/arch/amiga/dev/drsc.c \ src/sys/arch/amiga/dev/otgsc.c cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/arch/amiga/dev/empsc.c cvs rdiff -u -r1.98 -r1.98.8.1 src/sys/arch/amiga/dev/fd.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/amiga/dev/gayle_pcmcia.c \ src/sys/arch/amiga/dev/mlhsc.c cvs rdiff -u -r1.66 -r1.66.6.1 src/sys/arch/amiga/dev/grf.c cvs rdiff -u -r1.42 -r1.42.6.1 src/sys/arch/amiga/dev/grf_cc.c cvs rdiff -u -r1.51 -r1.51.6.1 src/sys/arch/amiga/dev/grf_cl.c cvs rdiff -u -r1.60 -r1.60.6.1 src/sys/arch/amiga/dev/grf_cv.c cvs rdiff -u -r1.35 -r1.35.6.1 src/sys/arch/amiga/dev/grf_cv3d.c cvs rdiff -u -r1.37 -r1.37.6.1 src/sys/arch/amiga/dev/grf_et.c cvs rdiff -u -r1.58 -r1.58.6.1 src/sys/arch/amiga/dev/grf_rh.c cvs rdiff -u -r1.59 -r1.59.6.1 src/sys/arch/amiga/dev/grf_rt.c cvs rdiff -u -r1.52 -r1.52.6.1 src/sys/arch/amiga/dev/grf_ul.c cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/arch/amiga/dev/gtsc.c cvs rdiff -u -r1.27 -r1.27.8.1 src/sys/arch/amiga/dev/gvpbus.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/amiga/dev/gvpio.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/amiga/dev/hyper.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/amiga/dev/ioblix_zbus.c cvs rdiff -u -r1.38 -r1.38.8.1 src/sys/arch/amiga/dev/ivsc.c cvs rdiff -u -r1.60 -r1.60.2.1 src/sys/arch/amiga/dev/kbd.c cvs rdiff -u -r1.58 -r1.58.8.1 src/sys/arch/amiga/dev/mfc.c cvs rdiff -u -r1.47 -r1.47.8.1 src/sys/arch/amiga/dev/mgnsc.c \ src/sys/arch/amiga/dev/zssc.c cvs rdiff -u -r1.41 -r1.41.2.1 src/sys/arch/amiga/dev/ms.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/amiga/dev/p5bus.c cvs rdiff -u -r1.41 -r1.41.8.1 src/sys/arch/amiga/dev/wesc.c cvs rdiff -u -r1.36 -r1.36.8.1 src/sys/arch/amiga/dev/wstsc.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/amiga/dev/xsh.c cvs rdiff -u -r1.76 -r1.76.6.1 src/sys/arch/amiga/dev/zbus.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/amiga/pci/cv3dpb.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/amiga/pci/em4k.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/amiga/pci/empb.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/amiga/pci/mppb.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/amiga/pci/p5pb.c cvs rdiff -u -r1.8 -r1.8.6.1 src/sys/arch/amigappc/amigappc/autoconf.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/amigappc/amigappc/mainbus.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/amiga/amiga/autoconf.c diff -u src/sys/arch/amiga/amiga/autoconf.c:1.119 src/sys/arch/amiga/amiga/autoconf.c:1.119.6.1 --- src/sys/arch/amiga/amiga/autoconf.c:1.119 Tue Apr 27 14:48:28 2021 +++ src/sys/arch/amiga/amiga/autoconf.c Tue Aug 3 23:05:51 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.119 2021/04/27 14:48:28 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.119.6.1 2021/08/03 23:05:51 thorpej Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -30,10 +30,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define __SUBR_AUTOCONF_PRIVATE /* XXX amiga_config_found() */ - #include -__KERNEL_RCSID(0, "$NetBSD: autoc
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 01:08:48 UTC 2021 Modified Files: src/sys/arch/hpcarm/dev [thorpej-cfargs2]: epsonlcd.c ipaq_atmelgpio.c ipaq_lcd.c ipaq_pcic.c ipaq_saip.c j720kbd.c j720pwr.c j720ssp.c j720tp.c nbpiic.c nbpkbd.c nbppcon.c sacc_hpcarm.c sed_saip.c uda1341.c wzero3_kbd.c wzero3_keypad.c wzero3_lcd.c wzero3_tp.c src/sys/arch/hpcmips/dev [thorpej-cfargs2]: it8368.c ite8181.c m38813c.c mq200.c optpoint.c plum.c plumiobus.c plumohci.c plumpcmcia.c plumvideo.c tc5165buf.c ucb1200.c ucbtp.c src/sys/arch/hpcmips/hpcmips [thorpej-cfargs2]: mainbus.c src/sys/arch/hpcmips/isa [thorpej-cfargs2]: isa_machdep.c plumisa_machdep.c src/sys/arch/hpcmips/tx [thorpej-cfargs2]: tx3912video.c tx39biu.c tx39sib.c tx39spi.c tx39uart.c txcom.c txcsbus.c txioman.c txsim.c src/sys/arch/hpcmips/vr [thorpej-cfargs2]: vr4181giu.c vrc4172gpio.c vrc4172pci.c vrc4173bcu.c vrdsiu_mouse.c vrgiu.c vrip.c vrkiu.c vrpciu.c vrpiu.c src/sys/arch/hpcsh/dev [thorpej-cfargs2]: j6x0tp.c pfckbd.c psh3tp.c src/sys/arch/hpcsh/dev/hd64461 [thorpej-cfargs2]: hd64461.c hd64461pcmcia.c hd64461video.c src/sys/arch/hpcsh/dev/hd64465 [thorpej-cfargs2]: hd64465.c hd64465pcmcia.c src/sys/arch/hpcsh/hpcsh [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/hpcarm/dev/epsonlcd.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/hpcarm/dev/ipaq_atmelgpio.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/hpcarm/dev/ipaq_lcd.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/hpcarm/dev/ipaq_pcic.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/hpcarm/dev/ipaq_saip.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/hpcarm/dev/j720kbd.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/hpcarm/dev/j720pwr.c \ src/sys/arch/hpcarm/dev/wzero3_lcd.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/hpcarm/dev/j720ssp.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/hpcarm/dev/j720tp.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/hpcarm/dev/nbpiic.c \ src/sys/arch/hpcarm/dev/nbppcon.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/hpcarm/dev/nbpkbd.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/hpcarm/dev/sacc_hpcarm.c cvs rdiff -u -r1.27 -r1.27.8.1 src/sys/arch/hpcarm/dev/sed_saip.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/hpcarm/dev/uda1341.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/hpcarm/dev/wzero3_kbd.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/hpcarm/dev/wzero3_keypad.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/hpcarm/dev/wzero3_tp.c cvs rdiff -u -r1.26 -r1.26.6.1 src/sys/arch/hpcmips/dev/it8368.c cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/arch/hpcmips/dev/ite8181.c \ src/sys/arch/hpcmips/dev/plumpcmcia.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/hpcmips/dev/m38813c.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/hpcmips/dev/mq200.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/hpcmips/dev/optpoint.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/hpcmips/dev/plum.c \ src/sys/arch/hpcmips/dev/tc5165buf.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/hpcmips/dev/plumiobus.c \ src/sys/arch/hpcmips/dev/plumohci.c cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/arch/hpcmips/dev/plumvideo.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/hpcmips/dev/ucb1200.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/hpcmips/dev/ucbtp.c cvs rdiff -u -r1.32 -r1.32.8.1 src/sys/arch/hpcmips/hpcmips/mainbus.c cvs rdiff -u -r1.40 -r1.40.8.1 src/sys/arch/hpcmips/isa/isa_machdep.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/hpcmips/isa/plumisa_machdep.c cvs rdiff -u -r1.46 -r1.46.8.1 src/sys/arch/hpcmips/tx/tx3912video.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/hpcmips/tx/tx39biu.c \ src/sys/arch/hpcmips/tx/tx39uart.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/hpcmips/tx/tx39sib.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/hpcmips/tx/tx39spi.c cvs rdiff -u -r1.51 -r1.51.8.1 src/sys/arch/hpcmips/tx/txcom.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/hpcmips/tx/txcsbus.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/hpcmips/tx/txioman.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/hpcmips/tx/txsim.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/hpcmips/vr/vr4181giu.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/hpcmips/vr/vrc4172gpio.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/hpcmips/vr/vrc4172pci.c cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/hpcmips/vr/vrc4173bcu.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/hpcmips/vr/vrdsiu_mouse.c cvs rdiff -u -r1.46 -r1.46.4.1 src/sys/arch/hpcmips/vr/vrgiu.c cvs rdiff -u -r1.38 -r1.38.8.1 src/sys/arch/hpcmips/vr/vrip.c cvs rdiff -u -r1.40 -r1.40.8.1 src/sys/arch/hpcmips/vr/vrkiu.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/hpcmips/vr/vrpciu.c cvs rdiff -u -r1.43 -r1.43.8.1 src/sys/arch/hpcmips/vr/vrpiu.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/hpcsh/de
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:35:50 UTC 2021 Modified Files: src/sys/arch/ia64/ia64 [thorpej-cfargs2]: mainbus.c src/sys/arch/ibmnws/ibmnws [thorpej-cfargs2]: mainbus.c src/sys/arch/iyonix/iyonix [thorpej-cfargs2]: obio.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/ia64/ia64/mainbus.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/ibmnws/ibmnws/mainbus.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/iyonix/iyonix/obio.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/ia64/ia64/mainbus.c diff -u src/sys/arch/ia64/ia64/mainbus.c:1.12 src/sys/arch/ia64/ia64/mainbus.c:1.12.8.1 --- src/sys/arch/ia64/ia64/mainbus.c:1.12 Sat Apr 24 23:36:40 2021 +++ src/sys/arch/ia64/ia64/mainbus.c Wed Aug 4 02:35:50 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.12 2021/04/24 23:36:40 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.12.8.1 2021/08/04 02:35:50 thorpej Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12 2021/04/24 23:36:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12.8.1 2021/08/04 02:35:50 thorpej Exp $"); #include "acpica.h" @@ -108,8 +108,7 @@ mainbus_attach(device_t parent, device_t if (entry->Header.Type == ACPI_MADT_TYPE_LOCAL_SAPIC) config_found(self, entry, NULL, -CFARG_IATTR, "cpubus", -CFARG_EOL); +CFARGS(.iattr = "cpubus")); p += entry->Header.Length; } @@ -129,8 +128,7 @@ mainbus_attach(device_t parent, device_t aaa.aa_dmat = NULL; /* XXX */ aaa.aa_dmat64 = NULL; /* XXX */ config_found(self, &aaa, NULL, - CFARG_IATTR, "acpibus", - CFARG_EOL); + CFARGS(.iattr = "acpibus")); #endif return; Index: src/sys/arch/ibmnws/ibmnws/mainbus.c diff -u src/sys/arch/ibmnws/ibmnws/mainbus.c:1.16 src/sys/arch/ibmnws/ibmnws/mainbus.c:1.16.8.1 --- src/sys/arch/ibmnws/ibmnws/mainbus.c:1.16 Sat Apr 24 23:36:40 2021 +++ src/sys/arch/ibmnws/ibmnws/mainbus.c Wed Aug 4 02:35:50 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.16 2021/04/24 23:36:40 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.16.8.1 2021/08/04 02:35:50 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -108,8 +108,7 @@ mainbus_attach(device_t parent, device_t ca.ca_name = "cpu"; ca.ca_node = 0; config_found(self, &ca, mainbus_print, - CFARG_IATTR, "mainbus", - CFARG_EOL); + CFARGS(.iattr = "mainbus")); #if NOBIO > 0 obio_reserve_resource_map(); @@ -148,8 +147,7 @@ mainbus_attach(device_t parent, device_t mba.mba_pba.pba_bridgetag = NULL; mba.mba_pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY; config_found(self, &mba.mba_pba, pcibusprint, - CFARG_IATTR, "pcibus", - CFARG_EOL); + CFARGS(.iattr = "pcibus")); #endif #if NOBIO > 0 @@ -162,8 +160,7 @@ mainbus_attach(device_t parent, device_t mba.mba_pba.pba_iot = &isa_io_space_tag; mba.mba_pba.pba_memt = &isa_mem_space_tag; config_found(self, &mba.mba_pba, mainbus_print, - CFARG_IATTR, "mainbus", - CFARG_EOL); + CFARGS(.iattr = "mainbus")); } #endif #endif Index: src/sys/arch/iyonix/iyonix/obio.c diff -u src/sys/arch/iyonix/iyonix/obio.c:1.7 src/sys/arch/iyonix/iyonix/obio.c:1.7.8.1 --- src/sys/arch/iyonix/iyonix/obio.c:1.7 Sat Apr 24 23:36:40 2021 +++ src/sys/arch/iyonix/iyonix/obio.c Wed Aug 4 02:35:50 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.7 2021/04/24 23:36:40 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.7.8.1 2021/08/04 02:35:50 thorpej Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.7 2021/04/24 23:36:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.7.8.1 2021/08/04 02:35:50 thorpej Exp $"); #include #include @@ -103,8 +103,7 @@ obio_attach(device_t parent, device_t se * configuration file. */ config_search(self, NULL, - CFARG_SEARCH, obio_search, - CFARG_EOL); + CFARGS(.search = obio_search)); } int @@ -140,7 +139,7 @@ obio_search(device_t parent, cfdata_t cf oba.oba_irq = -1; if (config_probe(parent, cf, &oba)) - config_attach(parent, cf, &oba, obio_print, CFARG_EOL); + config_attach(parent, cf, &oba, obio_print, CFARGS_NONE); return (0); }
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:37:21 UTC 2021 Modified Files: src/sys/arch/landisk/dev [thorpej-cfargs2]: obio.c src/sys/arch/landisk/landisk [thorpej-cfargs2]: mainbus.c src/sys/arch/luna68k/dev [thorpej-cfargs2]: lunafb.c lunaws.c sio.c src/sys/arch/luna68k/luna68k [thorpej-cfargs2]: mainbus.c src/sys/arch/mac68k/dev [thorpej-cfargs2]: adb.c akbd.c ams.c grf_subr.c macfb.c ncr5380.c zs.c src/sys/arch/mac68k/mac68k [thorpej-cfargs2]: mainbus.c src/sys/arch/mac68k/nubus [thorpej-cfargs2]: nubus.c src/sys/arch/mac68k/obio [thorpej-cfargs2]: iwm_fd.c obio.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/landisk/dev/obio.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/landisk/landisk/mainbus.c cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/arch/luna68k/dev/lunafb.c cvs rdiff -u -r1.32 -r1.32.8.1 src/sys/arch/luna68k/dev/lunaws.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/luna68k/dev/sio.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/luna68k/luna68k/mainbus.c cvs rdiff -u -r1.58 -r1.58.8.1 src/sys/arch/mac68k/dev/adb.c cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/mac68k/dev/akbd.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/mac68k/dev/ams.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/mac68k/dev/grf_subr.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/mac68k/dev/macfb.c cvs rdiff -u -r1.69 -r1.69.8.1 src/sys/arch/mac68k/dev/ncr5380.c cvs rdiff -u -r1.59 -r1.59.8.1 src/sys/arch/mac68k/dev/zs.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/mac68k/mac68k/mainbus.c cvs rdiff -u -r1.67 -r1.67.8.1 src/sys/arch/mac68k/nubus/nubus.c cvs rdiff -u -r1.60 -r1.60.4.1 src/sys/arch/mac68k/obio/iwm_fd.c cvs rdiff -u -r1.26 -r1.26.8.1 src/sys/arch/mac68k/obio/obio.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/landisk/dev/obio.c diff -u src/sys/arch/landisk/dev/obio.c:1.10 src/sys/arch/landisk/dev/obio.c:1.10.8.1 --- src/sys/arch/landisk/dev/obio.c:1.10 Sat Apr 24 23:36:40 2021 +++ src/sys/arch/landisk/dev/obio.c Wed Aug 4 02:37:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.10 2021/04/24 23:36:40 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.10.8.1 2021/08/04 02:37:20 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.10 2021/04/24 23:36:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.10.8.1 2021/08/04 02:37:20 thorpej Exp $"); #include "btn_obio.h" #include "pwrsw_obio.h" @@ -106,8 +106,7 @@ obio_attach(device_t parent, device_t se #endif config_search(self, NULL, - CFARG_SEARCH, obio_search, - CFARG_EOL); + CFARGS(.search = obio_search)); } static int @@ -143,7 +142,7 @@ obio_search(device_t parent, cfdata_t cf tryagain = 0; if (config_probe(parent, cf, &oa)) { - config_attach(parent, cf, &oa, obio_print, CFARG_EOL); + config_attach(parent, cf, &oa, obio_print, CFARGS_NONE); tryagain = (cf->cf_fstate == FSTATE_STAR); } } while (tryagain); Index: src/sys/arch/landisk/landisk/mainbus.c diff -u src/sys/arch/landisk/landisk/mainbus.c:1.5 src/sys/arch/landisk/landisk/mainbus.c:1.5.8.1 --- src/sys/arch/landisk/landisk/mainbus.c:1.5 Sat Apr 24 23:36:40 2021 +++ src/sys/arch/landisk/landisk/mainbus.c Wed Aug 4 02:37:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.5 2021/04/24 23:36:40 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.5.8.1 2021/08/04 02:37:20 thorpej Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.5 2021/04/24 23:36:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.5.8.1 2021/08/04 02:37:20 thorpej Exp $"); #include "obio.h" #include "pci.h" @@ -80,19 +80,19 @@ mainbus_attach(device_t parent, device_t memset(&mba, 0, sizeof(mba)); mba.mba_ca.ca_name = "cpu"; mba.mba_ca.ca_node = 0; - config_found(self, &mba, mainbus_print, CFARG_EOL); + config_found(self, &mba, mainbus_print, CFARGS_NONE); #if NPCI > 0 /* SH PCIC */ memset(&mba, 0, sizeof(mba)); mba.mba_mba.ma_name = "shpcic"; - config_found(self, &mba, mainbus_print, CFARG_EOL); + config_found(self, &mba, mainbus_print, CFARGS_NONE); #endif /* SH bus */ memset(&mba, 0, sizeof(mba)); mba.mba_mba.ma_name = "shb"; - config_found(self, &mba, mainbus_print, CFARG_EOL); + config_found(self, &mba, mainbus_print, CFARGS_NONE); #if NOBIO > 0 /* on-board I/O */ @@ -100,7 +100,7 @@ mainbus_attach(device_t parent, device_t mba.mba_oba.oba_busname = "obio"; mba.mba_oba.oba_iot = &obio_bus_io; mba.mba_oba.oba_memt = &obio_bus_mem; - config_found(self, &mba, mainbus_print, CFARG_EOL); + config_found(self, &mba, mainbus_print, CFARGS_NONE); #endif } Index: src/sys/arch/luna68k/dev/lunafb.c diff -u src/sys/a
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:45:07 UTC 2021 Modified Files: src/sys/arch/mipsco/isa [thorpej-cfargs2]: isa_machdep.c src/sys/arch/mipsco/mipsco [thorpej-cfargs2]: mainbus.c src/sys/arch/mipsco/obio [thorpej-cfargs2]: obio.c zs.c src/sys/arch/mmeye/dev [thorpej-cfargs2]: mmeyepcmcia.c rtciic.c src/sys/arch/mmeye/mmeye [thorpej-cfargs2]: mainbus.c src/sys/arch/mvme68k/dev [thorpej-cfargs2]: mainbus.c pcc.c wdsc.c zs.c src/sys/arch/mvmeppc/mvmeppc [thorpej-cfargs2]: mainbus.c src/sys/arch/netwinder/pci [thorpej-cfargs2]: pcib.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/mipsco/isa/isa_machdep.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/mipsco/mipsco/mainbus.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/mipsco/obio/obio.c cvs rdiff -u -r1.26 -r1.26.8.1 src/sys/arch/mipsco/obio/zs.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/mmeye/dev/mmeyepcmcia.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/mmeye/dev/rtciic.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/mmeye/mmeye/mainbus.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/mvme68k/dev/mainbus.c cvs rdiff -u -r1.34 -r1.34.8.1 src/sys/arch/mvme68k/dev/pcc.c \ src/sys/arch/mvme68k/dev/wdsc.c cvs rdiff -u -r1.43 -r1.43.8.1 src/sys/arch/mvme68k/dev/zs.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/mvmeppc/mvmeppc/mainbus.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/netwinder/pci/pcib.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/mipsco/isa/isa_machdep.c diff -u src/sys/arch/mipsco/isa/isa_machdep.c:1.18 src/sys/arch/mipsco/isa/isa_machdep.c:1.18.8.1 --- src/sys/arch/mipsco/isa/isa_machdep.c:1.18 Sat Apr 24 23:36:43 2021 +++ src/sys/arch/mipsco/isa/isa_machdep.c Wed Aug 4 02:45:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isa_machdep.c,v 1.18 2021/04/24 23:36:43 thorpej Exp $ */ +/* $NetBSD: isa_machdep.c,v 1.18.8.1 2021/08/04 02:45:06 thorpej Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.18 2021/04/24 23:36:43 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.18.8.1 2021/08/04 02:45:06 thorpej Exp $"); #include #include @@ -144,7 +144,7 @@ isabusattach(device_t parent, device_t s (*platform.intr_establish)(SYS_INTR_ATBUS, isa_intr, ic); printf("\n"); - config_found(self, &iba, mipscoisabusprint, CFARG_EOL); + config_found(self, &iba, mipscoisabusprint, CFARGS_NONE); } int Index: src/sys/arch/mipsco/mipsco/mainbus.c diff -u src/sys/arch/mipsco/mipsco/mainbus.c:1.11 src/sys/arch/mipsco/mipsco/mainbus.c:1.11.8.1 --- src/sys/arch/mipsco/mipsco/mainbus.c:1.11 Sat Apr 24 23:36:43 2021 +++ src/sys/arch/mipsco/mipsco/mainbus.c Wed Aug 4 02:45:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:43 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 02:45:06 thorpej Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:43 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 02:45:06 thorpej Exp $"); #include #include @@ -66,15 +66,15 @@ mbattach(device_t parent, device_t self, nca.ca_name = "cpu"; nca.ca_addr = 0; - config_found(self, &nca, mbprint, CFARG_EOL); + config_found(self, &nca, mbprint, CFARGS_NONE); nca.ca_name = "obio"; nca.ca_addr = 0; - config_found(self, &nca, NULL, CFARG_EOL); + config_found(self, &nca, NULL, CFARGS_NONE); nca.ca_name = "isabus"; /* XXX */ nca.ca_addr = 0; - config_found(self, &nca, NULL, CFARG_EOL); + config_found(self, &nca, NULL, CFARGS_NONE); } Index: src/sys/arch/mipsco/obio/obio.c diff -u src/sys/arch/mipsco/obio/obio.c:1.18 src/sys/arch/mipsco/obio/obio.c:1.18.8.1 --- src/sys/arch/mipsco/obio/obio.c:1.18 Sat Apr 24 23:36:43 2021 +++ src/sys/arch/mipsco/obio/obio.c Wed Aug 4 02:45:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.18 2021/04/24 23:36:43 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.18.8.1 2021/08/04 02:45:06 thorpej Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.18 2021/04/24 23:36:43 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.18.8.1 2021/08/04 02:45:06 thorpej Exp $"); #include "locators.h" @@ -87,8 +87,7 @@ obio_attach(device_t parent, device_t se printf("\n"); config_search(self, ca, - CFARG_SEARCH, obio_search, - CFARG_EOL); + CFARGS(.search = obio_search)); } static int @@ -100,7 +99,7 @@ obio_search(device_t parent, cfdata_t cf ca->ca_name = cf->cf_name; if (config_probe(parent, cf, ca)) - config_attach(parent, cf, ca, obio_print, CFARG_EOL); + config_attach(parent, cf, ca,
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:49:41 UTC 2021 Modified Files: src/sys/arch/news68k/dev [thorpej-cfargs2]: hb.c kb_hb.c kb_kbc.c kbc.c ms_hb.c ms_kbc.c zs.c src/sys/arch/news68k/news68k [thorpej-cfargs2]: mainbus.c src/sys/arch/newsmips/apbus [thorpej-cfargs2]: apbus.c kb_ap.c ms_ap.c spifi.c xafb.c zs_ap.c src/sys/arch/newsmips/dev [thorpej-cfargs2]: fb.c hb.c kb_hb.c ms_hb.c sc_wrap.c zs_hb.c src/sys/arch/newsmips/newsmips [thorpej-cfargs2]: mainbus.c src/sys/arch/next68k/dev [thorpej-cfargs2]: intio.c nextdisplay.c nextkbd.c zs.c src/sys/arch/next68k/next68k [thorpej-cfargs2]: mainbus.c src/sys/arch/ofppc/ofppc [thorpej-cfargs2]: mainbus.c src/sys/arch/ofppc/pci [thorpej-cfargs2]: ofwpci.c src/sys/arch/playstation2/dev [thorpej-cfargs2]: ohci_sbus.c sbus.c spd.c src/sys/arch/playstation2/ee [thorpej-cfargs2]: gsfb.c src/sys/arch/playstation2/playstation2 [thorpej-cfargs2]: mainbus.c src/sys/arch/pmax/ibus [thorpej-cfargs2]: dz_ibus.c ibus.c pm.c sii.c src/sys/arch/pmax/pmax [thorpej-cfargs2]: mainbus.c src/sys/arch/pmax/tc [thorpej-cfargs2]: dt.c dtkbd.c dtms.c src/sys/arch/powerpc/booke/dev [thorpej-cfargs2]: cpunode.c pq3duart.c pq3ehci.c pq3etsec.c pq3gpio.c pq3obio.c src/sys/arch/powerpc/booke/pci [thorpej-cfargs2]: pq3pci.c src/sys/arch/powerpc/ibm4xx/dev [thorpej-cfargs2]: dwctwo_plb.c exb.c gpiic_opb.c gpio_opb.c opb.c plb.c src/sys/arch/powerpc/ibm4xx/pci [thorpej-cfargs2]: pchb.c src/sys/arch/powerpc/pci [thorpej-cfargs2]: pchb.c pcib.c src/sys/arch/prep/pci [thorpej-cfargs2]: gten.c pceb.c src/sys/arch/prep/pnpbus [thorpej-cfargs2]: pnpbus.c src/sys/arch/prep/prep [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/news68k/dev/hb.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/news68k/dev/kb_hb.c \ src/sys/arch/news68k/dev/kbc.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/news68k/dev/kb_kbc.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/news68k/dev/ms_hb.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/news68k/dev/ms_kbc.c cvs rdiff -u -r1.32 -r1.32.8.1 src/sys/arch/news68k/dev/zs.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/news68k/news68k/mainbus.c cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/newsmips/apbus/apbus.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/newsmips/apbus/kb_ap.c \ src/sys/arch/newsmips/apbus/ms_ap.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/newsmips/apbus/spifi.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/newsmips/apbus/xafb.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/newsmips/apbus/zs_ap.c cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/newsmips/dev/fb.c \ src/sys/arch/newsmips/dev/zs_hb.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/newsmips/dev/hb.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/newsmips/dev/kb_hb.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/newsmips/dev/ms_hb.c cvs rdiff -u -r1.32 -r1.32.8.1 src/sys/arch/newsmips/dev/sc_wrap.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/newsmips/newsmips/mainbus.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/next68k/dev/intio.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/next68k/dev/nextdisplay.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/next68k/dev/nextkbd.c cvs rdiff -u -r1.35 -r1.35.8.1 src/sys/arch/next68k/dev/zs.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/next68k/next68k/mainbus.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/ofppc/ofppc/mainbus.c cvs rdiff -u -r1.20 -r1.20.4.1 src/sys/arch/ofppc/pci/ofwpci.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/playstation2/dev/ohci_sbus.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/playstation2/dev/sbus.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/playstation2/dev/spd.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/playstation2/ee/gsfb.c cvs rdiff -u -r1.17 -r1.17.8.1 \ src/sys/arch/playstation2/playstation2/mainbus.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/pmax/ibus/dz_ibus.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/pmax/ibus/ibus.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/pmax/ibus/pm.c cvs rdiff -u -r1.15 -r1.15.2.1 src/sys/arch/pmax/ibus/sii.c cvs rdiff -u -r1.43 -r1.43.8.1 src/sys/arch/pmax/pmax/mainbus.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/pmax/tc/dt.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/pmax/tc/dtkbd.c \ src/sys/arch/pmax/tc/dtms.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/powerpc/booke/dev/cpunode.c \ src/sys/arch/powerpc/booke/dev/pq3duart.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/powerpc/booke/dev/pq3ehci.c cvs rdiff -u -r1.55 -r1.55.2.1 src/sys/arch/powerpc/booke/dev/pq3etsec.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/powerpc/booke/dev/pq3gpio.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/powerpc/booke/dev/pq3obio.c cvs
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:53:01 UTC 2021 Modified Files: src/sys/arch/riscv/htif [thorpej-cfargs2]: htif.c src/sys/arch/riscv/riscv [thorpej-cfargs2]: mainbus.c src/sys/arch/rs6000/mca [thorpej-cfargs2]: ioplanar.c src/sys/arch/rs6000/rs6000 [thorpej-cfargs2]: mainbus.c src/sys/arch/sandpoint/sandpoint [thorpej-cfargs2]: eumb.c mainbus.c nhpow.c src/sys/arch/sbmips/sbmips [thorpej-cfargs2]: zbbus.c src/sys/arch/sgimips/dev [thorpej-cfargs2]: crmfb.c imc.c pic.c zs.c zs_kbd.c zs_ms.c src/sys/arch/sgimips/gio [thorpej-cfargs2]: gio.c grtwo.c light.c newport.c pci_gio.c src/sys/arch/sgimips/hpc [thorpej-cfargs2]: hpc.c pi1ppc.c src/sys/arch/sgimips/ioc [thorpej-cfargs2]: ioc.c oioc.c src/sys/arch/sgimips/mace [thorpej-cfargs2]: mace.c pci_mace.c src/sys/arch/sgimips/sgimips [thorpej-cfargs2]: mainbus.c src/sys/arch/sh3/dev [thorpej-cfargs2]: adc.c shb.c shpcic.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/riscv/htif/htif.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/riscv/riscv/mainbus.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/rs6000/mca/ioplanar.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/rs6000/rs6000/mainbus.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/sandpoint/sandpoint/eumb.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/sandpoint/sandpoint/mainbus.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/sandpoint/sandpoint/nhpow.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/sbmips/sbmips/zbbus.c cvs rdiff -u -r1.48 -r1.48.8.1 src/sys/arch/sgimips/dev/crmfb.c cvs rdiff -u -r1.36 -r1.36.8.1 src/sys/arch/sgimips/dev/imc.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/sgimips/dev/pic.c cvs rdiff -u -r1.40 -r1.40.8.1 src/sys/arch/sgimips/dev/zs.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/sgimips/dev/zs_kbd.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/sgimips/dev/zs_ms.c cvs rdiff -u -r1.37 -r1.37.8.1 src/sys/arch/sgimips/gio/gio.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/sgimips/gio/grtwo.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/sgimips/gio/light.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/sgimips/gio/newport.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/sgimips/gio/pci_gio.c cvs rdiff -u -r1.72 -r1.72.8.1 src/sys/arch/sgimips/hpc/hpc.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/sgimips/hpc/pi1ppc.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/sgimips/ioc/ioc.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/sgimips/ioc/oioc.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/sgimips/mace/mace.c \ src/sys/arch/sgimips/mace/pci_mace.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/sgimips/sgimips/mainbus.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/sh3/dev/adc.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/sh3/dev/shb.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/sh3/dev/shpcic.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/riscv/htif/htif.c diff -u src/sys/arch/riscv/htif/htif.c:1.3 src/sys/arch/riscv/htif/htif.c:1.3.8.1 --- src/sys/arch/riscv/htif/htif.c:1.3 Sat Apr 24 23:36:47 2021 +++ src/sys/arch/riscv/htif/htif.c Wed Aug 4 02:52:59 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: htif.c,v 1.3 2021/04/24 23:36:47 thorpej Exp $ */ +/* $NetBSD: htif.c,v 1.3.8.1 2021/08/04 02:52:59 thorpej Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include -__RCSID("$NetBSD: htif.c,v 1.3 2021/04/24 23:36:47 thorpej Exp $"); +__RCSID("$NetBSD: htif.c,v 1.3.8.1 2021/08/04 02:52:59 thorpej Exp $"); #include #include @@ -68,7 +68,7 @@ htif_mainbus_attach(device_t parent, dev struct htif_attach_args haa; haa.haa_name = "htifcons"; - config_found(self, &haa, htif_mainbus_print, CFARG_EOL); + config_found(self, &haa, htif_mainbus_print, CFARGS_NONE); haa.haa_name = "htifdisk"; - config_found(self, &haa, htif_mainbus_print, CFARG_EOL); + config_found(self, &haa, htif_mainbus_print, CFARGS_NONE); } Index: src/sys/arch/riscv/riscv/mainbus.c diff -u src/sys/arch/riscv/riscv/mainbus.c:1.3 src/sys/arch/riscv/riscv/mainbus.c:1.3.8.1 --- src/sys/arch/riscv/riscv/mainbus.c:1.3 Sat Apr 24 23:36:47 2021 +++ src/sys/arch/riscv/riscv/mainbus.c Wed Aug 4 02:52:59 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.3 2021/04/24 23:36:47 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.3.8.1 2021/08/04 02:52:59 thorpej Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ #include -__RCSID("$NetBSD: mainbus.c,v 1.3 2021/04/24 23:36:47 thorpej Exp $"); +__RCSID("$NetBSD: mainbus.c,v 1.3.8.1 2021/08/04 02:52:59 thorpej Exp $"); #include #include @@ -72,5 +72,5 @@ mainbus_attach(device_t parent, device_t maa.maa_name = "cpu"; maa.maa_instance = 0; - config_found(self, &maa, mainbus_print, CFARG_EOL); + config_found(self, &
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:57:07 UTC 2021 Modified Files: src/sys/arch/shark/ofw [thorpej-cfargs2]: ofisascr.c vlpci.c src/sys/arch/shark/shark [thorpej-cfargs2]: sequoia.c shark_iic.c src/sys/arch/sparc/dev [thorpej-cfargs2]: bootbus.c cgfourteen.c ebus.c fd.c obio.c sbus.c ts102.c vme_machdep.c zs.c src/sys/arch/sparc/sparc [thorpej-cfargs2]: autoconf.c cpuunit.c iommu.c msiiep.c src/sys/arch/sparc64/dev [thorpej-cfargs2]: cbus.c central.c com_ebus.c ebus.c ebus_mainbus.c fdc.c ffb.c fhc.c gfb.c jbus-i2c.c psycho.c pyro.c sab.c sbus.c schizo.c upa.c vbus.c vdsk.c vpci.c zs.c src/sys/arch/sparc64/sparc64 [thorpej-cfargs2]: autoconf.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/shark/ofw/ofisascr.c \ src/sys/arch/shark/ofw/vlpci.c cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/arch/shark/shark/sequoia.c cvs rdiff -u -r1.1 -r1.1.8.1 src/sys/arch/shark/shark/shark_iic.c cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/arch/sparc/dev/bootbus.c cvs rdiff -u -r1.89 -r1.89.8.1 src/sys/arch/sparc/dev/cgfourteen.c cvs rdiff -u -r1.40 -r1.40.4.1 src/sys/arch/sparc/dev/ebus.c cvs rdiff -u -r1.162 -r1.162.8.1 src/sys/arch/sparc/dev/fd.c cvs rdiff -u -r1.75 -r1.75.8.1 src/sys/arch/sparc/dev/obio.c cvs rdiff -u -r1.82 -r1.82.4.1 src/sys/arch/sparc/dev/sbus.c cvs rdiff -u -r1.20 -r1.20.2.1 src/sys/arch/sparc/dev/ts102.c cvs rdiff -u -r1.73 -r1.73.4.1 src/sys/arch/sparc/dev/vme_machdep.c cvs rdiff -u -r1.122 -r1.122.8.1 src/sys/arch/sparc/dev/zs.c cvs rdiff -u -r1.268 -r1.268.2.1 src/sys/arch/sparc/sparc/autoconf.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/sparc/sparc/cpuunit.c cvs rdiff -u -r1.98 -r1.98.4.1 src/sys/arch/sparc/sparc/iommu.c cvs rdiff -u -r1.51 -r1.51.4.1 src/sys/arch/sparc/sparc/msiiep.c cvs rdiff -u -r1.6 -r1.6.4.1 src/sys/arch/sparc64/dev/cbus.c cvs rdiff -u -r1.7 -r1.7.4.1 src/sys/arch/sparc64/dev/central.c \ src/sys/arch/sparc64/dev/vbus.c cvs rdiff -u -r1.35 -r1.35.8.1 src/sys/arch/sparc64/dev/com_ebus.c cvs rdiff -u -r1.67 -r1.67.4.1 src/sys/arch/sparc64/dev/ebus.c cvs rdiff -u -r1.20 -r1.20.4.1 src/sys/arch/sparc64/dev/ebus_mainbus.c cvs rdiff -u -r1.50 -r1.50.8.1 src/sys/arch/sparc64/dev/fdc.c cvs rdiff -u -r1.66 -r1.66.8.1 src/sys/arch/sparc64/dev/ffb.c cvs rdiff -u -r1.9 -r1.9.4.1 src/sys/arch/sparc64/dev/fhc.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/sparc64/dev/gfb.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/sparc64/dev/jbus-i2c.c cvs rdiff -u -r1.134 -r1.134.4.1 src/sys/arch/sparc64/dev/psycho.c cvs rdiff -u -r1.24 -r1.24.4.1 src/sys/arch/sparc64/dev/pyro.c cvs rdiff -u -r1.56 -r1.56.8.1 src/sys/arch/sparc64/dev/sab.c cvs rdiff -u -r1.102 -r1.102.4.1 src/sys/arch/sparc64/dev/sbus.c cvs rdiff -u -r1.45 -r1.45.4.1 src/sys/arch/sparc64/dev/schizo.c cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/arch/sparc64/dev/upa.c cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/arch/sparc64/dev/vdsk.c cvs rdiff -u -r1.11 -r1.11.4.1 src/sys/arch/sparc64/dev/vpci.c cvs rdiff -u -r1.76 -r1.76.8.1 src/sys/arch/sparc64/dev/zs.c cvs rdiff -u -r1.233 -r1.233.2.1 src/sys/arch/sparc64/sparc64/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/shark/ofw/ofisascr.c diff -u src/sys/arch/shark/ofw/ofisascr.c:1.11 src/sys/arch/shark/ofw/ofisascr.c:1.11.8.1 --- src/sys/arch/shark/ofw/ofisascr.c:1.11 Sat Apr 24 23:36:48 2021 +++ src/sys/arch/shark/ofw/ofisascr.c Wed Aug 4 02:57:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ofisascr.c,v 1.11 2021/04/24 23:36:48 thorpej Exp $ */ +/* $NetBSD: ofisascr.c,v 1.11.8.1 2021/08/04 02:57:06 thorpej Exp $ */ /* * Copyright 1997 @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ofisascr.c,v 1.11 2021/04/24 23:36:48 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofisascr.c,v 1.11.8.1 2021/08/04 02:57:06 thorpej Exp $"); #include #include @@ -105,6 +105,5 @@ ofisascrattach(device_t parent, device_t ia.ia_aux = (void *)oba->oba_phandle; config_found(dev, &ia, NULL, - CFARG_DEVHANDLE, devhandle_from_of(oba->oba_phandle), - CFARG_EOL); + CFARGS(.devhandle = devhandle_from_of(oba->oba_phandle))); } Index: src/sys/arch/shark/ofw/vlpci.c diff -u src/sys/arch/shark/ofw/vlpci.c:1.11 src/sys/arch/shark/ofw/vlpci.c:1.11.8.1 --- src/sys/arch/shark/ofw/vlpci.c:1.11 Sat Apr 24 23:36:48 2021 +++ src/sys/arch/shark/ofw/vlpci.c Wed Aug 4 02:57:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vlpci.c,v 1.11 2021/04/24 23:36:48 thorpej Exp $ */ +/* $NetBSD: vlpci.c,v 1.11.8.1 2021/08/04 02:57:06 thorpej Exp $ */ /* * Copyright (c) 2017 Jonathan A. Kollasch @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.11 2021/04/24 23:36:48 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.11.8.1 2021/08/04 02:57:06 thorpej Exp $"); #include "opt_pci.h"
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:58:24 UTC 2021 Modified Files: src/sys/arch/sun2/dev [thorpej-cfargs2]: zs.c src/sys/arch/sun2/sun2 [thorpej-cfargs2]: mbio.c mbmem.c obio.c obmem.c src/sys/arch/sun3/dev [thorpej-cfargs2]: fd.c sebuf.c xd.c xy.c zs.c src/sys/arch/sun3/sun3 [thorpej-cfargs2]: autoconf.c mainbus.c obio.c obmem.c vme.c src/sys/arch/sun3/sun3x [thorpej-cfargs2]: obio.c vme.c src/sys/arch/sun68k/sun68k [thorpej-cfargs2]: autoconf.c vme_sun68k.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/sun2/dev/zs.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/sun2/sun2/mbio.c \ src/sys/arch/sun2/sun2/obio.c src/sys/arch/sun2/sun2/obmem.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/sun2/sun2/mbmem.c cvs rdiff -u -r1.85 -r1.85.8.1 src/sys/arch/sun3/dev/fd.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/sun3/dev/sebuf.c cvs rdiff -u -r1.76 -r1.76.8.1 src/sys/arch/sun3/dev/xd.c cvs rdiff -u -r1.81 -r1.81.8.1 src/sys/arch/sun3/dev/xy.c cvs rdiff -u -r1.89 -r1.89.8.1 src/sys/arch/sun3/dev/zs.c cvs rdiff -u -r1.80 -r1.80.8.1 src/sys/arch/sun3/sun3/autoconf.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/sun3/sun3/mainbus.c cvs rdiff -u -r1.58 -r1.58.8.1 src/sys/arch/sun3/sun3/obio.c cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/sun3/sun3/obmem.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/sun3/sun3/vme.c cvs rdiff -u -r1.35 -r1.35.8.1 src/sys/arch/sun3/sun3x/obio.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/sun3/sun3x/vme.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/sun68k/sun68k/autoconf.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/sun68k/sun68k/vme_sun68k.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/sun2/dev/zs.c diff -u src/sys/arch/sun2/dev/zs.c:1.22 src/sys/arch/sun2/dev/zs.c:1.22.8.1 --- src/sys/arch/sun2/dev/zs.c:1.22 Sat Apr 24 23:36:49 2021 +++ src/sys/arch/sun2/dev/zs.c Wed Aug 4 02:58:23 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: zs.c,v 1.22 2021/04/24 23:36:49 thorpej Exp $ */ +/* $NetBSD: zs.c,v 1.22.8.1 2021/08/04 02:58:23 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.22 2021/04/24 23:36:49 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.22.8.1 2021/08/04 02:58:23 thorpej Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -233,7 +233,7 @@ zs_attach(struct zsc_softc *zsc, struct * The child attach will setup the hardware. */ if ((child = config_found(zsc->zsc_dev, (void *)&zsc_args, - zs_print, CFARG_EOL)) == NULL) { + zs_print, CFARGS_NONE)) == NULL) { /* No sub-driver. Just reset it. */ uint8_t reset = (channel == 0) ? ZSWR9_A_RESET : ZSWR9_B_RESET; @@ -274,14 +274,14 @@ zs_attach(struct zsc_softc *zsc, struct #if (NKBD > 0) kma.kmta_name = "keyboard"; config_found(child, (void *)&kma, NULL, - CFARG_EOL); + CFARGS_NONE); #endif break; case ZS_PERIPHERAL_SUNMS: #if (NMS > 0) kma.kmta_name = "mouse"; config_found(child, (void *)&kma, NULL, - CFARG_EOL); + CFARGS_NONE); #endif break; default: Index: src/sys/arch/sun2/sun2/mbio.c diff -u src/sys/arch/sun2/sun2/mbio.c:1.20 src/sys/arch/sun2/sun2/mbio.c:1.20.8.1 --- src/sys/arch/sun2/sun2/mbio.c:1.20 Sat Apr 24 23:36:49 2021 +++ src/sys/arch/sun2/sun2/mbio.c Wed Aug 4 02:58:23 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mbio.c,v 1.20 2021/04/24 23:36:49 thorpej Exp $ */ +/* $NetBSD: mbio.c,v 1.20.8.1 2021/08/04 02:58:23 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mbio.c,v 1.20 2021/04/24 23:36:49 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mbio.c,v 1.20.8.1 2021/08/04 02:58:23 thorpej Exp $"); #include #include @@ -130,15 +130,13 @@ mbio_attach(device_t parent, device_t se for (cpp = special; *cpp != NULL; cpp++) { mba.mba_name = *cpp; config_search(self, &mba, - CFARG_SEARCH, sun68k_bus_search, - CFARG_EOL); + CFARGS(.search = sun68k_bus_search)); } /* Find all other mbio devices */ mba.mba_name = NULL; config_search(self, &mba, - CFARG_SEARCH, sun68k_bus_search, - CFARG_EOL); + CFARGS(.search = sun68k_bus_search)); } int Index: src/sys/arch/sun2/sun2/obio.c diff -u src/sys/arch/sun2/sun2/obio.c:1.20 src/sys/arch/sun2/sun2/obio.c:1.20.8.1 --- src/sys/arch/sun2/sun2/obio.c:1.20 Sat Apr 24 23:36:49 2021 +++ src/sys/arch/sun2/sun2/obio.c Wed Aug 4 02:58:23 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.20 2021/04/24 23:36:49 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.20.8.1 2021/08/04 02:58:23 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0,
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:00:08 UTC 2021 Modified Files: src/sys/arch/usermode/dev [thorpej-cfargs2]: mainbus.c vatapi.c vncfb.c src/sys/arch/vax/mba [thorpej-cfargs2]: mba.c src/sys/arch/vax/uba [thorpej-cfargs2]: qv.c qvaux.c qvkbd.c qvms.c src/sys/arch/vax/vax [thorpej-cfargs2]: autoconf.c cmi.c ka860.c nmi_mainbus.c sbi.c ubi.c src/sys/arch/vax/vsa [thorpej-cfargs2]: dz_vsbus.c hdc9224.c lcg.c smg.c spx.c vsbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/usermode/dev/mainbus.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/usermode/dev/vatapi.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/usermode/dev/vncfb.c cvs rdiff -u -r1.41 -r1.41.8.1 src/sys/arch/vax/mba/mba.c cvs rdiff -u -r1.37 -r1.37.8.1 src/sys/arch/vax/uba/qv.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/vax/uba/qvaux.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/vax/uba/qvkbd.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/vax/uba/qvms.c cvs rdiff -u -r1.98 -r1.98.8.1 src/sys/arch/vax/vax/autoconf.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/vax/vax/cmi.c cvs rdiff -u -r1.35 -r1.35.8.1 src/sys/arch/vax/vax/ka860.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/vax/vax/nmi_mainbus.c cvs rdiff -u -r1.39 -r1.39.8.1 src/sys/arch/vax/vax/sbi.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/vax/vax/ubi.c cvs rdiff -u -r1.45 -r1.45.8.1 src/sys/arch/vax/vsa/dz_vsbus.c cvs rdiff -u -r1.61 -r1.61.8.1 src/sys/arch/vax/vsa/hdc9224.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/vax/vsa/lcg.c cvs rdiff -u -r1.60 -r1.60.8.1 src/sys/arch/vax/vsa/smg.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/vax/vsa/spx.c cvs rdiff -u -r1.66 -r1.66.8.1 src/sys/arch/vax/vsa/vsbus.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/usermode/dev/mainbus.c diff -u src/sys/arch/usermode/dev/mainbus.c:1.11 src/sys/arch/usermode/dev/mainbus.c:1.11.8.1 --- src/sys/arch/usermode/dev/mainbus.c:1.11 Sat Apr 24 23:36:50 2021 +++ src/sys/arch/usermode/dev/mainbus.c Wed Aug 4 03:00:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:50 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 03:00:08 thorpej Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:50 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 03:00:08 thorpej Exp $"); #include #include @@ -80,45 +80,45 @@ mainbus_attach(device_t parent, device_t sc->sc_dev = self; taa.taa_type = THUNKBUS_TYPE_CPU; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); taa.taa_type = THUNKBUS_TYPE_TTYCONS; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); if (usermode_vnc_port > 0 && usermode_vnc_port < 65536) { taa.taa_type = THUNKBUS_TYPE_VNCFB; taa.u.vnc.width = usermode_vnc_width; taa.u.vnc.height = usermode_vnc_height; taa.u.vnc.port = usermode_vnc_port; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); } taa.taa_type = THUNKBUS_TYPE_CLOCK; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); if (usermode_tap_device) { taa.taa_type = THUNKBUS_TYPE_VETH; taa.u.veth.device = usermode_tap_device; taa.u.veth.eaddr = usermode_tap_eaddr; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); } if (usermode_audio_device) { taa.taa_type = THUNKBUS_TYPE_VAUDIO; taa.u.vaudio.device = usermode_audio_device; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); } for (i = 0; i < usermode_disk_image_path_count; i++) { taa.taa_type = THUNKBUS_TYPE_DISKIMAGE; taa.u.diskimage.path = usermode_disk_image_path[i]; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); } for (i = 0; i < usermode_vdev_count; i++) { taa.taa_type = usermode_vdev_type[i]; taa.u.vdev.path = usermode_vdev_path[i]; - config_found(self, &taa, mainbus_print, CFARG_EOL); + config_found(self, &taa, mainbus_print, CFARGS_NONE); } } Index: src/sys/arch/usermode/dev/vatapi.c diff -u src/sys/arch/usermode/dev/vatapi.c:1.3 src/sys/arch/usermode/dev/vatapi.c:1.3.8.1 --- src/sys/arch/usermode/dev/vatapi.c:1.3 Sat Apr 24 23:36:50 2021 +++ src/sys/arch/usermode/dev/vatapi.c Wed Aug 4 03:00:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vatapi.c,v 1.3 2021/04/24 23:36:50 thorpej Exp $ */ +/* $NetBSD: vatapi.c,v 1.3.8.1 2021/08/04 03:00:08 thorpej Exp $ */ /*- * Copyright (c) 2018 Reinoud
CVS commit: [thorpej-cfargs2] src/sys/arch
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:03:31 UTC 2021 Modified Files: src/sys/arch/x68k/dev [thorpej-cfargs2]: fd.c grf_machdep.c intio.c mfp.c mha.c neptune.c scsirom.c zs.c src/sys/arch/x68k/x68k [thorpej-cfargs2]: mainbus.c src/sys/arch/x86/pci [thorpej-cfargs2]: amdnb_misc.c amdpcib.c amdsmn.c dwiic_pci.c ichlpcib.c pchb.c pcib.c tcpcib.c src/sys/arch/x86/pci/imcsmb [thorpej-cfargs2]: imc.c imcsmb.c src/sys/arch/x86/x86 [thorpej-cfargs2]: cpu.c mainbus.c mp.c mpacpi.c mpbios.c src/sys/arch/xen/x86 [thorpej-cfargs2]: cpu.c xen_mainbus.c src/sys/arch/xen/xen [thorpej-cfargs2]: hypervisor.c xpci_xenbus.c src/sys/arch/xen/xenbus [thorpej-cfargs2]: xenbus_probe.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.124.8.1 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/x68k/dev/grf_machdep.c cvs rdiff -u -r1.48 -r1.48.8.1 src/sys/arch/x68k/dev/intio.c cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/x68k/dev/mfp.c cvs rdiff -u -r1.55 -r1.55.8.1 src/sys/arch/x68k/dev/mha.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/x68k/dev/neptune.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/x68k/dev/scsirom.c cvs rdiff -u -r1.45 -r1.45.8.1 src/sys/arch/x68k/dev/zs.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/x68k/x68k/mainbus.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/x86/pci/amdnb_misc.c \ src/sys/arch/x86/pci/amdpcib.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/x86/pci/amdsmn.c cvs rdiff -u -r1.5 -r1.5.4.1 src/sys/arch/x86/pci/dwiic_pci.c cvs rdiff -u -r1.53 -r1.53.8.1 src/sys/arch/x86/pci/ichlpcib.c cvs rdiff -u -r1.36 -r1.36.8.1 src/sys/arch/x86/pci/pchb.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/x86/pci/pcib.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/x86/pci/tcpcib.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/x86/pci/imcsmb/imc.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/x86/pci/imcsmb/imcsmb.c cvs rdiff -u -r1.200 -r1.200.8.1 src/sys/arch/x86/x86/cpu.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/x86/x86/mainbus.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/x86/x86/mp.c cvs rdiff -u -r1.106 -r1.106.4.1 src/sys/arch/x86/x86/mpacpi.c cvs rdiff -u -r1.69 -r1.69.8.1 src/sys/arch/x86/x86/mpbios.c cvs rdiff -u -r1.140 -r1.140.8.1 src/sys/arch/xen/x86/cpu.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/xen/x86/xen_mainbus.c cvs rdiff -u -r1.91 -r1.91.8.1 src/sys/arch/xen/xen/hypervisor.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/xen/xen/xpci_xenbus.c cvs rdiff -u -r1.57 -r1.57.2.1 src/sys/arch/xen/xenbus/xenbus_probe.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/x68k/dev/fd.c diff -u src/sys/arch/x68k/dev/fd.c:1.124 src/sys/arch/x68k/dev/fd.c:1.124.8.1 --- src/sys/arch/x68k/dev/fd.c:1.124 Sat Apr 24 23:36:51 2021 +++ src/sys/arch/x68k/dev/fd.c Wed Aug 4 03:03:30 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.124 2021/04/24 23:36:51 thorpej Exp $ */ +/* $NetBSD: fd.c,v 1.124.8.1 2021/08/04 03:03:30 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.124 2021/04/24 23:36:51 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.124.8.1 2021/08/04 03:03:30 thorpej Exp $"); #include "opt_ddb.h" #include "opt_m68k_arch.h" @@ -514,7 +514,7 @@ fdcattach(device_t parent, device_t self /* physical limit: four drives per controller. */ for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { - (void)config_found(self, (void *)&fa, fdprint, CFARG_EOL); + (void)config_found(self, (void *)&fa, fdprint, CFARGS_NONE); } intio_enable_intr(SICILIAN_INTR_FDC); Index: src/sys/arch/x68k/dev/grf_machdep.c diff -u src/sys/arch/x68k/dev/grf_machdep.c:1.33 src/sys/arch/x68k/dev/grf_machdep.c:1.33.8.1 --- src/sys/arch/x68k/dev/grf_machdep.c:1.33 Sat Apr 24 23:36:51 2021 +++ src/sys/arch/x68k/dev/grf_machdep.c Wed Aug 4 03:03:30 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: grf_machdep.c,v 1.33 2021/04/24 23:36:51 thorpej Exp $ */ +/* $NetBSD: grf_machdep.c,v 1.33.8.1 2021/08/04 03:03:30 thorpej Exp $ */ /* * Copyright (c) 1991 University of Utah. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: grf_machdep.c,v 1.33 2021/04/24 23:36:51 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: grf_machdep.c,v 1.33.8.1 2021/08/04 03:03:30 thorpej Exp $"); #include "locators.h" @@ -93,15 +93,14 @@ grfbusattach(device_t parent, device_t s aprint_normal("\n"); config_search(self, NULL, - CFARG_SEARCH, grfbussearch, - CFARG_EOL); + CFARGS(.search = grfbussearch)); } int grfbussearch(device_t self, cfdata_t match, const int *ldesc, void *aux) { - config_found(self, &match->cf_loc[GRFBCF_ADDR], grfbusprint, CFARG_EOL); + config_found(self, &match->cf_loc[GRFBCF_ADDR], grfbusprint, CFARGS_NONE); return (0); } @@ -1
CVS commit: [thorpej-cfargs2] src/sys/arch/alpha
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:14:59 UTC 2021 Modified Files: src/sys/arch/alpha/alpha [thorpej-cfargs2]: mainbus.c src/sys/arch/alpha/jensenio [thorpej-cfargs2]: jensenio.c src/sys/arch/alpha/mcbus [thorpej-cfargs2]: mcbus.c src/sys/arch/alpha/pci [thorpej-cfargs2]: apecs.c cia.c dwlpx.c irongate.c lca.c mcpcia.c sio.c tsc.c tsciic.c ttwoga.c src/sys/arch/alpha/sableio [thorpej-cfargs2]: sableio.c src/sys/arch/alpha/tc [thorpej-cfargs2]: tcasic.c src/sys/arch/alpha/tlsb [thorpej-cfargs2]: gbus.c kftxx.c tlsb.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.2.1 src/sys/arch/alpha/alpha/mainbus.c cvs rdiff -u -r1.21 -r1.21.6.1 src/sys/arch/alpha/jensenio/jensenio.c cvs rdiff -u -r1.24 -r1.24.2.1 src/sys/arch/alpha/mcbus/mcbus.c cvs rdiff -u -r1.58 -r1.58.2.1 src/sys/arch/alpha/pci/apecs.c cvs rdiff -u -r1.78 -r1.78.2.1 src/sys/arch/alpha/pci/cia.c cvs rdiff -u -r1.42 -r1.42.2.1 src/sys/arch/alpha/pci/dwlpx.c cvs rdiff -u -r1.20 -r1.20.2.1 src/sys/arch/alpha/pci/irongate.c cvs rdiff -u -r1.56 -r1.56.2.1 src/sys/arch/alpha/pci/lca.c cvs rdiff -u -r1.34 -r1.34.2.1 src/sys/arch/alpha/pci/mcpcia.c cvs rdiff -u -r1.56 -r1.56.6.1 src/sys/arch/alpha/pci/sio.c cvs rdiff -u -r1.28 -r1.28.2.1 src/sys/arch/alpha/pci/tsc.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/alpha/pci/tsciic.c cvs rdiff -u -r1.19 -r1.19.2.1 src/sys/arch/alpha/pci/ttwoga.c cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/arch/alpha/sableio/sableio.c cvs rdiff -u -r1.51 -r1.51.6.1 src/sys/arch/alpha/tc/tcasic.c cvs rdiff -u -r1.24 -r1.24.6.1 src/sys/arch/alpha/tlsb/gbus.c cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/arch/alpha/tlsb/kftxx.c cvs rdiff -u -r1.40 -r1.40.2.1 src/sys/arch/alpha/tlsb/tlsb.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/alpha/alpha/mainbus.c diff -u src/sys/arch/alpha/alpha/mainbus.c:1.36 src/sys/arch/alpha/alpha/mainbus.c:1.36.2.1 --- src/sys/arch/alpha/alpha/mainbus.c:1.36 Wed Jul 7 03:24:26 2021 +++ src/sys/arch/alpha/alpha/mainbus.c Tue Aug 3 23:14:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.36 2021/07/07 03:24:26 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.36.2.1 2021/08/03 23:14:58 thorpej Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -29,7 +29,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.36 2021/07/07 03:24:26 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.36.2.1 2021/08/03 23:14:58 thorpej Exp $"); #include #include @@ -85,7 +85,7 @@ mbattach(device_t parent, device_t self, ma.ma_name = "cpu"; ma.ma_slot = i; - if (config_found(self, &ma, mbprint, CFARG_EOL) != NULL) + if (config_found(self, &ma, mbprint, CFARGS_NONE) != NULL) cpuattachcnt++; } if (ncpus != cpuattachcnt) @@ -98,13 +98,13 @@ mbattach(device_t parent, device_t self, if (alpha_is_qemu) { ma.ma_name = "qemu"; ma.ma_slot = 0; /* meaningless */ - config_found(self, &ma, mbprint, CFARG_EOL); + config_found(self, &ma, mbprint, CFARGS_NONE); } if (platform.iobus != NULL) { ma.ma_name = platform.iobus; ma.ma_slot = 0; /* meaningless */ - config_found(self, &ma, mbprint, CFARG_EOL); + config_found(self, &ma, mbprint, CFARGS_NONE); } } Index: src/sys/arch/alpha/jensenio/jensenio.c diff -u src/sys/arch/alpha/jensenio/jensenio.c:1.21 src/sys/arch/alpha/jensenio/jensenio.c:1.21.6.1 --- src/sys/arch/alpha/jensenio/jensenio.c:1.21 Fri May 7 16:58:34 2021 +++ src/sys/arch/alpha/jensenio/jensenio.c Tue Aug 3 23:14:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: jensenio.c,v 1.21 2021/05/07 16:58:34 thorpej Exp $ */ +/* $NetBSD: jensenio.c,v 1.21.6.1 2021/08/03 23:14:58 thorpej Exp $ */ /*- * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. @@ -43,7 +43,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: jensenio.c,v 1.21 2021/05/07 16:58:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: jensenio.c,v 1.21.6.1 2021/08/03 23:14:58 thorpej Exp $"); #include #include @@ -186,10 +186,9 @@ jensenio_attach(device_t parent, device_ locs[JENSENIOCF_PORT] = jensenio_devs[i].jd_ioaddr; config_found(self, &ja, jensenio_print, - CFARG_SUBMATCH, config_stdsubmatch, - CFARG_IATTR, "jensenio", - CFARG_LOCATORS, locs, - CFARG_EOL); + CFARGS(.submatch = config_stdsubmatch, + .iattr = "jensenio", + .locators = locs)); } /* @@ -203,8 +202,7 @@ jensenio_attach(device_t parent, device_ ja.ja_eisa.eba_dmat = &jcp->jc_dmat_eisa; ja.ja_eisa.eba_ec = &jcp->jc_ec; config_found(self, &ja.ja_eisa, eisabusprint, - CFARG_IATTR, "eisabus", - CFARG_EOL); + CFARGS(.iattr = "eisabus")); /* * Attach the ISA bus. @@ -217,8 +215,7 @@ jensenio_attach(device_t parent, device_ ja.
CVS commit: [thorpej-cfargs2] src/sys/arch/acorn32
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:19:53 UTC 2021 Modified Files: src/sys/arch/acorn32/eb7500atx [thorpej-cfargs2]: rsbus.c src/sys/arch/acorn32/mainbus [thorpej-cfargs2]: fd.c pioc.c src/sys/arch/acorn32/podulebus [thorpej-cfargs2]: amps.c asc.c cosc.c csc.c podulebus.c ptsc.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/acorn32/eb7500atx/rsbus.c cvs rdiff -u -r1.63 -r1.63.8.1 src/sys/arch/acorn32/mainbus/fd.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/acorn32/mainbus/pioc.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/acorn32/podulebus/amps.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/acorn32/podulebus/asc.c \ src/sys/arch/acorn32/podulebus/cosc.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/acorn32/podulebus/csc.c \ src/sys/arch/acorn32/podulebus/ptsc.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/acorn32/podulebus/podulebus.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.11 src/sys/arch/acorn32/eb7500atx/rsbus.c:1.11.8.1 --- src/sys/arch/acorn32/eb7500atx/rsbus.c:1.11 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/acorn32/eb7500atx/rsbus.c Tue Aug 3 23:19:52 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: rsbus.c,v 1.11 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: rsbus.c,v 1.11.8.1 2021/08/03 23:19:52 thorpej Exp $ */ /* * Copyright (c) 2002 @@ -29,7 +29,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.11 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.11.8.1 2021/08/03 23:19:52 thorpej Exp $"); #include #include @@ -71,8 +71,7 @@ rsbus_attach(device_t parent, device_t s * Attach each devices */ config_search(self, NULL, - CFARG_SEARCH, rsbus_search, - CFARG_EOL); + CFARGS(.search = rsbus_search)); } static int @@ -87,7 +86,7 @@ rsbus_search(device_t parent, cfdata_t c sa.sa_intr = cf->cf_loc[RSBUSCF_IRQ]; if (config_probe(parent, cf, &sa)) - config_attach(parent, cf, &sa, rsbus_print, CFARG_EOL); + config_attach(parent, cf, &sa, rsbus_print, CFARGS_NONE); return (0); } Index: src/sys/arch/acorn32/mainbus/fd.c diff -u src/sys/arch/acorn32/mainbus/fd.c:1.63 src/sys/arch/acorn32/mainbus/fd.c:1.63.8.1 --- src/sys/arch/acorn32/mainbus/fd.c:1.63 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/acorn32/mainbus/fd.c Tue Aug 3 23:19:53 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.63 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: fd.c,v 1.63.8.1 2021/08/03 23:19:53 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.63 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.63.8.1 2021/08/03 23:19:53 thorpej Exp $"); #include "opt_ddb.h" @@ -431,7 +431,7 @@ fdcattach(device_t parent, device_t self type, fa.fa_drive); else fa.fa_deftype = NULL; /* unknown */ - (void)config_found(self, (void *)&fa, fdprint, CFARG_EOL); + (void)config_found(self, (void *)&fa, fdprint, CFARGS_NONE); } } Index: src/sys/arch/acorn32/mainbus/pioc.c diff -u src/sys/arch/acorn32/mainbus/pioc.c:1.19 src/sys/arch/acorn32/mainbus/pioc.c:1.19.8.1 --- src/sys/arch/acorn32/mainbus/pioc.c:1.19 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/acorn32/mainbus/pioc.c Tue Aug 3 23:19:53 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pioc.c,v 1.19 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: pioc.c,v 1.19.8.1 2021/08/03 23:19:53 thorpej Exp $ */ /* * Copyright (c) 1997 Mark Brinicombe. @@ -41,7 +41,7 @@ /*#define PIOC_DEBUG*/ #include -__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.19 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.19.8.1 2021/08/03 23:19:53 thorpej Exp $"); #include #include @@ -234,7 +234,7 @@ piocsearch(device_t parent, cfdata_t cf, tryagain = 0; if (config_probe(parent, cf, &pa)) { - config_attach(parent, cf, &pa, piocprint, CFARG_EOL); + config_attach(parent, cf, &pa, piocprint, CFARGS_NONE); /* tryagain = (cf->cf_fstate == FSTATE_STAR);*/ } } while (tryagain); @@ -267,7 +267,7 @@ piocsubmatch(device_t parent, cfdata_t c pa->pa_irq = cf->cf_loc[PIOCCF_IRQ]; tryagain = 0; if (config_probe(parent, cf, pa)) { - config_attach(parent, cf, pa, piocprint, CFARG_EOL); + config_attach(parent, cf, pa, piocprint, CFARGS_NONE); /* tryagain = (cf->cf_fstate == FSTATE_STAR);*/ } } while (tryagain); @@ -383,8 +383,7 @@ piocattach(device_t parent, device_t sel pa.pa_drq = -1; pa.pa_irq = -1; config_found(self, &pa, piocprint, - CFARG_SUBMATCH, piocsubmatch, - CFARG_EOL); + CFARGS(.submatch = piocsubmatch)); } /* @@ -403,8 +402,7 @@ piocattach(device_t parent, device_t sel pa.pa_drq = -1; pa.pa
CVS commit: [thorpej-cfargs2] src/sys/arch/algor
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:20:34 UTC 2021 Modified Files: src/sys/arch/algor/dev [thorpej-cfargs2]: bonito_mainbus.c mainbus.c vtpbc_mainbus.c src/sys/arch/algor/pci [thorpej-cfargs2]: pcib.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/algor/dev/bonito_mainbus.c cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/arch/algor/dev/mainbus.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/algor/dev/vtpbc_mainbus.c cvs rdiff -u -r1.27 -r1.27.8.1 src/sys/arch/algor/pci/pcib.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/algor/dev/bonito_mainbus.c diff -u src/sys/arch/algor/dev/bonito_mainbus.c:1.18 src/sys/arch/algor/dev/bonito_mainbus.c:1.18.8.1 --- src/sys/arch/algor/dev/bonito_mainbus.c:1.18 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/algor/dev/bonito_mainbus.c Tue Aug 3 23:20:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bonito_mainbus.c,v 1.18 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: bonito_mainbus.c,v 1.18.8.1 2021/08/03 23:20:34 thorpej Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bonito_mainbus.c,v 1.18 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bonito_mainbus.c,v 1.18.8.1 2021/08/03 23:20:34 thorpej Exp $"); #include "opt_algor_p6032.h" @@ -113,5 +113,5 @@ bonito_mainbus_attach(device_t parent, d } #endif /* ALGOR_P6032 */ - config_found(self, &pba, pcibusprint, CFARG_EOL); + config_found(self, &pba, pcibusprint, CFARGS_NONE); } Index: src/sys/arch/algor/dev/mainbus.c diff -u src/sys/arch/algor/dev/mainbus.c:1.29 src/sys/arch/algor/dev/mainbus.c:1.29.8.1 --- src/sys/arch/algor/dev/mainbus.c:1.29 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/algor/dev/mainbus.c Tue Aug 3 23:20:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.29 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.29.8.1 2021/08/03 23:20:34 thorpej Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.29 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.29.8.1 2021/08/03 23:20:34 thorpej Exp $"); #include "opt_algor_p4032.h" #include "opt_algor_p5064.h" @@ -221,8 +221,7 @@ mainbus_attach(device_t parent, device_t ma.ma_addr = md->md_addr; ma.ma_irq = md->md_irq; config_found(self, &ma, mainbus_print, - CFARG_SUBMATCH, mainbus_submatch, - CFARG_EOL); + CFARGS(.submatch = mainbus_submatch)); } } Index: src/sys/arch/algor/dev/vtpbc_mainbus.c diff -u src/sys/arch/algor/dev/vtpbc_mainbus.c:1.20 src/sys/arch/algor/dev/vtpbc_mainbus.c:1.20.8.1 --- src/sys/arch/algor/dev/vtpbc_mainbus.c:1.20 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/algor/dev/vtpbc_mainbus.c Tue Aug 3 23:20:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vtpbc_mainbus.c,v 1.20 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: vtpbc_mainbus.c,v 1.20.8.1 2021/08/03 23:20:34 thorpej Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vtpbc_mainbus.c,v 1.20 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vtpbc_mainbus.c,v 1.20.8.1 2021/08/03 23:20:34 thorpej Exp $"); #include "opt_algor_p4032.h" #include "opt_algor_p5064.h" @@ -128,5 +128,5 @@ vtpbc_mainbus_attach(device_t parent, de } #endif /* ALGOR_P4032 || ALGOR_P5064 */ - config_found(self, &pba, pcibusprint, CFARG_EOL); + config_found(self, &pba, pcibusprint, CFARGS_NONE); } Index: src/sys/arch/algor/pci/pcib.c diff -u src/sys/arch/algor/pci/pcib.c:1.27 src/sys/arch/algor/pci/pcib.c:1.27.8.1 --- src/sys/arch/algor/pci/pcib.c:1.27 Sat Apr 24 23:36:23 2021 +++ src/sys/arch/algor/pci/pcib.c Tue Aug 3 23:20:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pcib.c,v 1.27 2021/04/24 23:36:23 thorpej Exp $ */ +/* $NetBSD: pcib.c,v 1.27.8.1 2021/08/03 23:20:34 thorpej Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.27 2021/04/24 23:36:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.27.8.1 2021/08/03 23:20:34 thorpej Exp $"); #include "opt_algor_p5064.h" #include "opt_algor_p6032.h" @@ -317,7 +317,7 @@ pcib_bridge_callback(device_t self) iba.iba_ic->ic_attach_hook = pcib_isa_attach_hook; iba.iba_ic->ic_detach_hook = pcib_isa_detach_hook; - config_found(sc->sc_dev, &iba, isabusprint, CFARG_EOL); + config_found(sc->sc_dev, &iba, isabusprint, CFARGS_NONE); } void
CVS commit: [thorpej-cfargs2] src/sys/arch/arc
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:41:24 UTC 2021 Modified Files: src/sys/arch/arc/arc [thorpej-cfargs2]: mainbus.c src/sys/arch/arc/dti [thorpej-cfargs2]: btl.c src/sys/arch/arc/isa [thorpej-cfargs2]: isabus.c src/sys/arch/arc/jazz [thorpej-cfargs2]: fd.c jazzio.c src/sys/arch/arc/pci [thorpej-cfargs2]: necpb.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/arc/arc/mainbus.c cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/arch/arc/dti/btl.c cvs rdiff -u -r1.52 -r1.52.8.1 src/sys/arch/arc/isa/isabus.c cvs rdiff -u -r1.50 -r1.50.8.1 src/sys/arch/arc/jazz/fd.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/arc/jazz/jazzio.c cvs rdiff -u -r1.47 -r1.47.8.1 src/sys/arch/arc/pci/necpb.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/arc/arc/mainbus.c diff -u src/sys/arch/arc/arc/mainbus.c:1.24 src/sys/arch/arc/arc/mainbus.c:1.24.8.1 --- src/sys/arch/arc/arc/mainbus.c:1.24 Sat Apr 24 23:36:25 2021 +++ src/sys/arch/arc/arc/mainbus.c Tue Aug 3 23:41:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.24 2021/04/24 23:36:25 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.24.8.1 2021/08/03 23:41:24 thorpej Exp $ */ /* $OpenBSD: mainbus.c,v 1.4 1998/10/15 21:30:15 imp Exp $ */ /* NetBSD: mainbus.c,v 1.3 1995/06/28 02:45:10 cgd Exp */ @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.24 2021/04/24 23:36:25 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.24.8.1 2021/08/03 23:41:24 thorpej Exp $"); #include #include @@ -78,13 +78,13 @@ mbattach(device_t parent, device_t self, nca.ca_name = "cpu"; nca.ca_slot = 0; nca.ca_offset = 0; - config_found(self, &nca, mbprint, CFARG_EOL); + config_found(self, &nca, mbprint, CFARGS_NONE); for (i = 0; platform->mainbusdevs[i] != NULL; i++) { nca.ca_name = platform->mainbusdevs[i]; nca.ca_slot = 0; nca.ca_offset = 0; - config_found(self, &nca, mbprint, CFARG_EOL); + config_found(self, &nca, mbprint, CFARGS_NONE); } } Index: src/sys/arch/arc/dti/btl.c diff -u src/sys/arch/arc/dti/btl.c:1.29 src/sys/arch/arc/dti/btl.c:1.29.8.1 --- src/sys/arch/arc/dti/btl.c:1.29 Sat Apr 24 23:36:25 2021 +++ src/sys/arch/arc/dti/btl.c Tue Aug 3 23:41:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: btl.c,v 1.29 2021/04/24 23:36:25 thorpej Exp $ */ +/* $NetBSD: btl.c,v 1.29.8.1 2021/08/03 23:41:24 thorpej Exp $ */ /* NetBSD: bt.c,v 1.10 1996/05/12 23:51:54 mycroft Exp */ #undef BTDIAG @@ -51,7 +51,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: btl.c,v 1.29 2021/04/24 23:36:25 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btl.c,v 1.29.8.1 2021/08/03 23:41:24 thorpej Exp $"); #include #include @@ -411,7 +411,7 @@ btattach(device_t parent, device_t self, /* * ask the adapter what subunits are present */ - config_found(self, &sc->sc_link, scsiprint, CFARG_EOL); + config_found(self, &sc->sc_link, scsiprint, CFARGS_NONE); } integrate void Index: src/sys/arch/arc/isa/isabus.c diff -u src/sys/arch/arc/isa/isabus.c:1.52 src/sys/arch/arc/isa/isabus.c:1.52.8.1 --- src/sys/arch/arc/isa/isabus.c:1.52 Sat Apr 24 23:36:25 2021 +++ src/sys/arch/arc/isa/isabus.c Tue Aug 3 23:41:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isabus.c,v 1.52 2021/04/24 23:36:25 thorpej Exp $ */ +/* $NetBSD: isabus.c,v 1.52.8.1 2021/08/03 23:41:24 thorpej Exp $ */ /* $OpenBSD: isabus.c,v 1.15 1998/03/16 09:38:46 pefo Exp $ */ /* NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp */ @@ -120,7 +120,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFT */ #include -__KERNEL_RCSID(0, "$NetBSD: isabus.c,v 1.52 2021/04/24 23:36:25 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isabus.c,v 1.52.8.1 2021/08/03 23:41:24 thorpej Exp $"); #include #include @@ -208,8 +208,7 @@ isabrattach(struct isabr_softc *sc) iba.iba_dmat = &sc->sc_dmat; iba.iba_ic = &sc->arc_isa_cs; config_found(sc->sc_dev, &iba, isabrprint, - CFARG_IATTR, "isabus", - CFARG_EOL); + CFARGS(.iattr = "isabus")); } static int Index: src/sys/arch/arc/jazz/fd.c diff -u src/sys/arch/arc/jazz/fd.c:1.50 src/sys/arch/arc/jazz/fd.c:1.50.8.1 --- src/sys/arch/arc/jazz/fd.c:1.50 Sat Apr 24 23:36:25 2021 +++ src/sys/arch/arc/jazz/fd.c Tue Aug 3 23:41:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.50 2021/04/24 23:36:25 thorpej Exp $ */ +/* $NetBSD: fd.c,v 1.50.8.1 2021/08/03 23:41:24 thorpej Exp $ */ /* $OpenBSD: fd.c,v 1.6 1998/10/03 21:18:57 millert Exp $ */ /* NetBSD: fd.c,v 1.78 1995/07/04 07:23:09 mycroft Exp */ @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.50 2021/04/24 23:36:25 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.50.8.1 2021/08/03 23:41:24 thorpej Exp $"); #include #include @@ -282,7 +282,7 @@ fdcattach(struct fdc_softc *fdc) for (fa.fa_drive = 0; fa.fa_drive < 2; fa.fa_drive++) { fa.f
CVS commit: [thorpej-cfargs2] src/sys/arch/atari
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:43:45 UTC 2021 Modified Files: src/sys/arch/atari/atari [thorpej-cfargs2]: autoconf.c device.h src/sys/arch/atari/dev [thorpej-cfargs2]: fd.c grf.c hdfd.c ite_cc.c ite_et.c kbd.c ncr5380.c src/sys/arch/atari/isa [thorpej-cfargs2]: isa_machdep.c src/sys/arch/atari/pci [thorpej-cfargs2]: pci_machdep.c src/sys/arch/atari/vme [thorpej-cfargs2]: vme.c vme_machdep.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.70.6.1 src/sys/arch/atari/atari/autoconf.c cvs rdiff -u -r1.7 -r1.7.6.1 src/sys/arch/atari/atari/device.h cvs rdiff -u -r1.88 -r1.88.8.1 src/sys/arch/atari/dev/fd.c \ src/sys/arch/atari/dev/hdfd.c cvs rdiff -u -r1.52 -r1.52.6.1 src/sys/arch/atari/dev/grf.c cvs rdiff -u -r1.42 -r1.42.6.1 src/sys/arch/atari/dev/ite_cc.c cvs rdiff -u -r1.33 -r1.33.6.1 src/sys/arch/atari/dev/ite_et.c cvs rdiff -u -r1.48 -r1.48.8.1 src/sys/arch/atari/dev/kbd.c cvs rdiff -u -r1.75 -r1.75.8.1 src/sys/arch/atari/dev/ncr5380.c cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/arch/atari/isa/isa_machdep.c cvs rdiff -u -r1.60 -r1.60.8.1 src/sys/arch/atari/pci/pci_machdep.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/atari/vme/vme.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/atari/vme/vme_machdep.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/atari/atari/autoconf.c diff -u src/sys/arch/atari/atari/autoconf.c:1.70 src/sys/arch/atari/atari/autoconf.c:1.70.6.1 --- src/sys/arch/atari/atari/autoconf.c:1.70 Tue Apr 27 14:48:29 2021 +++ src/sys/arch/atari/atari/autoconf.c Tue Aug 3 23:43:44 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.70 2021/04/27 14:48:29 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.70.6.1 2021/08/03 23:43:44 thorpej Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -30,10 +30,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define __SUBR_AUTOCONF_PRIVATE /* XXX atari_config_found() */ - #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.70 2021/04/27 14:48:29 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.70.6.1 2021/08/03 23:43:44 thorpej Exp $"); #include "opt_md.h" @@ -141,18 +139,15 @@ simple_devprint(void *aux, const char *p */ int atari_config_found(cfdata_t pcfp, device_t parent, void *aux, cfprint_t pfn, -cfarg_t tag, ...) +const struct cfargs *cfargs) { struct device temp; cfdata_t cf; const struct cfattach *ca; int rv = 0; - va_list ap; - - va_start(ap, tag); if (atari_realconfig) { - rv = config_vfound(parent, aux, pfn, tag, ap) != NULL; + rv = config_found(parent, aux, pfn, cfargs) != NULL; goto out; } @@ -164,7 +159,7 @@ atari_config_found(cfdata_t pcfp, device parent->dv_cfdriver = config_cfdriver_lookup(pcfp->cf_name); parent->dv_unit = pcfp->cf_unit; - if ((cf = config_vsearch(parent, aux, tag, ap)) != NULL) { + if ((cf = config_search(parent, aux, cfargs)) != NULL) { ca = config_cfattach_lookup(cf->cf_name, cf->cf_atname); if (ca != NULL) { (*ca->ca_attach)(parent, NULL, aux); @@ -174,7 +169,6 @@ atari_config_found(cfdata_t pcfp, device } parent->dv_cfdata = NULL; out: - va_end(ap); return rv; } @@ -203,9 +197,9 @@ config_console(void) * some setup for the 'grf-side'. This make it possible to use * a PCI card for both wscons and grfabs. */ - atari_config_found(cf, NULL, __UNCONST("pcib") , NULL, CFARG_EOL); - atari_config_found(cf, NULL, __UNCONST("isab") , NULL, CFARG_EOL); - atari_config_found(cf, NULL, __UNCONST("grfbus"), NULL, CFARG_EOL); + atari_config_found(cf, NULL, __UNCONST("pcib") , NULL, CFARGS_NONE); + atari_config_found(cf, NULL, __UNCONST("isab") , NULL, CFARGS_NONE); + atari_config_found(cf, NULL, __UNCONST("grfbus"), NULL, CFARGS_NONE); } /* @@ -325,20 +319,20 @@ mbattach(device_t parent, device_t self, mb_attached = 1; printf ("\n"); - config_found(self, __UNCONST("clock") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("grfbus") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("kbd") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("fdc") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("ser") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("zs") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("ncrscsi") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("nvr") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("lpt") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("wdc") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("ne") , simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("isab"), simple_devprint, CFARG_EOL); - config_found(self, __UNCONST("pcib"), simple_devprint, CFARG_EOL); - c
CVS commit: [thorpej-cfargs2] src/sys/arch/cesfic
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:56:15 UTC 2021 Modified Files: src/sys/arch/cesfic/cesfic [thorpej-cfargs2]: autoconf.c src/sys/arch/cesfic/dev [thorpej-cfargs2]: zs.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/cesfic/cesfic/autoconf.c cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/cesfic/dev/zs.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/cesfic/cesfic/autoconf.c diff -u src/sys/arch/cesfic/cesfic/autoconf.c:1.28 src/sys/arch/cesfic/cesfic/autoconf.c:1.28.8.1 --- src/sys/arch/cesfic/cesfic/autoconf.c:1.28 Sat Apr 24 23:36:30 2021 +++ src/sys/arch/cesfic/cesfic/autoconf.c Tue Aug 3 23:56:15 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.28 2021/04/24 23:36:30 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.28.8.1 2021/08/03 23:56:15 thorpej Exp $ */ /* * Copyright (c) 1997, 1999 @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2021/04/24 23:36:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28.8.1 2021/08/03 23:56:15 thorpej Exp $"); #include #include @@ -90,8 +90,7 @@ mainbusattach(device_t parent, device_t /* Search for and attach children. */ config_search(self, NULL, - CFARG_SEARCH, mainbussearch, - CFARG_EOL); + CFARGS(.search = mainbussearch)); } int @@ -99,7 +98,7 @@ mainbussearch(device_t parent, cfdata_t { if (config_probe(parent, cf, NULL)) - config_attach(parent, cf, NULL, NULL, CFARG_EOL); + config_attach(parent, cf, NULL, NULL, CFARGS_NONE); return (0); } Index: src/sys/arch/cesfic/dev/zs.c diff -u src/sys/arch/cesfic/dev/zs.c:1.22 src/sys/arch/cesfic/dev/zs.c:1.22.8.1 --- src/sys/arch/cesfic/dev/zs.c:1.22 Sat Apr 24 23:36:30 2021 +++ src/sys/arch/cesfic/dev/zs.c Tue Aug 3 23:56:15 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: zs.c,v 1.22 2021/04/24 23:36:30 thorpej Exp $ */ +/* $NetBSD: zs.c,v 1.22.8.1 2021/08/03 23:56:15 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.22 2021/04/24 23:36:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.22.8.1 2021/08/03 23:56:15 thorpej Exp $"); #include "opt_ddb.h" @@ -165,7 +165,7 @@ zs_config(struct zsc_softc *zsc, char *b * The child attach will setup the hardware. */ if (!config_found(zsc->zsc_dev, (void *)&zsc_args, - zsc_print, CFARG_EOL)) { + zsc_print, CFARGS_NONE)) { /* No sub-driver. Just reset it. */ uint8_t reset = (channel == 0) ? ZSWR9_A_RESET : ZSWR9_B_RESET;
CVS commit: [thorpej-cfargs2] src/sys/arch/cobalt
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:57:22 UTC 2021 Modified Files: src/sys/arch/cobalt/cobalt [thorpej-cfargs2]: mainbus.c src/sys/arch/cobalt/dev [thorpej-cfargs2]: gt.c zs.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/cobalt/cobalt/mainbus.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/cobalt/dev/gt.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/cobalt/dev/zs.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/cobalt/cobalt/mainbus.c diff -u src/sys/arch/cobalt/cobalt/mainbus.c:1.21 src/sys/arch/cobalt/cobalt/mainbus.c:1.21.8.1 --- src/sys/arch/cobalt/cobalt/mainbus.c:1.21 Sat Apr 24 23:36:30 2021 +++ src/sys/arch/cobalt/cobalt/mainbus.c Tue Aug 3 23:57:21 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.21 2021/04/24 23:36:30 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.21.8.1 2021/08/03 23:57:21 thorpej Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21 2021/04/24 23:36:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.21.8.1 2021/08/03 23:57:21 thorpej Exp $"); #include #include @@ -64,8 +64,7 @@ mainbus_attach(device_t parent, device_t aprint_normal("\n"); config_search(self, &ma, - CFARG_SEARCH, mainbus_search, - CFARG_EOL); + CFARGS(.search = mainbus_search)); } static int @@ -79,7 +78,7 @@ mainbus_search(device_t parent, cfdata_t ma->ma_level = cf->cf_loc[MAINBUSCF_LEVEL]; ma->ma_irq = cf->cf_loc[MAINBUSCF_IRQ]; if (config_probe(parent, cf, ma)) - config_attach(parent, cf, ma, mainbus_print, CFARG_EOL); + config_attach(parent, cf, ma, mainbus_print, CFARGS_NONE); } while (cf->cf_fstate == FSTATE_STAR); return 0; Index: src/sys/arch/cobalt/dev/gt.c diff -u src/sys/arch/cobalt/dev/gt.c:1.33 src/sys/arch/cobalt/dev/gt.c:1.33.8.1 --- src/sys/arch/cobalt/dev/gt.c:1.33 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/cobalt/dev/gt.c Tue Aug 3 23:57:21 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: gt.c,v 1.33 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: gt.c,v 1.33.8.1 2021/08/03 23:57:21 thorpej Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.33 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.33.8.1 2021/08/03 23:57:21 thorpej Exp $"); #include "opt_pci.h" #include "pci.h" @@ -157,7 +157,7 @@ gt_attach(device_t parent, device_t self pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY | PCI_FLAGS_MRL_OKAY | /*PCI_FLAGS_MRM_OKAY|*/ PCI_FLAGS_MWI_OKAY; pba.pba_pc = pc; - config_found(self, &pba, gt_print, CFARG_EOL); + config_found(self, &pba, gt_print, CFARGS_NONE); #endif } Index: src/sys/arch/cobalt/dev/zs.c diff -u src/sys/arch/cobalt/dev/zs.c:1.5 src/sys/arch/cobalt/dev/zs.c:1.5.8.1 --- src/sys/arch/cobalt/dev/zs.c:1.5 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/cobalt/dev/zs.c Tue Aug 3 23:57:21 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: zs.c,v 1.5 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: zs.c,v 1.5.8.1 2021/08/03 23:57:21 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.5 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.5.8.1 2021/08/03 23:57:21 thorpej Exp $"); #include "opt_ddb.h" @@ -223,7 +223,7 @@ zs_attach(device_t parent, device_t self * The child attach will setup the hardware. */ if (!config_found(self, (void *)&zsc_args, zs_print, - CFARG_EOL)) { + CFARGS_NONE)) { /* No sub-driver. Just reset it. */ uint8_t reset = (channel == 0) ? ZSWR9_A_RESET : ZSWR9_B_RESET;
CVS commit: [thorpej-cfargs2] src/sys/arch/dreamcast
Module Name:src Committed By: thorpej Date: Wed Aug 4 00:00:00 UTC 2021 Modified Files: src/sys/arch/dreamcast/dev [thorpej-cfargs2]: pvr.c src/sys/arch/dreamcast/dev/g1 [thorpej-cfargs2]: g1bus.c src/sys/arch/dreamcast/dev/g2 [thorpej-cfargs2]: g2bus.c gapspci.c src/sys/arch/dreamcast/dev/maple [thorpej-cfargs2]: maple.c mkbd.c mms.c src/sys/arch/dreamcast/dreamcast [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.38.2.1 src/sys/arch/dreamcast/dev/pvr.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/dreamcast/dev/g1/g1bus.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/dreamcast/dev/g2/g2bus.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/dreamcast/dev/g2/gapspci.c cvs rdiff -u -r1.54 -r1.54.8.1 src/sys/arch/dreamcast/dev/maple/maple.c cvs rdiff -u -r1.30 -r1.30.8.1 src/sys/arch/dreamcast/dev/maple/mkbd.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/dreamcast/dev/maple/mms.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/dreamcast/dreamcast/mainbus.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/dreamcast/dev/pvr.c diff -u src/sys/arch/dreamcast/dev/pvr.c:1.38 src/sys/arch/dreamcast/dev/pvr.c:1.38.2.1 --- src/sys/arch/dreamcast/dev/pvr.c:1.38 Sat Jul 31 14:36:33 2021 +++ src/sys/arch/dreamcast/dev/pvr.c Tue Aug 3 23:59:59 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pvr.c,v 1.38 2021/07/31 14:36:33 andvar Exp $ */ +/* $NetBSD: pvr.c,v 1.38.2.1 2021/08/03 23:59:59 thorpej Exp $ */ /*- * Copyright (c) 2001 Marcus Comstedt. @@ -35,7 +35,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: pvr.c,v 1.38 2021/07/31 14:36:33 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pvr.c,v 1.38.2.1 2021/08/03 23:59:59 thorpej Exp $"); #include #include @@ -301,7 +301,7 @@ pvr_attach(device_t parent, device_t sel waa.accessops = &pvr_accessops; waa.accesscookie = sc; - (void) config_found(self, &waa, wsemuldisplaydevprint, CFARG_EOL); + (void) config_found(self, &waa, wsemuldisplaydevprint, CFARGS_NONE); } int Index: src/sys/arch/dreamcast/dev/g1/g1bus.c diff -u src/sys/arch/dreamcast/dev/g1/g1bus.c:1.2 src/sys/arch/dreamcast/dev/g1/g1bus.c:1.2.8.1 --- src/sys/arch/dreamcast/dev/g1/g1bus.c:1.2 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/dreamcast/dev/g1/g1bus.c Wed Aug 4 00:00:00 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: g1bus.c,v 1.2 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: g1bus.c,v 1.2.8.1 2021/08/04 00:00:00 thorpej Exp $ */ /*- * Copyright (c) 2001 Marcus Comstedt @@ -34,7 +34,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: g1bus.c,v 1.2 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: g1bus.c,v 1.2.8.1 2021/08/04 00:00:00 thorpej Exp $"); #include #include @@ -76,8 +76,7 @@ g1busattach(device_t parent, device_t se ga.ga_memt = &sc->sc_memt; config_search(self, &ga, - CFARG_SEARCH, g1bussearch, - CFARG_EOL); + CFARGS(.search = g1bussearch)); } int @@ -92,7 +91,7 @@ g1bussearch(device_t parent, cfdata_t cf { if (config_probe(parent, cf, aux)) - config_attach(parent, cf, aux, g1busprint, CFARG_EOL); + config_attach(parent, cf, aux, g1busprint, CFARGS_NONE); return 0; } Index: src/sys/arch/dreamcast/dev/g2/g2bus.c diff -u src/sys/arch/dreamcast/dev/g2/g2bus.c:1.15 src/sys/arch/dreamcast/dev/g2/g2bus.c:1.15.8.1 --- src/sys/arch/dreamcast/dev/g2/g2bus.c:1.15 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/dreamcast/dev/g2/g2bus.c Wed Aug 4 00:00:00 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: g2bus.c,v 1.15 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: g2bus.c,v 1.15.8.1 2021/08/04 00:00:00 thorpej Exp $ */ /*- * Copyright (c) 2001 Marcus Comstedt @@ -34,7 +34,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.15 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.15.8.1 2021/08/04 00:00:00 thorpej Exp $"); #include #include @@ -78,8 +78,7 @@ g2busattach(device_t parent, device_t se ga.ga_memt = &sc->sc_memt; config_search(self, &ga, - CFARG_SEARCH, g2bussearch, - CFARG_EOL); + CFARGS(.search = g2bussearch)); } int @@ -94,7 +93,7 @@ g2bussearch(device_t parent, cfdata_t cf { if (config_probe(parent, cf, aux)) - config_attach(parent, cf, aux, g2busprint, CFARG_EOL); + config_attach(parent, cf, aux, g2busprint, CFARGS_NONE); return 0; } Index: src/sys/arch/dreamcast/dev/g2/gapspci.c diff -u src/sys/arch/dreamcast/dev/g2/gapspci.c:1.20 src/sys/arch/dreamcast/dev/g2/gapspci.c:1.20.8.1 --- src/sys/arch/dreamcast/dev/g2/gapspci.c:1.20 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/dreamcast/dev/g2/gapspci.c Wed Aug 4 00:00:00 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: gapspci.c,v 1.20 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: gapspci.c,v 1.20.8.1 2021/08/04 00:00:00 thorpej Exp $ */ /*- * Copyright (c) 2001 Marcus Comstedt
CVS commit: [thorpej-cfargs2] src/sys/arch/emips
Module Name:src Committed By: thorpej Date: Wed Aug 4 00:01:52 UTC 2021 Modified Files: src/sys/arch/emips/ebus [thorpej-cfargs2]: ebus.c gpio_ebus.c src/sys/arch/emips/emips [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/emips/ebus/ebus.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/emips/ebus/gpio_ebus.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/emips/emips/mainbus.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/emips/ebus/ebus.c diff -u src/sys/arch/emips/ebus/ebus.c:1.3 src/sys/arch/emips/ebus/ebus.c:1.3.8.1 --- src/sys/arch/emips/ebus/ebus.c:1.3 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/emips/ebus/ebus.c Wed Aug 4 00:01:51 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ebus.c,v 1.3 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: ebus.c,v 1.3.8.1 2021/08/04 00:01:51 thorpej Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: ebus.c,v 1.3 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ebus.c,v 1.3.8.1 2021/08/04 00:01:51 thorpej Exp $"); #include #include @@ -83,9 +83,8 @@ ebusattach(device_t parent, device_t sel locs[EBUSCF_ADDR] = ia->ia_paddr; if (config_found(self, ia, ebusprint, - CFARG_SUBMATCH, config_stdsubmatch, - CFARG_LOCATORS, locs, - CFARG_EOL) == NULL) { + CFARGS(.submatch = config_stdsubmatch, + .locators = locs)) == NULL) { /* do we need to say anything? */ if (ia->ia_basz != 0) { mips_unmap_physmem((vaddr_t)ia->ia_vaddr, Index: src/sys/arch/emips/ebus/gpio_ebus.c diff -u src/sys/arch/emips/ebus/gpio_ebus.c:1.4 src/sys/arch/emips/ebus/gpio_ebus.c:1.4.8.1 --- src/sys/arch/emips/ebus/gpio_ebus.c:1.4 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/emips/ebus/gpio_ebus.c Wed Aug 4 00:01:51 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: gpio_ebus.c,v 1.4 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: gpio_ebus.c,v 1.4.8.1 2021/08/04 00:01:51 thorpej Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: gpio_ebus.c,v 1.4 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gpio_ebus.c,v 1.4.8.1 2021/08/04 00:01:51 thorpej Exp $"); #include #include @@ -124,7 +124,7 @@ epio_ebus_attach(device_t parent, device gba.gba_npins = GPIO_NPINS; /* Attach GPIO framework */ - (void)config_found(self, &gba, gpiobus_print, CFARG_EOL); + (void)config_found(self, &gba, gpiobus_print, CFARGS_NONE); } static int Index: src/sys/arch/emips/emips/mainbus.c diff -u src/sys/arch/emips/emips/mainbus.c:1.4 src/sys/arch/emips/emips/mainbus.c:1.4.8.1 --- src/sys/arch/emips/emips/mainbus.c:1.4 Sat Apr 24 23:36:31 2021 +++ src/sys/arch/emips/emips/mainbus.c Wed Aug 4 00:01:52 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.4 2021/04/24 23:36:31 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.4.8.1 2021/08/04 00:01:52 thorpej Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.4 2021/04/24 23:36:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.4.8.1 2021/08/04 00:01:52 thorpej Exp $"); #include #include @@ -71,11 +71,11 @@ mbattach(device_t parent, device_t self, ma.ma_name = "cpu"; ma.ma_slot = 0; - config_found(self, &ma, mbprint, CFARG_EOL); + config_found(self, &ma, mbprint, CFARGS_NONE); ma.ma_name = platform.iobus; ma.ma_slot = 0; - config_found(self, &ma, mbprint, CFARG_EOL); + config_found(self, &ma, mbprint, CFARGS_NONE); } static int
CVS commit: [thorpej-cfargs2] src/sys/arch/epoc32
Module Name:src Committed By: thorpej Date: Wed Aug 4 00:02:33 UTC 2021 Modified Files: src/sys/arch/epoc32/dev [thorpej-cfargs2]: epockbd.c etna.c src/sys/arch/epoc32/epoc32 [thorpej-cfargs2]: external.c internal.c src/sys/arch/epoc32/windermere [thorpej-cfargs2]: windermere.c wmlcd.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/epoc32/dev/epockbd.c \ src/sys/arch/epoc32/dev/etna.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/epoc32/epoc32/external.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/epoc32/epoc32/internal.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/epoc32/windermere/windermere.c \ src/sys/arch/epoc32/windermere/wmlcd.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/epoc32/dev/epockbd.c diff -u src/sys/arch/epoc32/dev/epockbd.c:1.4 src/sys/arch/epoc32/dev/epockbd.c:1.4.8.1 --- src/sys/arch/epoc32/dev/epockbd.c:1.4 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/epoc32/dev/epockbd.c Wed Aug 4 00:02:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: epockbd.c,v 1.4 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: epockbd.c,v 1.4.8.1 2021/08/04 00:02:33 thorpej Exp $ */ /* * Copyright (c) 2013 KIYOHARA Takashi * All rights reserved. @@ -25,7 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: epockbd.c,v 1.4 2021/04/24 23:36:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: epockbd.c,v 1.4.8.1 2021/08/04 00:02:33 thorpej Exp $"); #include #include @@ -101,7 +101,7 @@ epockbd_attach(struct epockbd_softc *sc) aa.accessops = &epockbd_accessops; aa.accesscookie = sc; sc->sc_wskbddev = config_found(sc->sc_dev, &aa, wskbddevprint, - CFARG_EOL); + CFARGS_NONE); } /* Index: src/sys/arch/epoc32/dev/etna.c diff -u src/sys/arch/epoc32/dev/etna.c:1.4 src/sys/arch/epoc32/dev/etna.c:1.4.8.1 --- src/sys/arch/epoc32/dev/etna.c:1.4 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/epoc32/dev/etna.c Wed Aug 4 00:02:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: etna.c,v 1.4 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: etna.c,v 1.4.8.1 2021/08/04 00:02:33 thorpej Exp $ */ /* * Copyright (c) 2012 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: etna.c,v 1.4 2021/04/24 23:36:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: etna.c,v 1.4.8.1 2021/08/04 00:02:33 thorpej Exp $"); #include #include @@ -201,7 +201,7 @@ etna_attach(device_t parent, device_t se paa.paa_busname = "pcmcia"; paa.pct = &etna_pcmcia_functions; paa.pch = sc; - sc->sc_pcmcia = config_found(self, &paa, NULL, CFARG_EOL); + sc->sc_pcmcia = config_found(self, &paa, NULL, CFARGS_NONE); config_interrupts(self, etna_doattach); } Index: src/sys/arch/epoc32/epoc32/external.c diff -u src/sys/arch/epoc32/epoc32/external.c:1.3 src/sys/arch/epoc32/epoc32/external.c:1.3.8.1 --- src/sys/arch/epoc32/epoc32/external.c:1.3 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/epoc32/epoc32/external.c Wed Aug 4 00:02:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: external.c,v 1.3 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: external.c,v 1.3.8.1 2021/08/04 00:02:33 thorpej Exp $ */ /* * Copyright (c) 2012, 2013 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: external.c,v 1.3 2021/04/24 23:36:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: external.c,v 1.3.8.1 2021/08/04 00:02:33 thorpej Exp $"); #include #include @@ -65,8 +65,7 @@ external_attach(device_t parent, device_ aprint_normal("\n"); config_search(self, NULL, - CFARG_SEARCH, external_search, - CFARG_EOL); + CFARGS(.search = external_search)); } /* ARGSUSED */ @@ -81,7 +80,7 @@ external_search(device_t parent, cfdata_ aa.addr2 = cf->cf_loc[EXTERNALCF_ADDR2]; aa.irq = cf->cf_loc[EXTERNALCF_IRQ]; if (config_probe(parent, cf, &aa)) - config_attach(parent, cf, &aa, external_print, CFARG_EOL); + config_attach(parent, cf, &aa, external_print, CFARGS_NONE); return 0; } Index: src/sys/arch/epoc32/epoc32/internal.c diff -u src/sys/arch/epoc32/epoc32/internal.c:1.2 src/sys/arch/epoc32/epoc32/internal.c:1.2.8.1 --- src/sys/arch/epoc32/epoc32/internal.c:1.2 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/epoc32/epoc32/internal.c Wed Aug 4 00:02:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: internal.c,v 1.2 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: internal.c,v 1.2.8.1 2021/08/04 00:02:33 thorpej Exp $ */ /* * Copyright (c) 2012 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: internal.c,v 1.2 2021/04/24 23:36:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: internal.c,v 1.2.8.1 2021/08/04 00:02:33 thorpej Exp $"); #include #include @@ -56,8 +56,7 @@ internal_attach(device_t parent, device_ aprint_normal("\n"); config_search(self, aux, - CFARG_SEARC
CVS commit: [thorpej-cfargs2] src/sys/arch/ews4800mips
Module Name:src Committed By: thorpej Date: Wed Aug 4 01:01:42 UTC 2021 Modified Files: src/sys/arch/ews4800mips/dev [thorpej-cfargs2]: ewskbd.c ewsms.c src/sys/arch/ews4800mips/ews4800mips [thorpej-cfargs2]: mainbus.c src/sys/arch/ews4800mips/sbd [thorpej-cfargs2]: fb_sbdio.c kbms_sbdio.c sbdio.c zs_sbdio.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/ews4800mips/dev/ewskbd.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/ews4800mips/dev/ewsms.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/ews4800mips/ews4800mips/mainbus.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/ews4800mips/sbd/fb_sbdio.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/ews4800mips/sbd/kbms_sbdio.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/ews4800mips/sbd/sbdio.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/ews4800mips/sbd/zs_sbdio.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/ews4800mips/dev/ewskbd.c diff -u src/sys/arch/ews4800mips/dev/ewskbd.c:1.12 src/sys/arch/ews4800mips/dev/ewskbd.c:1.12.8.1 --- src/sys/arch/ews4800mips/dev/ewskbd.c:1.12 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/ews4800mips/dev/ewskbd.c Wed Aug 4 01:01:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ewskbd.c,v 1.12 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: ewskbd.c,v 1.12.8.1 2021/08/04 01:01:41 thorpej Exp $ */ /*- * Copyright (c) 2005 Izumi Tsutsui. All rights reserved. @@ -59,7 +59,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ewskbd.c,v 1.12 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ewskbd.c,v 1.12.8.1 2021/08/04 01:01:41 thorpej Exp $"); #include #include @@ -251,7 +251,7 @@ ewskbd_zsc_attach(device_t parent, devic wskaa.accessops = &ewskbd_wskbd_accessops; wskaa.accesscookie = cs; sc->sc_dc->wskbddev = config_found(self, &wskaa, wskbddevprint, - CFARG_EOL); + CFARGS_NONE); } static int Index: src/sys/arch/ews4800mips/dev/ewsms.c diff -u src/sys/arch/ews4800mips/dev/ewsms.c:1.9 src/sys/arch/ews4800mips/dev/ewsms.c:1.9.8.1 --- src/sys/arch/ews4800mips/dev/ewsms.c:1.9 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/ews4800mips/dev/ewsms.c Wed Aug 4 01:01:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ewsms.c,v 1.9 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: ewsms.c,v 1.9.8.1 2021/08/04 01:01:41 thorpej Exp $ */ /* * Copyright (c) 2004 Steve Rumble @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ewsms.c,v 1.9 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ewsms.c,v 1.9.8.1 2021/08/04 01:01:41 thorpej Exp $"); #include #include @@ -184,7 +184,7 @@ ewsms_zsc_attach(device_t parent, device wsmaa.accessops = &ewsms_wsmouse_accessops; wsmaa.accesscookie = sc; sc->sc_wsmousedev = config_found(self, &wsmaa, wsmousedevprint, - CFARG_EOL); + CFARGS_NONE); } int Index: src/sys/arch/ews4800mips/ews4800mips/mainbus.c diff -u src/sys/arch/ews4800mips/ews4800mips/mainbus.c:1.6 src/sys/arch/ews4800mips/ews4800mips/mainbus.c:1.6.8.1 --- src/sys/arch/ews4800mips/ews4800mips/mainbus.c:1.6 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/ews4800mips/ews4800mips/mainbus.c Wed Aug 4 01:01:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.6 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.6.8.1 2021/08/04 01:01:41 thorpej Exp $ */ /*- * Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.6 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.6.8.1 2021/08/04 01:01:41 thorpej Exp $"); #include #include @@ -66,13 +66,13 @@ mainbus_attach(device_t parent, device_t /* CPU */ ma.ma_name = "cpu"; - config_found(self, &ma, mainbus_print, CFARG_EOL); + config_found(self, &ma, mainbus_print, CFARGS_NONE); /* System Board dependent device busses */ if (platform.mainbusdevs != NULL) { for (p = platform.mainbusdevs; *p != NULL; p++) { ma.ma_name = *p; - config_found(self, &ma, mainbus_print, CFARG_EOL); + config_found(self, &ma, mainbus_print, CFARGS_NONE); } } } Index: src/sys/arch/ews4800mips/sbd/fb_sbdio.c diff -u src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.19 src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.19.8.1 --- src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.19 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/ews4800mips/sbd/fb_sbdio.c Wed Aug 4 01:01:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fb_sbdio.c,v 1.19 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: fb_sbdio.c,v 1.19.8.1 2021/08/04 01:01:41 thorpej Exp $ */ /*- * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #define WIRED_FB_TLB #include -__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.19 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.19.8.1 2021/08/04 01:01:41 thorpej Exp $"); #include #includ
CVS commit: [thorpej-cfargs2] src/sys/arch/hp300
Module Name:src Committed By: thorpej Date: Wed Aug 4 01:02:36 UTC 2021 Modified Files: src/sys/arch/hp300/dev [thorpej-cfargs2]: dio.c diofb.c dnkbd.c fhpib.c frodo.c hpib.c intio.c nhpib.c sgc.c sti_sgc.c src/sys/arch/hp300/hp300 [thorpej-cfargs2]: autoconf.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.40.8.1 src/sys/arch/hp300/dev/dio.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/hp300/dev/diofb.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/hp300/dev/dnkbd.c cvs rdiff -u -r1.42 -r1.42.8.1 src/sys/arch/hp300/dev/fhpib.c \ src/sys/arch/hp300/dev/nhpib.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/hp300/dev/frodo.c cvs rdiff -u -r1.43 -r1.43.2.1 src/sys/arch/hp300/dev/hpib.c cvs rdiff -u -r1.30 -r1.30.8.1 src/sys/arch/hp300/dev/intio.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/hp300/dev/sgc.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/hp300/dev/sti_sgc.c cvs rdiff -u -r1.109 -r1.109.8.1 src/sys/arch/hp300/hp300/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/hp300/dev/dio.c diff -u src/sys/arch/hp300/dev/dio.c:1.40 src/sys/arch/hp300/dev/dio.c:1.40.8.1 --- src/sys/arch/hp300/dev/dio.c:1.40 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/hp300/dev/dio.c Wed Aug 4 01:02:36 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dio.c,v 1.40 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: dio.c,v 1.40.8.1 2021/08/04 01:02:36 thorpej Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dio.c,v 1.40 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dio.c,v 1.40.8.1 2021/08/04 01:02:36 thorpej Exp $"); #define _HP300_INTR_H_PRIVATE @@ -155,8 +155,7 @@ dioattach(device_t parent, device_t self /* Attach matching device. */ config_found(self, &da, dioprint, - CFARG_SUBMATCH, diosubmatch, - CFARG_EOL); + CFARGS(.submatch = diosubmatch)); scode += scodesize; } } Index: src/sys/arch/hp300/dev/diofb.c diff -u src/sys/arch/hp300/dev/diofb.c:1.6 src/sys/arch/hp300/dev/diofb.c:1.6.8.1 --- src/sys/arch/hp300/dev/diofb.c:1.6 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/hp300/dev/diofb.c Wed Aug 4 01:02:36 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: diofb.c,v 1.6 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: diofb.c,v 1.6.8.1 2021/08/04 01:02:36 thorpej Exp $ */ /* $OpenBSD: diofb.c,v 1.18 2010/12/26 15:40:59 miod Exp $ */ /* @@ -334,7 +334,7 @@ diofb_end_attach(device_t self, struct w waa.accessops = accessops; waa.accesscookie = fb; - config_found(self, &waa, wsemuldisplaydevprint, CFARG_EOL); + config_found(self, &waa, wsemuldisplaydevprint, CFARGS_NONE); } /* Index: src/sys/arch/hp300/dev/dnkbd.c diff -u src/sys/arch/hp300/dev/dnkbd.c:1.12 src/sys/arch/hp300/dev/dnkbd.c:1.12.8.1 --- src/sys/arch/hp300/dev/dnkbd.c:1.12 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/hp300/dev/dnkbd.c Wed Aug 4 01:02:36 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dnkbd.c,v 1.12 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: dnkbd.c,v 1.12.8.1 2021/08/04 01:02:36 thorpej Exp $ */ /* $OpenBSD: dnkbd.c,v 1.17 2009/07/23 21:05:56 blambert Exp $ */ /* @@ -391,16 +391,14 @@ dnkbd_attach_subdevices(struct dnkbd_sof } sc->sc_wskbddev = config_found(sc->sc_dev, &ka, wskbddevprint, - CFARG_IATTR, "wskbddev", - CFARG_EOL); + CFARGS(.iattr = "wskbddev")); #if NWSMOUSE > 0 ma.accessops = &dnmouse_accessops; ma.accesscookie = sc; sc->sc_wsmousedev = config_found(sc->sc_dev, &ma, wsmousedevprint, - CFARG_IATTR, "wsmousedev", - CFARG_EOL); + CFARGS(.iattr = "wsmousedev")); #endif SET(sc->sc_flags, SF_ATTACHED); Index: src/sys/arch/hp300/dev/fhpib.c diff -u src/sys/arch/hp300/dev/fhpib.c:1.42 src/sys/arch/hp300/dev/fhpib.c:1.42.8.1 --- src/sys/arch/hp300/dev/fhpib.c:1.42 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/hp300/dev/fhpib.c Wed Aug 4 01:02:36 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fhpib.c,v 1.42 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: fhpib.c,v 1.42.8.1 2021/08/04 01:02:36 thorpej Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fhpib.c,v 1.42 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fhpib.c,v 1.42.8.1 2021/08/04 01:02:36 thorpej Exp $"); #include #include @@ -186,7 +186,7 @@ fhpibattach(device_t parent, device_t se ha.ha_type = HPIBC; /* XXX */ ha.ha_ba = HPIBC_BA; ha.ha_softcpp = &sc->sc_hpibbus; /* XXX */ - (void)config_found(self, &ha, hpibdevprint, CFARG_EOL); + (void)config_found(self, &ha, hpibdevprint, CFARGS_NONE); } static void Index: src/sys/arch/hp300/dev/nhpib.c diff -u src/sys/arch/hp300/dev/nhpib.c:1.42 src/sys/arch/hp300/dev/nhpib.c:1.42.8.1 --- src/sys/arch/hp300/dev/nhpib.c:1.42 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/hp300/dev/n
CVS commit: [thorpej-cfargs2] src/sys/arch/hppa
Module Name:src Committed By: thorpej Date: Wed Aug 4 01:03:37 UTC 2021 Modified Files: src/sys/arch/hppa/dev [thorpej-cfargs2]: asp.c astro.c dino.c elroy.c gecko.c lasi.c mongoose.c phantomas.c ssio.c uturn.c wax.c src/sys/arch/hppa/gsc [thorpej-cfargs2]: gscbus.c src/sys/arch/hppa/hppa [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/hppa/dev/asp.c \ src/sys/arch/hppa/dev/astro.c src/sys/arch/hppa/dev/elroy.c \ src/sys/arch/hppa/dev/wax.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/hppa/dev/dino.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/hppa/dev/gecko.c \ src/sys/arch/hppa/dev/phantomas.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/hppa/dev/lasi.c \ src/sys/arch/hppa/dev/uturn.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/hppa/dev/mongoose.c cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/arch/hppa/dev/ssio.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/hppa/gsc/gscbus.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/hppa/hppa/mainbus.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/hppa/dev/asp.c diff -u src/sys/arch/hppa/dev/asp.c:1.3 src/sys/arch/hppa/dev/asp.c:1.3.8.1 --- src/sys/arch/hppa/dev/asp.c:1.3 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/hppa/dev/asp.c Wed Aug 4 01:03:37 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: asp.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: asp.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $ */ /* $OpenBSD: asp.c,v 1.5 2000/02/09 05:04:22 mickey Exp $ */ @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: asp.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: asp.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $"); #include #include @@ -275,5 +275,5 @@ aspattach(device_t parent, device_t self ga.ga_fix_args = asp_fix_args; ga.ga_fix_args_cookie = sc; ga.ga_scsi_target = sc->sc_trs->asp_scsi; - config_found(self, &ga, gscprint, CFARG_EOL); + config_found(self, &ga, gscprint, CFARGS_NONE); } Index: src/sys/arch/hppa/dev/astro.c diff -u src/sys/arch/hppa/dev/astro.c:1.3 src/sys/arch/hppa/dev/astro.c:1.3.8.1 --- src/sys/arch/hppa/dev/astro.c:1.3 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/hppa/dev/astro.c Wed Aug 4 01:03:37 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: astro.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: astro.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $ */ /* $OpenBSD: astro.c,v 1.8 2007/10/06 23:50:54 krw Exp $ */ @@ -345,8 +345,7 @@ astro_callback(device_t self, struct con { return config_found(self, ca, mbprint, - CFARG_SUBMATCH, mbsubmatch, - CFARG_EOL); + CFARGS(.submatch = mbsubmatch)); } int Index: src/sys/arch/hppa/dev/elroy.c diff -u src/sys/arch/hppa/dev/elroy.c:1.3 src/sys/arch/hppa/dev/elroy.c:1.3.8.1 --- src/sys/arch/hppa/dev/elroy.c:1.3 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/hppa/dev/elroy.c Wed Aug 4 01:03:37 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: elroy.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: elroy.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $ */ /* $OpenBSD: elroy.c,v 1.5 2009/03/30 21:24:57 kettenis Exp $ */ @@ -1313,5 +1313,5 @@ le64toh(r->eio_base), le64toh(r->eio_mas pba.pba_bus = 0; /* (le32toh(elroy_read32(&r->busnum)) & 0xff) >> 4; */ pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY; - config_found(self, &pba, pcibusprint, CFARG_EOL); + config_found(self, &pba, pcibusprint, CFARGS_NONE); } Index: src/sys/arch/hppa/dev/wax.c diff -u src/sys/arch/hppa/dev/wax.c:1.3 src/sys/arch/hppa/dev/wax.c:1.3.8.1 --- src/sys/arch/hppa/dev/wax.c:1.3 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/hppa/dev/wax.c Wed Aug 4 01:03:37 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: wax.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: wax.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $ */ /* $OpenBSD: wax.c,v 1.1 1998/11/23 03:04:10 mickey Exp $ */ @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wax.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wax.c,v 1.3.8.1 2021/08/04 01:03:37 thorpej Exp $"); #include #include @@ -166,5 +166,5 @@ waxattach(device_t parent, device_t self ga.ga_fix_args = wax_fix_args; ga.ga_fix_args_cookie = sc; ga.ga_scsi_target = 7; /* XXX */ - config_found(self, &ga, gscprint, CFARG_EOL); + config_found(self, &ga, gscprint, CFARGS_NONE); } Index: src/sys/arch/hppa/dev/dino.c diff -u src/sys/arch/hppa/dev/dino.c:1.11 src/sys/arch/hppa/dev/dino.c:1.11.8.1 --- src/sys/arch/hppa/dev/dino.c:1.11 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/hppa/dev/dino.c Wed Aug 4 01:03:37 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dino.c,v 1.11 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: dino.c,v 1.11.8.1 2021/08/04 01:03:37 thorpej Exp $ */ /* $OpenBSD: dino.c,v 1.5 2004/02/13 20:39:31 mickey Exp $ */ @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSI
CVS commit: [thorpej-cfargs2] src/sys/arch/i386
Module Name:src Committed By: thorpej Date: Wed Aug 4 01:21:27 UTC 2021 Modified Files: src/sys/arch/i386/i386 [thorpej-cfargs2]: i386_mainbus.c src/sys/arch/i386/isa [thorpej-cfargs2]: lms.c mms.c src/sys/arch/i386/pci [thorpej-cfargs2]: elan520.c gcscehci.c geode.c gscpcib.c pceb.c pcmb.c viapcib.c src/sys/arch/i386/pnpbios [thorpej-cfargs2]: pnpbios.c wss_pnpbios.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/i386/i386/i386_mainbus.c cvs rdiff -u -r1.57 -r1.57.8.1 src/sys/arch/i386/isa/lms.c cvs rdiff -u -r1.54 -r1.54.8.1 src/sys/arch/i386/isa/mms.c cvs rdiff -u -r1.51 -r1.51.8.1 src/sys/arch/i386/pci/elan520.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/i386/pci/gcscehci.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/i386/pci/geode.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/i386/pci/gscpcib.c cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/i386/pci/pceb.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/i386/pci/pcmb.c cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/i386/pci/viapcib.c cvs rdiff -u -r1.76 -r1.76.8.1 src/sys/arch/i386/pnpbios/pnpbios.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/i386/pnpbios/wss_pnpbios.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/i386/i386/i386_mainbus.c diff -u src/sys/arch/i386/i386/i386_mainbus.c:1.5 src/sys/arch/i386/i386/i386_mainbus.c:1.5.8.1 --- src/sys/arch/i386/i386/i386_mainbus.c:1.5 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/i386/i386/i386_mainbus.c Wed Aug 4 01:21:26 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: i386_mainbus.c,v 1.5 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: i386_mainbus.c,v 1.5.8.1 2021/08/04 01:21:26 thorpej Exp $ */ /* NetBSD: mainbus.c,v 1.104 2018/12/02 08:19:44 cherry Exp */ /* @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: i386_mainbus.c,v 1.5 2021/04/24 23:36:39 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i386_mainbus.c,v 1.5.8.1 2021/08/04 01:21:26 thorpej Exp $"); #include #include @@ -230,8 +230,7 @@ i386_mainbus_attach(device_t parent, dev mba.mba_eba.eba_dmat = &eisa_bus_dma_tag; #endif config_found(self, &mba.mba_eba, eisabusprint, - CFARG_IATTR, "eisabus", - CFARG_EOL); + CFARGS(.iattr = "eisabus")); } #if NISA > 0 @@ -240,8 +239,7 @@ i386_mainbus_attach(device_t parent, dev mba.mba_iba.iba_iot = x86_bus_space_io; mba.mba_iba.iba_memt = x86_bus_space_mem; config_found(self, &mba.mba_iba, isabusprint, - CFARG_IATTR, "isabus", - CFARG_EOL); + CFARGS(.iattr = "isabus")); } #endif @@ -272,8 +270,7 @@ i386_mainbus_rescan(device_t self, const mba.mba_acpi.aa_dmat = &pci_bus_dma_tag; mba.mba_acpi.aa_dmat64 = NULL; sc->sc_acpi = config_found(self, &mba.mba_acpi, NULL, - CFARG_IATTR, "acpibus", - CFARG_EOL); + CFARGS(.iattr = "acpibus")); #if 0 /* XXXJRT not yet */ if (acpi_active) { /* @@ -294,8 +291,7 @@ i386_mainbus_rescan(device_t self, const if (pnpbios_probe()) { mba.mba_paa.paa_ic = &x86_isa_chipset; sc->sc_pnpbios = config_found(self, &mba.mba_paa, NULL, - CFARG_IATTR, "pnpbiosbus", - CFARG_EOL); + CFARGS(.iattr = "pnpbiosbus")); } #endif } @@ -307,8 +303,7 @@ i386_mainbus_rescan(device_t self, const mba.mba_ipmi.iaa_memt = x86_bus_space_mem; if (ipmi_probe(&mba.mba_ipmi)) { sc->sc_ipmi = config_found(self, &mba.mba_ipmi, NULL, - CFARG_IATTR, "ipmibus", - CFARG_EOL); + CFARGS(.iattr = "ipmibus")); } #endif } @@ -352,8 +347,7 @@ i386_mainbus_rescan(device_t self, const if (npcibus == 0 && sc->sc_pci == NULL) { sc->sc_pci = config_found(self, &mba.mba_pba, pcibusprint, - CFARG_IATTR, "pcibus", - CFARG_EOL); + CFARGS(.iattr = "pcibus")); } #if NACPICA > 0 if (mp_verbose) @@ -374,8 +368,7 @@ i386_mainbus_rescan(device_t self, const mba.mba_mba.mba_bus = 0; sc->sc_mca = config_found(self, &mba.mba_mba, mcabusprint, - CFARG_IATTR, "mcabus", - CFARG_EOL); + CFARGS(.iattr = "mcabus")); } #endif } Index: src/sys/arch/i386/isa/lms.c diff -u src/sys/arch/i386/isa/lms.c:1.57 src/sys/arch/i386/isa/lms.c:1.57.8.1 --- src/sys/arch/i386/isa/lms.c:1.57 Sat Apr 24 23:36:39 2021 +++ src/sys/arch/i386/isa/lms.c Wed Aug 4 01:21:27 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: lms.c,v 1.57 2021/04/24 23:36:39 thorpej Exp $ */ +/* $NetBSD: lms.c,v 1.57.8.1 2021/08/04 01:21:27 thorpej Exp $ */ /*- * Copyright (c) 1993, 1994 Charles M. Hannum. @@ -24,7 +24,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lms.c,v 1.57 2021/04/24 23:36:39 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lms.c,v 1.57.8.1 2021/08/04 01:21:27 thorpej Exp $"); #include #include @@ -166,7 +166,7 @@ lmsattach(device_t parent, device_t self * here or in psmintr, because if this fails lms_enable()
CVS commit: [thorpej-cfargs2] src/sys/arch/macppc
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:39:49 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-cfargs2]: adb.c akbd.c ams.c cuda.c gpio.c ki2c.c mediabay.c mesh.c obio.c ofb.c pbms.c platinumfb.c pmu.c smu.c smuiic.c snapper.c uni-n.c valkyriefb.c zs.c src/sys/arch/macppc/macppc [thorpej-cfargs2]: mainbus.c memory.c src/sys/arch/macppc/pci [thorpej-cfargs2]: bandit.c grackle.c u3.c uninorth.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.8.1 src/sys/arch/macppc/dev/adb.c cvs rdiff -u -r1.46 -r1.46.8.1 src/sys/arch/macppc/dev/akbd.c cvs rdiff -u -r1.30 -r1.30.8.1 src/sys/arch/macppc/dev/ams.c cvs rdiff -u -r1.28 -r1.28.8.1 src/sys/arch/macppc/dev/cuda.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/macppc/dev/gpio.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/macppc/dev/ki2c.c cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/macppc/dev/mediabay.c cvs rdiff -u -r1.41 -r1.41.8.1 src/sys/arch/macppc/dev/mesh.c cvs rdiff -u -r1.49 -r1.49.8.1 src/sys/arch/macppc/dev/obio.c cvs rdiff -u -r1.71 -r1.71.8.1 src/sys/arch/macppc/dev/ofb.c cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/arch/macppc/dev/pbms.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/macppc/dev/platinumfb.c cvs rdiff -u -r1.37 -r1.37.8.1 src/sys/arch/macppc/dev/pmu.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/macppc/dev/smu.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/macppc/dev/smuiic.c cvs rdiff -u -r1.60 -r1.60.2.1 src/sys/arch/macppc/dev/snapper.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/macppc/dev/uni-n.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/macppc/dev/valkyriefb.c cvs rdiff -u -r1.52 -r1.52.8.1 src/sys/arch/macppc/dev/zs.c cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/macppc/macppc/mainbus.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/macppc/macppc/memory.c cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/arch/macppc/pci/bandit.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/macppc/pci/grackle.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/macppc/pci/u3.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/macppc/pci/uninorth.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/macppc/dev/adb.c diff -u src/sys/arch/macppc/dev/adb.c:1.36 src/sys/arch/macppc/dev/adb.c:1.36.8.1 --- src/sys/arch/macppc/dev/adb.c:1.36 Sat Apr 24 23:36:41 2021 +++ src/sys/arch/macppc/dev/adb.c Wed Aug 4 02:39:49 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: adb.c,v 1.36 2021/04/24 23:36:41 thorpej Exp $ */ +/* $NetBSD: adb.c,v 1.36.8.1 2021/08/04 02:39:49 thorpej Exp $ */ /*- * Copyright (C) 1994 Bradley A. Grantham @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: adb.c,v 1.36 2021/04/24 23:36:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: adb.c,v 1.36.8.1 2021/08/04 02:39:49 thorpej Exp $"); #include #include @@ -150,7 +150,7 @@ adbattach(device_t parent, device_t self aa_args.adbaddr = ADBADDR_APM; aa_args.handler_id = ADBADDR_APM; - (void)config_found(self, &aa_args, NULL, CFARG_EOL); + (void)config_found(self, &aa_args, NULL, CFARGS_NONE); #endif /* @@ -174,7 +174,7 @@ adbattach(device_t parent, device_t self aa_args.origaddr = 0; aa_args.adbaddr = 0; aa_args.handler_id = 0; - (void)config_found(self, &aa_args, adbprint, CFARG_EOL); + (void)config_found(self, &aa_args, adbprint, CFARGS_NONE); #endif /* for each ADB device */ @@ -186,7 +186,7 @@ adbattach(device_t parent, device_t self aa_args.adbaddr = adbaddr; aa_args.handler_id = adbdata.devType; - (void)config_found(self, &aa_args, adbprint, CFARG_EOL); + (void)config_found(self, &aa_args, adbprint, CFARGS_NONE); } if (adbHardware == ADB_HW_CUDA) Index: src/sys/arch/macppc/dev/akbd.c diff -u src/sys/arch/macppc/dev/akbd.c:1.46 src/sys/arch/macppc/dev/akbd.c:1.46.8.1 --- src/sys/arch/macppc/dev/akbd.c:1.46 Sat Apr 24 23:36:41 2021 +++ src/sys/arch/macppc/dev/akbd.c Wed Aug 4 02:39:49 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: akbd.c,v 1.46 2021/04/24 23:36:41 thorpej Exp $ */ +/* $NetBSD: akbd.c,v 1.46.8.1 2021/08/04 02:39:49 thorpej Exp $ */ /* * Copyright (C) 1998 Colin Wood @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: akbd.c,v 1.46 2021/04/24 23:36:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: akbd.c,v 1.46.8.1 2021/08/04 02:39:49 thorpej Exp $"); #include #include @@ -250,7 +250,7 @@ akbdattach(device_t parent, device_t sel a.accessops = &akbd_accessops; a.accesscookie = sc; - sc->sc_wskbddev = config_found(self, &a, wskbddevprint, CFARG_EOL); + sc->sc_wskbddev = config_found(self, &a, wskbddevprint, CFARGS_NONE); } Index: src/sys/arch/macppc/dev/ams.c diff -u src/sys/arch/macppc/dev/ams.c:1.30 src/sys/arch/macppc/dev/ams.c:1.30.8.1 --- src/sys/arch/macppc/dev/ams.c:1.30 Sat Apr 24 23:36:41 2021 +++ src/sys/arch/macppc/dev/ams.c Wed Aug 4 02:39:49 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ams.c,v 1.30 202
CVS commit: [thorpej-cfargs2] src/sys/arch/mips
Module Name:src Committed By: thorpej Date: Wed Aug 4 02:44:16 UTC 2021 Modified Files: src/sys/arch/mips/adm5120 [thorpej-cfargs2]: adm5120_extio.c adm5120_obio.c src/sys/arch/mips/adm5120/dev [thorpej-cfargs2]: admgpio.c admpci.c ahci.c src/sys/arch/mips/alchemy [thorpej-cfargs2]: aubus.c src/sys/arch/mips/alchemy/dev [thorpej-cfargs2]: augpio.c aupci.c aupcmcia.c aupsc.c ausmbus_psc.c auspi.c ohci_aubus.c src/sys/arch/mips/atheros [thorpej-cfargs2]: arbus.c src/sys/arch/mips/atheros/dev [thorpej-cfargs2]: argpio.c arpci.c arspi.c ehci_arbus.c ohci_arbus.c src/sys/arch/mips/cavium [thorpej-cfargs2]: mainbus.c octeon_bootbus.c octeon_cpunode.c octeon_iobus.c src/sys/arch/mips/cavium/dev [thorpej-cfargs2]: octeon_dwctwo.c octeon_gmx.c octeon_mpi.c octeon_pip.c octeon_xhci.c src/sys/arch/mips/ingenic [thorpej-cfargs2]: apbus.c ingenic_dwctwo.c ingenic_ehci.c ingenic_ohci.c jziic.c src/sys/arch/mips/ralink [thorpej-cfargs2]: ralink_ehci.c ralink_gpio.c ralink_i2c.c ralink_mainbus.c ralink_ohci.c src/sys/arch/mips/rmi [thorpej-cfargs2]: rmixl_cpucore.c rmixl_cpunode.c rmixl_ehci.c rmixl_gpio.c rmixl_iobus.c rmixl_mainbus.c rmixl_obio.c rmixl_ohci.c rmixl_pcie.c rmixl_pcix.c rmixl_usbi.c src/sys/arch/mips/sibyte/dev [thorpej-cfargs2]: sbgbus.c sbobio.c sbscd.c sbsmbus.c src/sys/arch/mips/sibyte/pci [thorpej-cfargs2]: sbbrz.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/mips/adm5120/adm5120_extio.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/mips/adm5120/adm5120_obio.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/mips/adm5120/dev/admgpio.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/mips/adm5120/dev/admpci.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/mips/adm5120/dev/ahci.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/mips/alchemy/aubus.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/mips/alchemy/dev/augpio.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/mips/alchemy/dev/aupci.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/mips/alchemy/dev/aupcmcia.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/mips/alchemy/dev/aupsc.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/mips/alchemy/dev/ausmbus_psc.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/mips/alchemy/dev/auspi.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/mips/alchemy/dev/ohci_aubus.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/mips/atheros/arbus.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/mips/atheros/dev/argpio.c \ src/sys/arch/mips/atheros/dev/ehci_arbus.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/atheros/dev/arpci.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/mips/atheros/dev/arspi.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/mips/atheros/dev/ohci_arbus.c cvs rdiff -u -r1.8 -r1.8.4.1 src/sys/arch/mips/cavium/mainbus.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/mips/cavium/octeon_bootbus.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/mips/cavium/octeon_cpunode.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/cavium/octeon_iobus.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/mips/cavium/dev/octeon_dwctwo.c cvs rdiff -u -r1.19 -r1.19.4.1 src/sys/arch/mips/cavium/dev/octeon_gmx.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/cavium/dev/octeon_mpi.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/mips/cavium/dev/octeon_pip.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/mips/cavium/dev/octeon_xhci.c cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/arch/mips/ingenic/apbus.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/mips/ingenic/ingenic_dwctwo.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/mips/ingenic/ingenic_ehci.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/ingenic/ingenic_ohci.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/mips/ingenic/jziic.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/mips/ralink/ralink_ehci.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/mips/ralink/ralink_gpio.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/mips/ralink/ralink_i2c.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/ralink/ralink_mainbus.c \ src/sys/arch/mips/ralink/ralink_ohci.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/mips/rmi/rmixl_cpucore.c \ src/sys/arch/mips/rmi/rmixl_iobus.c src/sys/arch/mips/rmi/rmixl_obio.c \ src/sys/arch/mips/rmi/rmixl_ohci.c src/sys/arch/mips/rmi/rmixl_usbi.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/mips/rmi/rmixl_cpunode.c \ src/sys/arch/mips/rmi/rmixl_gpio.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/mips/rmi/rmixl_ehci.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/mips/rmi/rmixl_mainbus.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/mips/rmi/rmixl_pcie.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/mips/rmi/rmixl_pcix.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/mips/sibyte/dev/sbgbus.c cvs rdiff -u -r1.24 -r1.24.8.1 src/sys/arch/mips/sibyte/de
CVS commit: [thorpej-cfargs2] src/sys/arch/evbsh3
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:08:49 UTC 2021 Modified Files: src/sys/arch/evbsh3/ap_ms104_sh4 [thorpej-cfargs2]: shpcmcia.c src/sys/arch/evbsh3/evbsh3 [thorpej-cfargs2]: mainbus.c src/sys/arch/evbsh3/t_sh7706lan [thorpej-cfargs2]: scimci.c ssumci.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/evbsh3/evbsh3/mainbus.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbsh3/t_sh7706lan/scimci.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbsh3/t_sh7706lan/ssumci.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/evbsh3/ap_ms104_sh4/shpcmcia.c diff -u src/sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c:1.6 src/sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c:1.6.8.1 --- src/sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c:1.6 Sat Apr 24 23:36:36 2021 +++ src/sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c Wed Aug 4 03:08:48 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: shpcmcia.c,v 1.6 2021/04/24 23:36:36 thorpej Exp $ */ +/* $NetBSD: shpcmcia.c,v 1.6.8.1 2021/08/04 03:08:48 thorpej Exp $ */ /*- * Copyright (C) 2009 NONAKA Kimihiro @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: shpcmcia.c,v 1.6 2021/04/24 23:36:36 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: shpcmcia.c,v 1.6.8.1 2021/08/04 03:08:48 thorpej Exp $"); #include #include @@ -313,7 +313,7 @@ shpcmcia_attach_socket(struct shpcmcia_h paa.pch = (pcmcia_chipset_handle_t)h; h->pcmcia = - config_found(h->sc->sc_dev, &paa, shpcmcia_print, CFARG_EOL); + config_found(h->sc->sc_dev, &paa, shpcmcia_print, CFARGS_NONE); /* if there's actually a pcmcia device attached, initialize the slot */ if (h->pcmcia) Index: src/sys/arch/evbsh3/evbsh3/mainbus.c diff -u src/sys/arch/evbsh3/evbsh3/mainbus.c:1.10 src/sys/arch/evbsh3/evbsh3/mainbus.c:1.10.8.1 --- src/sys/arch/evbsh3/evbsh3/mainbus.c:1.10 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/evbsh3/evbsh3/mainbus.c Wed Aug 4 03:08:48 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.10 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.10.8.1 2021/08/04 03:08:48 thorpej Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10.8.1 2021/08/04 03:08:48 thorpej Exp $"); #include #include @@ -62,12 +62,11 @@ mainbus_attach(device_t parent, device_t /* CPU */ memset(&maa, 0, sizeof(maa)); maa.ma_name = "cpu"; - config_found(self, &maa, mainbus_print, CFARG_EOL); + config_found(self, &maa, mainbus_print, CFARGS_NONE); /* Devices */ config_search(self, NULL, - CFARG_SEARCH, mainbus_search, - CFARG_EOL); + CFARGS(.search = mainbus_search)); } static int @@ -81,7 +80,7 @@ mainbus_search(device_t parent, cfdata_t maa.ma_name = cf->cf_name; if (config_probe(parent, cf, &maa)) - config_attach(parent, cf, &maa, mainbus_print, CFARG_EOL); + config_attach(parent, cf, &maa, mainbus_print, CFARGS_NONE); return 0; } Index: src/sys/arch/evbsh3/t_sh7706lan/scimci.c diff -u src/sys/arch/evbsh3/t_sh7706lan/scimci.c:1.3 src/sys/arch/evbsh3/t_sh7706lan/scimci.c:1.3.8.1 --- src/sys/arch/evbsh3/t_sh7706lan/scimci.c:1.3 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/evbsh3/t_sh7706lan/scimci.c Wed Aug 4 03:08:48 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: scimci.c,v 1.3 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: scimci.c,v 1.3.8.1 2021/08/04 03:08:48 thorpej Exp $ */ /*- * Copyright (C) 2009 NONAKA Kimihiro @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: scimci.c,v 1.3 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scimci.c,v 1.3.8.1 2021/08/04 03:08:48 thorpej Exp $"); #include #include @@ -235,7 +235,7 @@ scimci_attach(device_t parent, device_t | SMC_CAPS_SINGLE_ONLY | SMC_CAPS_POLL_CARD_DET; - sc->sc_sdmmc = config_found(sc->sc_dev, &saa, NULL, CFARG_EOL); + sc->sc_sdmmc = config_found(sc->sc_dev, &saa, NULL, CFARGS_NONE); if (sc->sc_sdmmc == NULL) aprint_error_dev(sc->sc_dev, "couldn't attach bus\n"); } Index: src/sys/arch/evbsh3/t_sh7706lan/ssumci.c diff -u src/sys/arch/evbsh3/t_sh7706lan/ssumci.c:1.4 src/sys/arch/evbsh3/t_sh7706lan/ssumci.c:1.4.8.1 --- src/sys/arch/evbsh3/t_sh7706lan/ssumci.c:1.4 Sat Apr 24 23:36:37 2021 +++ src/sys/arch/evbsh3/t_sh7706lan/ssumci.c Wed Aug 4 03:08:48 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ssumci.c,v 1.4 2021/04/24 23:36:37 thorpej Exp $ */ +/* $NetBSD: ssumci.c,v 1.4.8.1 2021/08/04 03:08:48 thorpej Exp $ */ /*- * Copyright (C) 2010 NONAKA Kimihiro @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ssumci.c,v 1.4 2021/04/24 23:36:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ssumci.c,v 1.4.8.
CVS commit: [thorpej-cfargs2] src/sys/arch/evbppc
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:23:10 UTC 2021 Modified Files: src/sys/arch/evbppc/ev64260 [thorpej-cfargs2]: mainbus.c src/sys/arch/evbppc/explora/dev [thorpej-cfargs2]: elb.c fb_elb.c src/sys/arch/evbppc/mpc85xx [thorpej-cfargs2]: autoconf.c src/sys/arch/evbppc/pmppc [thorpej-cfargs2]: mainbus.c src/sys/arch/evbppc/virtex [thorpej-cfargs2]: design_gsrd1.c design_gsrd2.c src/sys/arch/evbppc/virtex/dev [thorpej-cfargs2]: tft.c src/sys/arch/evbppc/walnut/dev [thorpej-cfargs2]: pbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/evbppc/ev64260/mainbus.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/evbppc/explora/dev/elb.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/evbppc/explora/dev/fb_elb.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/evbppc/mpc85xx/autoconf.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/evbppc/pmppc/mainbus.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/evbppc/virtex/design_gsrd1.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/evbppc/virtex/design_gsrd2.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/evbppc/virtex/dev/tft.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/evbppc/walnut/dev/pbus.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/evbppc/ev64260/mainbus.c diff -u src/sys/arch/evbppc/ev64260/mainbus.c:1.8 src/sys/arch/evbppc/ev64260/mainbus.c:1.8.8.1 --- src/sys/arch/evbppc/ev64260/mainbus.c:1.8 Sat Apr 24 23:36:36 2021 +++ src/sys/arch/evbppc/ev64260/mainbus.c Wed Aug 4 03:23:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.8 2021/04/24 23:36:36 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.8.8.1 2021/08/04 03:23:10 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2021/04/24 23:36:36 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8.8.1 2021/08/04 03:23:10 thorpej Exp $"); #include "mainbus.h" #include "opt_multiprocessor.h" @@ -86,7 +86,7 @@ mainbus_attach(device_t parent, device_t mba.mba_name = "cpu"; mba.mba_unit = 0; mba.mba_addr = MAINBUSCF_ADDR_DEFAULT; - config_found(self, &mba, mainbus_cfprint, CFARG_EOL); + config_found(self, &mba, mainbus_cfprint, CFARGS_NONE); #ifdef MULTIPROCESSOR /* @@ -95,7 +95,7 @@ mainbus_attach(device_t parent, device_t mba.mba_name = "cpu"; mba.mba_unit = 1; mba.mba_addr = MAINBUSCF_ADDR_DEFAULT; - config_found(self, &mba, mainbus_cfprint, CFARG_EOL); + config_found(self, &mba, mainbus_cfprint, CFARGS_NONE); #endif /* @@ -104,7 +104,7 @@ mainbus_attach(device_t parent, device_t mba.mba_name = "gt"; mba.mba_unit = -1; mba.mba_addr = gt_base; - config_found(self, &mba, mainbus_cfprint, CFARG_EOL); + config_found(self, &mba, mainbus_cfprint, CFARGS_NONE); } int Index: src/sys/arch/evbppc/explora/dev/elb.c diff -u src/sys/arch/evbppc/explora/dev/elb.c:1.10 src/sys/arch/evbppc/explora/dev/elb.c:1.10.8.1 --- src/sys/arch/evbppc/explora/dev/elb.c:1.10 Sat Apr 24 23:36:36 2021 +++ src/sys/arch/evbppc/explora/dev/elb.c Wed Aug 4 03:23:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: elb.c,v 1.10 2021/04/24 23:36:36 thorpej Exp $ */ +/* $NetBSD: elb.c,v 1.10.8.1 2021/08/04 03:23:10 thorpej Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: elb.c,v 1.10 2021/04/24 23:36:36 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: elb.c,v 1.10.8.1 2021/08/04 03:23:10 thorpej Exp $"); #include #include @@ -141,7 +141,7 @@ elb_attach(device_t parent, device_t sel eaa.elb_base2 = elb->elb_addr2; eaa.elb_irq = elb->elb_irq; - (void) config_found(self, &eaa, elb_print, CFARG_EOL); + (void) config_found(self, &eaa, elb_print, CFARGS_NONE); } } Index: src/sys/arch/evbppc/explora/dev/fb_elb.c diff -u src/sys/arch/evbppc/explora/dev/fb_elb.c:1.19 src/sys/arch/evbppc/explora/dev/fb_elb.c:1.19.8.1 --- src/sys/arch/evbppc/explora/dev/fb_elb.c:1.19 Sat Apr 24 23:36:36 2021 +++ src/sys/arch/evbppc/explora/dev/fb_elb.c Wed Aug 4 03:23:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fb_elb.c,v 1.19 2021/04/24 23:36:36 thorpej Exp $ */ +/* $NetBSD: fb_elb.c,v 1.19.8.1 2021/08/04 03:23:10 thorpej Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fb_elb.c,v 1.19 2021/04/24 23:36:36 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fb_elb.c,v 1.19.8.1 2021/08/04 03:23:10 thorpej Exp $"); #include #include @@ -214,7 +214,7 @@ fb_elb_attach(device_t parent, device_t waa.accessops = &accessops; waa.accesscookie = sc; - config_found(self, &waa, wsemuldisplaydevprint, CFARG_EOL); + config_found(self, &waa, wsemuldisplaydevprint, CFARGS_NONE); } static void Index: src/sys/arch/evbppc/mpc8
CVS commit: [thorpej-cfargs2] src/sys/arch/evbmips
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:24:21 UTC 2021 Modified Files: src/sys/arch/evbmips/adm5120 [thorpej-cfargs2]: mainbus.c src/sys/arch/evbmips/alchemy [thorpej-cfargs2]: mainbus.c obio.c src/sys/arch/evbmips/atheros [thorpej-cfargs2]: mainbus.c src/sys/arch/evbmips/gdium [thorpej-cfargs2]: bonito_mainbus.c mainbus.c src/sys/arch/evbmips/ingenic [thorpej-cfargs2]: mainbus.c src/sys/arch/evbmips/loongson [thorpej-cfargs2]: bonito_mainbus.c mainbus.c src/sys/arch/evbmips/loongson/dev [thorpej-cfargs2]: pcib.c src/sys/arch/evbmips/malta/dev [thorpej-cfargs2]: gt.c mainbus.c src/sys/arch/evbmips/malta/pci [thorpej-cfargs2]: pcib.c src/sys/arch/evbmips/mipssim [thorpej-cfargs2]: mainbus.c virtio_mainbus.c src/sys/arch/evbmips/sbmips [thorpej-cfargs2]: zbbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbmips/adm5120/mainbus.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbmips/alchemy/mainbus.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/evbmips/alchemy/obio.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/evbmips/atheros/mainbus.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbmips/gdium/bonito_mainbus.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/evbmips/gdium/mainbus.c cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/evbmips/ingenic/mainbus.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbmips/loongson/bonito_mainbus.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/evbmips/loongson/mainbus.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbmips/loongson/dev/pcib.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/evbmips/malta/dev/gt.c \ src/sys/arch/evbmips/malta/dev/mainbus.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/evbmips/malta/pci/pcib.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbmips/mipssim/mainbus.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/evbmips/mipssim/virtio_mainbus.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbmips/sbmips/zbbus.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/evbmips/adm5120/mainbus.c diff -u src/sys/arch/evbmips/adm5120/mainbus.c:1.4 src/sys/arch/evbmips/adm5120/mainbus.c:1.4.8.1 --- src/sys/arch/evbmips/adm5120/mainbus.c:1.4 Sat Apr 24 23:36:34 2021 +++ src/sys/arch/evbmips/adm5120/mainbus.c Wed Aug 4 03:24:19 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.4 2021/04/24 23:36:34 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.4.8.1 2021/08/04 03:24:19 thorpej Exp $ */ /*- * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.4 2021/04/24 23:36:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.4.8.1 2021/08/04 03:24:19 thorpej Exp $"); #include #include @@ -153,8 +153,7 @@ mainbus_attach(device_t parent, device_t for (md = mainbusdevs; md->md_name != NULL; md++) { ma.ma_name = md->md_name; config_found(self, &ma, mainbus_print, - CFARG_IATTR, "mainbus", - CFARG_EOL); + CFARGS(.iattr = "mainbus")); } } Index: src/sys/arch/evbmips/alchemy/mainbus.c diff -u src/sys/arch/evbmips/alchemy/mainbus.c:1.11 src/sys/arch/evbmips/alchemy/mainbus.c:1.11.8.1 --- src/sys/arch/evbmips/alchemy/mainbus.c:1.11 Sat Apr 24 23:36:34 2021 +++ src/sys/arch/evbmips/alchemy/mainbus.c Wed Aug 4 03:24:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:34 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 03:24:20 thorpej Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2021/04/24 23:36:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11.8.1 2021/08/04 03:24:20 thorpej Exp $"); #include #include @@ -87,7 +87,7 @@ mainbus_attach(device_t parent, device_t printf("\n"); for (md = mainbusdevs; md->md_name != NULL; md++) { - config_found(self, NULL, mainbus_print, CFARG_EOL); + config_found(self, NULL, mainbus_print, CFARGS_NONE); } } Index: src/sys/arch/evbmips/alchemy/obio.c diff -u src/sys/arch/evbmips/alchemy/obio.c:1.5 src/sys/arch/evbmips/alchemy/obio.c:1.5.8.1 --- src/sys/arch/evbmips/alchemy/obio.c:1.5 Sat Apr 24 23:36:34 2021 +++ src/sys/arch/evbmips/alchemy/obio.c Wed Aug 4 03:24:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.5 2021/04/24 23:36:34 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.5.8.1 2021/08/04 03:24:20 thorpej Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.5 2021/04/24 23:36:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.5.8.1 2021/08/04 03:24:20 thorpej Exp $"); #include #include @@ -89,8 +89,7 @@ obio_attach(device_t parent, device_t se oa.oba_addr = od->od_addr; oa.oba_irq = od->od_irq; c
CVS commit: [thorpej-cfargs2] src/sys/arch/evbarm
Module Name:src Committed By: thorpej Date: Wed Aug 4 16:59:14 UTC 2021 Modified Files: src/sys/arch/evbarm/adi_brh [thorpej-cfargs2]: obio.c src/sys/arch/evbarm/armadillo [thorpej-cfargs2]: armadillo9_iic.c src/sys/arch/evbarm/g42xxeb [thorpej-cfargs2]: g42xxeb_kmkbd.c g42xxeb_lcd.c gb225.c gb225_pcic.c obio.c src/sys/arch/evbarm/gumstix [thorpej-cfargs2]: gxiic.c gxio.c gxlcd.c src/sys/arch/evbarm/hdl_g [thorpej-cfargs2]: obio.c src/sys/arch/evbarm/ifpga [thorpej-cfargs2]: ifpga.c src/sys/arch/evbarm/iq80310 [thorpej-cfargs2]: obio.c src/sys/arch/evbarm/iq80321 [thorpej-cfargs2]: obio.c src/sys/arch/evbarm/iyonix [thorpej-cfargs2]: obio.c src/sys/arch/evbarm/lubbock [thorpej-cfargs2]: lubbock_lcd.c obio.c sacc_obio.c src/sys/arch/evbarm/mini2440 [thorpej-cfargs2]: mini2440_lcd.c src/sys/arch/evbarm/mpcsa [thorpej-cfargs2]: mpcsa_leds.c src/sys/arch/evbarm/netwalker [thorpej-cfargs2]: netwalker_btn.c src/sys/arch/evbarm/nslu2 [thorpej-cfargs2]: nslu2_iic.c src/sys/arch/evbarm/smdk2xx0 [thorpej-cfargs2]: smdk2410_kbd.c smdk2410_lcd.c src/sys/arch/evbarm/tsarm [thorpej-cfargs2]: tskp.c tslcd.c tspld.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/evbarm/adi_brh/obio.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/evbarm/armadillo/armadillo9_iic.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/evbarm/g42xxeb/g42xxeb_kmkbd.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbarm/g42xxeb/gb225.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/evbarm/g42xxeb/gb225_pcic.c cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/evbarm/g42xxeb/obio.c cvs rdiff -u -r1.10 -r1.10.8.1 src/sys/arch/evbarm/gumstix/gxiic.c cvs rdiff -u -r1.27 -r1.27.8.1 src/sys/arch/evbarm/gumstix/gxio.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbarm/gumstix/gxlcd.c cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/evbarm/hdl_g/obio.c cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/arch/evbarm/ifpga/ifpga.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/evbarm/iq80310/obio.c cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/evbarm/iq80321/obio.c cvs rdiff -u -r1.2 -r1.2.8.1 src/sys/arch/evbarm/iyonix/obio.c cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/evbarm/lubbock/lubbock_lcd.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbarm/lubbock/obio.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/evbarm/lubbock/sacc_obio.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/evbarm/mini2440/mini2440_lcd.c cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/evbarm/mpcsa/mpcsa_leds.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbarm/netwalker/netwalker_btn.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbarm/nslu2/nslu2_iic.c cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/evbarm/tsarm/tskp.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/evbarm/tsarm/tslcd.c cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/evbarm/tsarm/tspld.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/evbarm/adi_brh/obio.c diff -u src/sys/arch/evbarm/adi_brh/obio.c:1.12 src/sys/arch/evbarm/adi_brh/obio.c:1.12.8.1 --- src/sys/arch/evbarm/adi_brh/obio.c:1.12 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/evbarm/adi_brh/obio.c Wed Aug 4 16:59:12 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.12 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: obio.c,v 1.12.8.1 2021/08/04 16:59:12 thorpej Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.12 2021/04/24 23:36:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.12.8.1 2021/08/04 16:59:12 thorpej Exp $"); #include #include @@ -105,8 +105,7 @@ obio_attach(device_t parent, device_t se * configuration file. */ config_search(self, NULL, - CFARG_SEARCH, obio_search, - CFARG_EOL); + CFARGS(.search = obio_search)); } int @@ -138,7 +137,7 @@ obio_search(device_t parent, cfdata_t cf oba.oba_irq = cf->cf_loc[OBIOCF_IRQ]; if (config_probe(parent, cf, &oba)) - config_attach(parent, cf, &oba, obio_print, CFARG_EOL); + config_attach(parent, cf, &oba, obio_print, CFARGS_NONE); return (0); } Index: src/sys/arch/evbarm/armadillo/armadillo9_iic.c diff -u src/sys/arch/evbarm/armadillo/armadillo9_iic.c:1.10 src/sys/arch/evbarm/armadillo/armadillo9_iic.c:1.10.8.1 --- src/sys/arch/evbarm/armadillo/armadillo9_iic.c:1.10 Sat Apr 24 23:36:32 2021 +++ src/sys/arch/evbarm/armadillo/armadillo9_iic.c Wed Aug 4 16:59:13 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: armadillo9_iic.c,v 1.10 2021/04/24 23:36:32 thorpej Exp $ */ +/* $NetBSD: armadillo9_iic
CVS commit: [thorpej-cfargs2] src/sys/arch/amd64/amd64
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:24:35 UTC 2021 Modified Files: src/sys/arch/amd64/amd64 [thorpej-cfargs2]: amd64_mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/amd64/amd64/amd64_mainbus.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/amd64/amd64/amd64_mainbus.c diff -u src/sys/arch/amd64/amd64/amd64_mainbus.c:1.6 src/sys/arch/amd64/amd64/amd64_mainbus.c:1.6.8.1 --- src/sys/arch/amd64/amd64/amd64_mainbus.c:1.6 Sat Apr 24 23:36:24 2021 +++ src/sys/arch/amd64/amd64/amd64_mainbus.c Tue Aug 3 23:24:35 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: amd64_mainbus.c,v 1.6 2021/04/24 23:36:24 thorpej Exp $ */ +/* $NetBSD: amd64_mainbus.c,v 1.6.8.1 2021/08/03 23:24:35 thorpej Exp $ */ /* NetBSD: mainbus.c,v 1.39 2018/12/02 08:19:44 cherry Exp */ /* @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: amd64_mainbus.c,v 1.6 2021/04/24 23:36:24 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: amd64_mainbus.c,v 1.6.8.1 2021/08/03 23:24:35 thorpej Exp $"); #include #include @@ -180,8 +180,7 @@ amd64_mainbus_attach(device_t parent, de mba.mba_acpi.aa_dmat = &pci_bus_dma_tag; mba.mba_acpi.aa_dmat64 = &pci_bus_dma64_tag; config_found(self, &mba.mba_acpi, NULL, - CFARG_IATTR, "acpibus", - CFARG_EOL); + CFARGS(.iattr = "acpibus")); } #endif @@ -191,8 +190,7 @@ amd64_mainbus_attach(device_t parent, de mba.mba_ipmi.iaa_memt = x86_bus_space_mem; if (ipmi_probe(&mba.mba_ipmi)) config_found(self, &mba.mba_ipmi, NULL, - CFARG_IATTR, "ipmibus", - CFARG_EOL); + CFARGS(.iattr = "ipmibus")); #endif #if NPCI > 0 @@ -220,8 +218,7 @@ amd64_mainbus_attach(device_t parent, de #endif if (npcibus == 0) config_found(self, &mba.mba_pba, pcibusprint, - CFARG_IATTR, "pcibus", - CFARG_EOL); + CFARGS(.iattr = "pcibus")); #if NACPICA > 0 if (mp_verbose) @@ -236,8 +233,7 @@ amd64_mainbus_attach(device_t parent, de mba.mba_iba.iba_iot = x86_bus_space_io; mba.mba_iba.iba_memt = x86_bus_space_mem; config_found(self, &mba.mba_iba, isabusprint, - CFARG_IATTR, "isabus", - CFARG_EOL); + CFARGS(.iattr = "isabus")); } #endif
CVS commit: [thorpej-cfargs2] src/sys/arch/bebox/bebox
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:44:31 UTC 2021 Modified Files: src/sys/arch/bebox/bebox [thorpej-cfargs2]: mainbus.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.34.8.1 src/sys/arch/bebox/bebox/mainbus.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/bebox/bebox/mainbus.c diff -u src/sys/arch/bebox/bebox/mainbus.c:1.34 src/sys/arch/bebox/bebox/mainbus.c:1.34.8.1 --- src/sys/arch/bebox/bebox/mainbus.c:1.34 Sat Apr 24 23:36:30 2021 +++ src/sys/arch/bebox/bebox/mainbus.c Tue Aug 3 23:44:31 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.34 2021/04/24 23:36:30 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.34.8.1 2021/08/03 23:44:31 thorpej Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.34 2021/04/24 23:36:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.34.8.1 2021/08/03 23:44:31 thorpej Exp $"); #include #include @@ -111,13 +111,11 @@ mainbus_attach(device_t parent, device_t ca.ca_name = "cpu"; ca.ca_node = 0; config_found(self, &ca, mainbus_print, - CFARG_IATTR, "mainbus", - CFARG_EOL); + CFARGS(.iattr = "mainbus")); ca.ca_name = "cpu"; ca.ca_node = 1; config_found(self, &ca, mainbus_print, - CFARG_IATTR, "mainbus", - CFARG_EOL); + CFARGS(.iattr = "mainbus")); /* * XXX Note also that the presence of a PCI bus should @@ -162,8 +160,7 @@ mainbus_attach(device_t parent, device_t mba.mba_pba.pba_bridgetag = NULL; mba.mba_pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY; config_found(self, &mba.mba_pba, pcibusprint, - CFARG_IATTR, "pcibus", - CFARG_EOL); + CFARGS(.iattr = "pcibus")); #endif /* NPCI */ #ifdef RESIDUAL_DATA_DUMP
CVS commit: [thorpej-cfargs2] src/sys/arch/cats/pci
Module Name:src Committed By: thorpej Date: Tue Aug 3 23:53:38 UTC 2021 Modified Files: src/sys/arch/cats/pci [thorpej-cfargs2]: pcib.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/cats/pci/pcib.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/cats/pci/pcib.c diff -u src/sys/arch/cats/pci/pcib.c:1.17 src/sys/arch/cats/pci/pcib.c:1.17.8.1 --- src/sys/arch/cats/pci/pcib.c:1.17 Sat Apr 24 23:36:30 2021 +++ src/sys/arch/cats/pci/pcib.c Tue Aug 3 23:53:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pcib.c,v 1.17 2021/04/24 23:36:30 thorpej Exp $ */ +/* $NetBSD: pcib.c,v 1.17.8.1 2021/08/03 23:53:38 thorpej Exp $ */ /*- * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.17 2021/04/24 23:36:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.17.8.1 2021/08/03 23:53:38 thorpej Exp $"); #include #include @@ -111,5 +111,5 @@ pcib_callback(device_t self) #if NISADMA > 0 iba.iba_dmat = &isa_bus_dma_tag; #endif - config_found(self, &iba, isabusprint, CFARG_EOL); + config_found(self, &iba, isabusprint, CFARGS_NONE); }
CVS commit: [thorpej-cfargs2] src/sys/arch/zaurus/dev
Module Name:src Committed By: thorpej Date: Wed Aug 4 03:07:41 UTC 2021 Modified Files: src/sys/arch/zaurus/dev [thorpej-cfargs2]: w100lcd.c zapm.c ziic.c zkbd.c zlcd.c zrc.c zssp.c ztp.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/zaurus/dev/w100lcd.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/zaurus/dev/zapm.c cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/zaurus/dev/ziic.c cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/arch/zaurus/dev/zkbd.c cvs rdiff -u -r1.19 -r1.19.8.1 src/sys/arch/zaurus/dev/zlcd.c cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/arch/zaurus/dev/zrc.c cvs rdiff -u -r1.14 -r1.14.8.1 src/sys/arch/zaurus/dev/zssp.c cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/arch/zaurus/dev/ztp.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/zaurus/dev/w100lcd.c diff -u src/sys/arch/zaurus/dev/w100lcd.c:1.4 src/sys/arch/zaurus/dev/w100lcd.c:1.4.8.1 --- src/sys/arch/zaurus/dev/w100lcd.c:1.4 Sat Apr 24 23:36:52 2021 +++ src/sys/arch/zaurus/dev/w100lcd.c Wed Aug 4 03:07:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: w100lcd.c,v 1.4 2021/04/24 23:36:52 thorpej Exp $ */ +/* $NetBSD: w100lcd.c,v 1.4.8.1 2021/08/04 03:07:41 thorpej Exp $ */ /* * Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved. * Written by Hiroyuki Bessho for Genetec Corporation. @@ -39,7 +39,7 @@ * LCD on/off switch and backlight brightness are done in lcdctl.c. */ #include -__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.4 2021/04/24 23:36:52 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.4.8.1 2021/08/04 03:07:41 thorpej Exp $"); #include "lcdctl.h" @@ -145,7 +145,7 @@ w100lcd_attach(device_t parent, device_t aa.accessops = &w100lcd_accessops; aa.accesscookie = sc; - (void)config_found(self, &aa, wsemuldisplaydevprint, CFARG_EOL); + (void)config_found(self, &aa, wsemuldisplaydevprint, CFARGS_NONE); if (!pmf_device_register(self, w100lcd_suspend, w100lcd_resume)) aprint_error_dev(self, "couldn't establish power handler\n"); Index: src/sys/arch/zaurus/dev/zapm.c diff -u src/sys/arch/zaurus/dev/zapm.c:1.13 src/sys/arch/zaurus/dev/zapm.c:1.13.8.1 --- src/sys/arch/zaurus/dev/zapm.c:1.13 Sat Apr 24 23:36:52 2021 +++ src/sys/arch/zaurus/dev/zapm.c Wed Aug 4 03:07:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: zapm.c,v 1.13 2021/04/24 23:36:52 thorpej Exp $ */ +/* $NetBSD: zapm.c,v 1.13.8.1 2021/08/04 03:07:41 thorpej Exp $ */ /* $OpenBSD: zaurus_apm.c,v 1.13 2006/12/12 23:14:28 dim Exp $ */ /* @@ -18,7 +18,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: zapm.c,v 1.13 2021/04/24 23:36:52 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zapm.c,v 1.13.8.1 2021/08/04 03:07:41 thorpej Exp $"); #include #include @@ -195,7 +195,7 @@ zapm_attach(device_t parent, device_t se aaa.accesscookie = sc; aaa.apm_detail = 0x0102; - sc->sc_apmdev = config_found(self, &aaa, apmprint, CFARG_EOL); + sc->sc_apmdev = config_found(self, &aaa, apmprint, CFARGS_NONE); if (sc->sc_apmdev != NULL) { zapm_poll1(sc, 0); callout_schedule(&sc->sc_cyclic_poll, CYCLIC_TIME); Index: src/sys/arch/zaurus/dev/ziic.c diff -u src/sys/arch/zaurus/dev/ziic.c:1.5 src/sys/arch/zaurus/dev/ziic.c:1.5.8.1 --- src/sys/arch/zaurus/dev/ziic.c:1.5 Sat Apr 24 23:36:52 2021 +++ src/sys/arch/zaurus/dev/ziic.c Wed Aug 4 03:07:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ziic.c,v 1.5 2021/04/24 23:36:52 thorpej Exp $ */ +/* $NetBSD: ziic.c,v 1.5.8.1 2021/08/04 03:07:41 thorpej Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ziic.c,v 1.5 2021/04/24 23:36:52 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ziic.c,v 1.5.8.1 2021/08/04 03:07:41 thorpej Exp $"); #include #include @@ -129,7 +129,7 @@ pxaiic_attach(device_t parent, device_t memset(&iba, 0, sizeof(iba)); iba.iba_tag = &sc->sc_i2c; - config_found(psc->sc_dev, &iba, iicbus_print, CFARG_EOL); + config_found(psc->sc_dev, &iba, iicbus_print, CFARGS_NONE); } static int Index: src/sys/arch/zaurus/dev/zkbd.c diff -u src/sys/arch/zaurus/dev/zkbd.c:1.21 src/sys/arch/zaurus/dev/zkbd.c:1.21.8.1 --- src/sys/arch/zaurus/dev/zkbd.c:1.21 Sat Apr 24 23:36:52 2021 +++ src/sys/arch/zaurus/dev/zkbd.c Wed Aug 4 03:07:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: zkbd.c,v 1.21 2021/04/24 23:36:52 thorpej Exp $ */ +/* $NetBSD: zkbd.c,v 1.21.8.1 2021/08/04 03:07:41 thorpej Exp $ */ /* $OpenBSD: zaurus_kbd.c,v 1.28 2005/12/21 20:36:03 deraadt Exp $ */ /* @@ -18,7 +18,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: zkbd.c,v 1.21 2021/04/24 23:36:52 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zkbd.c,v 1.21.8.1 2021/08/04 03:07:41 thorpej Exp $"); #include "opt_wsdisplay_compat.h" #if 0 /* XXX */ @@ -336,7 +336,7 @@ zkbd_attach(device_t parent, device_t se zkbd_hinge(sc); /* to initialize sc_hinge */ - sc->sc_wskbddev = conf