freebsd-dev/sys
Adrian Chadd 062cf7d90a Shut down RX before TX - in theory, this should make the chip less likely
to get upset.

The Qualcomm Atheros reference design code goes through significant
hacks to shut down RX before TX.  It doesn't even try do do it in the
driver - it actually makes the DMA stop routines in the HAL shut down
RX before shutting down TX.

So, to make this work for chips that aren't the AR9380 and later, do
it in the driver.  Shuffle the TX stop/drain HAL calls to be called
*after* the RX stop HAL call.

Tested:

* AR5413 (STA)
* AR5212 (STA)
* AR5416 (STA)
* AR9380 (STA)
* AR9331 (AP)
* AR9341 (AP)

TODO:

* test ar92xx series NIC and the AR5210/AR5211, in case there's something
  even odder about those.
2014-08-23 18:55:51 +00:00
..
amd64 Fix build of si(4) and enable it in LINT on amd64 and i386. 2014-08-20 16:07:17 +00:00
arm Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: 2014-08-20 17:02:37 +00:00
boot Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
bsm
cam We should never enter the PROBE_SETAN phase if we're not ATAPI, since 2014-08-22 13:15:59 +00:00
cddl Instead of using timestamp in the AVL, use the memory address when 2014-08-22 23:13:53 +00:00
compat All mbuf external free functions never fail, so let them be void. 2014-07-11 13:58:48 +00:00
conf Update to the Intel Base driver for the Intel XL710 Ethernet Controller Family 2014-08-22 18:59:19 +00:00
contrib Add some more OS_MARK() probes to the AR9300 HAL. 2014-08-11 00:03:50 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ins is only set and unused, but only when we're not doing software 2014-08-14 16:01:51 +00:00
dev Shut down RX before TX - in theory, this should make the chip less likely 2014-08-23 18:55:51 +00:00
fs Autofs softc needs to be global anyway, so don't pass it as a local 2014-08-23 11:45:14 +00:00
gdb Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
geom Deal explicitly with possible failures of make_dev_alias_p() in GEOM. 2014-08-18 19:27:47 +00:00
gnu New DTS files to suppport the SAM9260EK eval board. Derived, in part, 2014-08-19 03:51:05 +00:00
i386 Fix build of si(4) and enable it in LINT on amd64 and i386. 2014-08-20 16:07:17 +00:00
isa
kern Restore pre-r239157 handling of sched_yield(), when thread time slice was 2014-08-23 17:31:56 +00:00
kgssapi
libkern Bring in the new automounter, similar to what's provided in most other 2014-08-17 09:44:42 +00:00
mips Change pmap_enter(9) interface to take flags parameter and superpage 2014-08-08 17:12:03 +00:00
modules Update to the Intel Base driver for the Intel XL710 Ethernet Controller Family 2014-08-22 18:59:19 +00:00
net * Add new net/sff8436.h containing constants used to access 2014-08-21 17:54:42 +00:00
net80211 After much toying around with this AMRR initial rate stuff, 2014-08-20 09:10:03 +00:00
netgraph Remove any stale mbuf tags from packets being injected into a netgraph 2014-07-01 07:54:12 +00:00
netinet Restore historical behavior of in_control, which, when no matching address 2014-08-22 19:08:12 +00:00
netinet6 Add some missing checks for unsupported interfaces (e.g. pflog(4)) when 2014-08-22 19:21:08 +00:00
netipsec Change pr_output's prototype to avoid the need for explicit casts. 2014-08-15 02:43:02 +00:00
netnatm
netpfil Whitespace/style changes merged from projects/ipfw. 2014-08-23 17:57:06 +00:00
netsmb
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm
ofed pci: make MSI(-X) enable and disable methods of the PCI bus 2014-08-20 14:57:20 +00:00
opencrypto
pc98 Compile fixes: 2014-06-28 17:36:18 +00:00
pci Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
powerpc vt_fb: Implement vd_bitblt_text_t for vt_fb and derivatives 2014-08-23 15:00:47 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 For CPUs which do hardware cache line unaliasing, use direct map to 2014-08-23 18:11:54 +00:00
sys Rename DT_FEATURE_1 to DT_FEATURE 2014-08-21 20:55:10 +00:00
teken
tools Call cpp with -P to avoid printing line markings. 2014-06-10 06:24:01 +00:00
ufs Do not busy the UFS mount point inside VOP_RENAME(). The 2014-08-20 08:15:23 +00:00
vm Relax one of the conditions for mapping a page on the fast path. 2014-08-23 05:24:31 +00:00
x86 atpic: make sure atpic_init is called after IO APIC initialization 2014-08-07 17:00:50 +00:00
xdr
xen xen: implement event channel PIRQ support 2014-08-04 08:42:29 +00:00
Makefile Remove ia64. 2014-07-07 00:27:09 +00:00