summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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@
2013-11-04move the arm pmaps away from pool ctors to just initting memory after itsDavid Gwynne
been allocated. also gets rid of a potential bug where pool_get could return NULL and pmap_alloc_l2_ptp tried to blindly init it. tests, tweaks, and ok patrick@
2013-11-03size no longer has a.out knowledge, so .. skip itTheo de Raadt
found by tobiasu
2013-11-03Include "gpio.h"Raphael Graf
ok jasper@
2013-11-03Remove a.out support from compat_linux(8).Paul Irofti
Tested with the syscall regression test suite from IBM and Opera. Requested by deraadt@.
2013-11-03Even saner kernel layout, so that .rodata can be batc mapped by a read-onlyMiod Vallat
dbatc. Add batc mapping support for 88110 systems as well.
2013-11-02Use a linker script to align .data to a BATC boundary as well, so that noMiod Vallat
DBATC may span over parts of .rodata.
2013-11-02Create the initial page tables in the area between the end of the firmwareMiod Vallat
data area and the kernel image, whenever possible. On 88100/88200 systems, use BATC mappings to map the kernel text (and the kernel data for non-MULTIPROCESSOR kernels). 88110 to follow soon.
2013-11-02Link m88k kernels on a BATC boundary.Miod Vallat
2013-11-02replace bare use of disksort with a bufq, modelled on the sys/dev/isa/fd.cDavid Gwynne
change. ok miod@