freebsd-dev/sys/dev
Wojciech Macek 4d185754cf Support for Enhanced Allocation in PCI
On some platforms, BAR entries are hardcoded and must not be accessed
    using standard method. Add functionality to identify this situation
    and configure the bus based on Enhanced Allocation structure.

Obtained from:         Semihalf
Sponsored by:          Cavium
Approved by:           cognet (mentor)
Reviewed by:           jhb
Differential revision: https://reviews.freebsd.org/D5242
2016-03-02 09:54:58 +00:00
..
aac Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
aacraid Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
acpi_support
acpica Silence PVS-Studio warning (V595). 2016-02-23 23:09:45 +00:00
adb
adlink
advansys Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ae Fix a potentially "forever" loop. 2016-02-17 21:24:26 +00:00
age Fix variable assignment. 2016-02-18 01:24:10 +00:00
agp
aha Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ahb
ahci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
aic Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
aic7xxx Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
alc Fix variable assignment. 2016-02-18 01:24:10 +00:00
ale Fix variable assignment. 2016-02-18 01:24:10 +00:00
alpm
altera As <machine/vm.h> is included from <vm/vm.h>, there is no need to 2016-02-22 09:10:23 +00:00
amdpm
amdsbwd Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
amdsmb
amdtemp
amr
an Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
arcmsr Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
asmc Fix undefined behavior when using asmc_fan_getstring() 2016-01-05 10:25:22 +00:00
ata Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ath Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
atkbdc Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
auxio
bce
beri
bfe
bge
bhnd Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). 2016-03-02 03:26:56 +00:00
bktr
bm
buslogic
bvm
bwi net80211 drivers: fix ieee80211_init_channels() usage 2016-01-07 18:41:03 +00:00
bwn Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
bxe Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
cadence
cardbus
cas
ce As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
cesa Make the fdt_get_mem_regions memsize argument optional. It's only used in 2016-03-01 09:45:27 +00:00
cfe
cfi Provide a workaround for setting the correct endianness when doing CFI on 2016-02-04 22:39:27 +00:00
ciss
cm Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
cmx Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO building 2015-12-11 05:27:56 +00:00
coretemp
cp As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
cpuctl
cpufreq
cs Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ct Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ctau Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
cx Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
cxgb Garbage collect unused arguments of m_init(). 2016-02-10 18:54:18 +00:00
cxgbe cxgbe(4): Update T5 and T4 firmwares to 1.15.28.0. 2016-03-01 02:36:50 +00:00
cy Fix the build. 2016-02-25 04:32:17 +00:00
cyapa
dc
dcons
de Fix build when KTR is defined but not KTR_TULIP. 2015-11-20 09:37:04 +00:00
digi Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
dpaa Use the m_extadd() function instead of deprecated MEXTADD(). 2016-03-02 02:29:35 +00:00
dpms
dpt
drm As <machine/param.h> is included from <sys/param.h>, there is no need 2016-02-22 09:04:36 +00:00
drm2 Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
dwc
e1000 Fix and clean up usage of DMA and TSO segments: 2016-02-23 01:19:26 +00:00
ed Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
eisa Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
en
ep These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
esp
et
etherswitch [mdio] migrate mdiobus out of etherswitch and into a top-level device of its own. 2015-12-26 02:31:39 +00:00
ex Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO building 2015-12-11 05:27:56 +00:00
exca
extres Add reset framework, a second part of new 'extended resources' family of 2016-01-24 11:03:35 +00:00
fatm
fb As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
fdc Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
fdt Make the memory size returned from fdt_get_mem_regions a 64-bit type. This 2016-03-01 11:39:07 +00:00
fe Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ffec
filemon Remove filemon->lock wrappers. 2016-03-02 00:13:13 +00:00
firewire firewire: fix a mismatch introduced in r230558. 2016-02-19 15:35:20 +00:00
flash [flash] Teach mx25l SPI flash driver to interact with fdt_slicer and geom_flashmap 2016-01-22 03:15:53 +00:00
fxp These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
gem
glxiic
glxsb
gpio OFW_GPIOBUS: Add utility functions for easier handling of OFW GPIO pins. 2016-03-01 16:10:15 +00:00
gxemul
hatm
hifn
hme
hpt27xx Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
hptiop Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00
hptmv Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
hptnr Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
hptrr Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
hwpmc If full width writes to the performance monitoring counters are 2016-02-12 07:27:24 +00:00
hyperv hyperv/hn: Make # of rings configurable 2016-03-02 05:24:55 +00:00
ic - Add support for Advantech PCI-1602 Rev. B1 and PCI-1603 cards. [1] 2016-01-10 18:11:23 +00:00
ichiic
ichsmb Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ichwd
ida
ie
if_ndis Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
iicbus Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
iir
intpm
io
ioat ioat(4): On error detected in ithread, defer HW reset to taskqueue 2016-02-13 22:51:25 +00:00
ipmi
ips
ipw
isci As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
iscsi Add a kern.icl.drivers sysctl, to retrieve the list of registered 2016-02-10 19:01:26 +00:00
iscsi_initiator These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
isl
ismt ismt: fix ISMT_DESC_ADDR_RW macro 2016-01-07 21:16:44 +00:00
isp Allocate separate scratch space for scanner purposes. 2015-12-27 06:28:31 +00:00
ispfw Rip off target mode support for parallel SCSI QLogic adapters. 2015-11-23 10:06:19 +00:00
iwi net80211 drivers: fix ieee80211_init_channels() usage 2016-01-07 18:41:03 +00:00
iwm [iwm] fix up the rate control setup code to initialise rates in the order 2016-01-18 05:43:34 +00:00
iwn Remove bogus cast. 2016-02-19 01:57:51 +00:00
ixgb Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00
ixgbe In FreeBSD 10 and higher the driver announces SCTP checksum offloading support 2016-02-04 18:08:50 +00:00
ixl ixl(4)/ixlv(4): Remove a couple unnecessary register writes/flushes. 2016-02-24 01:11:51 +00:00
jme Fix variable assignment. 2016-02-18 01:24:10 +00:00
joy
kbd
kbdmux
ksyms
le Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
led
lge
lmc Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00
malo Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
mbox
mc146818
mca Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
mcd
md Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
mdio [mdio] Add MDIO support for "extended" registers as defined by IEEE 802.3 Clause 45. 2015-12-26 17:22:02 +00:00
mem
mfi
mge [mdio] migrate mdiobus out of etherswitch and into a top-level device of its own. 2015-12-26 02:31:39 +00:00
mii Disable EEE(Energy Efficient Ethernet) for RTL8211F PHY. 2015-12-03 05:27:39 +00:00
mk48txx
mlx
mlx5 Fix an issue where the network adapter could be left in down state 2016-01-19 10:24:47 +00:00
mly
mmc Create an API to reset a struct bio (g_reset_bio). This is mandatory 2016-02-17 17:16:02 +00:00
mn
mpr Don't retry SAS commands in response to protocol errors 2015-12-14 19:40:47 +00:00
mps Add sysctls for dumping out the device mapping tables. I'm finding this 2016-02-04 23:38:55 +00:00
mpt
mrsas Fix NULL pointer dereferences 2016-02-25 02:46:47 +00:00
mse Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
msk ifnet lock was changed to use sx(9) long time ago. 2016-02-22 00:58:04 +00:00
mvs Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
mwl
mxge Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00
my
nand No need to test command values this way. There can be only one, even 2015-12-18 05:55:24 +00:00
ncr
ncv Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
netfpga10g/nf10bmac
netmap These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
nfe Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
nfsmb
nge
nmdm
nsp Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ntb As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
null
nvd nvd: add hw.nvd.delete_max tunable 2016-01-28 23:15:14 +00:00
nvme nvme: fix intx handler to not dereference ioq during initialization 2016-02-24 00:01:10 +00:00
nvram
nvram2env
nxge
oce Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
ofw Revert r295756: 2016-02-20 12:28:20 +00:00
otus These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ow
patm Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
pbio Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
pccard Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
pccbb Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pcf Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci Support for Enhanced Allocation in PCI 2016-03-02 09:54:58 +00:00
pcn
pdq
pms As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
powermac_nvram
ppbus
ppc Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
proto
psci
pst
pty Remove printf only useful for debugging. 2016-01-22 20:28:24 +00:00
puc Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). 2016-03-02 03:26:56 +00:00
qlxgb qlxgb: fix mismatch. 2016-02-19 18:05:02 +00:00
qlxgbe Upgrade FW to 5.4.56 2016-01-26 22:32:58 +00:00
qlxge
quicc Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). 2016-03-02 03:26:56 +00:00
ral net80211 drivers: fix ieee80211_init_channels() usage 2016-01-07 18:41:03 +00:00
random Add missing braces. 2016-02-17 21:09:19 +00:00
rc Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
rccgpio
re Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
rl Fix a bug introduced in r295736 2016-02-18 03:05:08 +00:00
rndtest
rp Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
rt As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
rtwn rtwn: import r290048. 2016-02-21 18:51:48 +00:00
safe
sbni Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
scc Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). 2016-03-02 03:26:56 +00:00
scd
sdhci Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
sec Accidentally dropped the 0 padding. 2016-01-01 17:56:52 +00:00
sf
sfxge sfxge: implement SIOCGI2C to read information from phy modules 2016-02-10 12:14:56 +00:00
sge
si Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
siba As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
siis Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sio Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
sis
sk ifnet lock was changed to use sx(9) long time ago. 2016-02-22 00:58:04 +00:00
smbus
smc Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
sn Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
snc Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
snp
sound Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
speaker
spibus
ste
stg Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
stge Fix variable assignment. 2016-02-18 01:24:10 +00:00
streams
sym
syscons Replace the cosine table with a sine table, which (due to the vagaries of 2016-01-02 16:40:37 +00:00
tdfx
terasic
ti New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
tl
tpm
trm
tsec Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
twa Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00
twe
tws Replace several bus_alloc_resource() calls with bus_alloc_resource_any() 2016-02-27 03:34:01 +00:00
tx These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
txp
uart Add ns16550a compatible string in UART 8250 driver 2016-02-26 08:43:36 +00:00
ubsec
usb Use m_catpkt(9) to ensure that pkthdr fields are updated properly. 2016-03-02 05:05:02 +00:00
utopia
vge
viapm
viawd
videomode
virtio Create an API to reset a struct bio (g_reset_bio). This is mandatory 2016-02-17 17:16:02 +00:00
vkbd
vmware/vmxnet3
vnic Introduce HW TSO support for VNIC 2016-02-25 14:29:57 +00:00
vr Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
vt As <machine/vm.h> is included from <vm/vm.h>, there is no need to 2016-02-22 09:10:23 +00:00
vte Fix variable assignment. 2016-02-18 01:24:10 +00:00
vx
vxge
watchdog
wb
wbwd
wds
wi Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
wl Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
wpi wpi, iwn: implement ic_getradiocaps method 2016-01-12 00:24:40 +00:00
wtap wtap: do not include <sys/types.h> when <sys/param.h> is already included 2015-12-13 20:53:51 +00:00
xe Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
xen Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
xl These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00