summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus
AgeCommit message (Collapse)Author
2014-10-18Remove even more unnecessary `needs-flag' attributes from config machinery,Miod Vallat
as well as useless include of the generated flag files.
2014-10-10Significant unification of RAMDISK* config files, making them diffable.Theo de Raadt
This makes it easier to remove components not required to do an install, and subsequently add other desireable components ... In snapshots (in various forks) for about a week. Do some upgrades and installs, please.
2014-10-04Switch the kernel configs over to using -Wframe-larger-than= instead ofBrad Smith
-Wstack-larger-than-. This is what modern GCC supports as well as LLVM. ok miod@
2014-09-20Use config_suspend_all(9).Mark Kettenis
ok mpi@, uebayasi@, dlg@
2014-09-19add missing break statements giving alaw encodingJonathan Gray
a chance of working instead of returning EINVAL. ok miod@
2014-08-22pseudo-device crypto was accidentally left for some architectures.Theo de Raadt
2014-07-21boot(9): Reduce annoying style diffsMasao Uebayashi
- Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean context (mostly if (x), or x ? y : z) - prom_halt() in alpha is confirmed to take int as boolean Converted by coccinelle. No functional change intended.
2014-07-20Merge cmd.c from zboot into boot, dropping "clear" command while at it.Tobias Stoeckmann
With input from deraadt@ okay jasper@, uebayashi@
2014-07-13boot(9): Cosmetic changes to improve diff'ability.Masao Uebayashi
2014-07-13Cosmetic changes to reduce diffs.Masao Uebayashi
2014-07-13move putchar() into libsaJasper Lievisse Adriaanse
"sure" miod@
2014-07-12"Dr. Jones. Again we see there is nothing you can possess which I cannotTed Unangst
take away." remove uyap. no effect except on hppa where it was strangely enabled.
2014-07-12move getchar() into libsa where applicableJasper Lievisse Adriaanse
ok miod@
2014-07-12revert a few stragglers hiding outTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-07-11remove bthub remnantsTed Unangst
2014-07-11"It's not the years, honey; it's the mileage."Ted Unangst
bluetooth support doesn't work and isn't going anywhere. the current design is a dead end, and should not be the basis for any future support. general consensus says to whack it so as to not mislead the unwary.
2014-07-11boot(9): Missing if_downall() on zaurusMasao Uebayashi
zaurus's boot(9) is the only boot(9) which doesn't call if_downall(). Include sys/socket.h + net/if.h and call it. OK miod@
2014-07-11It's init as a process that's special, not init's original thread.Philip Guenther
Remember initprocess instead of initproc. ok matthew@ blambert@
2014-07-11The signal to tell init to power-off the system is SIGUSR2, not USR1Philip Guenther
Inconsistency noted by blambert@, ok deraadt@
2014-07-10Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting orMartin Pieuchot
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
2014-07-10boot(9): Remove comments about RB_*, "cold", and savectx()Masao Uebayashi
Again remove slightly different comments to reduce diffs. These will be re-added once boot() become MI and its specification is clearly re-defined. OK miod@
2014-07-10boot(): Unify declarationsMasao Uebayashi
OK deraadt@
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
don't need to be married. ok guenther miod beck jsing kettenis
2014-05-31Revert previous diff setting cold to 1 on shutdown because it breaks machineMartin Pieuchot
with softraid(4) disks. softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter does not allow to sleep.
2014-05-30Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting orMartin Pieuchot
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
2014-05-08Format string fixes and removal of -Wno-format for arm kernels.Miod Vallat
2014-04-08Add rgephy(4) for axe(4) and axen(4).Brad Smith
2014-04-07Enable upd(4) on archs where uhidev(4) is present, requested by mpi@.andre
2014-04-07Add axen(4) wherever axe(4) is.Brad Smith
ok mpi@ yuo@
2014-04-03More uvm_extern.h cleanup.Martin Pieuchot
2014-03-31Change the order of operations during a suspend/resume cycle andMartin Pieuchot
call bufq_quiesce() after executing the DVACT_QUIESCE handlers. This should be safe since no disk nor controller drivers have such handler but it will allow us to detach sd(4) devices attached to a USB bus. Another benefit pointed out by kettenis@ is that drivers that need to read a firmware from the disk should be able to do it at resume time in a DVACT_WAKEUP handler. ok kettenis@, deraadt@
2014-03-29It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
ok dlg@ mpi@ deraadt@
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
"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.
2014-02-12Do not include pmap.h from .S code, but get the necessary defines fromMiod Vallat
assym.h; similar to recent changes to armv7; spotted by ratchov@ and bmercer@
2014-01-26Attempt to make user changes of keyboard layout a bit more `sticky' on wsmuxMiod Vallat
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@
2013-12-28crank the versionTheo de Raadt
2013-12-08reflect reality, mark as NOOBJMarc Espie
"sure" deraadt@
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
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
2013-11-15Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-Asasano
USB host-to-host link cable. This driver is derived from upl(4).
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingTheo de Raadt
which basically doesn't exist at all. reminded about it by brad
2013-10-24add rcsidsaalm
ok jasper@, patrick@
2013-10-21Add load_font and list_font accessops to all rasops-based wsdisplay drivers.Miod Vallat
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting up a new font.
2013-10-20Use C99 named initializers for struct wsdisplay_accessops fields.Miod Vallat
No functional change.
2013-10-17zap ecoff and a.out support like in MI loadfileTheo de Raadt
2013-10-17Remove a.out leftovers now that libsa loadfile() will only boot ELF binaries.Miod Vallat
2013-10-17Remove support for a.out and ecoff. We only do elf now.Theo de Raadt
ok miod
2013-10-15Rewrite the awk script that generates the data for option DDB_STRUCT:Philip Guenther
- switch to perl for better data structures and (thus) speed - fix a couple glitches in the interpretation of the stabs output - compress the strings by putting them in one big array and overlaying suffixes - all sizes and offsets are <64k, so use u_short for them This results in ~60% reduction in the resulting text size and it now takes less than a second to create on fast platforms. ok miod@
2013-09-28A few missing config_suspend(, DVACT_POWERDOWN) constructs afterMiod Vallat
doshutdownhooks() calls. XXX arm-based ports ought to really share their reboot code.
2013-09-10fix typos for additional functionsTheo de Raadt