]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r296135
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 18 Jan 2017 23:23:46 +0000 (23:23 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 18 Jan 2017 23:23:46 +0000 (23:23 +0000)
commite36b44bc08122a812802d31780b6888a4f6d402c
tree85fb355a224d7706f38ba3efb4fa06c0c18e87d0
parent65a6429f40fc6047beab833e0f1daf642879bdb1
MFC: r296135

Replace several bus_alloc_resource() calls with bus_alloc_resource_any()

Most of these are BARs, and we allocate them in their entirety. The one
outlier in this is amdsbwd(4), which calls bus_set_resource() prior.

git-svn-id: svn://svn.freebsd.org/base/stable/10@312398 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/amdsbwd/amdsbwd.c
sys/dev/arcmsr/arcmsr.c
sys/dev/hpt27xx/hpt27xx_os_bsd.c
sys/dev/hptmv/entry.c
sys/dev/hptnr/hptnr_os_bsd.c
sys/dev/hptrr/hptrr_os_bsd.c
sys/dev/sdhci/sdhci_pci.c
sys/dev/sound/pci/als4000.c
sys/dev/sound/pci/cs4281.c
sys/dev/sound/pci/vibes.c
sys/dev/tws/tws.c