freebsd-nq/sys/dev
Nate Lawson ef2374f700 Rework EC I/O approach. Implement burst mode, including proper handling of
case where it asynchronously exits burst mode on its own.  Handle different
values of hz in sleep loop.  Provide more debugging options to tune EC
behavior.  These tunables/sysctls may be temporary and are not for user
access if the EC is working properly.  Burst mode is now on by default for
testing and the poll interval has been increased from 100 to 500 us and
total timeout from 100 to 500 ms.

Hopefully this should be the first step of addressing reports of timeout
errors during battery or thermal access, especially on HP/Compaq laptops.
It is reasonably stable and should not cause a loss of functionality or
performance on systems that were previously working.  Testing shows an
increase of responsiveness by ~75% on one system.

PR:		kern/98171
2007-02-27 00:14:20 +00:00
..
aac o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
acpi_support Prevent freeing wild pointer when bailing out. 2006-11-06 12:14:27 +00:00
acpica Rework EC I/O approach. Implement burst mode, including proper handling of 2007-02-27 00:14:20 +00:00
adlink o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
advansys o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
agp Restore agp aperture size after resume, in case it is modified after boot. 2007-01-06 08:31:31 +00:00
aha o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 15:55:37 +00:00
ahb o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
aic o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
aic7xxx o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
amd o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
amr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
an o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ar o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
arcmsr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
arl o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
asr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ata Use 'pause' in several places rather than trying to tsleep() on NULL (which 2007-02-23 16:25:08 +00:00
ath don't call ath_reset when processing sysctl's before the device 2007-02-24 23:23:29 +00:00
atkbdc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
auxio - Only touch the LED bit of the (LED) AUXIO register when turning the 2006-01-26 19:04:18 +00:00
awi o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
bce o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
bfe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
bge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
bktr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
buslogic o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cardbus Cope gracefully with device_get_children returning an error. 2007-01-19 08:49:28 +00:00
ce o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ciss o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cnw Catchup to filters by piso. 2007-02-23 19:27:49 +00:00
cp o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cpufreq Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
cs o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ct o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ctau o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cx o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
cy o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
dc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
dcons Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
de o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
digi Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
dpt o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
drm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ed o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
eisa
em o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
en o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ep o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 15:55:37 +00:00
esp o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ex o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
exca exca->pccarddev should always be non-null now. Only call it when the 2007-02-24 15:56:06 +00:00
fatm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
fb On sparc64 also use the fillw() this header provides for ia64 so 2007-01-18 13:08:08 +00:00
fdc Use tsleep() rather than msleep() with a NULL mtx parameter. 2007-02-23 23:06:10 +00:00
fe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
firewire o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
flash MFp4: 2006-11-29 08:05:55 +00:00
fxp o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
gem o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
harp
hatm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
hfa o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
hifn o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
hme o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
hptmv o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
hwpmc Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
ic Fix style nits. No md5 changes in .o's. ;-) 2006-09-08 21:46:01 +00:00
ichsmb o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ichwd Align the interfaces for the various watchdogs and make the interface 2006-12-15 21:44:49 +00:00
ida o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
idt o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ie o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ieee488 Catchup with filters 2007-02-23 19:34:52 +00:00
if_ndis Fix shared authentication mode. 2006-12-28 00:05:40 +00:00
iicbus const poison 2006-12-05 06:19:36 +00:00
iir o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
io
ipmi o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ips o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ipw o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
isp Redo previous newbus related change to be kinder to 2007-02-23 23:13:46 +00:00
ispfw The MODULE_NAME should "ispfw" unless overriden, not "isp". 2006-12-10 03:42:57 +00:00
iwi o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ixgb o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
joy
kbd Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
kbdmux Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
le o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
led
lge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
lmc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
mc146818 Add macros for the individual divisor bits as some MC146818A-compatible 2007-01-20 14:57:51 +00:00
mca
mcd
md Resolve two deadlocks that could be caused by busy md device backed 2006-12-14 11:34:07 +00:00
mem
mfi o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
mii mii_phy_dev_probe returns its third argument on match, not 0, so pass 0 2007-02-26 04:48:24 +00:00
mk48txx Align the interfaces for the various watchdogs and make the interface 2006-12-15 21:44:49 +00:00
mlx o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
mly o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
mmc Preliminary MMC stack. This stack supports SD 1.0 cards only, but 2006-10-20 06:39:59 +00:00
mpt Redo previous newbus related change to be kinder to 2007-02-23 23:13:46 +00:00
mse o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
msk o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
mxge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
my o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ncv o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
nfe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
nge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
nmdm Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
nsp o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
null Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
nve o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ofw Add missing includes of priv.h. 2006-11-06 17:43:10 +00:00
patm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
pbio Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
pccard o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
pccbb o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
pcf o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
pci Add support for chipsets that has NULL'd BAR's for legacy ports. 2007-02-17 16:56:39 +00:00
pdq o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 20:11:27 +00:00
powermac_nvram Add device to access and modify Open Firmware NVRAM settings in 2006-08-01 22:19:01 +00:00
ppbus Catchup with filters 2007-02-23 19:34:52 +00:00
ppc Whitespace fix. 2007-02-23 23:05:31 +00:00
pst o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
puc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ral o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
random Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
ray o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
rc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
re o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
rndtest
rp - Make rp(4) 64-bit- and endian-clean as well as work on strict alignment 2006-11-20 12:59:27 +00:00
rr232x o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
safe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
sbni o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
sbsh o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
scc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
scd
sf o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
si o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 20:11:27 +00:00
sio o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
sk o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
smbus Only support the SMB_OLD_BREAD ioctl if one of COMPAT_FREEBSD[456] is 2006-09-26 14:38:56 +00:00
sn o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
snc o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
snp
sound semi-automatic style(9) 2007-02-25 13:51:52 +00:00
speaker
spibus MFp4: when passing the transfer up the foodchain, make sure we go up 2006-10-20 07:11:52 +00:00
sr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
stg o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
stge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
streams Clean up the svr4 socket cache and streams code some to make it more easily 2006-07-21 20:40:13 +00:00
sym o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
syscons Optimize set_origin() use in some screensavers to stop them eating 2007-02-21 12:27:12 +00:00
tdfx Take the functionality contained in the former "options TDFX_LINUX" 2006-03-03 21:37:38 +00:00
ti o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
trm o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
twa o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
twe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
tx o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
txp o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
uart o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
ubsec o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
usb Catchup with filters 2007-02-23 19:34:52 +00:00
utopia
vge o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
vkbd Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
vr o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
vx o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
watchdog Align the interfaces for the various watchdogs and make the interface 2006-12-15 21:44:49 +00:00
wds Catchup with filters 2007-02-23 19:34:52 +00:00
wi o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
wl o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 20:11:27 +00:00
xe o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
zs Catch up with bus_setup_intr() modification and garbage collect two 2007-02-25 15:02:03 +00:00