summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2013-11-19Remove some FDDI/ATM leftovers.Martin Pieuchot
ok mikeb@, henning@, deraadt@, brad@, miod@
2013-11-19format string fixes picked up with -Wformat=2Philip Guenther
ok deraadt@
2013-11-18simplify kthread_create(). no more stdargTheo de Raadt
ok matthew guenther mikeb
2013-11-18Normalize code sequence around dumpsys(), doshutdownhooks(), andMasao Uebayashi
config_suspend() in ppc boot() functions. Always go through them regardless of (howto & RB_HALT). OK deraadt@ mpi@
2013-11-18replace disksort with bufqs. basically a copy of the same change in sparc64David Gwynne
which was a copy of the change in isa/fd.c. ok krw@
2013-11-16Re-organize luna88k rasops om_{copy,erase}{cols,rows} by using oneKenji Aoyama
generic function, based on hp300/dev/diofb_mono.c. This also fixes `screen is not updated when delete a character if it is on the middle of a 32-bit word of the frame buffer' problem. "Go for it!" miod@
2013-11-16Copied from amd64..Brad Smith
Use an explicit suffix for the "fld" instruction to shut up clang. The correct instruction is fldl since we try to load a double-precision value. GCC actually gets it wrong and emits "flds" (which is harmless). ok guenther@
2013-11-16Allow initial device mappings (from pmap_table) to be backed up by BATC.Miod Vallat
Use this on luna88k to map the bitmap planes of the frame buffer used by the driver. 10% speedup under X.
2013-11-16Allow ddb to be entered from the keyboard, if glass console and ddb.console=1,Miod Vallat
with ctrl-alt/zenmen-esc. Tested on three different keyboard models (compact black, JIS, and full-sized) by aoyama@ and me.
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-15Start cleaning this driver. No functional change.Federico G. Schwindt
input and ok to move forward dlg@ patrick@ syl@
2013-11-15Make vax stand build cross-build friendly.Masao Uebayashi
OK miod@
2013-11-13Do not map frame buffer resources the kernel doesn't use; only keep theMiod Vallat
lowest bitmap plane, and a page per plane to be able to probe the frame buffer depth. Saves an insignificant amount of kernel memory (about 4KB), still worth doing. ok aoyama@
2013-11-13add missing headers here too, forgotten after testing the diff.Jasper Lievisse Adriaanse
2013-11-13Add missing includes.Sylvestre Gallon
Unbreak armv7 compilation. ok rapha@ "commit the fix" from deraadt@
2013-11-13fix typo in last commitTheo de Raadt
2013-11-13boot(): Don't forget calling if_downall() and uvm_shutdown() on arm ports.Masao Uebayashi
"Unification good" deraadt@
2013-11-13Use DL_GETPOFFSET() to get partition offset, except where weKenneth R Westerback
explicitly check p_offseth before assigning p_offset to local variables. Add missing check for p_offseth.
2013-11-13Honor RB_TIMEBAD on vax too as other ports.Masao Uebayashi
OK miod@
2013-11-12Oops. Use %llu for DL_GETDSIZE() value.Kenneth R Westerback
2013-11-12Implement sd card detection. Fixes the `sdmmc0: can't enable card' on bbbFederico G. Schwindt
when there is no card. Tested on pandaboard by patrick@, ok patrick@ and syl@
2013-11-12Use daddr_t to hold calculated disk sector address. %d -> %lld toKenneth R Westerback
match. Whitespace tweaks. All bringing this chunk into identity with same chunk in sparc64 fd.c.
2013-11-12We always make symlinks to 'machine' and 'm88k' to compile.Kenji Aoyama
ok miod@
2013-11-12Fix the bootloader random hang-up while counting down on LUNA-88K2.Kenji Aoyama
The same logic is also applied to luna88k/dev/timekeeper.c. suggested and ok miod@
2013-11-12Use DL_GETDSIZE() to get disk size.Kenneth R Westerback
2013-11-12Use DL_[GET|SET]POFFSET() and DL_[GET|SET]PSIZE() to get and setKenneth R Westerback
partition offsets and sizes.
2013-11-10Make sure we pass a NULL cleanup argument to __start() by initializingPhilip Guenther
a2 to zero in the kernel and ld.so. This will let us add the conditional atexit() call to crt0 ok kettenis@ miod@
2013-11-10Add fcu(4) to avoid playing a fan symphony when installing/upgrading someMartin Pieuchot
PowerMac G5. ok miod@, krw@, deraadt@
2013-11-09Cope with the current layout of kernel binaries (three program headers nowMiod Vallat
that .text, .rodata and .data are aligned on BATC boundaries) and merge all phdrs into the first BCS section.
2013-11-08fix spelling.Federico G. Schwindt
2013-11-08fix bootstrap_bs_map to map more than one section.aalm
ok patrick@, fgsch@
2013-11-06Don't cargo-cult copy the invocation of size(1) on compiled bootblocks,Miod Vallat
when 1) they aren't in ELF format, and 2) the result does not EVEN REMOTELY matter on these architectures.
2013-11-06forgot armv7/armv7 files...Sylvestre Gallon
2013-11-06After factorizing armv7_machdep code here is an effort to factorize allSylvestre Gallon
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c All this code looks quite the same, so we move it in a generic armv7/armv7.c This is a step closer to only one kernel for all armv7 boards. ok patrick@, rapha@
2013-11-06Document 'machine boot' in boot(8) on i386 and amd64.Bryan Steele
"fine" deraadt@
2013-11-06Add support for Power Resources for Dx states and the necessary hookMartin Pieuchot
for PCI devices. This hook should be called twice, before and after changing the power state of a PCI device. Before setting the device to the new state, the ACPI layer will notify every power resources linked to the device for that state and make sure they are turned "_ON". After changing the state of the device, it will decrement the reference of every power resources linked to that device for the old state and turn them "_OFF" if they are no longer referenced. This fixes the no-USB after resume problem seen on various ThinkPad, problem initialy diagnosed with Alexander Polakov. ok kettenis@, deraadt@
2013-11-05octrng: Add name checks during match.Paul Irofti
2013-11-05octrng: Fix control flags.Paul Irofti
They had the wrong endian representation. Found the hardway by bcallah@. Thanks!
2013-11-05octrng: Disable debug by default.Paul Irofti
2013-11-05Sigh. How many typos can be made in one diff. Fix DL_SETPSOFFSET() toKenneth R Westerback
be DL_SETPOFFSET().
2013-11-05DL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latterKenneth R Westerback
to set partition size. Fixes tree breakage found by Scott McEachern.
2013-11-05Add a stub for the new MD hook needed to handle ACPI Power Resources.Martin Pieuchot
ok kettenis@
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value.
2013-11-04Rename beagle_machdep.c to omap_machdep.cSylvestre Gallon
ok rapha@, jasper@, bmercer@, patrick@
2013-11-04A few too many tabs snuck in there.Brian Callahan
2013-11-04Add RCS ID.Brian Callahan
ok pirofti@ jasper@
2013-11-04more iop.h left; Mark PatruckTheo de Raadt
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-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-11-04Convert wskbd_set_mixervolume() to use a task internally instead ofMartin Pieuchot
being called in a workq. ok kettenis@