1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-07 13:14:51 +00:00
freebsd/sys/dev
Zbigniew Bodek 4764669155 Fix number of the enabled VFs in VNIC
nic->num_vf_en is set based on the number of the enabled LMACs.
This number should not be overwritten later by any routine.
Instead it should fail PCI_IOV_ADD_VF() so that available VFs
with the corresponding LMACs will attach whereas other, disabled
VFs will fail with the proper error code.
Error signaling (due to improper number of VFs requested) is also moved
from PCI_IOV_INIT() to PCI_IOV_ADD_VF().

This will be reworked when multiple queue sets are enabled but for
now this is the correct behavior of the driver.

Obtained from: Semihalf
Sponsored by:  Cavium
2016-03-31 16:44:32 +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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
adb
adlink
advansys Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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 agp: Do not attach to Intel GEN6+ 2016-03-12 09:44:23 +00:00
aha Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ahb
ahci Disable MSI-x for AHCI on Alpine plattform 2016-03-31 11:18:52 +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 Add support for AMD FCH watchdog timers. 2016-03-29 12:19:46 +00:00
amdsmb
amdtemp
amr Don't assume that bio_cmd is a bitfield. 2016-03-10 00:36:52 +00:00
an Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
arcmsr Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the 2016-03-15 05:17:29 +00:00
asmc Fix undefined behavior when using asmc_fan_getstring() 2016-01-05 10:25:22 +00:00
ata Small typo. 2016-03-29 23:33:44 +00:00
ath [net80211] migrate the time_* macros to ieee80211_* namespace. 2016-03-30 00:44:10 +00:00
atkbdc Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
auxio
bce
beri
bfe
bge
bhnd Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
bktr
bm
buslogic
bvm
bwi net80211 drivers: fix ieee80211_init_channels() usage 2016-01-07 18:41:03 +00:00
bwn [bwn] fix time_before -> ieee80211_time_before() 2016-03-30 06:48:09 +00:00
bxe Modifications to achieve a common source base from FreeBSD7.x thru 10.x 2016-03-21 18:48:20 +00:00
cadence
cardbus Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
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 r249170 was just plain wrong. The effect of the change is to always 2015-09-03 17:46:57 +00:00
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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
cx Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
cxgb cxgb(4): Remove redundant part of an assertion. 2016-03-10 14:17:24 +00:00
cxgbe cxgbe/iw_cxgbe: Fix for stray "start_ep_timer timer already started!" 2016-03-29 00:10:47 +00:00
cy Fix the build. 2016-02-25 04:32:17 +00:00
cyapa Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
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 Handle the driver KPI change from r292373. Ensure that managed device 2016-03-24 09:56:53 +00:00
dwc Add support for resetting the PHY via GPIO. 2016-03-03 22:26:36 +00:00
e1000 Support checksum offloading for TCP/IPV6 and UDP/IPV6. 2016-03-22 12:40:09 +00:00
ed Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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 Pass clkdev_if methods through to parent device by default. 2016-03-28 11:51: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 Add raw RX-50 support. These are 400k single sided disks with 80 2016-03-10 00:36:38 +00:00
fdt ARM: Parse command line delivered by U-Boot: 2016-03-26 06:59:01 +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 unneeded return left from refactoring. 2016-03-25 00:14:56 +00:00
firewire Don't assume bio_cmd is a bit field. 2016-03-10 00:36:45 +00:00
flash Add basic FDT support for the mx25l SPI flash. 2016-03-30 17:00:33 +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 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +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/vmbus: Create per-cpu fast taskqueue for msg handling 2016-03-24 02:15:23 +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 Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
ichsmb Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
ichwd Unify ichwd(4) attachment messages in dmesg. 2016-03-24 23:24:00 +00:00
ida
ie
if_ndis Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
iicbus Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
iir Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
intpm
io
ioat ioat(4): On error detected in ithread, defer HW reset to taskqueue 2016-02-13 22:51:25 +00:00
ipmi Optimize IPMI watchdog patting. 2016-03-22 06:24:52 +00:00
ips
ipw net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:44:59 +00:00
isci Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the 2016-03-15 05:17:29 +00:00
iscsi Fix iSCSI initiator crash that could happen with out-of-memory 2016-03-25 16:01:40 +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 Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
ismt ismt: fix ISMT_DESC_ADDR_RW macro 2016-01-07 21:16:44 +00:00
isp Move to new value for XPT_GET_SIM_KNOB to avoid clash with XPT_ATA_IO. 2016-03-10 06:25:05 +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 Prevent invalid ixgbe advertise setting warning 2016-03-16 01:41:55 +00:00
ixl Fix ixl with RSS 2016-03-03 19:49:37 +00:00
jme Fix variable assignment. 2016-02-18 01:24:10 +00:00
joy
kbd
kbdmux
ksyms
le Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
mcd
md For the MD_ROOT option don't inject /dev/md0 as root dev when ROOTDEVNAME 2016-03-09 19:36:25 +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 Remove bare & 0x3; it encodes the values of BIO_READ and 2016-03-15 04:56:39 +00:00
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 Use correct response bits for MMC_RSP_R4-R7 types 2016-03-27 23:19:21 +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 - In mpt_send_handshake_cmd(), use bus_space_write_stream_4(9) for writing 2015-07-24 16:00:35 +00:00
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 Fix some more long -> rman_res_t 2016-03-21 22:19:53 +00:00
mwl net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
mxge Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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 Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the 2016-03-15 05:17:29 +00:00
nctgpio Add support for the Nuvoton NCT5104D. 2016-03-31 04:57:38 +00:00
ncv Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
netfpga10g/nf10bmac
netmap Plug leak in m_unshare. 2016-03-26 23:39:53 +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 Revert r292074 (by smh): Limit stripesize reported from nvd(4) to 4K 2016-03-10 17:13:10 +00:00
nvme Revert r292074 (by smh): Limit stripesize reported from nvd(4) to 4K 2016-03-10 17:13:10 +00:00
nvram
nvram2env
nxge Fix what looks like a consistent copy&paste error. 2015-09-27 12:19:36 +00:00
oce Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
ofw Reduce OFW PCI code duplication - involves ARM, PPC and SPARC64 2016-03-29 15:19:56 +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 Simply to appease gcc's warnings. 2015-08-28 02:29:31 +00:00
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 Move pccard_safe_quote() up to subr_bus.c and rename to 2016-03-28 20:16:29 +00:00
pccbb Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
pcf Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci Convert the printfs here from %lx to %jx as well after r297000 in order 2016-03-18 19:36:43 +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 Fix debug printf 2016-03-16 16:56:28 +00:00
ppc Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
proto Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
psci Start to support PSCI 1.0. For all the functions we currently support this 2015-08-11 13:42:58 +00:00
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 Don't start the random harvester process until timers are working. 2016-03-28 21:51:56 +00:00
rc Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
rccgpio Fix off-by-one bugs. 2015-09-07 21:59:11 +00:00
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 Allocate the PCI BAR resource with bus_alloc_resource_any() 2016-03-03 01:07:17 +00:00
scc Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). 2016-03-02 03:26:56 +00:00
scd
sdhci Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
sec Accidentally dropped the 0 padding. 2016-01-01 17:56:52 +00:00
sf
sfxge Remove NULL checks after M_WAITOK allocations, which - by definition - can 2016-03-31 13:20:02 +00:00
sge
si Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
siba Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
siis Fix some more long -> rman_res_t 2016-03-21 22:19:53 +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 Add some device IDs found on AMD FCH shipsets. 2016-03-29 12:50:42 +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 Add the arm64 define. 2015-10-08 17:32:17 +00:00
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
urtwn [urtwn] welcome basic 11n support to urtwn. 2016-03-22 01:09:15 +00:00
usb Add new USB ID to UDL driver. 2016-03-30 10:05:52 +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 Only use a power of 2 for the number of receive and transmit queues. 2015-11-16 21:36:50 +00:00
vnic Fix number of the enabled VFs in VNIC 2016-03-31 16:44:32 +00:00
vr Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
vt vt: Use textmode when we're running on hypervisors 2016-03-28 07:36:54 +00:00
vte Fix variable assignment. 2016-02-18 01:24:10 +00:00
vx
vxge
watchdog
wb
wbwd Polish wbwd(4) driver and add more supported chips. 2016-03-24 20:52:35 +00:00
wds
wi Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
wl Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
wpi wpi: remove internal taskqueue 2016-03-21 23:25:41 +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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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