Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Merge thorpej-cfargs branch:
details: https://anonhg.NetBSD.org/src/rev/2b8290ef9865
branches: trunk
changeset: 378719:2b8290ef9865
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Apr 24 23:36:23 2021 +0000
description:
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
diffstat:
sys/arch/acorn32/eb7500atx/rsbus.c | 12 +-
sys/arch/acorn32/mainbus/fd.c | 6 +-
sys/arch/acorn32/mainbus/pioc.c | 41 +-
sys/arch/acorn32/podulebus/amps.c | 6 +-
sys/arch/acorn32/podulebus/asc.c | 6 +-
sys/arch/acorn32/podulebus/cosc.c | 6 +-
sys/arch/acorn32/podulebus/csc.c | 6 +-
sys/arch/acorn32/podulebus/podulebus.c | 14 +-
sys/arch/acorn32/podulebus/ptsc.c | 6 +-
sys/arch/algor/dev/bonito_mainbus.c | 6 +-
sys/arch/algor/dev/mainbus.c | 9 +-
sys/arch/algor/dev/vtpbc_mainbus.c | 6 +-
sys/arch/algor/pci/pcib.c | 6 +-
sys/arch/alpha/alpha/mainbus.c | 10 +-
sys/arch/alpha/jensenio/jensenio.c | 19 +-
sys/arch/alpha/mcbus/mcbus.c | 23 +-
sys/arch/alpha/pci/apecs.c | 6 +-
sys/arch/alpha/pci/cia.c | 6 +-
sys/arch/alpha/pci/dwlpx.c | 6 +-
sys/arch/alpha/pci/irongate.c | 12 +-
sys/arch/alpha/pci/lca.c | 6 +-
sys/arch/alpha/pci/mcpcia.c | 6 +-
sys/arch/alpha/pci/sio.c | 13 +-
sys/arch/alpha/pci/tsc.c | 16 +-
sys/arch/alpha/pci/tsciic.c | 10 +-
sys/arch/alpha/pci/ttwoga.c | 15 +-
sys/arch/alpha/sableio/sableio.c | 10 +-
sys/arch/alpha/tc/tcasic.c | 6 +-
sys/arch/alpha/tlsb/gbus.c | 10 +-
sys/arch/alpha/tlsb/kftxx.c | 6 +-
sys/arch/alpha/tlsb/tlsb.c | 16 +-
sys/arch/amd64/amd64/amd64_mainbus.c | 21 +-
sys/arch/amiga/amiga/autoconf.c | 72 ++-
sys/arch/amiga/clockport/a1k2cp.c | 4 +-
sys/arch/amiga/clockport/clockport.c | 14 +-
sys/arch/amiga/clockport/gencp.c | 4 +-
sys/arch/amiga/dev/acafh.c | 8 +-
sys/arch/amiga/dev/afsc.c | 6 +-
sys/arch/amiga/dev/ahsc.c | 6 +-
sys/arch/amiga/dev/amidisplaycc.c | 6 +-
sys/arch/amiga/dev/atzsc.c | 6 +-
sys/arch/amiga/dev/bppcsc.c | 6 +-
sys/arch/amiga/dev/cbiiisc.c | 6 +-
sys/arch/amiga/dev/drsc.c | 6 +-
sys/arch/amiga/dev/drsupio.c | 6 +-
sys/arch/amiga/dev/empsc.c | 6 +-
sys/arch/amiga/dev/fd.c | 8 +-
sys/arch/amiga/dev/gayle_pcmcia.c | 6 +-
sys/arch/amiga/dev/grf.c | 6 +-
sys/arch/amiga/dev/gtsc.c | 6 +-
sys/arch/amiga/dev/gvpbus.c | 8 +-
sys/arch/amiga/dev/gvpio.c | 6 +-
sys/arch/amiga/dev/hyper.c | 6 +-
sys/arch/amiga/dev/ioblix_zbus.c | 6 +-
sys/arch/amiga/dev/ivsc.c | 6 +-
sys/arch/amiga/dev/kbd.c | 7 +-
sys/arch/amiga/dev/mfc.c | 13 +-
sys/arch/amiga/dev/mgnsc.c | 6 +-
sys/arch/amiga/dev/mlhsc.c | 6 +-
sys/arch/amiga/dev/mntva.c | 6 +-
sys/arch/amiga/dev/ms.c | 6 +-
sys/arch/amiga/dev/otgsc.c | 6 +-
sys/arch/amiga/dev/p5bus.c | 8 +-
sys/arch/amiga/dev/wesc.c | 6 +-
sys/arch/amiga/dev/wstsc.c | 6 +-
sys/arch/amiga/dev/xsh.c | 6 +-
sys/arch/amiga/dev/xsurf.c | 12 +-
sys/arch/amiga/dev/z3rambd.c | 6 +-
sys/arch/amiga/dev/zssc.c | 6 +-
sys/arch/amiga/pci/cv3dpb.c | 4 +-
sys/arch/amiga/pci/em4k.c | 4 +-
sys/arch/amiga/pci/empb.c | 10 +-
sys/arch/amiga/pci/mppb.c | 4 +-
sys/arch/amiga/pci/p5pb.c | 4 +-
sys/arch/amigappc/amigappc/autoconf.c | 8 +-
sys/arch/amigappc/amigappc/mainbus.c | 43 +-
sys/arch/arc/arc/mainbus.c | 8 +-
sys/arch/arc/dti/btl.c | 6 +-
sys/arch/arc/isa/isabus.c | 8 +-
sys/arch/arc/jazz/fd.c | 7 +-
sys/arch/arc/jazz/jazzio.c | 6 +-
sys/arch/arc/pci/necpb.c | 6 +-
sys/arch/arm/acpi/acpi_machdep.c | 16 +-
sys/arch/arm/acpi/acpi_platform.c | 6 +-
sys/arch/arm/acpi/acpipchb.c | 6 +-
sys/arch/arm/acpi/gic_acpi.c | 6 +-
sys/arch/arm/acpi/gtmr_acpi.c | 6 +-
sys/arch/arm/altera/cycv_platform.c | 6 +-
sys/arch/arm/amlogic/meson_pinctrl.c | 6 +-
sys/arch/arm/amlogic/meson_platform.c | 8 +-
sys/arch/arm/amlogic/meson_sdhc.c | 6 +-
sys/arch/arm/amlogic/meson_sdio.c | 6 +-
sys/arch/arm/amlogic/mesongx_mmc.c | 6 +-
sys/arch/arm/at91/at91bus.c | 18 +-
sys/arch/arm/at91/at91cf.c | 9 +-
sys/arch/arm/at91/at91ohci.c | 9 +-
sys/arch/arm/at91/at91pio.c | 19 +-
sys/arch/arm/at91/at91spi.c | 8 +-
sys/arch/arm/at91/at91twi.c | 8 +-
sys/arch/arm/broadcom/bcm2835_bsc_acpi.c | 6 +-
sys/arch/arm/broadcom/bcm2835_dwctwo.c | 6 +-
sys/arch/arm/broadcom/bcm2835_gpio.c | 6 +-
sys/arch/arm/broadcom/bcm2835_mbox.c | 6 +-
sys/arch/arm/broadcom/bcm2835_sdhost.c | 6 +-
sys/arch/arm/broadcom/bcm2835_spi.c | 6 +-
sys/arch/arm/broadcom/bcm2835_vcaudio.c | 6 +-
sys/arch/arm/broadcom/bcm2838_pcie.c | 6 +-
sys/arch/arm/broadcom/bcm283x_platform.c | 6 +-
sys/arch/arm/broadcom/bcm53xx_cca.c | 6 +-
sys/arch/arm/broadcom/bcm53xx_ccb.c | 10 +-
sys/arch/arm/broadcom/bcm53xx_pax.c | 4 +-
sys/arch/arm/broadcom/bcm53xx_usb.c | 12 +-
sys/arch/arm/clps711x/clpslcd.c | 6 +-
sys/arch/arm/clps711x/clpssoc.c | 9 +-
sys/arch/arm/cortex/armperiph.c | 4 +-
sys/arch/arm/ep93xx/epgpio.c | 17 +-
sys/arch/arm/ep93xx/epohci.c | 7 +-
sys/arch/arm/ep93xx/eppcic.c | 9 +-
sys/arch/arm/ep93xx/epsoc.c | 27 +-
sys/arch/arm/fdt/a9ptmr_fdt.c | 6 +-
sys/arch/arm/fdt/a9tmr_fdt.c | 6 +-
sys/arch/arm/fdt/a9wdt_fdt.c | 6 +-
sys/arch/arm/fdt/acpi_fdt.c | 6 +-
sys/arch/arm/fdt/arm_fdt.c | 6 +-
sys/arch/arm/fdt/arm_platform.c | 5 +-
sys/arch/arm/fdt/cpu_fdt.c | 6 +-
sys/arch/arm/fdt/gic_fdt.c | 6 +-
sys/arch/arm/fdt/gtmr_fdt.c | 6 +-
sys/arch/arm/fdt/l2cc_fdt.c | 6 +-
sys/arch/arm/fdt/pcihost_fdt.c | 6 +-
sys/arch/arm/footbridge/footbridge.c | 12 +-
sys/arch/arm/gemini/gemini_gmac.c | 22 +-
sys/arch/arm/gemini/gemini_gpio.c | 6 +-
sys/arch/arm/gemini/gemini_ipi.c | 4 +-
sys/arch/arm/gemini/gemini_ipm.c | 4 +-
sys/arch/arm/gemini/gemini_lpc.c | 12 +-
sys/arch/arm/gemini/gemini_obio.c | 24 +-
sys/arch/arm/gemini/obio_ehci.c | 6 +-
sys/arch/arm/gemini/obio_lpchc.c | 8 +-
sys/arch/arm/imx/imx23_ahb.c | 10 +-
sys/arch/arm/imx/imx23_apbh.c | 18 +-
sys/arch/arm/imx/imx23_apbx.c | 18 +-
sys/arch/arm/imx/imx23_pinctrl.c | 4 +-
sys/arch/arm/imx/imx23_ssp.c | 4 +-
sys/arch/arm/imx/imx23_usb.c | 10 +-
sys/arch/arm/imx/imx31_ahb.c | 18 +-
sys/arch/arm/imx/imx31_aips.c | 14 +-
sys/arch/arm/imx/imx31_gpio.c | 6 +-
sys/arch/arm/imx/imx51_axi.c | 20 +-
sys/arch/arm/imx/imx51_ipuv3.c | 6 +-
sys/arch/arm/imx/imx51_usb.c | 12 +-
sys/arch/arm/imx/imx_pcic.c | 10 +-
sys/arch/arm/imx/imxgpio.c | 6 +-
sys/arch/arm/imx/imxspi.c | 6 +-
sys/arch/arm/imx/imxusb.c | 7 +-
sys/arch/arm/iomd/iomd.c | 14 +-
sys/arch/arm/iomd/iomdiic.c | 4 +-
sys/arch/arm/iomd/qms.c | 6 +-
sys/arch/arm/iomd/vidc20.c | 12 +-
sys/arch/arm/iomd/vidcvideo.c | 6 +-
sys/arch/arm/ixp12x0/ixp12x0.c | 6 +-
sys/arch/arm/ixp12x0/ixpsip.c | 12 +-
sys/arch/arm/mainbus/mainbus.c | 12 +-
sys/arch/arm/marvell/mvsoc.c | 9 +-
sys/arch/arm/marvell/mvsocgpp.c | 6 +-
sys/arch/arm/mpcore/mpcore_axi.c | 20 +-
sys/arch/arm/mpcore/mpcore_pmr.c | 12 +-
sys/arch/arm/nvidia/tegra210_xusbpad.c | 6 +-
sys/arch/arm/nvidia/tegra_cec.c | 6 +-
sys/arch/arm/nvidia/tegra_drm_fb.c | 8 +-
sys/arch/arm/nvidia/tegra_ehci.c | 7 +-
sys/arch/arm/nvidia/tegra_gpio.c | 8 +-
sys/arch/arm/nvidia/tegra_pcie.c | 6 +-
sys/arch/arm/nvidia/tegra_platform.c | 6 +-
sys/arch/arm/nvidia/tegra_xusb.c | 9 +-
sys/arch/arm/nxp/imx6_platform.c | 6 +-
sys/arch/arm/nxp/imx6_usb.c | 7 +-
sys/arch/arm/nxp/imxpcie.c | 6 +-
sys/arch/arm/omap/am335x_gpio.c | 6 +-
sys/arch/arm/omap/files.omap2 | 4 +-
sys/arch/arm/omap/obio_ohci.c | 9 +-
sys/arch/arm/omap/omap2_gpio.c | 6 +-
sys/arch/arm/omap/omap2_gpmc.c | 15 +-
sys/arch/arm/omap/omap2_l3i.c | 14 +-
sys/arch/arm/omap/omap2_obio.c | 20 +-
sys/arch/arm/omap/omap3_ehci.c | 7 +-
sys/arch/arm/omap/omap3_i2c.c | 10 +-
sys/arch/arm/omap/omap_emifs.c | 12 +-
sys/arch/arm/omap/omap_ocp.c | 12 +-
sys/arch/arm/omap/omap_tipb.c | 20 +-
sys/arch/arm/omap/omapfb.c | 6 +-
sys/arch/arm/omap/omapl1x_ohci.c | 5 +-
sys/arch/arm/omap/omapl1x_tipb.c | 18 +-
sys/arch/arm/omap/ti_iic.c | 10 +-
sys/arch/arm/omap/tifb.c | 6 +-
sys/arch/arm/omap/tiotg.c | 15 +-
sys/arch/arm/rockchip/rk3328_iomux.c | 6 +-
sys/arch/arm/rockchip/rk3399_iomux.c | 6 +-
sys/arch/arm/rockchip/rk_drm.c | 8 +-
sys/arch/arm/rockchip/rk_gpio.c | 6 +-
sys/arch/arm/rockchip/rk_platform.c | 5 +-
sys/arch/arm/rockchip/rk_usb.c | 6 +-
sys/arch/arm/s3c2xx0/ohci_s3c24x0.c | 7 +-
sys/arch/arm/s3c2xx0/s3c2410.c | 12 +-
sys/arch/arm/s3c2xx0/s3c2410_extint.c | 12 +-
sys/arch/arm/s3c2xx0/s3c2410_spi.c | 12 +-
sys/arch/arm/s3c2xx0/s3c2440.c | 10 +-
sys/arch/arm/s3c2xx0/s3c2440_extint.c | 10 +-
sys/arch/arm/s3c2xx0/s3c2440_i2s.c | 8 +-
sys/arch/arm/s3c2xx0/s3c2440_sdi.c | 6 +-
sys/arch/arm/s3c2xx0/s3c2440_spi.c | 10 +-
sys/arch/arm/s3c2xx0/s3c2440_touch.c | 3 +-
sys/arch/arm/s3c2xx0/s3c2800.c | 12 +-
sys/arch/arm/s3c2xx0/s3c2800_pci.c | 6 +-
sys/arch/arm/sa11x0/sa1111.c | 8 +-
sys/arch/arm/sa11x0/sa11x0.c | 12 +-
sys/arch/arm/sa11x0/sa11x1_pcic.c | 8 +-
sys/arch/arm/samsung/exynos_ehci.c | 6 +-
sys/arch/arm/samsung/exynos_gpio.c | 8 +-
sys/arch/arm/samsung/exynos_ohci.c | 6 +-
sys/arch/arm/samsung/exynos_platform.c | 5 +-
sys/arch/arm/samsung/mct.c | 6 +-
sys/arch/arm/sociox/sni_gpio.c | 6 +-
sys/arch/arm/sociox/sni_i2c.c | 6 +-
sys/arch/arm/sunxi/sun6i_spi.c | 6 +-
sys/arch/arm/sunxi/sunxi_debe.c | 7 +-
sys/arch/arm/sunxi/sunxi_drm.c | 8 +-
sys/arch/arm/sunxi/sunxi_gpio.c | 6 +-
sys/arch/arm/sunxi/sunxi_mmc.c | 6 +-
sys/arch/arm/sunxi/sunxi_platform.c | 6 +-
sys/arch/arm/sunxi/sunxi_ts.c | 8 +-
sys/arch/arm/ti/omap2_nand.c | 6 +-
sys/arch/arm/ti/omap3_dss.c | 6 +-
sys/arch/arm/ti/omap3_platform.c | 5 +-
sys/arch/arm/ti/ti_ehci.c | 6 +-
sys/arch/arm/ti/ti_gpio.c | 6 +-
sys/arch/arm/ti/ti_lcdc.c | 8 +-
sys/arch/arm/vexpress/vexpress_platform.c | 5 +-
sys/arch/arm/virt/virt_platform.c | 5 +-
sys/arch/arm/xilinx/zynq_platform.c | 6 +-
sys/arch/arm/xilinx/zynq_usb.c | 7 +-
sys/arch/arm/xscale/becc.c | 17 +-
sys/arch/arm/xscale/i80312.c | 12 +-
sys/arch/arm/xscale/i80321.c | 13 +-
sys/arch/arm/xscale/iopi2c.c | 6 +-
sys/arch/arm/xscale/ixp425.c | 8 +-
sys/arch/arm/xscale/ixp425_ixme.c | 12 +-
sys/arch/arm/xscale/ixp425_npe.c | 12 +-
sys/arch/arm/xscale/ixp425_sip.c | 12 +-
sys/arch/arm/xscale/pxa2x0.c | 20 +-
sys/arch/arm/xscale/pxa2x0_gpio.c | 6 +-
sys/arch/arm/xscale/pxa2x0_mci.c | 6 +-
sys/arch/arm/xscale/pxa2x0_ohci.c | 5 +-
sys/arch/arm/xscale/pxa2x0_pcic.c | 8 +-
sys/arch/arm/zynq/zynq_axi.c | 21 +-
sys/arch/arm/zynq/zynq_usb.c | 7 +-
sys/arch/atari/atari/autoconf.c | 36 +-
sys/arch/atari/dev/fd.c | 6 +-
sys/arch/atari/dev/grf.c | 6 +-
sys/arch/atari/dev/hdfd.c | 6 +-
sys/arch/atari/dev/ite_cc.c | 9 +-
sys/arch/atari/dev/ite_et.c | 8 +-
sys/arch/atari/dev/kbd.c | 7 +-
sys/arch/atari/dev/ncr5380.c | 6 +-
sys/arch/atari/isa/isa_machdep.c | 6 +-
sys/arch/atari/pci/pci_machdep.c | 6 +-
sys/arch/atari/vme/vme.c | 12 +-
sys/arch/atari/vme/vme_machdep.c | 6 +-
sys/arch/bebox/bebox/mainbus.c | 16 +-
sys/arch/cats/pci/pcib.c | 6 +-
sys/arch/cesfic/cesfic/autoconf.c | 12 +-
sys/arch/cesfic/dev/zs.c | 6 +-
sys/arch/cobalt/cobalt/mainbus.c | 12 +-
sys/arch/cobalt/conf/files.cobalt | 4 +-
sys/arch/cobalt/dev/gt.c | 6 +-
sys/arch/cobalt/dev/zs.c | 7 +-
sys/arch/dreamcast/dev/g1/g1bus.c | 12 +-
sys/arch/dreamcast/dev/g2/g2bus.c | 12 +-
sys/arch/dreamcast/dev/g2/gapspci.c | 6 +-
sys/arch/dreamcast/dev/maple/maple.c | 10 +-
sys/arch/dreamcast/dev/maple/mkbd.c | 6 +-
sys/arch/dreamcast/dev/maple/mms.c | 6 +-
sys/arch/dreamcast/dev/pvr.c | 6 +-
sys/arch/dreamcast/dreamcast/mainbus.c | 6 +-
sys/arch/emips/ebus/ebus.c | 10 +-
sys/arch/emips/ebus/gpio_ebus.c | 6 +-
sys/arch/emips/emips/mainbus.c | 8 +-
sys/arch/epoc32/dev/epockbd.c | 7 +-
sys/arch/epoc32/dev/etna.c | 6 +-
sys/arch/epoc32/epoc32/external.c | 12 +-
sys/arch/epoc32/epoc32/internal.c | 12 +-
sys/arch/epoc32/windermere/windermere.c | 9 +-
sys/arch/epoc32/windermere/wmlcd.c | 6 +-
sys/arch/evbarm/adi_brh/obio.c | 12 +-
sys/arch/evbarm/armadillo/armadillo9_iic.c | 6 +-
sys/arch/evbarm/g42xxeb/g42xxeb_kmkbd.c | 6 +-
sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c | 5 +-
sys/arch/evbarm/g42xxeb/gb225.c | 10 +-
sys/arch/evbarm/g42xxeb/gb225_pcic.c | 4 +-
sys/arch/evbarm/g42xxeb/obio.c | 10 +-
sys/arch/evbarm/gumstix/gxiic.c | 6 +-
sys/arch/evbarm/gumstix/gxio.c | 12 +-
sys/arch/evbarm/gumstix/gxlcd.c | 6 +-
sys/arch/evbarm/hdl_g/obio.c | 12 +-
sys/arch/evbarm/ifpga/ifpga.c | 17 +-
sys/arch/evbarm/iq80310/obio.c | 12 +-
sys/arch/evbarm/iq80321/obio.c | 12 +-
sys/arch/evbarm/iyonix/obio.c | 12 +-
sys/arch/evbarm/lubbock/lubbock_lcd.c | 7 +-
sys/arch/evbarm/lubbock/obio.c | 12 +-
sys/arch/evbarm/lubbock/sacc_obio.c | 8 +-
sys/arch/evbarm/mini2440/mini2440_lcd.c | 4 +-
sys/arch/evbarm/mpcsa/mpcsa_leds.c | 8 +-
sys/arch/evbarm/netwalker/netwalker_btn.c | 6 +-
sys/arch/evbarm/nslu2/nslu2_iic.c | 4 +-
sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c | 6 +-
sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c | 6 +-
sys/arch/evbarm/tsarm/tskp.c | 7 +-
sys/arch/evbarm/tsarm/tslcd.c | 6 +-
sys/arch/evbarm/tsarm/tspld.c | 17 +-
sys/arch/evbmips/adm5120/mainbus.c | 8 +-
sys/arch/evbmips/alchemy/mainbus.c | 6 +-
sys/arch/evbmips/alchemy/obio.c | 9 +-
sys/arch/evbmips/atheros/mainbus.c | 6 +-
sys/arch/evbmips/gdium/bonito_mainbus.c | 6 +-
sys/arch/evbmips/gdium/mainbus.c | 6 +-
sys/arch/evbmips/ingenic/mainbus.c | 6 +-
sys/arch/evbmips/loongson/bonito_mainbus.c | 6 +-
sys/arch/evbmips/loongson/dev/pcib.c | 12 +-
sys/arch/evbmips/loongson/mainbus.c | 6 +-
sys/arch/evbmips/malta/dev/gt.c | 6 +-
sys/arch/evbmips/malta/dev/mainbus.c | 9 +-
sys/arch/evbmips/malta/pci/pcib.c | 6 +-
sys/arch/evbmips/mipssim/mainbus.c | 8 +-
sys/arch/evbmips/mipssim/virtio_mainbus.c | 10 +-
sys/arch/evbmips/sbmips/zbbus.c | 9 +-
sys/arch/evbppc/conf/files.pmppc | 4 +-
sys/arch/evbppc/ev64260/mainbus.c | 10 +-
sys/arch/evbppc/explora/dev/elb.c | 6 +-
sys/arch/evbppc/explora/dev/fb_elb.c | 6 +-
sys/arch/evbppc/mpc85xx/autoconf.c | 6 +-
sys/arch/evbppc/pmppc/mainbus.c | 23 +-
sys/arch/evbppc/virtex/autoconf.c | 6 +-
sys/arch/evbppc/virtex/design_gsrd1.c | 8 +-
sys/arch/evbppc/virtex/design_gsrd2.c | 8 +-
sys/arch/evbppc/virtex/dev/tft.c | 6 +-
sys/arch/evbppc/walnut/dev/pbus.c | 10 +-
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c | 8 +-
sys/arch/evbsh3/evbsh3/mainbus.c | 14 +-
sys/arch/evbsh3/t_sh7706lan/scimci.c | 6 +-
sys/arch/evbsh3/t_sh7706lan/ssumci.c | 6 +-
sys/arch/ews4800mips/dev/ewskbd.c | 7 +-
sys/arch/ews4800mips/dev/ewsms.c | 7 +-
sys/arch/ews4800mips/ews4800mips/mainbus.c | 8 +-
sys/arch/ews4800mips/sbd/fb_sbdio.c | 6 +-
sys/arch/ews4800mips/sbd/kbms_sbdio.c | 8 +-
sys/arch/ews4800mips/sbd/sbdio.c | 6 +-
sys/arch/ews4800mips/sbd/zs_sbdio.c | 7 +-
sys/arch/hp300/dev/dio.c | 9 +-
sys/arch/hp300/dev/diofb.c | 4 +-
sys/arch/hp300/dev/dnkbd.c | 12 +-
sys/arch/hp300/dev/fhpib.c | 6 +-
sys/arch/hp300/dev/frodo.c | 9 +-
sys/arch/hp300/dev/hpib.c | 12 +-
sys/arch/hp300/dev/intio.c | 6 +-
sys/arch/hp300/dev/nhpib.c | 6 +-
sys/arch/hp300/dev/sgc.c | 4 +-
sys/arch/hp300/dev/sti_sgc.c | 10 +-
sys/arch/hp300/hp300/autoconf.c | 12 +-
sys/arch/hpcarm/dev/epsonlcd.c | 6 +-
sys/arch/hpcarm/dev/ipaq_atmelgpio.c | 12 +-
sys/arch/hpcarm/dev/ipaq_lcd.c | 6 +-
sys/arch/hpcarm/dev/ipaq_pcic.c | 8 +-
sys/arch/hpcarm/dev/ipaq_saip.c | 12 +-
sys/arch/hpcarm/dev/j720kbd.c | 6 +-
sys/arch/hpcarm/dev/j720pwr.c | 6 +-
sys/arch/hpcarm/dev/j720ssp.c | 12 +-
sys/arch/hpcarm/dev/j720tp.c | 14 +-
sys/arch/hpcarm/dev/nbpiic.c | 6 +-
sys/arch/hpcarm/dev/nbpkbd.c | 6 +-
sys/arch/hpcarm/dev/nbppcon.c | 12 +-
sys/arch/hpcarm/dev/sacc_hpcarm.c | 8 +-
sys/arch/hpcarm/dev/sed_saip.c | 6 +-
sys/arch/hpcarm/dev/uda1341.c | 12 +-
sys/arch/hpcarm/dev/wzero3_kbd.c | 6 +-
sys/arch/hpcarm/dev/wzero3_keypad.c | 7 +-
sys/arch/hpcarm/dev/wzero3_lcd.c | 6 +-
sys/arch/hpcarm/dev/wzero3_tp.c | 6 +-
sys/arch/hpcmips/dev/it8368.c | 7 +-
sys/arch/hpcmips/dev/ite8181.c | 6 +-
sys/arch/hpcmips/dev/m38813c.c | 6 +-
sys/arch/hpcmips/dev/mq200.c | 6 +-
sys/arch/hpcmips/dev/optpoint.c | 7 +-
sys/arch/hpcmips/dev/plum.c | 17 +-
sys/arch/hpcmips/dev/plumiobus.c | 12 +-
sys/arch/hpcmips/dev/plumohci.c | 7 +-
sys/arch/hpcmips/dev/plumpcmcia.c | 9 +-
sys/arch/hpcmips/dev/plumvideo.c | 6 +-
sys/arch/hpcmips/dev/tc5165buf.c | 6 +-
sys/arch/hpcmips/dev/ucb1200.c | 12 +-
sys/arch/hpcmips/dev/ucbtp.c | 7 +-
sys/arch/hpcmips/hpcmips/mainbus.c | 17 +-
sys/arch/hpcmips/isa/isa_machdep.c | 6 +-
sys/arch/hpcmips/isa/plumisa_machdep.c | 6 +-
sys/arch/hpcmips/tx/tx3912video.c | 6 +-
sys/arch/hpcmips/tx/tx39biu.c | 6 +-
sys/arch/hpcmips/tx/tx39sib.c | 12 +-
sys/arch/hpcmips/tx/tx39spi.c | 12 +-
sys/arch/hpcmips/tx/tx39uart.c | 12 +-
sys/arch/hpcmips/tx/txcom.c | 6 +-
sys/arch/hpcmips/tx/txcsbus.c | 17 +-
sys/arch/hpcmips/tx/txioman.c | 6 +-
sys/arch/hpcmips/tx/txsim.c | 22 +-
sys/arch/hpcmips/vr/vr4181giu.c | 8 +-
sys/arch/hpcmips/vr/vrc4172gpio.c | 8 +-
sys/arch/hpcmips/vr/vrc4172pci.c | 6 +-
sys/arch/hpcmips/vr/vrc4173bcu.c | 16 +-
sys/arch/hpcmips/vr/vrdsiu_mouse.c | 5 +-
sys/arch/hpcmips/vr/vrgiu.c | 8 +-
sys/arch/hpcmips/vr/vrip.c | 17 +-
sys/arch/hpcmips/vr/vrkiu.c | 6 +-
sys/arch/hpcmips/vr/vrpciu.c | 6 +-
sys/arch/hpcmips/vr/vrpiu.c | 7 +-
sys/arch/hpcsh/dev/hd64461/hd64461.c | 6 +-
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c | 9 +-
sys/arch/hpcsh/dev/hd64461/hd64461video.c | 6 +-
sys/arch/hpcsh/dev/hd64465/hd64465.c | 6 +-
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c | 9 +-
sys/arch/hpcsh/dev/j6x0tp.c | 14 +-
sys/arch/hpcsh/dev/pfckbd.c | 6 +-
sys/arch/hpcsh/dev/psh3tp.c | 6 +-
sys/arch/hpcsh/hpcsh/mainbus.c | 23 +-
sys/arch/hppa/dev/asp.c | 6 +-
sys/arch/hppa/dev/astro.c | 6 +-
sys/arch/hppa/dev/dino.c | 13 +-
sys/arch/hppa/dev/elroy.c | 4 +-
sys/arch/hppa/dev/gecko.c | 5 +-
sys/arch/hppa/dev/lasi.c | 6 +-
sys/arch/hppa/dev/mongoose.c | 12 +-
sys/arch/hppa/dev/phantomas.c | 6 +-
sys/arch/hppa/dev/ssio.c | 8 +-
sys/arch/hppa/dev/uturn.c | 7 +-
sys/arch/hppa/dev/wax.c | 6 +-
sys/arch/hppa/gsc/gscbus.c | 8 +-
sys/arch/hppa/hppa/mainbus.c | 18 +-
sys/arch/i386/i386/i386_mainbus.c | 39 +-
sys/arch/i386/isa/lms.c | 6 +-
sys/arch/i386/isa/mms.c | 6 +-
sys/arch/i386/pci/elan520.c | 23 +-
sys/arch/i386/pci/gcscehci.c | 7 +-
sys/arch/i386/pci/geode.c | 6 +-
sys/arch/i386/pci/gscpcib.c | 9 +-
sys/arch/i386/pci/pceb.c | 12 +-
sys/arch/i386/pci/pcmb.c | 6 +-
sys/arch/i386/pci/viapcib.c | 8 +-
sys/arch/i386/pnpbios/pnpbios.c | 17 +-
sys/arch/i386/pnpbios/wss_pnpbios.c | 6 +-
sys/arch/ia64/ia64/mainbus.c | 12 +-
sys/arch/ibmnws/ibmnws/mainbus.c | 14 +-
sys/arch/iyonix/iyonix/obio.c | 12 +-
sys/arch/landisk/dev/obio.c | 12 +-
sys/arch/landisk/landisk/mainbus.c | 12 +-
sys/arch/luna68k/dev/lunafb.c | 6 +-
sys/arch/luna68k/dev/lunaws.c | 13 +-
sys/arch/luna68k/dev/sio.c | 6 +-
sys/arch/luna68k/luna68k/mainbus.c | 6 +-
sys/arch/mac68k/dev/adb.c | 8 +-
sys/arch/mac68k/dev/akbd.c | 6 +-
sys/arch/mac68k/dev/ams.c | 6 +-
sys/arch/mac68k/dev/grf_subr.c | 6 +-
sys/arch/mac68k/dev/macfb.c | 6 +-
sys/arch/mac68k/dev/ncr5380.c | 6 +-
sys/arch/mac68k/dev/zs.c | 7 +-
sys/arch/mac68k/mac68k/mainbus.c | 12 +-
sys/arch/mac68k/nubus/nubus.c | 6 +-
sys/arch/mac68k/obio/iwm_fd.c | 6 +-
sys/arch/mac68k/obio/obio.c | 12 +-
sys/arch/macppc/conf/files.macppc | 4 +-
sys/arch/macppc/dev/adb.c | 10 +-
sys/arch/macppc/dev/akbd.c | 6 +-
sys/arch/macppc/dev/ams.c | 6 +-
sys/arch/macppc/dev/cuda.c | 15 +-
sys/arch/macppc/dev/gpio.c | 8 +-
sys/arch/macppc/dev/ki2c.c | 4 +-
sys/arch/macppc/dev/mediabay.c | 8 +-
sys/arch/macppc/dev/mesh.c | 6 +-
sys/arch/macppc/dev/obio.c | 8 +-
sys/arch/macppc/dev/ofb.c | 12 +-
sys/arch/macppc/dev/pbms.c | 4 +-
sys/arch/macppc/dev/platinumfb.c | 4 +-
sys/arch/macppc/dev/pmu.c | 22 +-
sys/arch/macppc/dev/smu.c | 4 +-
sys/arch/macppc/dev/smuiic.c | 4 +-
sys/arch/macppc/dev/snapper.c | 7 +-
sys/arch/macppc/dev/uni-n.c | 8 +-
sys/arch/macppc/dev/valkyriefb.c | 6 +-
sys/arch/macppc/dev/zs.c | 7 +-
sys/arch/macppc/macppc/mainbus.c | 20 +-
sys/arch/macppc/macppc/memory.c | 6 +-
sys/arch/macppc/pci/bandit.c | 8 +-
sys/arch/macppc/pci/grackle.c | 8 +-
sys/arch/macppc/pci/u3.c | 7 +-
sys/arch/macppc/pci/uninorth.c | 8 +-
sys/arch/mips/adm5120/adm5120_extio.c | 10 +-
sys/arch/mips/adm5120/adm5120_obio.c | 10 +-
sys/arch/mips/adm5120/dev/admgpio.c | 8 +-
sys/arch/mips/adm5120/dev/admpci.c | 8 +-
sys/arch/mips/adm5120/dev/ahci.c | 6 +-
sys/arch/mips/alchemy/aubus.c | 10 +-
sys/arch/mips/alchemy/dev/augpio.c | 6 +-
sys/arch/mips/alchemy/dev/aupci.c | 6 +-
sys/arch/mips/alchemy/dev/aupcmcia.c | 7 +-
sys/arch/mips/alchemy/dev/aupsc.c | 9 +-
sys/arch/mips/alchemy/dev/ausmbus_psc.c | 6 +-
sys/arch/mips/alchemy/dev/auspi.c | 6 +-
sys/arch/mips/alchemy/dev/ohci_aubus.c | 6 +-
sys/arch/mips/atheros/arbus.c | 10 +-
sys/arch/mips/atheros/dev/argpio.c | 6 +-
sys/arch/mips/atheros/dev/arpci.c | 6 +-
sys/arch/mips/atheros/dev/arspi.c | 6 +-
sys/arch/mips/atheros/dev/ehci_arbus.c | 6 +-
sys/arch/mips/atheros/dev/ohci_arbus.c | 6 +-
sys/arch/mips/cavium/dev/octeon_dwctwo.c | 7 +-
sys/arch/mips/cavium/dev/octeon_gmx.c | 6 +-
sys/arch/mips/cavium/dev/octeon_mpi.c | 8 +-
sys/arch/mips/cavium/dev/octeon_pip.c | 8 +-
sys/arch/mips/cavium/dev/octeon_xhci.c | 7 +-
sys/arch/mips/cavium/mainbus.c | 24 +-
sys/arch/mips/cavium/octeon_bootbus.c | 14 +-
sys/arch/mips/cavium/octeon_cpunode.c | 6 +-
sys/arch/mips/cavium/octeon_iobus.c | 14 +-
sys/arch/mips/ingenic/apbus.c | 6 +-
sys/arch/mips/ingenic/ingenic_dwctwo.c | 6 +-
sys/arch/mips/ingenic/ingenic_ehci.c | 6 +-
sys/arch/mips/ingenic/ingenic_ohci.c | 6 +-
sys/arch/mips/ingenic/jziic.c | 6 +-
sys/arch/mips/ralink/ralink_ehci.c | 6 +-
sys/arch/mips/ralink/ralink_gpio.c | 6 +-
sys/arch/mips/ralink/ralink_i2c.c | 6 +-
sys/arch/mips/ralink/ralink_mainbus.c | 18 +-
sys/arch/mips/ralink/ralink_ohci.c | 6 +-
sys/arch/mips/rmi/rmixl_cpucore.c | 7 +-
sys/arch/mips/rmi/rmixl_cpunode.c | 8 +-
sys/arch/mips/rmi/rmixl_ehci.c | 6 +-
sys/arch/mips/rmi/rmixl_gpio.c | 8 +-
sys/arch/mips/rmi/rmixl_iobus.c | 12 +-
sys/arch/mips/rmi/rmixl_mainbus.c | 12 +-
sys/arch/mips/rmi/rmixl_obio.c | 12 +-
sys/arch/mips/rmi/rmixl_ohci.c | 6 +-
sys/arch/mips/rmi/rmixl_pcie.c | 6 +-
sys/arch/mips/rmi/rmixl_pcix.c | 6 +-
sys/arch/mips/rmi/rmixl_usbi.c | 12 +-
sys/arch/mips/sibyte/dev/sbgbus.c | 12 +-
sys/arch/mips/sibyte/dev/sbobio.c | 10 +-
sys/arch/mips/sibyte/dev/sbscd.c | 10 +-
sys/arch/mips/sibyte/dev/sbsmbus.c | 10 +-
sys/arch/mips/sibyte/pci/sbbrz.c | 4 +-
sys/arch/mipsco/isa/isa_machdep.c | 6 +-
sys/arch/mipsco/mipsco/mainbus.c | 10 +-
sys/arch/mipsco/obio/obio.c | 12 +-
sys/arch/mipsco/obio/zs.c | 7 +-
sys/arch/mmeye/dev/mmeyepcmcia.c | 8 +-
sys/arch/mmeye/dev/rtciic.c | 6 +-
sys/arch/mmeye/mmeye/mainbus.c | 16 +-
sys/arch/mvme68k/dev/mainbus.c | 12 +-
sys/arch/mvme68k/dev/pcc.c | 6 +-
sys/arch/mvme68k/dev/wdsc.c | 6 +-
sys/arch/mvme68k/dev/zs.c | 6 +-
sys/arch/mvmeppc/mvmeppc/mainbus.c | 12 +-
sys/arch/netwinder/pci/pcib.c | 6 +-
sys/arch/news68k/dev/hb.c | 12 +-
sys/arch/news68k/dev/kb_hb.c | 6 +-
sys/arch/news68k/dev/kb_kbc.c | 6 +-
sys/arch/news68k/dev/kbc.c | 8 +-
sys/arch/news68k/dev/ms_hb.c | 7 +-
sys/arch/news68k/dev/ms_kbc.c | 7 +-
sys/arch/news68k/dev/zs.c | 7 +-
sys/arch/news68k/news68k/mainbus.c | 12 +-
sys/arch/newsmips/apbus/apbus.c | 7 +-
sys/arch/newsmips/apbus/kb_ap.c | 6 +-
sys/arch/newsmips/apbus/ms_ap.c | 6 +-
sys/arch/newsmips/apbus/spifi.c | 6 +-
sys/arch/newsmips/apbus/xafb.c | 6 +-
sys/arch/newsmips/apbus/zs_ap.c | 7 +-
sys/arch/newsmips/dev/fb.c | 6 +-
sys/arch/newsmips/dev/hb.c | 12 +-
sys/arch/newsmips/dev/kb_hb.c | 6 +-
sys/arch/newsmips/dev/ms_hb.c | 6 +-
sys/arch/newsmips/dev/sc_wrap.c | 6 +-
sys/arch/newsmips/dev/zs_hb.c | 7 +-
sys/arch/newsmips/newsmips/mainbus.c | 10 +-
sys/arch/next68k/dev/intio.c | 12 +-
sys/arch/next68k/dev/nextdisplay.c | 6 +-
sys/arch/next68k/dev/nextkbd.c | 6 +-
sys/arch/next68k/dev/zs.c | 7 +-
sys/arch/next68k/next68k/mainbus.c | 12 +-
sys/arch/ofppc/ofppc/mainbus.c | 14 +-
sys/arch/ofppc/pci/ofwpci.c | 6 +-
sys/arch/playstation2/dev/ohci_sbus.c | 7 +-
sys/arch/playstation2/dev/sbus.c | 12 +-
sys/arch/playstation2/dev/spd.c | 8 +-
sys/arch/playstation2/ee/gsfb.c | 6 +-
sys/arch/playstation2/playstation2/mainbus.c | 14 +-
sys/arch/pmax/ibus/dz_ibus.c | 8 +-
sys/arch/pmax/ibus/ibus.c | 10 +-
sys/arch/pmax/ibus/pm.c | 6 +-
sys/arch/pmax/ibus/sii.c | 6 +-
sys/arch/pmax/pmax/mainbus.c | 8 +-
sys/arch/pmax/tc/dt.c | 8 +-
sys/arch/pmax/tc/dtkbd.c | 6 +-
sys/arch/pmax/tc/dtms.c | 6 +-
sys/arch/powerpc/booke/dev/cpunode.c | 9 +-
sys/arch/powerpc/booke/dev/pq3duart.c | 7 +-
sys/arch/powerpc/booke/dev/pq3ehci.c | 7 +-
sys/arch/powerpc/booke/dev/pq3etsec.c | 11 +-
sys/arch/powerpc/booke/dev/pq3gpio.c | 8 +-
sys/arch/powerpc/booke/dev/pq3obio.c | 15 +-
sys/arch/powerpc/booke/pci/pq3pci.c | 6 +-
sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c | 7 +-
sys/arch/powerpc/ibm4xx/dev/exb.c | 10 +-
sys/arch/powerpc/ibm4xx/dev/gpiic_opb.c | 4 +-
sys/arch/powerpc/ibm4xx/dev/gpio_opb.c | 4 +-
sys/arch/powerpc/ibm4xx/dev/opb.c | 9 +-
sys/arch/powerpc/ibm4xx/dev/plb.c | 8 +-
sys/arch/powerpc/ibm4xx/pci/pchb.c | 6 +-
sys/arch/powerpc/pci/pchb.c | 8 +-
sys/arch/powerpc/pci/pcib.c | 6 +-
sys/arch/prep/pci/gten.c | 6 +-
sys/arch/prep/pci/pceb.c | 12 +-
sys/arch/prep/pnpbus/pnpbus.c | 13 +-
sys/arch/prep/prep/mainbus.c | 16 +-
sys/arch/riscv/htif/htif.c | 8 +-
sys/arch/riscv/riscv/mainbus.c | 6 +-
sys/arch/rs6000/mca/ioplanar.c | 10 +-
sys/arch/rs6000/rs6000/mainbus.c | 12 +-
sys/arch/sandpoint/conf/files.sandpoint | 4 +-
sys/arch/sandpoint/sandpoint/eumb.c | 12 +-
sys/arch/sandpoint/sandpoint/mainbus.c | 24 +-
sys/arch/sandpoint/sandpoint/nhpow.c | 6 +-
sys/arch/sbmips/sbmips/zbbus.c | 9 +-
sys/arch/sgimips/dev/crmfb.c | 6 +-
sys/arch/sgimips/dev/imc.c | 12 +-
sys/arch/sgimips/dev/pic.c | 6 +-
sys/arch/sgimips/dev/zs.c | 7 +-
sys/arch/sgimips/dev/zs_kbd.c | 7 +-
sys/arch/sgimips/dev/zs_ms.c | 7 +-
sys/arch/sgimips/gio/gio.c | 22 +-
sys/arch/sgimips/gio/grtwo.c | 6 +-
sys/arch/sgimips/gio/light.c | 6 +-
sys/arch/sgimips/gio/newport.c | 6 +-
sys/arch/sgimips/gio/pci_gio.c | 6 +-
sys/arch/sgimips/hpc/hpc.c | 14 +-
sys/arch/sgimips/hpc/pi1ppc.c | 6 +-
sys/arch/sgimips/ioc/ioc.c | 12 +-
sys/arch/sgimips/ioc/oioc.c | 6 +-
sys/arch/sgimips/mace/mace.c | 12 +-
sys/arch/sgimips/mace/pci_mace.c | 6 +-
sys/arch/sgimips/sgimips/mainbus.c | 12 +-
sys/arch/sh3/dev/adc.c | 12 +-
sys/arch/sh3/dev/shb.c | 12 +-
sys/arch/sh3/dev/shpcic.c | 6 +-
sys/arch/shark/ofw/ofisapc.c | 8 +-
sys/arch/shark/ofw/ofisascr.c | 8 +-
sys/arch/shark/ofw/vlpci.c | 9 +-
sys/arch/sparc/conf/files.sparc | 4 +-
sys/arch/sparc/dev/bootbus.c | 9 +-
sys/arch/sparc/dev/cgfourteen.c | 4 +-
sys/arch/sparc/dev/ebus.c | 6 +-
sys/arch/sparc/dev/fd.c | 7 +-
sys/arch/sparc/dev/obio.c | 16 +-
sys/arch/sparc/dev/sbus.c | 10 +-
sys/arch/sparc/dev/ts102.c | 5 +-
sys/arch/sparc/dev/vme_machdep.c | 8 +-
sys/arch/sparc/dev/zs.c | 11 +-
sys/arch/sparc/sparc/autoconf.c | 22 +-
sys/arch/sparc/sparc/cpuunit.c | 6 +-
sys/arch/sparc/sparc/iommu.c | 8 +-
sys/arch/sparc/sparc/msiiep.c | 10 +-
sys/arch/sparc64/dev/cbus.c | 4 +-
sys/arch/sparc64/dev/central.c | 6 +-
sys/arch/sparc64/dev/com_ebus.c | 8 +-
sys/arch/sparc64/dev/ebus.c | 6 +-
sys/arch/sparc64/dev/ebus_mainbus.c | 6 +-
sys/arch/sparc64/dev/fdc.c | 7 +-
sys/arch/sparc64/dev/ffb.c | 6 +-
sys/arch/sparc64/dev/fhc.c | 7 +-
sys/arch/sparc64/dev/gfb.c | 6 +-
sys/arch/sparc64/dev/jbus-i2c.c | 7 +-
sys/arch/sparc64/dev/psycho.c | 6 +-
sys/arch/sparc64/dev/pyro.c | 6 +-
sys/arch/sparc64/dev/sab.c | 11 +-
sys/arch/sparc64/dev/sbus.c | 6 +-
sys/arch/sparc64/dev/schizo.c | 6 +-
sys/arch/sparc64/dev/upa.c | 4 +-
sys/arch/sparc64/dev/vbus.c | 6 +-
sys/arch/sparc64/dev/vdsk.c | 4 +-
sys/arch/sparc64/dev/vpci.c | 6 +-
sys/arch/sparc64/dev/zs.c | 12 +-
sys/arch/sparc64/sparc64/autoconf.c | 10 +-
sys/arch/sun2/dev/zs.c | 12 +-
sys/arch/sun2/sun2/mbio.c | 12 +-
sys/arch/sun2/sun2/mbmem.c | 12 +-
sys/arch/sun2/sun2/obio.c | 12 +-
sys/arch/sun2/sun2/obmem.c | 12 +-
sys/arch/sun3/dev/fd.c | 6 +-
sys/arch/sun3/dev/sebuf.c | 8 +-
sys/arch/sun3/dev/xd.c | 6 +-
sys/arch/sun3/dev/xy.c | 6 +-
sys/arch/sun3/dev/zs.c | 7 +-
sys/arch/sun3/sun3/autoconf.c | 10 +-
sys/arch/sun3/sun3/mainbus.c | 6 +-
sys/arch/sun3/sun3/obio.c | 9 +-
sys/arch/sun3/sun3/obmem.c | 8 +-
sys/arch/sun3/sun3/vme.c | 8 +-
sys/arch/sun3/sun3x/obio.c | 9 +-
sys/arch/sun3/sun3x/vme.c | 8 +-
sys/arch/sun68k/sun68k/autoconf.c | 16 +-
sys/arch/sun68k/sun68k/vme_sun68k.c | 6 +-
sys/arch/usermode/conf/files.usermode | 4 +-
sys/arch/usermode/dev/mainbus.c | 20 +-
sys/arch/usermode/dev/vatapi.c | 8 +-
sys/arch/usermode/dev/vncfb.c | 16 +-
sys/arch/vax/mba/mba.c | 6 +-
sys/arch/vax/uba/qv.c | 20 +-
sys/arch/vax/uba/qvaux.c | 6 +-
sys/arch/vax/uba/qvkbd.c | 4 +-
sys/arch/vax/uba/qvms.c | 7 +-
sys/arch/vax/vax/autoconf.c | 6 +-
sys/arch/vax/vax/cmi.c | 12 +-
sys/arch/vax/vax/ka860.c | 6 +-
sys/arch/vax/vax/nmi_mainbus.c | 16 +-
sys/arch/vax/vax/sbi.c | 8 +-
sys/arch/vax/vax/ubi.c | 10 +-
sys/arch/vax/vsa/dz_vsbus.c | 8 +-
sys/arch/vax/vsa/hdc9224.c | 6 +-
sys/arch/vax/vsa/lcg.c | 6 +-
sys/arch/vax/vsa/smg.c | 6 +-
sys/arch/vax/vsa/spx.c | 6 +-
sys/arch/vax/vsa/vsbus.c | 12 +-
sys/arch/x68k/dev/fd.c | 6 +-
sys/arch/x68k/dev/grf_machdep.c | 12 +-
sys/arch/x68k/dev/intio.c | 12 +-
sys/arch/x68k/dev/mfp.c | 13 +-
sys/arch/x68k/dev/mha.c | 6 +-
sys/arch/x68k/dev/neptune.c | 10 +-
sys/arch/x68k/dev/scsirom.c | 9 +-
sys/arch/x68k/dev/zs.c | 7 +-
sys/arch/x68k/x68k/mainbus.c | 8 +-
sys/arch/x86/pci/amdnb_misc.c | 21 +-
sys/arch/x86/pci/amdpcib.c | 16 +-
sys/arch/x86/pci/amdsmn.c | 19 +-
sys/arch/x86/pci/dwiic_pci.c | 6 +-
sys/arch/x86/pci/files.pci | 17 +-
sys/arch/x86/pci/ichlpcib.c | 20 +-
sys/arch/x86/pci/imcsmb/imc.c | 22 +-
sys/arch/x86/pci/imcsmb/imcsmb.c | 13 +-
sys/arch/x86/pci/pchb.c | 12 +-
sys/arch/x86/pci/pcib.c | 13 +-
sys/arch/x86/pci/tcpcib.c | 10 +-
sys/arch/x86/x86/cpu.c | 28 +-
sys/arch/x86/x86/mainbus.c | 8 +-
sys/arch/x86/x86/mp.c | 9 +-
sys/arch/x86/x86/mpacpi.c | 25 +-
sys/arch/x86/x86/mpbios.c | 18 +-
sys/arch/xen/x86/cpu.c | 10 +-
sys/arch/xen/x86/xen_mainbus.c | 13 +-
sys/arch/xen/xen/hypervisor.c | 34 +-
sys/arch/xen/xen/xpci_xenbus.c | 6 +-
sys/arch/xen/xenbus/xenbus_probe.c | 11 +-
sys/arch/zaurus/dev/w100lcd.c | 6 +-
sys/arch/zaurus/dev/zapm.c | 6 +-
sys/arch/zaurus/dev/ziic.c | 6 +-
sys/arch/zaurus/dev/zkbd.c | 6 +-
sys/arch/zaurus/dev/zlcd.c | 6 +-
sys/arch/zaurus/dev/zrc.c | 6 +-
sys/arch/zaurus/dev/zssp.c | 12 +-
sys/arch/zaurus/dev/ztp.c | 6 +-
sys/dev/acpi/acpi.c | 66 +-
sys/dev/acpi/acpi_display.c | 8 +-
sys/dev/acpi/dwiic_acpi.c | 6 +-
sys/dev/acpi/ehci_acpi.c | 6 +-
sys/dev/acpi/ipmi_acpi.c | 6 +-
sys/dev/acpi/smbus_acpi.c | 6 +-
sys/dev/acpi/virtio_acpi.c | 6 +-
sys/dev/acpi/wmi/wmi_acpi.c | 11 +-
sys/dev/acpi/wss_acpi.c | 6 +-
sys/dev/acpi/xhci_acpi.c | 9 +-
sys/dev/adb/adb_bus.c | 7 +-
sys/dev/adb/adb_kbd.c | 13 +-
sys/dev/adb/adb_ktm.c | 6 +-
sys/dev/adb/adb_ms.c | 6 +-
sys/dev/ata/ata.c | 15 +-
sys/dev/ata/ata_raid.c | 12 +-
sys/dev/audio/audio.c | 22 +-
sys/dev/bi/bi.c | 6 +-
sys/dev/bi/kdb.c | 6 +-
sys/dev/bluetooth/bthidev.c | 11 +-
sys/dev/bluetooth/bthub.c | 6 +-
sys/dev/bluetooth/btkbd.c | 6 +-
sys/dev/bluetooth/btmagic.c | 6 +-
sys/dev/bluetooth/btms.c | 6 +-
sys/dev/cardbus/cardbus.c | 10 +-
sys/dev/cardbus/cardslot.c | 16 +-
sys/dev/cardbus/ehci_cardbus.c | 7 +-
sys/dev/cardbus/ohci_cardbus.c | 7 +-
sys/dev/cardbus/rbus_ppb.c | 6 +-
sys/dev/cardbus/uhci_cardbus.c | 7 +-
sys/dev/dec/dzkbd.c | 6 +-
sys/dev/dec/dzms.c | 7 +-
sys/dev/eisa/ahb.c | 6 +-
sys/dev/eisa/eisa.c | 10 +-
sys/dev/eisa/mlx_eisa.c | 6 +-
sys/dev/fdt/dwc2_fdt.c | 6 +-
sys/dev/fdt/dwc3_fdt.c | 9 +-
sys/dev/fdt/ehci_fdt.c | 6 +-
sys/dev/fdt/fdt_i2c.c | 8 +-
sys/dev/fdt/fdt_spi.c | 8 +-
sys/dev/fdt/fdtbus.c | 43 +-
sys/dev/fdt/fdtvar.h | 3 +-
sys/dev/fdt/gpiokeys.c | 8 +-
sys/dev/fdt/ohci_fdt.c | 6 +-
sys/dev/fdt/virtio_mmio_fdt.c | 8 +-
sys/dev/flash/flash.c | 8 +-
sys/dev/flash/flash_mtdparts.c | 8 +-
sys/dev/gpib/cs80bus.c | 13 +-
sys/dev/gpib/gpib.c | 21 +-
sys/dev/gpio/gpio.c | 25 +-
sys/dev/gpio/gpioiic.c | 6 +-
sys/dev/gpio/gpioow.c | 6 +-
sys/dev/gpio/gpiosim.c | 4 +-
sys/dev/hdaudio/hdaudio.c | 13 +-
sys/dev/hid/hidms.c | 7 +-
sys/dev/hil/hil.c | 7 +-
sys/dev/hil/hilkbd.c | 4 +-
sys/dev/hil/hilms.c | 4 +-
sys/dev/hpc/bivideo.c | 6 +-
sys/dev/hpc/btnmgr.c | 6 +-
sys/dev/hpc/hpcapm.c | 6 +-
sys/dev/hpc/hpcfb.c | 7 +-
sys/dev/hpc/hpcioman.c | 10 +-
sys/dev/hpc/hpckbd.c | 7 +-
sys/dev/hpc/hpf1275a_tty.c | 6 +-
sys/dev/hyperv/genfb_vmbus.c | 8 +-
sys/dev/hyperv/hvkbd.c | 6 +-
sys/dev/hyperv/hvs.c | 7 +-
sys/dev/hyperv/vmbus.c | 8 +-
sys/dev/i2c/as3722.c | 6 +-
sys/dev/i2c/axp20x.c | 6 +-
sys/dev/i2c/axppmic.c | 6 +-
sys/dev/i2c/gttwsi_core.c | 8 +-
sys/dev/i2c/i2c.c | 20 +-
sys/dev/i2c/i2cmux.c | 6 +-
sys/dev/i2c/ihidev.c | 16 +-
sys/dev/i2c/motoi2c.c | 8 +-
sys/dev/i2c/rkpmic.c | 6 +-
sys/dev/i2c/tcakp.c | 6 +-
sys/dev/i2c/tps65217pmic.c | 6 +-
sys/dev/i2c/w83795g.c | 6 +-
sys/dev/i2o/iop.c | 16 +-
sys/dev/i2o/iopsp.c | 6 +-
sys/dev/ic/aac.c | 10 +-
sys/dev/ic/adv.c | 6 +-
sys/dev/ic/adw.c | 6 +-
sys/dev/ic/aha.c | 6 +-
sys/dev/ic/ahcisata_core.c | 9 +-
sys/dev/ic/aic6360.c | 7 +-
sys/dev/ic/aic79xx_osm.c | 7 +-
sys/dev/ic/aic7xxx_osm.c | 12 +-
sys/dev/ic/apple_smc.c | 17 +-
sys/dev/ic/atppc.c | 6 +-
sys/dev/ic/bha.c | 6 +-
sys/dev/ic/cac.c | 18 +-
sys/dev/ic/ciss.c | 8 +-
sys/dev/ic/cpc700.c | 14 +-
sys/dev/ic/ct65550.c | 6 +-
sys/dev/ic/depca.c | 6 +-
sys/dev/ic/dpt.c | 6 +-
sys/dev/ic/dwc_mmc.c | 6 +-
sys/dev/ic/esiop.c | 6 +-
sys/dev/ic/gcscpcib.c | 8 +-
sys/dev/ic/i82365.c | 10 +-
sys/dev/ic/icp.c | 23 +-
sys/dev/ic/icpsp.c | 6 +-
sys/dev/ic/igsfb.c | 6 +-
sys/dev/ic/iha.c | 6 +-
sys/dev/ic/isp_netbsd.c | 7 +-
sys/dev/ic/mb89352.c | 6 +-
sys/dev/ic/mfi.c | 9 +-
sys/dev/ic/mlx.c | 10 +-
sys/dev/ic/mpt_netbsd.c | 6 +-
sys/dev/ic/mvsata.c | 9 +-
sys/dev/ic/ncr5380sbc.c | 6 +-
sys/dev/ic/ncr53c9x.c | 7 +-
sys/dev/ic/ninjascsi32.c | 7 +-
sys/dev/ic/nvme.c | 20 +-
sys/dev/ic/oosiop.c | 6 +-
sys/dev/ic/osiop.c | 6 +-
sys/dev/ic/pca9564.c | 6 +-
sys/dev/ic/pcf8584.c | 4 +-
sys/dev/ic/pl061.c | 7 +-
sys/dev/ic/pl181.c | 6 +-
sys/dev/ic/rtsx.c | 6 +-
sys/dev/ic/siisata.c | 9 +-
sys/dev/ic/siop.c | 6 +-
sys/dev/ic/sl811hs.c | 7 +-
sys/dev/ic/spic.c | 7 +-
sys/dev/ic/ssdfb.c | 6 +-
sys/dev/ic/sti.c | 7 +-
sys/dev/ic/sunscpal.c | 6 +-
sys/dev/ic/tcic2.c | 10 +-
sys/dev/ic/uha.c | 6 +-
sys/dev/ic/vga.c | 8 +-
sys/dev/ic/vga_raster.c | 8 +-
sys/dev/ic/w83l518d_sdmmc.c | 6 +-
sys/dev/ic/wd33c93.c | 6 +-
sys/dev/ieee1394/files.ieee1394 | 4 +-
sys/dev/ieee1394/firewire.c | 12 +-
sys/dev/ieee1394/fwohci.c | 7 +-
sys/dev/ieee1394/sbp.c | 7 +-
sys/dev/isa/addcom_isa.c | 7 +-
sys/dev/isa/ast.c | 6 +-
sys/dev/isa/boca.c | 7 +-
sys/dev/isa/cec.c | 7 +-
sys/dev/isa/ega.c | 6 +-
sys/dev/isa/ess.c | 8 +-
sys/dev/isa/fd.c | 14 +-
sys/dev/isa/if_le_isa.c | 6 +-
sys/dev/isa/ioat66.c | 7 +-
sys/dev/isa/isa.c | 32 +-
sys/dev/isa/moxa_isa.c | 7 +-
sys/dev/isa/nct.c | 6 +-
sys/dev/isa/nsclpcsio_isa.c | 6 +-
sys/dev/isa/pcdisplay.c | 6 +-
sys/dev/isa/pcppi.c | 22 +-
sys/dev/isa/ptcd.c | 4 +-
sys/dev/isa/rtfps.c | 7 +-
sys/dev/isa/sb.c | 12 +-
sys/dev/isa/seagate.c | 6 +-
sys/dev/isa/soekrisgpio.c | 6 +-
sys/dev/isa/tcom.c | 6 +-
sys/dev/isa/tsdio.c | 12 +-
sys/dev/isa/wbsio.c | 21 +-
sys/dev/isa/wds.c | 6 +-
sys/dev/isa/wss.c | 6 +-
sys/dev/isa/ym.c | 9 +-
sys/dev/isapnp/isapnp.c | 9 +-
sys/dev/isapnp/wss_isapnp.c | 6 +-
sys/dev/iscsi/iscsi_main.c | 4 +-
sys/dev/marvell/ehci_mv.c | 7 +-
sys/dev/marvell/files.discovery | 14 +-
sys/dev/marvell/gt.c | 9 +-
sys/dev/marvell/gtpci.c | 6 +-
sys/dev/marvell/if_gfe.c | 9 +-
sys/dev/marvell/if_mvgbe.c | 9 +-
sys/dev/marvell/mvpex.c | 6 +-
sys/dev/marvell/mvsdio.c | 6 +-
sys/dev/marvell/mvspi.c | 2 +-
sys/dev/marvell/obio.c | 12 +-
sys/dev/mca/edc_mca.c | 10 +-
sys/dev/mca/mca.c | 10 +-
sys/dev/midi.c | 6 +-
sys/dev/mii/mii.c | 12 +-
sys/dev/mscp/mscp.c | 6 +-
sys/dev/mvme/mvmebus.c | 6 +-
sys/dev/mvme/pcctwo.c | 6 +-
sys/dev/nand/nand.c | 17 +-
sys/dev/nor/nor.c | 17 +-
sys/dev/ofisa/ofisa.c | 8 +-
sys/dev/ofw/ofbus.c | 12 +-
sys/dev/ofw/ofw_subr.c | 12 +-
sys/dev/ofw/openfirm.h | 3 +-
sys/dev/onewire/onewire.c | 7 +-
sys/dev/pci/aac_pci.c | 6 +-
sys/dev/pci/alipm.c | 6 +-
sys/dev/pci/amdpm_smbus.c | 6 +-
sys/dev/pci/amr.c | 16 +-
sys/dev/pci/arcmsr.c | 7 +-
sys/dev/pci/btvmei.c | 6 +-
sys/dev/pci/btvmeii.c | 6 +-
sys/dev/pci/cmpci.c | 9 +-
sys/dev/pci/coram.c | 14 +-
sys/dev/pci/cxdtv.c | 13 +-
sys/dev/pci/cxgb/cxgb_main.c | 8 +-
sys/dev/pci/ehci_pci.c | 7 +-
sys/dev/pci/eso.c | 10 +-
sys/dev/pci/fms.c | 8 +-
sys/dev/pci/genfb_pci.c | 8 +-
sys/dev/pci/gffb.c | 6 +-
sys/dev/pci/ibmcd.c | 4 +-
sys/dev/pci/ichsmb.c | 17 +-
sys/dev/pci/if_msk.c | 8 +-
sys/dev/pci/if_sk.c | 8 +-
sys/dev/pci/igma.c | 12 +-
sys/dev/pci/igma/igmafb.c | 6 +-
sys/dev/pci/ips.c | 6 +-
sys/dev/pci/ismt.c | 14 +-
sys/dev/pci/jmide.c | 10 +-
sys/dev/pci/joy_eap.c | 6 +-
sys/dev/pci/lynxfb.c | 6 +-
sys/dev/pci/machfb.c | 12 +-
sys/dev/pci/mfii.c | 10 +-
sys/dev/pci/mlx_pci.c | 6 +-
sys/dev/pci/mly.c | 6 +-
sys/dev/pci/mpii.c | 9 +-
sys/dev/pci/nfsmb.c | 12 +-
sys/dev/pci/oboe.c | 6 +-
sys/dev/pci/ohci_pci.c | 7 +-
sys/dev/pci/pccbb.c | 9 +-
sys/dev/pci/pci.c | 10 +-
sys/dev/pci/piixpm.c | 21 +-
sys/dev/pci/pm2fb.c | 6 +-
sys/dev/pci/pm3fb.c | 2 +-
sys/dev/pci/ppb.c | 6 +-
sys/dev/pci/puc.c | 10 +-
sys/dev/pci/r128fb.c | 6 +-
sys/dev/pci/radeonfb.c | 12 +-
sys/dev/pci/sisfb.c | 4 +-
sys/dev/pci/sv.c | 6 +-
sys/dev/pci/tdvfb.c | 6 +-
sys/dev/pci/tga.c | 6 +-
sys/dev/pci/trm.c | 6 +-
sys/dev/pci/twa.c | 13 +-
sys/dev/pci/twe.c | 14 +-
sys/dev/pci/uhci_pci.c | 7 +-
sys/dev/pci/unichromefb.c | 12 +-
sys/dev/pci/vga_pci.c | 12 +-
sys/dev/pci/vioscsi.c | 6 +-
sys/dev/pci/virtio_pci.c | 10 +-
sys/dev/pci/voodoofb.c | 12 +-
sys/dev/pci/voyager.c | 20 +-
sys/dev/pci/voyager/voyagerfb.c | 6 +-
sys/dev/pci/wcfb.c | 6 +-
sys/dev/pci/xhci_pci.c | 9 +-
sys/dev/pci/xmm7360.c | 4 +-
sys/dev/pci/yds.c | 8 +-
sys/dev/pckbport/pckbd.c | 6 +-
sys/dev/pckbport/pckbport.c | 11 +-
sys/dev/pckbport/pms.c | 6 +-
sys/dev/pcmcia/fdc_pcmcia.c | 6 +-
sys/dev/pcmcia/mhzc.c | 10 +-
sys/dev/pcmcia/pcmcia.c | 16 +-
sys/dev/pcmcia/pcmcom.c | 12 +-
sys/dev/pcmcia/xirc.c | 9 +-
sys/dev/podulebus/acemidi.c | 6 +-
sys/dev/ppbus/ppbus_conf.c | 13 +-
sys/dev/ppbus/ppbus_gpio.c | 8 +-
sys/dev/qbus/rf.c | 14 +-
sys/dev/qbus/rl.c | 6 +-
sys/dev/qbus/uba.c | 12 +-
sys/dev/qbus/uda.c | 6 +-
sys/dev/radio.c | 6 +-
sys/dev/sbus/agten.c | 6 +-
sys/dev/sbus/cgtwelve.c | 6 +-
sys/dev/sbus/dma_sbus.c | 7 +-
sys/dev/sbus/lebuffer.c | 6 +-
sys/dev/sbus/magma.c | 8 +-
sys/dev/sbus/mgx.c | 6 +-
sys/dev/sbus/p9100.c | 6 +-
sys/dev/sbus/qec.c | 6 +-
sys/dev/sbus/sio16.c | 6 +-
sys/dev/sbus/spif.c | 8 +-
sys/dev/sbus/stp4020.c | 6 +-
sys/dev/sbus/tcx.c | 6 +-
sys/dev/sbus/xbox.c | 6 +-
sys/dev/sbus/zx.c | 6 +-
sys/dev/scsipi/atapi_wdc.c | 9 +-
sys/dev/scsipi/atapiconf.c | 13 +-
sys/dev/scsipi/scsiconf.c | 18 +-
sys/dev/sdmmc/sdhc.c | 6 +-
sys/dev/sdmmc/sdmmc.c | 6 +-
sys/dev/spi/mcp23s17.c | 6 +-
sys/dev/spi/oj6sh.c | 6 +-
sys/dev/spi/spi.c | 18 +-
sys/dev/spi/spiflash.c | 7 +-
sys/dev/spkr.c | 9 +-
sys/dev/std/ieee1212.c | 8 +-
sys/dev/sun/bwtwo.c | 6 +-
sys/dev/sun/cgsix.c | 6 +-
sys/dev/sun/cgthree.c | 6 +-
sys/dev/sun/kbd.c | 6 +-
sys/dev/sun/sunms.c | 6 +-
sys/dev/tc/cfb.c | 6 +-
sys/dev/tc/ioasic_subr.c | 10 +-
sys/dev/tc/mfb.c | 6 +-
sys/dev/tc/sfb.c | 6 +-
sys/dev/tc/sfbplus.c | 6 +-
sys/dev/tc/stic.c | 6 +-
sys/dev/tc/tc.c | 16 +-
sys/dev/tc/tcds.c | 10 +-
sys/dev/tc/tcu.c | 12 +-
sys/dev/tc/tfb.c | 6 +-
sys/dev/tc/xcfb.c | 6 +-
sys/dev/tc/zs_ioasic.c | 10 +-
sys/dev/tc/zskbd.c | 6 +-
sys/dev/tc/zsms.c | 7 +-
sys/dev/usb/auvitek_audio.c | 12 +-
sys/dev/usb/auvitek_dtv.c | 9 +-
sys/dev/usb/auvitek_i2c.c | 9 +-
sys/dev/usb/emdtv_dtv.c | 9 +-
sys/dev/usb/emdtv_ir.c | 8 +-
sys/dev/usb/irmce.c | 8 +-
sys/dev/usb/motg.c | 7 +-
sys/dev/usb/u3g.c | 9 +-
sys/dev/usb/uark.c | 9 +-
sys/dev/usb/uatp.c | 7 +-
sys/dev/usb/ubsa.c | 9 +-
sys/dev/usb/uchcom.c | 9 +-
sys/dev/usb/udl.c | 6 +-
sys/dev/usb/udsir.c | 6 +-
sys/dev/usb/uep.c | 6 +-
sys/dev/usb/uftdi.c | 9 +-
sys/dev/usb/ugensa.c | 9 +-
sys/dev/usb/uhidev.c | 11 +-
sys/dev/usb/uhmodem.c | 9 +-
sys/dev/usb/uipaq.c | 9 +-
sys/dev/usb/uirda.c | 6 +-
sys/dev/usb/ukbd.c | 6 +-
sys/dev/usb/umass_scsipi.c | 14 +-
sys/dev/usb/umcs.c | 9 +-
sys/dev/usb/umct.c | 9 +-
sys/dev/usb/umodem_common.c | 9 +-
sys/dev/usb/uplcom.c | 9 +-
sys/dev/usb/usb_subr.c | 22 +-
sys/dev/usb/uslsa.c | 9 +-
sys/dev/usb/usscanner.c | 7 +-
sys/dev/usb/ustir.c | 6 +-
sys/dev/usb/uts.c | 6 +-
sys/dev/usb/uvisor.c | 19 +-
sys/dev/usb/uvscom.c | 9 +-
sys/dev/usb/vhci.c | 6 +-
sys/dev/video.c | 8 +-
sys/dev/vme/vme.c | 16 +-
sys/dev/vme/xd.c | 6 +-
sys/dev/vme/xy.c | 6 +-
sys/dev/wsfb/genfb.c | 9 +-
sys/dev/xmi/xmi.c | 6 +-
sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_fb.c | 9 +-
sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c | 8 +-
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c | 9 +-
sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c | 9 +-
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c | 6 +-
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c | 6 +-
sys/kern/subr_autoconf.c | 224 ++++++++-
sys/netbt/hci_unit.c | 9 +-
sys/rump/dev/lib/libpci/pci_at_mainbus.c | 8 +-
sys/rump/dev/lib/libugenhc/ugenhc.c | 6 +-
sys/rump/librump/rumpkern/rump_autoconf.c | 13 +-
sys/sys/device.h | 33 +-
1148 files changed, 5823 insertions(+), 4540 deletions(-)
diffs (truncated from 37378 to 300 lines):
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/eb7500atx/rsbus.c
--- a/sys/arch/acorn32/eb7500atx/rsbus.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/eb7500atx/rsbus.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rsbus.c,v 1.10 2012/10/27 17:17:23 chs Exp $ */
+/* $NetBSD: rsbus.c,v 1.11 2021/04/24 23:36:23 thorpej Exp $ */
/*
* Copyright (c) 2002
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.10 2012/10/27 17:17:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.11 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -70,7 +70,9 @@ rsbus_attach(device_t parent, device_t s
/*
* Attach each devices
*/
- config_search_ia(rsbus_search, self, "rsbus", NULL);
+ config_search(self, NULL,
+ CFARG_SEARCH, rsbus_search,
+ CFARG_EOL);
}
static int
@@ -84,8 +86,8 @@ rsbus_search(device_t parent, cfdata_t c
sa.sa_size = cf->cf_loc[RSBUSCF_SIZE];
sa.sa_intr = cf->cf_loc[RSBUSCF_IRQ];
- if (config_match(parent, cf, &sa) > 0)
- config_attach(parent, cf, &sa, rsbus_print);
+ if (config_probe(parent, cf, &sa))
+ config_attach(parent, cf, &sa, rsbus_print, CFARG_EOL);
return (0);
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/mainbus/fd.c
--- a/sys/arch/acorn32/mainbus/fd.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/mainbus/fd.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.62 2020/11/20 17:38:05 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.63 2021/04/24 23:36:23 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.62 2020/11/20 17:38:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.63 2021/04/24 23:36:23 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);
+ (void)config_found(self, (void *)&fa, fdprint, CFARG_EOL);
}
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/mainbus/pioc.c
--- a/sys/arch/acorn32/mainbus/pioc.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/mainbus/pioc.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pioc.c,v 1.18 2012/10/27 17:17:23 chs Exp $ */
+/* $NetBSD: pioc.c,v 1.19 2021/04/24 23:36:23 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@@ -41,7 +41,7 @@
/*#define PIOC_DEBUG*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.18 2012/10/27 17:17:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.19 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -233,8 +233,8 @@ piocsearch(device_t parent, cfdata_t cf,
}
tryagain = 0;
- if (config_match(parent, cf, &pa) > 0) {
- config_attach(parent, cf, &pa, piocprint);
+ if (config_probe(parent, cf, &pa)) {
+ config_attach(parent, cf, &pa, piocprint, CFARG_EOL);
/* tryagain = (cf->cf_fstate == FSTATE_STAR);*/
}
} while (tryagain);
@@ -266,8 +266,8 @@ piocsubmatch(device_t parent, cfdata_t c
if (pa->pa_irq == -1)
pa->pa_irq = cf->cf_loc[PIOCCF_IRQ];
tryagain = 0;
- if (config_match(parent, cf, pa) > 0) {
- config_attach(parent, cf, pa, piocprint);
+ if (config_probe(parent, cf, pa)) {
+ config_attach(parent, cf, pa, piocprint, CFARG_EOL);
/* tryagain = (cf->cf_fstate == FSTATE_STAR);*/
}
} while (tryagain);
@@ -382,8 +382,9 @@ piocattach(device_t parent, device_t sel
pa.pa_offset = (PIOC_WDC_PRIMARY_OFFSET << 2);
pa.pa_drq = -1;
pa.pa_irq = -1;
- config_found_sm_loc(self, "pioc", NULL, &pa, piocprint,
- piocsubmatch);
+ config_found(self, &pa, piocprint,
+ CFARG_SUBMATCH, piocsubmatch,
+ CFARG_EOL);
}
/*
@@ -401,8 +402,9 @@ piocattach(device_t parent, device_t sel
pa.pa_offset = (PIOC_FDC_PRIMARY_OFFSET << 2);
pa.pa_drq = -1;
pa.pa_irq = -1;
- config_found_sm_loc(self, "pioc", NULL, &pa, piocprint,
- piocsubmatch);
+ config_found(self, &pa, piocprint,
+ CFARG_SUBMATCH, piocsubmatch,
+ CFARG_EOL);
}
/*
@@ -437,8 +439,9 @@ piocattach(device_t parent, device_t sel
}
pa.pa_drq = -1;
pa.pa_irq = -1;
- config_found_sm_loc(self, "pioc", NULL, &pa, piocprint,
- piocsubmatch);
+ config_found(self, &pa, piocprint,
+ CFARG_SUBMATCH, piocsubmatch,
+ CFARG_EOL);
}
if (sc->sc_config[PIOC_CM_CR2] & PIOC_UART2_ENABLE) {
@@ -462,8 +465,9 @@ piocattach(device_t parent, device_t sel
}
pa.pa_drq = -1;
pa.pa_irq = -1;
- config_found_sm_loc(self, "pioc", NULL, &pa, piocprint,
- piocsubmatch);
+ config_found(self, &pa, piocprint,
+ CFARG_SUBMATCH, piocsubmatch,
+ CFARG_EOL);
}
/*
@@ -488,12 +492,15 @@ piocattach(device_t parent, device_t sel
}
pa.pa_drq = -1;
pa.pa_irq = -1;
- config_found_sm_loc(self, "pioc", NULL, &pa, piocprint,
- piocsubmatch);
+ config_found(self, &pa, piocprint,
+ CFARG_SUBMATCH, piocsubmatch,
+ CFARG_EOL);
}
#if 0
- config_search_ia(piocsearch, self, "pioc", NULL);
+ config_search(self, NULL,
+ CFARG_SEARCH, piocsearch,
+ CFARG_EOL);
#endif
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/podulebus/amps.c
--- a/sys/arch/acorn32/podulebus/amps.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/podulebus/amps.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amps.c,v 1.21 2018/12/08 17:46:09 thorpej Exp $ */
+/* $NetBSD: amps.c,v 1.22 2021/04/24 23:36:23 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amps.c,v 1.21 2018/12/08 17:46:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amps.c,v 1.22 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -182,7 +182,7 @@ amps_attach(device_t parent, device_t se
aa.aa_irq = pa->pa_podule->interrupt;
for (aa.aa_port = 0; aa.aa_port < MAX_AMPS_PORTS; ++aa.aa_port) {
aa.aa_base -= AMPS_PORT_SPACING;
- config_found(self, &aa, amps_print);
+ config_found(self, &aa, amps_print, CFARG_EOL);
}
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/podulebus/asc.c
--- a/sys/arch/acorn32/podulebus/asc.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/podulebus/asc.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc.c,v 1.20 2014/10/25 10:58:12 skrll Exp $ */
+/* $NetBSD: asc.c,v 1.21 2021/04/24 23:36:23 thorpej Exp $ */
/*
* Copyright (c) 2001 Richard Earnshaw
@@ -98,7 +98,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.20 2014/10/25 10:58:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.21 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -277,7 +277,7 @@ ascattach(device_t parent, device_t self
/*
* attach all scsi units on us
*/
- config_found(self, &sbic->sc_channel, scsiprint);
+ config_found(self, &sbic->sc_channel, scsiprint, CFARG_EOL);
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/podulebus/cosc.c
--- a/sys/arch/acorn32/podulebus/cosc.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/podulebus/cosc.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cosc.c,v 1.20 2014/10/25 10:58:12 skrll Exp $ */
+/* $NetBSD: cosc.c,v 1.21 2021/04/24 23:36:23 thorpej Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cosc.c,v 1.20 2014/10/25 10:58:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cosc.c,v 1.21 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -280,7 +280,7 @@ coscattach(device_t parent, device_t sel
printf("\n");
/* attach all scsi units on us */
- config_found(self, &sc->sc_softc.sc_channel, scsiprint);
+ config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARG_EOL);
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/podulebus/csc.c
--- a/sys/arch/acorn32/podulebus/csc.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/podulebus/csc.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csc.c,v 1.19 2014/01/21 19:50:40 christos Exp $ */
+/* $NetBSD: csc.c,v 1.20 2021/04/24 23:36:23 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: csc.c,v 1.19 2014/01/21 19:50:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: csc.c,v 1.20 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -197,7 +197,7 @@ cscattach(device_t parent, device_t self
printf("\n");
/* attach all scsi units on us */
- config_found(self, &sc->sc_softc.sc_channel, scsiprint);
+ config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARG_EOL);
}
diff -r 46cb9905f24f -r 2b8290ef9865 sys/arch/acorn32/podulebus/podulebus.c
--- a/sys/arch/acorn32/podulebus/podulebus.c Sat Apr 24 21:17:40 2021 +0000
+++ b/sys/arch/acorn32/podulebus/podulebus.c Sat Apr 24 23:36:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: podulebus.c,v 1.30 2020/11/20 17:38:05 thorpej Exp $ */
+/* $NetBSD: podulebus.c,v 1.31 2021/04/24 23:36:23 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@@ -43,7 +43,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.30 2020/11/20 17:38:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.31 2021/04/24 23:36:23 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
Home |
Main Index |
Thread Index |
Old Index