summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-08-10spaces and tabs, no binary changeMarco Peereboom
2010-08-10Someone went nuts with spaces and tabs. No binary change.Marco Peereboom
2010-08-08Accept "ACPI 4" or such, bug in laptop or spec? -- Thinkpad SL510Theo de Raadt
from marco, ok kettenis, hard to argue with it making the laptop work
2010-08-08Restore the APIC ID to what we set it to at boot (some machines come upTheo de Raadt
with it incorrect) from mklarkin, ok kettenis
2010-08-08Reenable acpiasus(4). The bogus code is actually dead code, and jsing@'sMark Kettenis
eeepc panics without this driver (which must be a bug in the acpi code that this driver just hides).
2010-08-08Disable acpiasus(4); it violates the rule that only the acpi thread is allowedMark Kettenis
to run AML in several ways.
2010-08-07On resume, re-activate the host RNG on the host bridges that need it.Theo de Raadt
ok kettenis
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Some stragglers from last diff.
2010-08-06Every time you ignore uiomove() return value, $DEITY kills a littleMiod Vallat
$ADORABLE_FELINE. ok deraadt@ matthew@
2010-08-05new i386/amd64 machdep.lidsuspend sysctl which decides whether a lidTheo de Raadt
close causes a suspend. resumes are not tied to this; they happen unconditionally. this is a temporary knob for the 4.8 release; afterwards it will move to a more convenient place much moaning discussing where to put the knob with kettenis tested by various including phessler
2010-08-04Disable bce(4) because it can only access 1GB of memory and developersTheo de Raadt
who have the device (only found in laptops) refuse to realize it is their own problem and should dig into the code and fix it.
2010-08-04Disable bce(4) because it can only access 1GB of memory and developersTheo de Raadt
who have the device (only found in laptops) refuse to realize it is their own problem and should dig into the code and fix it.
2010-08-02Add System Enclosure or Chassis structure.Marco Peereboom
ok deraadt
2010-08-02enable owctrTheo de Raadt
2010-08-02correct header file stuff; pointed out by teduTheo de Raadt
2010-08-02needs explicit proc.h; Nathanael RensenTheo de Raadt
2010-08-01Small cleanup of the fpu switching code; don't rely on the fact the HFP_REGSMark Kettenis
is actually zero and remove a redundant instruction. ok jsing@
2010-08-01ANSIfyMark Kettenis
2010-07-31remove references to ``opl'', since it doesn't exist any longerAlexandre Ratchov
noticed by brad
2010-07-31Ignore the PSL_VEC bit in the sigcontext and always copy the bit out fromMark Kettenis
the trap frame. The Altivec unit might have been stolen away from us while we were running the signal handler, so it is ok that the two don't agree. Fixes the X server mysteriously exiting (and seemingly freeze). ok miod@, drahn@
2010-07-31Factorization of the bluetooth and usb hid input driver logic, to reduce codeMiod Vallat
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-30When converting a floating value to an integer, properly raise the "invalid"Mark Kettenis
exception when the floating value is infinite or NaN or if the integral part of the floating value exceeds the range of the integer type, as required by the C99/IEEE754 standard. Fixes Python 2.6 build on hppa. ok miod@
2010-07-30Remove unused header file.Miod Vallat
2010-07-29Don't forget to register the i8254-based timecounter if we use the i8254Mark Kettenis
for clock interrupts. Unbreaks amd64 in PIC mode.
2010-07-29Zero out the firmware waking vector on successful resume from ACPI sleep.Mike Larkin
ok deraadt@
2010-07-28Add a dummy kqueue filter similar to seltrue and use it for anythingNicholas Marriott
using seltrue for poll. Based on code from NetBSD. Also remove a stray duplicate lpt entry from loongson, from deraadt. ok tedu deraadt
2010-07-27delete a #if 0 chunk which was used for early development and will neverTheo de Raadt
be reused ok jordan
2010-07-27acpiasus for amd64 too, Henri KemppainenTheo de Raadt
2010-07-26recording/full-duplex supportJacob Meuser
ok kettenis
2010-07-26simplify the mixer(4) code and interface. document the interface.Jacob Meuser
ok kettenis
2010-07-26Add support for Sony ACPI hotkeys via a new driver: acpisony(4).Paul Irofti
Currently it only works for the suspend button and tries to do right for the brightness events, but I haven't found a Sony laptop that like to do right so far. In the future I want to make the brightness keys work on all Sony's and also add support for the zoom hotkeys and whatever other funky keys I can find on those things. Okay deraadt@.
2010-07-25in the clock drivers, seperate the soft-state and hard-state which wasTheo de Raadt
all jumbled up in the same functions. the rtc (mc chip) and clock (i8243) startup was also mixed up. they the soft state and hardware state can be started in the right order, and it is easy to restart just the neccessary parts upon resume. tested in numerous cases: (apic, pic) * (GENERIC.MP, GENERIC) * (mp, non-mp) * (i386, amd64) ok kettenis
2010-07-24Switch hppa64 to timecounters.Mark Kettenis
2010-07-24Convert PCI addresses to proper 64-bit physical addresses.Mark Kettenis
2010-07-24Make pmap_extract() work for large pages.Mark Kettenis
2010-07-24move to 4.8-betaTheo de Raadt
2010-07-24Fix PTE_PAGE().Mark Kettenis
2010-07-24One the -> On theMiod Vallat
2010-07-24leftover from revert of long agoJacob Meuser
"feel free!" deraadt
2010-07-23AMD amd64 errara are not on the i386 install media, since there is oftenTheo de Raadt
not room. we do place them on the amd64 install media though, since many of them matter more for 64 bit mode.
2010-07-23Change the strategy for using the FPU in the kernel. The kernel FPU stateMark Kettenis
is now shared with all processes/threads. As a result, you can now use the FPU in true process context (instead of just in kernel threads), but you need to make sure you restore the default FPU state before calling fpu_kernel_exit() if you change rounding mode, precision or exception masks. Lots of discussion with thib@ and Mike Belopuhov. ok thib@, deraadt@
2010-07-23Don't leak the contents of the FPU and SSE registers between processes.Mark Kettenis
ok deraadt@
2010-07-23Omit more IPI code from non-MP kernels. Found using --gc-sections.Matthew Dempsky
ok deraadt@
2010-07-22Fixes for AES CTR mode from mikeb:Thordur I. Bjornsson
o Fix up counter increment for buffers larger then 64 bytes, by calling the increment routine before loading the IV into the encryption routine input register. o In aesni_encdec() regenerate the IV for every new request. Also use nice defines instead of magic constants for the size of ses_iv.
2010-07-22remove unused variableTheo de Raadt
2010-07-21Disable the heuristics for legacy free systems if pckbc flags are set to 1Miod Vallat
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.
2010-07-21Fix more cdev initializations which were using enodev for poll; ok kettenisTheo de Raadt
2010-07-21Make sure that the FPU IPIs shoot down the right FPU context and not the FPUMark Kettenis
context of some random process that happened to be switched onto the FPU after the decision was made to send the IPI.