freebsd-dev/sys/dev
Alexander Motin a94fab67bb Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID.
Instead of using GID_FT SNS request to get list of registered FCP ports,
use GID_PT to get list of all Nx_Ports, and then use GFF_ID and/or GFT_ID
requests to find whether they are FCP and target capable.

The problem with old approach is that GID_FT does not report ports without
FC-4 type registered.  In particular it was impossible to boot OS from
FreeBSD FC target using QLogic FC BIOS, since one does not register FC-4
type even on new cards and so ignored by old code as incompatible.

As a side bonus this allows initiator to skip pointless logins to other
initiators by fetching that information from SNS instead.

In case some switches do not implement GFF_ID/GFT_ID correctly, add sysctls
to disable that functionality.  I handled broken GFF_ID of my Brocade 200E,
but there may be other switches with different bugs.

Linux also uses GID_PT, but GFF_ID is disabled by default there, and GFT_ID
is not supported.

Sponsored by:	iXsystems, Inc.
2017-07-03 15:56:45 +00:00
..
aac Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
aacraid Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
acpi_support Hide unneeded message under bootverbose. 2017-01-27 14:17:48 +00:00
acpica hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
adb Force the setting of bit 7 in the sysmouse packet byte 1 to be unsigned. 2017-01-30 02:32:33 +00:00
adlink
advansys Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ae Fix a potentially forever loop. 2017-04-14 02:24:02 +00:00
age Remove dead code. 2017-04-14 08:27:42 +00:00
agp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
aha Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ahci Add some device IDs for Intel Denverton SoCs. 2017-06-21 00:30:57 +00:00
aic Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
aic7xxx Fix LUN enabling on wildcard target, as done by CTL. 2017-02-26 19:25:33 +00:00
al_eth sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
alc alc: Add Killer E2500 support 2017-01-16 03:03:47 +00:00
ale
alpm
altera Merge enhancements to the ALTERA Avalon bus generic device attachment 2017-01-28 13:25:06 +00:00
amd_ecc_inject add a module that provides support for DRAM ECC error injection on AMD CPUs 2017-03-03 22:51:04 +00:00
amdpm
amdsbwd
amdsmb
amdtemp
amr Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
an sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
arcmsr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
asmc [asmc] Add support for MacBook Pro 11,2 2017-02-17 18:49:18 +00:00
ata Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ath [ath_hal] if building with ALQ, ensure we actually depend upon ALQ. 2017-06-29 03:59:02 +00:00
atkbdc psm: add support for evdev protocol 2017-05-29 20:43:00 +00:00
auxio
axgbe Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is unlikely 2017-02-15 13:56:04 +00:00
bce sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
beri sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bfe
bge
bhnd [mips] [bhnd] Support of old PMU for BMIPS and siba SoC 2017-05-28 12:05:16 +00:00
bktr ioctl METEORGBRIG in bktr_core.c forgets to add 128 to value 2017-06-27 03:57:31 +00:00
bm
bnxt Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
buslogic sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bvm
bwi net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
bwn bwn(4): Fix trivial null dereference 2017-04-06 17:08:59 +00:00
bxe 1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to sync threads during interface down or detach. 2017-02-27 23:38:51 +00:00
cadence
cardbus
cas
ce dev/ce: double assignment. 2017-02-23 15:30:21 +00:00
cesa Enable proper configuration of CESA MBUS windows 2017-05-19 08:19:39 +00:00
cfe
cfi [cfi] fix CFI flash reset command for MX29LV320T/B. 2017-05-06 05:52:01 +00:00
chromebook_platform chromebook_platform: catch up with ig4iic -> ig4iic_pci in r310621 2017-02-25 15:55:46 +00:00
ciss In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
cm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cmx
coretemp
cp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cpuctl Update the list of cpudev ioctls which require write access. 2017-03-19 21:25:27 +00:00
cpufreq
cs Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ctau sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cxgb Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
cxgbe cxgbe/t4_tom: Do not include space taken by the TCP timestamp option in 2017-06-27 22:05:06 +00:00
cy Revert r317446 and bring back cy(4). 2017-04-27 16:14:32 +00:00
cyapa
dc
dcons
de sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
dme
dpaa Use UMA_ALIGN_PTR to specify pointer alignment 2017-05-12 04:10:02 +00:00
dpms
dpt Remove EISA support from dpt. Remove known EISA models from 2017-02-16 21:57:13 +00:00
drm All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
drm2 Don't bother enqueuing a page immediately before freeing it. 2017-05-18 18:37:19 +00:00
dwc
e1000 e1000api: misleading-indentation 2017-05-15 16:53:02 +00:00
ed sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
efidev
ena Introduce additional locks when releasing TX resources and buffers in ENA 2017-05-30 12:00:56 +00:00
ep Remove EISA support for ep driver. Left in place EISA strings that are 2017-02-16 21:56:51 +00:00
esp Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
et
etherswitch Add support to 2.5G uplink for the MV88E6141 and MV88E6341 switches. 2017-06-20 18:11:23 +00:00
evdev [evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers 2017-03-12 19:28:44 +00:00
ex remove archaic register keyword from ixgb and ex 2017-04-06 17:16:41 +00:00
exca Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
extres Export a sysctl dev.<clkdom>.<unit>.clocks for each clock domain containing 2017-03-05 07:13:29 +00:00
fb Write-combine framebuffer writes through user-space mappings, if possible. 2017-04-20 15:18:15 +00:00
fdc Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdt Set the correct default for #address-cells variable when the property does 2017-04-30 07:31:48 +00:00
fe sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ffec Convert from local code and constants for mac<->phy connection type to new 2017-06-11 00:44:19 +00:00
filemon
firewire firewire/sbp: try to improve locking, plus a few style nits 2017-03-07 16:07:52 +00:00
flash [mx25l] add new device ids. 2017-05-06 06:08:44 +00:00
fxp Remove unnecessary comparison. 2017-04-14 02:33:26 +00:00
gem
glxiic
glxsb
gpio [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
gxemul gxemul: 2017-02-06 11:37:20 +00:00
hdmi Add support for audio on I2S based DesignWare HDMI controllers. 2016-12-29 14:08:24 +00:00
hifn
hme
hpt27xx Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptiop sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptmv sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptnr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptrr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hwpmc Fix INVARIANTS debug code in HWPMC 2017-06-13 18:53:56 +00:00
hyperv Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
ic Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ichiic
ichsmb Add IDs for several missing Intel SMBus controllers. 2017-04-02 11:36:25 +00:00
ichwd Fixed TCO v3 tick convert 2017-03-01 05:18:43 +00:00
ida Remove support for EISA in the ida driver. Remove references to 2017-02-16 21:56:57 +00:00
if_ndis Fix regression in ndis(4) after r286410. This adds a bunch of checks for 2017-05-22 20:00:01 +00:00
iicbus Add iic_recover_bus(), a helper function that can be used by any i2c driver 2017-06-29 01:50:58 +00:00
iir Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
intel
intpm
io
ioat ioat: don't specify inline for function with variable argument list 2017-03-04 12:51:57 +00:00
ipmi
ips
ipw
isci scif_sas_controller: Fix inverted logic range check 2017-03-13 17:58:08 +00:00
iscsi Listening sockets improvements. 2017-06-08 21:30:34 +00:00
iscsi_initiator Use getsock_cap() instead of deprecated fgetsock(). 2017-01-13 18:36:46 +00:00
iser
isl
ismt
isp Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID. 2017-07-03 15:56:45 +00:00
ispfw
iwi iwi, ral, zyd: fix possible use-after-free. 2017-02-17 23:20:22 +00:00
iwm [iwm] Remove support for fw older than -17 and -22 2017-06-04 21:28:52 +00:00
iwn iwn: use correct mask for queue ids (0xf -> 0x1f). 2017-04-02 13:24:58 +00:00
ixgb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ixgbe Don't overrite vf->flags variable at the end of ixgbe(4) ixgbe_add_vf(). 2017-04-05 22:01:49 +00:00
ixl ixl(4)/ixlv(4): Fix some busdma tags and improper map NULL. 2017-06-10 18:56:30 +00:00
jedec_ts jedec_ts: add support for devices manufactured by IDT 2017-06-23 11:55:43 +00:00
jme Don't overwrite mapped bits. 2017-04-14 08:11:50 +00:00
joy
kbd Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kbdmux
ksyms
le sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
led
lge Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
lmc
malo
mbox
mc146818
md Don't call vm_pager_page_unswapped() when writing or deleting a dirty page. 2017-06-14 03:55:11 +00:00
mdio
mem
mfi Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
mge
mii Add a driver for the Vitesse/Microsemi VSC8501 PHY. 2017-06-11 00:38:16 +00:00
mk48txx
mlx Remove references to EISA support in mlx. The driver never supported 2017-02-16 21:56:32 +00:00
mlx4 Update io-mapping.h in the LinuxKPI. 2017-06-21 18:20:17 +00:00
mlx5 Update io-mapping.h in the LinuxKPI. 2017-06-21 18:20:17 +00:00
mly In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
mmc o Add support for eMMC DDR bus speed mode at 52 MHz to sdhci(4) and 2017-03-19 23:27:17 +00:00
mn
mpr Fix several problems with mapping code. 2017-05-25 19:20:06 +00:00
mps Fix several problems with mapping code. 2017-05-25 19:14:44 +00:00
mpt mpt.h: macro parenthesization 2017-06-30 22:06:24 +00:00
mrsas Fix a typo introduced in r306024. 2017-01-23 21:09:27 +00:00
mse Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
msk Remove unnecessary assignment. 2017-04-14 07:27:23 +00:00
mvs Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
mwl [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. 2017-02-20 02:08:08 +00:00
mxge
my Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
nand The nandsim(4) simulator driver doesn't have any protection against 2017-05-04 20:42:31 +00:00
ncr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nctgpio
ncv
neta Allow the use of extended media types with if_mvneta, so it can report 2.5G 2017-06-20 18:14:56 +00:00
netfpga10g/nf10bmac
netmap Update the current version of netmap to bring it in sync with the github 2017-06-12 22:53:18 +00:00
nfe
nfsmb
nge
nmdm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nsp
ntb Report NTB link speed to console and interface. 2017-04-23 14:25:51 +00:00
null
nvd Report random flash storage as non-rotating to GEOM_DISK. 2017-01-12 08:53:10 +00:00
nvme Add new definitions for namespaces. 2017-06-27 20:24:39 +00:00
nvram
nvram2env
nxge
oce
ofw Update comment ot reflect realilty, we know also take care of CPUs that 2017-04-20 15:06:16 +00:00
otus net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
ow
pbio
pccard sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pccbb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pcf
pci Various fixes for PCI _OSC handling so HotPlug works again. 2017-04-27 16:32:42 +00:00
pcn Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
pdq Remove EISA attachment (fea) from pdq driver. Remove vestiges of 2017-02-16 21:57:08 +00:00
pms sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
powermac_nvram
ppbus Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ppc Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
proto
psci arm: add .arch_extension sec for smc instruction 2017-06-18 00:08:38 +00:00
pst
pty
puc
qlnx/qlnxe Upgrade STORMFW to 8.30.0.0 and ecore version to 8.30.0.0 2017-06-15 02:45:43 +00:00
qlxgb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
qlxgbe Add pkts_cnt_oversized to stats. 2017-06-20 21:17:05 +00:00
qlxge Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
quicc
ral net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
random Replace the RC4 algorithm for generating in-kernel secure random 2017-04-16 09:11:02 +00:00
rc
rccgpio Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. 2016-12-31 02:23:15 +00:00
re
rl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
rndtest
rp
rt [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
rtwn - Fix incorrect values in the computation of CCK and OFDM transmit power 2017-06-17 14:39:25 +00:00
safe
sbni sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
scc
sdhci Retry up to 20 ms to enable bus power as at least with some Intel 2017-07-02 19:13:01 +00:00
sec
sf
sfxge sfxge(4): compact the first hot part of RxQ control 2017-01-27 11:59:02 +00:00
sge
siba
siis Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
sio Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sis
sk
smbus
smc
sn sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
snp Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
sound Declare the "snd_fxdiv_table" once. This shaves around 24Kbytes of 2017-05-25 05:23:47 +00:00
speaker Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
spibus [spigen] make spigen device ready to be compiled as a module 2017-03-09 01:00:27 +00:00
ste
stg
stge
sym sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
syscons Change the drawing method for the mouse cursor in planar mode to support 2017-04-23 08:59:35 +00:00
tdfx
terasic
ti
tl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
tpm Remove dead code. 2017-04-06 22:21:49 +00:00
trm Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
tsec Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
twa Update tw_cl_share.h to allow 255 LUNs 2017-03-01 04:40:57 +00:00
twe
tws Increase the number of LUNs this hardware can support. 2017-05-17 13:22:13 +00:00
tx
txp Remove unnecessary check aginst NULL. txp_ext_command() with 2017-04-14 03:23:03 +00:00
uart Fix device lookup of for the stdout-path chosen property. 2017-06-02 14:01:17 +00:00
ubsec
usb Add some device IDs for Intel Denverton SoCs. 2017-06-21 00:30:57 +00:00
vge
viapm
viawd
videomode
virtio vtnet: don't update VLAN filter when parent is not running 2017-02-13 21:44:29 +00:00
vkbd
vmware/vmxnet3 fix vmxnet3 crash when LRO is enabled 2017-05-25 10:49:56 +00:00
vnic Rework BGX detection to support both new and old firmware 2017-03-31 18:04:34 +00:00
vr
vt Use nitems(..) when computing max instead of the longhand version of 2017-06-14 02:28:10 +00:00
vte
vx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
vxge vxge(4): Yet another (minor) mismatch. 2017-02-23 18:56:31 +00:00
watchdog Some cosmetic polishing for pre-timeouts. 2017-04-20 09:01:31 +00:00
wb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
wbwd
wi Fix unreachable code in wi_pci_resume(). 2017-03-15 09:31:58 +00:00
wpi net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
wtap
xdma Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
xe
xen Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
xilinx
xl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00