Age | Commit message (Collapse) | Author |
|
please commit miod@
|
|
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend
where a call to zzz suspended the machine immediately, not giving anyone
listening for apm events (other than apmd) a chance to deal with the
upcoming change. This hit X hard since the introduction of drm, since it
needs to have time to idle the 3d engine and otherwise get the device
into a recoverable state. Such things are needed until we support
modesetting in the kernel.
Now, instead of forcing a suspend, using ioctl sends out an event similar
to if you had put the lid down, giving all userland applications a
chance to reply.
tested by sthen@ and beck@, especial thanks to sthen for sitting there
while I tried to debug this remotely, I owe him beer.
Prompted by and ok deraadt@
|
|
are likely set but don't need specific handling.
This silences the interrupt handler if DIAGNOSTIC in some cases.
ok grange@ deraadt@
|
|
transfer with one command. Build on this and the recent minphys() changes
in the sdmmc layer to crank transfers at the maximum possible size instead
of a sad DEV_BSIZE.
Depending on your controller, this can speed up sdmmc I/O up to 2.5 times.
|
|
so that arm/xscale/... is not referring to zaurus specific defines.
ok miod kevlo, with some suggested changes from deraadt@
|
|
however this global variable doesn't exist with out apm, ifdef the variable.
|
|
make this associate, however ifdef zaurus it for now.
|
|
OK deraadt
|
|
free() calls; prodded by chl@, ok krw@
|
|
ok dlg@ miod@
|
|
instead of using a fixed number for the time base, measure the
"accurate" value based on the rtc.
ok kettenis@ mbalmer@
|
|
ok deraadt@
|
|
which are not installed to userland; ok drahn
|
|
for there be dragons in xscale cache and it would not be cleaned correctly,
leading to wrong pcb data being restored on resume and eventually causing
panics.
|
|
issues upon resume.
|
|
a kernel and setting SDMMC_DEBUG option.
ok deraadt@
|
|
ok miod@ jmc@
|
|
|
|
need it.
If a USB driver uses timeout(9) functions, the header file sys/timeout.h
must be included.
Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus).
ok dlg.
|
|
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg
for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
|
were used as a layer of confusion^Wabstraction around the timeout(9) API.
No binary change.
ok jsg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pxa2x0_apm.c.
Set a flag to indicate that scoop is currently suspended. Test this flag
in scoop_timeout() (and maybe later in other places) to avoid manipulating
scoop registers while the driver is suspended. The scoop_checkdisk timeout
is intentionally not stopped, as it should be safe to have timeouts running
accross suspend/resume.
Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an
atomic operation.
Result of prodding and diffs from Robert and Theo.
|
|
is not set correctly and the USB bus does not attach.
Tested ckuethe@
|
|
|
|
We use the suggested workaround for the problem E40 in the PXA27x errata
sheet. Unfortunately this limits the bus speed to 9.75Mhz.
|
|
while but removed incorrectly, some minor cleanup.
|
|
|
|
|
|
More polishing, appears to be working fine without back-to-back transmits.
|
|
with end of frame when it happens to be at end of usb packet.
|
|
|
|
go out the wrong endpoint. Some debug massage.
|
|
were not sending the last data correctly before.
|
|
not attach properly until a delay was added. Also some debug quieting.
|
|
Limitations include failing to recieve packets that are a multiple of 64 bytes
and sending packets longer than 128 bytes appears to be messed up.
Work in progress.
|
|
|
|
the direction bit correctly. More cleanup.
|
|
|
|
real need to be verbose here; discussed with drahn@
ok kettenis@, miod@, deraadt@ and others
|
|
|
|
domain number such that we can distinguish between busses with the same bus
number that are behind different host bridges. Domains can be accessed by
using different device nodes.
ok deraadt@
|
|
likely that interrupts are properly counted in kern.cp_time sysctl. so top(1)
et al will show a value for time spent in interrupts.
tested by many, ok drahn@
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
previous behaviour of just disabling the USB device controller)
|