]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 13 Mar 2024 22:05:54 +0000 (15:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 13 Mar 2024 22:05:54 +0000 (15:05 -0700)
commit9dbf5b0e6876d8c93890754bcc9c748339de79c0
treee66b390b26cf9f10c541a80c8606789649e191c1
parent2baed46e85d33b1f99e6f96033acc85a9a6fbba4
new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE

The public bus_release_resource() API still accepts both forms, but
the internal kobj method no longer passes the arguments.
Implementations which need the rid or type now use rman_get_rid() or
rman_get_type() to fetch the value from the allocated resource.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D44131
67 files changed:
share/man/man9/bus_release_resource.9
sys/arm/mv/mv_pci.c
sys/arm64/cavium/thunder_pcie_fdt.c
sys/arm64/cavium/thunder_pcie_pem.c
sys/dev/acpica/acpi.c
sys/dev/acpica/acpi_pcib_acpi.c
sys/dev/agp/agp_i810.c
sys/dev/ahci/ahci.c
sys/dev/ahci/ahci.h
sys/dev/ata/ata-pci.c
sys/dev/ata/ata-pci.h
sys/dev/atkbdc/atkbdc_isa.c
sys/dev/bhnd/bhnd_subr.c
sys/dev/bhnd/bhndb/bhndb.c
sys/dev/bhnd/cores/chipc/chipc.c
sys/dev/bhnd/cores/usb/bhnd_usb.c
sys/dev/dpaa/fman.c
sys/dev/dpaa/fman.h
sys/dev/dpaa2/dpaa2_mc.c
sys/dev/dpaa2/dpaa2_mc.h
sys/dev/dpaa2/dpaa2_rc.c
sys/dev/fdt/simplebus.c
sys/dev/hyperv/pcib/vmbus_pcib.c
sys/dev/mvs/mvs_pci.c
sys/dev/mvs/mvs_soc.c
sys/dev/ofw/ofw_pcib.c
sys/dev/ofw/ofwbus.c
sys/dev/pccbb/pccbb.c
sys/dev/pccbb/pccbb_pci.c
sys/dev/pccbb/pccbbvar.h
sys/dev/pci/hostb_pci.c
sys/dev/pci/isa_pci.c
sys/dev/pci/pci.c
sys/dev/pci/pci_host_generic.c
sys/dev/pci/pci_host_generic.h
sys/dev/pci/pci_iov.c
sys/dev/pci/pci_pci.c
sys/dev/pci/pci_private.h
sys/dev/pci/pci_subr.c
sys/dev/pci/pcib_private.h
sys/dev/pci/vga_pci.c
sys/dev/ppc/ppc.c
sys/dev/ppc/ppcvar.h
sys/dev/puc/puc.c
sys/dev/puc/puc_bfe.h
sys/dev/quicc/quicc_bfe.h
sys/dev/quicc/quicc_core.c
sys/dev/scc/scc_bfe.h
sys/dev/scc/scc_core.c
sys/dev/siis/siis.c
sys/dev/sound/pci/csa.c
sys/dev/sound/pci/fm801.c
sys/dev/vmd/vmd.c
sys/isa/isa_common.c
sys/isa/isa_common.h
sys/kern/bus_if.m
sys/kern/subr_bus.c
sys/powerpc/mpc85xx/isa.c
sys/powerpc/mpc85xx/lbc.c
sys/powerpc/powermac/macio.c
sys/powerpc/powermac/uninorth.c
sys/powerpc/psim/ata_iobus.c
sys/powerpc/psim/iobus.c
sys/sys/bus.h
sys/x86/include/legacyvar.h
sys/x86/isa/isa.c
sys/x86/pci/pci_bus.c