| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
shortly when we use the hardware thread register in userland
|
| |
|
|
| |
Generic xscale support and support for pxa2x0 used by zaurus remains.
|
| | |
|
| |
|
|
|
|
|
| |
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.
ok jsg@ kettenis@
|
| |
|
|
|
|
| |
controller. Use this to switch SD cards to a 4-bit bus if they support it.
ok deraadt@, jsg@
|
| |
|
|
|
|
|
| |
Matched and changed by a script, verified to cause no binary change with
armv7, armish, and zaurus kernels.
ok patrick@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
protect against multiple entries of a function that handled pending
soft interrupts. This seems to have been a mistake made when converting
code that used simple lock in the 80321 code which got reused in armv7.
arm softintr_dispatch() already has mutexes around invoked callbacks
which should be enough. Make the pxa2x0 code work the same way which
removes the last remaining simple lock use on arm.
ok patrick@
|
| |
|
|
|
| |
This matches FreeBSD and makes things a bit more consistent.
Discussed with Patrick.
|
| |
|
|
|
|
|
| |
miod pointed out that time_second should be compared to 1 not 0 in the
md resettodr() functions as it is initialised to 1.
ok miod@ deraadt@
|
| |
|
|
| |
ok deraadt@ kettenis@ krw@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
|
| |
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
|
| |
|
|
| |
as well as useless include of the generated flag files.
|
| |
|
|
| |
ok mpi@, uebayasi@, dlg@
|
| |
|
|
| |
after discussions with beck deraadt kettenis.
|
| |
|
|
|
|
| |
host controller because autoconf(9) already does it.
Breakage reported by todd@
|
| | |
|
| | |
|
| |
|
|
| |
ok dlg@ mpi@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
| |
"mainbus" device. this breaks when mpath is enabled because it
attaches before mainbus and therefore takes the head position.
have autoconf provide device_mainbus() which looks up mainbus_cd,
and use that instead.
discussed with deraadt who just wants mpath stuff to move forward
despite there being many ways to shine this particular turd.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernels:
- keyboard drivers will now tell wskbd if the keyboard layout they ask
for is a default value, or a value they are 100% sure of (either
because your kernel has a XXXKBD_LAYOUT option, or because the
driver can tell the keyboard layout, e.g. by the country code on USB
keyboards which provide it, such as Sun's)
- when attaching a keyboard with a non-default layout, the layout will
become the default layout of the mux for new keyboard attachments if
the mux doesn't have a layout set already.
- when changing the keyboard layout of a particular keyboard with an
ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the
default layout of the mux for new keyboard attachments.
ok mpi@
|
| |
|
|
|
|
|
|
| |
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
| | |
|
| |
|
|
| |
ok matthew guenther mikeb
|
| |
|
|
| |
ok jasper@, patrick@
|
| |
|
|
|
| |
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
| |
|
|
|
|
| |
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
| |
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
missed bits from previous change; ok mpi
|
| | |
|
| |
|
|
| |
ok guenther millert kettenis
|
| |
|
|
| |
handlers how hard they should hit the hardware.
|
| |
|
|
|
|
|
|
|
|
| |
paths are reflexive. It is now possible to fail part-way through a
suspend sequence, and recover along the resume code path.
Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used
after hibernate (and suspend too) to finish the job. Some drivers
must be converted at the same time to use this instead of shutdown hooks
(the others will follow at a later time)
ok kettenis mlarkin
|
| |
|
|
|
|
| |
compilers defaulting to c99 inline instead of the old gnu style.
ok guenther@ miod@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|