freebsd-dev/sys/dev
Adrian Chadd 84dd5933b5 Use a 64 bit TSF write to update the TSF adjust, rather than a 32 bit
TSF write.

The TSF_L32 update is fine for the AR5413 (and later, I guess) 11abg NICs
however on the 11n NICs this didn't work.  The TSF writes were causing
a much larger time to be skipped, leading to the timing to never
converge.

I've tested this 64 bit TSF read, adjust and write on both the
11n NICs and the AR5413 NIC I've been using for testing.  It works
fine on each.

This patch allows the AR5416/AR9280 to be used as a TDMA member.
I don't yet know why the AR9280 is ~7uS accurate rather than ~3uS;
I'll look into it soon.

Tested:

* AR5413, TDMA slave (~ 3us accuracy)
* AR5416, TDMA slave (~ 3us accuracy)
* AR9280, TDMA slave (~ 7us accuracy)
2012-11-23 05:52:22 +00:00
..
aac Give panic format string to pacify clang warning. 2012-11-09 13:58:52 +00:00
acpi_support add support for newer Lenovo ThinkPads to acpi_ibm 2012-10-29 10:22:00 +00:00
acpica acpi_cpu: use fixed resource ids for cx state i/o resources 2012-11-22 14:40:26 +00:00
adb Use uiomove return value instead of returning 0. 2012-11-13 06:03:43 +00:00
adlink
advansys Add locking to the adw(4) driver and mark it MPSAFE. 2012-10-15 15:26:00 +00:00
ae Fix the build. 2012-06-06 09:07:50 +00:00
age TSO engine of L1 requires a separate DMA descriptor for TCP 2012-10-30 07:55:03 +00:00
agp Remove unneeded header from agp: opt_bus.h 2012-11-15 18:49:17 +00:00
aha Fix aha(4) build with i386 LINT (which includes 'device mca'). 2012-10-16 15:25:04 +00:00
ahb Add locking to the ahb(4) driver and mark it MPSAFE. 2012-10-15 16:05:02 +00:00
ahci Announce diagnostic page 7 (Element Descriptor) support. 2012-11-07 22:53:46 +00:00
aic Add locking to the aic(4) driver and mark it MPSAFE. 2012-10-15 16:09:59 +00:00
aic7xxx Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it 2012-11-14 18:54:08 +00:00
alc Switch some PCI register reads from using magic numbers to using the names 2012-09-19 12:27:23 +00:00
ale Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
altera Correct double "the the" 2012-09-14 21:28:56 +00:00
amdsbwd This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
amdtemp This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
amr Further adjust the workaround in r234501. Rounding all small requests up 2012-10-05 15:52:31 +00:00
an Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
arcmsr Fix typo: s/unknow/unknown 2012-10-09 06:15:16 +00:00
asmc Give device_printf format string to pacify clang warning. 2012-11-09 14:58:26 +00:00
asr Replace homegrown list implementation in sys/dev/asr/asr.c with 2012-04-20 21:17:33 +00:00
ata Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
ath Use a 64 bit TSF write to update the TSF adjust, rather than a 32 bit 2012-11-23 05:52:22 +00:00
atkbdc Fix typo: s/protocl/protocol 2012-09-20 10:07:31 +00:00
auxio
bce - Remove BCE_JUMBO_HDRSPLIT kernel option which was forgotten in r218423. 2012-10-30 13:22:39 +00:00
bfe ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
bge Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
bktr Fix typo; s/ouput/output 2012-11-07 07:00:59 +00:00
bm ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
buslogic Add locking to the bt(4) driver and mark it MPSAFE. 2012-10-15 16:13:55 +00:00
bwi Add opt_wlan.h includes, so IEEE80211_* configuration changes are 2012-05-12 15:11:53 +00:00
bwn Fix some net80211 enum nits: 2011-12-17 10:23:17 +00:00
bxe Utilize new macro to initialize if_baudrate. 2012-10-18 09:59:50 +00:00
cardbus - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. 2012-03-02 20:38:04 +00:00
cas Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
ce Fix clang warnings in sys/dev/ce/if_ce.c and sys/dev/cp/if_cp.c, 2011-12-29 17:46:24 +00:00
cesa Add support for Marvell 88F6282. 2012-07-28 21:56:24 +00:00
cfe kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
cfi CFI fixes for big endian archs. 2012-03-27 15:13:12 +00:00
ciss Increase the driver-side limit on the number of logical volumes that 2012-10-25 18:46:02 +00:00
cm Replace inline static' by static inline'. 2011-12-13 14:06:01 +00:00
cmx
coretemp This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
cp Fix clang warnings in sys/dev/ce/if_ce.c and sys/dev/cp/if_cp.c, 2011-12-29 17:46:24 +00:00
cpuctl cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call 2012-11-04 13:46:28 +00:00
cpufreq
cs Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
ct Use ANSI prototype to fix build with clang. 2012-11-10 14:58:06 +00:00
ctau
cx
cxgb Initialize the response queue mutex a bit earlier to avoid a panic that 2012-10-25 18:11:04 +00:00
cxgbe cxgbe/tom: Plug mbuf leak. 2012-11-16 00:21:54 +00:00
cy
dc Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
dcons kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
de More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
digi
dpms
dpt Fix build of dpt(4). 2012-10-16 09:57:34 +00:00
drm Cast VIA_READ to (void) where the result is unused. 2012-11-09 14:46:23 +00:00
drm2 - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to 2012-11-02 05:26:33 +00:00
e1000 Now that device disabling is generic, remove extraneous code from the 2012-10-22 22:29:48 +00:00
ed Fix off by one error in mbuf access. Previously it caused panic. 2011-12-05 18:10:43 +00:00
eisa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
en Final pass at having devices use their bus parent for dma tags. The 2012-03-12 19:29:35 +00:00
ep ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
esp - Merge from NetBSD: 2012-08-06 08:58:54 +00:00
et Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
etherswitch Disable automatic attachment of arswitch. It can't be auto-detected (like PHYs 2012-11-07 22:43:09 +00:00
ex Convert files to UTF-8 2012-01-15 13:23:18 +00:00
exca
fatm
fb Piggyback MIPS changes and add ARM syscons support for devices with 2012-08-25 23:59:31 +00:00
fdc - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
fdt If virtual addresses are not set use one to one mapping. 2012-09-14 09:45:13 +00:00
fe Improve media status reporting, when the driver knows... 2012-01-30 22:47:02 +00:00
filemon A little bit easier to read. 2012-10-26 20:24:13 +00:00
firewire Fix an issue that caused the kernel to panic inside CTL when trying 2012-06-26 14:51:35 +00:00
flash Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
fxp Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
gem Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
glxiic This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
glxsb More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
gpio Remove extra semicolon which rendered condition useless 2012-04-02 00:11:26 +00:00
gxemul Use MIPS_PHYS_TO_DIRECT_UNCACHED rather than a homegrown version which is not 2012-11-23 04:28:13 +00:00
hatm More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
hifn Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
hme - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
hpt27xx remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
hptiop Update hptiop(4) to version 1.8, which added support for HighPoint 2012-10-25 17:29:11 +00:00
hptmv It seems that what the code really meant is that when a write is completed, 2012-09-07 19:00:27 +00:00
hptrr attach_generic causes missing devices in /dev when the driver 2012-06-17 02:46:27 +00:00
hwpmc Fixup r240246: hwpmc needs to retain the pinning until ASTs are not 2012-10-30 15:10:50 +00:00
ic
ichsmb - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
ichwd Remove use of explicit bus space tags and handles and use methods that 2012-01-05 16:27:32 +00:00
ida Rework the DMA handling in ida(4) and add locking to make this driver 2012-08-27 17:24:07 +00:00
ie Free result of device_get_children(9). 2012-09-30 09:21:10 +00:00
ieee488 Convert files to UTF-8 2012-01-15 13:23:43 +00:00
if_ndis Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
iicbus Check the return value of uiomove(9). 2012-11-13 05:58:52 +00:00
iir Remove comments about creating DMA tags as children of the DMA tags of their 2012-03-12 19:29:32 +00:00
io
ipmi - Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specific 2012-09-28 11:59:32 +00:00
ips Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
ipw Use suspend/resume methods provided by net80211. This ensures that the 2012-03-23 19:32:30 +00:00
isci Add support for locate LED. 2012-10-10 18:01:56 +00:00
iscsi/initiator Revert previous commit... 2012-10-10 08:36:38 +00:00
isf remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
isp Don't allow for more than one segment for the control space since 2012-11-02 14:38:57 +00:00
ispfw Switch to using FC-Tape firmware. 2012-07-26 13:58:43 +00:00
iwi Use suspend/resume methods provided by net80211. This ensures that the 2012-03-23 19:32:30 +00:00
iwn We need to defer passing the DELBA request to the firmware until the aggr 2012-06-27 16:07:01 +00:00
ixgb More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
ixgbe A few important fixes: 2012-10-31 23:50:36 +00:00
jme Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
joy
kbd Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
kbdmux This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
ksyms Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
le Make sparc64 compatible with NEW_PCIB and enable it: 2011-10-02 23:22:38 +00:00
led
lge Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
lindev
lmc More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
malo Fix some net80211 enum nits: 2011-12-17 10:23:17 +00:00
mc146818
mca - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
mcd
md Print correct unit number when attaching preloaded memory disks. 2012-11-21 17:05:57 +00:00
mem
mfi Add deviceid to the disk output on boot to help debugging. 2012-11-15 15:06:09 +00:00
mge Merging of projects/armv6, part 6 2012-08-15 04:07:18 +00:00
mii Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
mk48txx Add support for MK48T37. 2011-05-15 13:17:08 +00:00
mlx Remove FreeBSD 4.x compat shims. Verified by md5. 2012-09-26 14:17:14 +00:00
mly Remove bogus break statements. 2012-09-18 02:19:43 +00:00
mmc Use %u for unsigned serial number 2012-11-22 03:54:51 +00:00
mn Remove unused static mn_timeout. 2012-11-09 14:14:51 +00:00
mps remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
mpt Remove support for using Giant for locking within mpt(4). Finer grained 2012-10-22 10:53:59 +00:00
mse
msk For Yukon II controllers that implement optional temperature sensor 2012-04-25 02:46:13 +00:00
mvs Add support for Marvell 88F6282. 2012-07-28 21:56:24 +00:00
mwl Fix the RX free list locking creation and destruction to be consistent 2012-04-17 04:52:57 +00:00
mxge Utilize new macro to initialize if_baudrate. 2012-10-18 13:57:28 +00:00
my ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
nand Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ncv Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
netmap Use M_NOWAIT when calling malloc with a lock held. 2012-10-19 19:28:35 +00:00
nfe ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
nge Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
nmdm Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
nsp Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
null Provide a device name in the sysctl tree for programs to query the 2012-11-01 17:01:05 +00:00
nvd Add ability to queue nvme_request objects if no nvme_trackers are available. 2012-10-18 00:45:53 +00:00
nve Fix all the inconsistent nve_os* function declarations and definitions 2012-11-10 16:02:12 +00:00
nvme Use callout_reset_curcpu to allow the callout to be handled by the 2012-10-31 23:44:19 +00:00
nvram
nvram2env
nxge Fix typo; s/ouput/output 2012-11-07 07:00:59 +00:00
oce remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
ofw - Add OF_hasprop() and ofw_bus_has_prop(). These can be used to check 2012-08-18 11:25:07 +00:00
patm More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
pbio
pccard Simplify resource activation a bit. 2012-06-28 07:26:44 +00:00
pccbb Restore the PCI bridge configuration upon resume. 2012-07-31 18:47:17 +00:00
pcf Make ofw_bus_get_node() consistently return -1 when there is no associated 2012-03-15 22:53:39 +00:00
pci Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
pcn Fix logic error 2012-02-27 08:57:02 +00:00
pdq
powermac_nvram "nvram,flash" may not be the first in the compatible list property of the 2012-05-20 02:43:54 +00:00
ppbus Rename device_delete_all_children() into device_delete_children(). 2011-11-22 21:56:55 +00:00
ppc Rename device_delete_all_children() into device_delete_children(). 2011-11-22 21:56:55 +00:00
pst Convert files to UTF-8 2012-01-15 13:23:18 +00:00
pty Fix whitespace inconsistencies in the TTY layer and its drivers owned by me. 2011-06-26 18:26:20 +00:00
puc Add support for Advantech PCI-1602 RS-485/RS-422 serial card 2012-11-09 01:51:06 +00:00
qlxgb Do not announce IPv6 TSO support yet. The in-tree driver does not seem 2012-04-23 21:49:11 +00:00
quicc - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
ral Add support for Ralink RT2800/RT3000 chipsets. 2012-05-10 17:41:16 +00:00
random Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
rc
re Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
rndtest Revert previous commit... 2012-10-10 08:36:38 +00:00
rp
rt ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
safe More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
sbni
scc - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
scd
sdhci Add new quirks: 2012-10-29 17:21:58 +00:00
sec Recognize version 3.1 of the SEC crypto engine. 2012-05-24 21:24:23 +00:00
sf Remove unused variable mii. 2012-05-11 03:17:32 +00:00
sfxge M_DONTWAIT is a flag from historical mbuf(9) 2012-04-10 06:52:21 +00:00
sge - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
si
siba Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
siis Partially revert r236666: 2012-06-10 11:17:14 +00:00
sio Add support for CIR1000 - Cirrus Logic V34 to the sio driver 2012-11-13 20:38:55 +00:00
sis Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
sk ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
smbus - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
smc - Do not reinitialize the card if it is already running. 2012-04-07 06:56:38 +00:00
sn ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
snc Use ANSI prototype to fix build with clang. 2012-11-10 14:58:06 +00:00
snp Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
sound Summarize information about connected analog pins and EDID-like data received 2012-11-17 06:33:13 +00:00
speaker Do not define bool/true/false if the symbols already exist. 2011-12-12 18:43:24 +00:00
spibus Fetch the chip select in the bridge driver, like all the other spi 2012-08-23 22:38:37 +00:00
ste Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
stg Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
stge Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
streams Revert previous commit... 2012-10-10 08:36:38 +00:00
sym Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user 2012-07-19 14:43:46 +00:00
syscons Add tty_set_winsize(). 2012-11-03 22:21:37 +00:00
tdfx Revert previous commit... 2012-10-10 08:36:38 +00:00
terasic Add terasic_de4led, a led(4) driver for the on-board 8-element LED on the 2012-08-26 09:21:59 +00:00
ti Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
tl Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
tpm
trm More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
tsec Do not reinitialise the interface if it is already running, this prevents the 2012-05-09 00:56:11 +00:00
twa Give tw_osl_dbg_printf format string to pacify clang warning. 2012-11-09 15:29:52 +00:00
twe Remove remaining 4.x compat shims. No resulting changes (verified by 2012-09-07 18:41:19 +00:00
tws Integrate changes from LSI vendor driver 10.80.00.005 to FreeBSD. 2012-10-19 22:07:40 +00:00
tx - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
txp
uart Add support for CIR1000 - Cirrus Logic V34 to the uart driver 2012-11-13 21:04:35 +00:00
ubsec More conversions of drivers to use the PCI parent DMA tag. 2012-03-12 18:15:08 +00:00
usb Look for MAC address in FDT tree nodes that are usb network devices and 2012-11-23 03:34:12 +00:00
utopia Revert previous commit... 2012-10-10 08:36:38 +00:00
vge Remove unused variable mii 2012-02-11 08:12:52 +00:00
viawd Fix viawd(4) that was only working as a module. 2012-06-20 09:01:44 +00:00
virtio Fix build with PAE enabled. I doubt any code uses CAM_SCATTER_VALID or 2012-10-12 22:06:06 +00:00
vkbd Get rid of D_PSEUDO. 2011-10-18 08:09:44 +00:00
vr Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
vte Remove unused variable mii. 2011-11-23 05:34:01 +00:00
vx ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
vxge The drbr(9) API appeared to be so unclear, that most drivers in 2012-09-28 18:28:27 +00:00
watchdog - Add the possibility to reuse the already last used timeout when patting 2011-04-27 16:43:03 +00:00
wb Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
wbwd Add device ids for the Winbond 83627DHG-P chip and set the registers to 2012-05-29 16:39:42 +00:00
wds Final pass at having devices use their bus parent for dma tags. The 2012-03-12 19:29:35 +00:00
wi If an interrupt is received with no vap attached, just fail LINK events. 2012-02-25 08:01:29 +00:00
wl
wpi Add a missing #include, required for IEEE80211_DEBUG. 2012-06-01 06:20:39 +00:00
wtap Don't grab an unreferenced pointer to the VAP bss node. 2012-08-27 23:18:41 +00:00
xe Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
xen Redo r242889, now using the method from projects/amd64_xen_pv r240747. 2012-11-12 22:28:32 +00:00
xl Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00