| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
keep:
- remove bootconfig parameter passing feature (unused).
- unifdef __PROG32 and remove all remains of arm26 code.
- remove ARMFPE support (unused).
- remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM
processor families, and the related silicon bug workarounds (especially
the SA-110 STM^ bug).
- remove cpu_functions no longer necessary after previous removals.
- remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused).
- make FIQ support conditional on option FIQ (unused, but may be eventually).
Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for
no good reason.
|
| |
|
|
|
|
| |
the obvious cases to return EINVAL and ENXIO.
ok tedu deraadt
|
| |
|
|
| |
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
| |
|
|
|
|
|
| |
given pcitag_t configuration address space. Currently, all pci controllers
will return the usual 0x100 bytes of PCI configuration space, but this will
eventually change on PCIe-capable controlers.
ok kettenis@
|
| |
|
|
|
|
|
| |
hierarchy. Everything attached to a single root node anyway, so at
best we had a bush.
"i think it is good" deraadt@
|
| |
|
|
| |
ok thib kettenis
|
| |
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
| |
|
|
|
|
|
|
|
| |
We call the activate functions at splhigh; unfortunately we cannot suspend a
zaurus at splhigh because on resume the clock is hosed. We accept this bug
for now... perhaps someone can find it?
(The powerhooks remain in place in the drivers, and will be roto-tilled once
we all the other powerhook-using architectures have switched over)
testing by myself and jakemsr; proof reading by oga
|
| |
|
|
|
|
| |
Of note: lcd stubs get pulled up to the parent; zts has to keep track of
whether it is in use or not
testing by myself and jakemsr; proof reading by oga
|
| |
|
|
|
| |
functions
ok kettenis
|
| |
|
|
|
| |
how did noone notice for so long? tsk, tsk, tsk. of course, I broke it.
tested by jakemsr
|
| | |
|
| |
|
|
| |
share the driver with different GPIOs/IRQs Diff from marex via jasper.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we hit suspend time, go through all wsdisplays on the system. if
they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full
vt switch to a !mapped vt, and prevent switching back until resume time.
This has to be called from MD code because this involves userland
running so that X can run the vt switch signal handler. This way, any
case where we are using the "poke registers from userland" model, we
will not be on the hardware when we go down, so the kernel can actually
handle thing properly.
Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and
beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at
this time..
Idea from deraadt somewhere over the Faroe Islands (I thought of a
similar thing myself a while ago). Much prompting from him. Ok and
comments miod@
|
| | |
|
| |
|
|
| |
OK drahn@
|
| |
|
|
|
|
|
|
|
|
|
| |
first instead of trying to push data transfers forward. Also, ensure that
DONE interrupts are only un-masked when we are on the last sub-block, and
that otherwise we process based on RD_REQ and WR_REQ interrupts coming in.
Done with drahn and marex (starting from bizzare workarounds by marex
which we could not explain)
This appears to make Zaurus SD reads & writes completely reliable, even at
very low cpu speeds.
ok drahn marex
|
| |
|
|
|
|
| |
It is not needed to read MMC_STAT if DPRINTF is empty.
OK deraadt
|
| |
|
|
|
|
|
| |
This patch also eliminates the bug causing any write to the card to hang the
whole controller (partly).
OK deraadt@
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Tested by myself, sthen, oga, kettenis, and jasper.
Input from sthen and jasper.
ok kettenis
(Manpage follows shortly.)
|
| | |
|
| |
|
|
| |
Ok oga@, "the time is now" deraadt@.
|
| |
|
|
|
|
|
| |
IPL_SOFTSERIAL to IPL_SOFTTTY.
tested by oga@
ok miod@
|
| | |
|
| |
|
|
| |
ok drahn@, sthen@ tested.
|
| |
|
|
| |
ok drahn@, todd@ tested.
|
| |
|
|
|
|
| |
levels. This will allow for platforms where soft interrupt levels do not
map to real hardware interrupt levels to have soft ipl values overlapping
hard ipl values without breaking spl asserts.
|
| |
|
|
| |
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.
|
| | |
|