opnsense-src/sys/dev
Alexander Motin af66b67ab2 Add ready polling after PHY reset on VIA SATA controllers.
According to PR there are cases of controller hang if soft reset is
sent before device report ready status after the hard reset.

I don't think this patch is perfect, but it was reported as working
by the submitter, and I have neither the old hardware nor interest to
test some improved version, so just done some style cleaning.

PR:		183294
Submitted by:	alexandre.martins@netasq.com
MFC after:	1 month
2018-05-23 15:22:58 +00:00
..
aac Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
aacraid Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
acpi_support
acpica stop and restart kernel event timers in the suspend / resume cycle 2018-05-21 20:23:04 +00:00
adb
adlink Convert the PCI ID selection from a simple if into a table. 2018-03-23 15:35:19 +00:00
advansys
ae ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
age ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
agp
aha
ahci Fix kernel modules names for Marvell armv7 2018-04-03 23:49:35 +00:00
aic
aic7xxx Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
al_eth ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
alc ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ale ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
alpm
altera ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
amd_ecc_inject
amdpm
amdsbwd amdsbwd: fix reboot status reporting 2018-05-05 05:22:11 +00:00
amdsmb
amdsmn
amdtemp
amr
an Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
arcmsr
asmc asmc: update temperature sensor name/description 2018-03-08 18:52:47 +00:00
ata Add ready polling after PHY reset on VIA SATA controllers. 2018-05-23 15:22:58 +00:00
ath ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
atkbdc Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
auxio
axgbe
bce ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
beri
bfe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
bge Add netdump hooks to bge(4). 2018-05-06 00:45:41 +00:00
bhnd bhnd nvram map: don't write "variable records written" to standard out by default 2018-05-19 18:15:41 +00:00
bktr Remove unused definition bl_dfp; fix build with bktr compiled into kernel 2018-04-21 18:43:09 +00:00
bm ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
bnxt netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
buslogic
bvm
bwi
bwn net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
bxe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
cadence
cardbus Push down Giant one layer. In the days of yore, back when Penitums 2018-03-20 22:01:18 +00:00
cas ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ce
cesa Enable cesa driver to work with Linux DT binding 2018-04-09 23:36:52 +00:00
cfe
cfi
chromebook_platform
ciss Update a TBD string with a real model number 2018-03-25 06:08:18 +00:00
cmx
coretemp
cp
cpuctl Typo. 2018-05-22 15:49:23 +00:00
cpufreq Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
cs ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ctau
cx
cxgb ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
cxgbe cxgbe(4): Only valid filters are expected to have a valid tid. 2018-05-22 16:23:14 +00:00
cy Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
cyapa
dc ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
dcons i386 4/4G split. 2018-04-13 20:30:49 +00:00
de ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
dme
dpaa Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
dpms
dpt
drm Correct signedness bug in drm_modeset_ctl 2018-03-22 01:00:55 +00:00
drm2 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
dwc ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
e1000 igb(4): 2018-05-15 13:30:59 +00:00
ed ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
efidev efidev: Drop a quick note in about efi_cfgtbl/efi_runtime 2018-03-23 02:45:09 +00:00
ena Do not pass header length to the ENA controller 2018-05-10 09:37:54 +00:00
ep
esp
et ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
etherswitch Improve detection of addressing mode in e6000sw 2018-04-10 08:35:43 +00:00
evdev uinput: Add FreeBSD specific ioctl to set unique identifier of input device. 2018-04-30 10:34:16 +00:00
ex ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
exca Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
extres Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
fb
fdc
fdt Handle reserved memory with the no-map property. 2018-05-22 16:03:41 +00:00
fe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ffec ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
filemon Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
firewire The Uninorth ID was really for Uninorth 2. 2018-04-01 00:25:47 +00:00
flash mx25l: Add mx25l1606e 2018-05-17 10:13:18 +00:00
fxp
gem ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
glxiic
glxsb
gpio Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
gxemul
hdmi
hifn
hme ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
hpt27xx hpt27xx: plug info leak in hpt_ioctl 2018-01-02 18:29:44 +00:00
hptiop
hptmv
hptnr
hptrr
hwpmc pmc: detach free_gtask on unload 2018-05-20 20:34:15 +00:00
hyperv ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ic
ichiic [ig4] Add support for i2c controllers on Skylake and Kaby Lake 2018-03-06 23:39:43 +00:00
ichsmb
ichwd
ida
if_ndis ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
iicbus Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
iir
imcsmb imcsmb(4): Intel integrated Memory Controller (iMC) SMBus controller driver 2018-03-03 01:53:51 +00:00
intel
intpm
io
ioat
ipmi In cases where an application issues certain IPMI commands at a high 2018-04-06 15:15:21 +00:00
ips
ipw
isci Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO 2018-02-23 20:01:42 +00:00
iscsi Fix typo in a warning message. 2018-03-14 18:27:06 +00:00
iscsi_initiator
iser
isl
ismt
isp Increase ABOUT FIRMWARE command timeout to 5s. 2018-03-15 01:07:21 +00:00
ispfw Update QLogic ISP 24xx/25xx chips firmware to 8.07.00. 2018-03-02 19:50:41 +00:00
iwi Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
iwm [iwm] Add support for iwm 3168 cards 2018-03-28 07:59:16 +00:00
iwn
ixgbe netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
ixl ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
jedec_dimm jedec_dimm: Use correct string length when populating sc->slotid_str 2018-03-22 06:31:05 +00:00
jedec_ts
jme ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
joy
kbd
kbdmux Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ksyms
le ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
led
lge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
liquidio ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
malo ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
mbox
mc146818
md Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mdio
mem
mfi Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
mii
mk48txx
mlx
mlx4 ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
mlx5 ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
mly
mmc - If present, take advantage of the R/W cache of eMMC revision 1.5 and 2018-05-15 21:15:09 +00:00
mmcnull
mn
mpr Clean enclosure_table when resetting num_enc_table_entries to zero. 2018-05-02 02:41:09 +00:00
mps Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mpt
mrsas mrsas(4): Remove unneed extra arg from MR_LdBlockSizeGet(). 2018-05-23 07:39:00 +00:00
mse
msk ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
mthca Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00
mvs
mwl Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
mxge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
my ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
nand Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
ncr
nctgpio
ncv
neta Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
netfpga10g/nf10bmac
netmap netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
nfe
nfsmb
nge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
nmdm
nsp
ntb
null Refactor some of the MI kernel dump code in preparation for netdump. 2018-05-06 00:22:38 +00:00
nvd
nvme Remove the 'All Rights Reserved' clause from some of the stuff I've 2018-05-09 20:32:23 +00:00
nvram
nvram2env
oce ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ocs_fc Clear out the entire structure, not just the size of a pointer to it. 2018-05-11 14:50:26 +00:00
ofw Use NULL for SYSINIT's last arg, which is a pointer type 2018-05-18 17:58:09 +00:00
otus ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ow [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
pbio
pccard Push down Giant one layer. In the days of yore, back when Penitums 2018-03-20 22:01:18 +00:00
pccbb Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
pcf
pci Allow PCI VGA devices to be detached. 2018-05-03 22:51:44 +00:00
pcn ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
pms
powermac_nvram
ppbus
ppc i386 4/4G split. 2018-04-13 20:30:49 +00:00
proto
psci
pst
pty
puc Add PNP info to the PCI attahement of the puc driver. 2018-04-17 16:46:08 +00:00
qlnx/qlnxe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
qlxgb ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
qlxgbe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
qlxge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
quicc
ral net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
random random(4): Poll for signals during large reads 2018-03-16 18:50:26 +00:00
rc
rccgpio
re ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
rl ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
rndtest
rp Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
rt
rtwn ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
safe
sbni Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
scc
sdhci The broken DDR52 support of Intel Bay Trail eMMC controllers rumored 2018-05-14 21:46:06 +00:00
sec
sf ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
sfxge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
sge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
siis
sio Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
sis ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
sk ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
smartpqi smartpqi(4): Unbreak GCC build 2018-04-28 17:43:20 +00:00
smbus
smc
sn ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
snp
sound hda(4) 2018-04-23 16:38:27 +00:00
speaker
spibus Allow hinted attachment on FDT-based systems. Instead of returning ENXIO 2018-04-08 17:06:30 +00:00
ste ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
stg
stge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
sym
syscons i386 4/4G split. 2018-04-13 20:30:49 +00:00
tcp_log Make the TCP blackbox code committed in r331347 be an optional feature 2018-03-24 12:48:10 +00:00
tdfx
terasic
ti ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
tl ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
tpm
trm
tsec ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
twa
twe
tws
tx ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
txp ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
uart uart_snps: Add early printf support 2018-05-01 13:57:08 +00:00
ubsec
usb if_muge: only attach to LAN7800 Chip ID 2018-05-22 20:00:56 +00:00
vge ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
viapm
viawd
videomode Add hskew field to struct videomode. It is required by some controllers 2015-06-18 00:22:14 +00:00
virtio ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
vkbd Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
vmware ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
vnic Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
vr ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
vt Avoid writing to the frame buffer in early boot on PowerPC if the CPU's 2018-05-19 22:04:54 +00:00
vte ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
vx
watchdog
wb ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
wbwd
wi ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
wpi
wtap
xdma Add driver for ARM PrimeCell PL330 DMA engine. 2018-04-13 12:43:54 +00:00
xe ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
xen xen-blkback: do not use state 3 (XenbusStateInitialised) 2018-05-22 08:51:16 +00:00
xilinx
xl ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00