summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-08Stop recursion introduced in rev 1.42, by reverting most of that commit.Mark Kettenis
We keep the busy diagnostic for now. ok deraadt@
2010-08-08Try to save the vga hardware state around suspend, and also redisplay theMiod Vallat
textmode video memory contents if we had to POST the vga bios. ok deraadt@ kettenis@
2010-08-08take us to releaseTheo de Raadt
2010-08-08we ship releases with POOL_DEBUG off. post-release, turn it back on.Theo de Raadt
POOL_DEBUG is for development safety (catches our bugs early), but this particular safety comes off for release. reminded by miod
2010-08-08Look for MD devices or assurance that apmd would be a useful thing toKenneth R Westerback
run. If found, add "apmd_flags=" installed rc.conf.local. Suggested by deraadt@. i386/apm test by kettenis@. ok deraadt@
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-08activate function for suspend/restore; from mglockerTheo de Raadt
2010-08-08crank to 5.6Damien Miller
2010-08-08tweak previous; specifically, -o is no longer optional;Jason McIntyre
ok marco
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-08Try and improve legacy controller emulation heuristics; if we think we shouldMiod Vallat
not attach pckbd but pms attaches, then we are on real hardware, and should attach pckbd anyway. No known regression on legacy free systems; makes the few machines which required device flags changes in UKC work out of the box again. ok deraadt@
2010-08-08convert some of the weirder displays into lists, to avoid mangling;Jason McIntyre
2010-08-08Make sure hw.revision_id gets initialized before it's used by em_set_mac_type()Mark Kettenis
and move it back to the location where it was before rev. 1.239, while keeping the horrible override for em_pchlan. From Holger Mikolon. ok jsg@, deraadt@
2010-08-08cpu -> CPU;Jason McIntyre
2010-08-08zap trailing whitespace;Jason McIntyre
2010-08-08somehow parts of -c and -w got swapped; from Yar TikhiyJason McIntyre
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-08Be consistent in function naming. No functional changes.Marcus Glocker
OK deraadt@
2010-08-08syncTheo de Raadt
2010-08-08convert printf()s that can happen in the resume path to DPRINTF()s.Jacob Meuser
silencing requested by deraadt
2010-08-08make disklabel -p slightly nicer by accepting capital letters and printingTed Unangst
a more useful error message for invalid ones. ok deraadt
2010-08-08at resume time, re-nable the AMDPM_RNGEN bitTheo de Raadt
2010-08-08silence BIOS takeover failure messages on unsuspendsTheo de Raadt
2010-08-08Backout r1.55 since this breaks anything which does crypto ops prior toJoel Sing
init_crypto() being called from late in init_main(). In particular, this breaks softraid crypto volumes that are assembled at boot. No cookies for thib/mikeb! "Back it out, right now" deraadt@
2010-08-08highly recommend that DVACT_{SUSPEND,RESUME} return 0 unless you want to ↵Theo de Raadt
trigger a broken code path
2010-08-08Report the acpi sleep states when on a RAMDISK; ok krwTheo de Raadt
2010-08-08do not unlock vnode before calling vput. should fix ray's panic.Ted Unangst
ok deraadt krw
2010-08-07Revert 1.123. Hangs RTL8168C/8111C (0x3c00) afterChristian Weisgerber
ifconfig re0 up ifconfig re0 down dhclient re0 ok krw@, deraadt@
2010-08-07nasty inversion of parameters, so that state did not get propagated correctly.Marc Espie
ended up calling './'->errsay in ArcCheck, which of course doesn't work, so a die() in the middle of a package install... compounded with file !existing, so that adjust checksum would fail, and so not even a partial install...
2010-08-07quiet "missed interrupt" messages. requested by deraadt.Jacob Meuser
2010-08-07restore unsolicited responses from volume knob widgetsJacob Meuser
tested by deraadt
2010-08-07break statements even on default casesTheo de Raadt
2010-08-07Document the mutex locking assert macros.Owain Ainsworth
Requested by marco. ok marco@, schwarze@ (who insists that manpages are still unlocked).
2010-08-07Link against libkern's timingsafe_bcmp.c, so key_wrap regress testsMatthew Dempsky
can compile again. ok phessler@, "Get it in right away" deraadt@
2010-08-07document new defaultMarc Espie
2010-08-07new test for merging because of wrong deps that must lead to failure.Marc Espie
also, PKG_ADD -> ADD_PKG to avoid confusion with bsd.port.mk.
2010-08-07Suspend/resume for agp_amd.cOwain Ainsworth
Note: the unconditional restore of the status register is ok because all of the bits are either ones we want to preserve or read-only. ok deraadt@
2010-08-07Suspend/resume handler for viaagp.Owain Ainsworth
ok deraadt@.
2010-08-07sync to bsd.lv:Ingo Schwarze
* When discussing compatibility, be more specific whether we are referring to GNU troff or to troff in general. * Move one compatibility note to the appropriate section. * And a few minor tweaks. While here, EXIT STATUS is also ok in section 6. With permission from deraadt@ to still improve mandoc manuals.
2010-08-07save/restore functions for aliagp.Owain Ainsworth
Very similar to other agp suspend functions. ok kettenis@, deraadt@.
2010-08-07Suspend/resume handler for sisagp save/restoring the gtt window/size andOwain Ainsworth
tlb enable states before we go down and whacking them back in on bringup. ``commit'' deraadt@
2010-08-07Groff allows the initial macro on a line to be delimited by a spaceIngo Schwarze
of by a tab; so allow the tab in mandoc, too. Bug found by me, fix by kristaps@, "sure" deraadt@.
2010-08-07Fix carp demotion on tables. For some reason the default values wereClaudio Jeker
inherited from the table definition even though these values could not be changed there. While there fix a memory leak in a rather strange case. OK phessler, jsg, pyr, sthen, deraadt
2010-08-07Save and restore registers on suspend/resume.Owain Ainsworth
An earlier iteration of this fixed the "no X, suspend, resume, startx, boom" problem for sthen on his machine. ok deraadt@
2010-08-07In -Thtml output, preserve blank lines at the end of .Bd -literal.Ingo Schwarze
Patch from kristaps@, analoguous to mdoc_term.c rev. 1.100. With permission from deraadt@ to still fix bugs in mandoc.
2010-08-07Enforce acpi register access rescrictions.Mark Kettenis
ok mlarkin@, deraadt@, tested by marco@
2010-08-07Enforce acpi register access rescrictions.Mark Kettenis
ok mlarkin@, deraadt@, tested by marco@
2010-08-07Generate power change events for APM. Makes powerup and powerdown scriptsCan Erkin Acar
work with ACPI. ok deraadt@, phessler@, feedback kettenis@
2010-08-07The wakeup of the acpi thread is not needed. This code is being calledTheo de Raadt
from inside the thread context, and will unwind into the middle of acpi_thread, where it will check these variables ok jordan marco kettenis canacar
2010-08-07Unmap registers upon detach. Avoid panics when detaching a partially attachedMark Kettenis
device. Found out the hard way by hotplugging an unsupported "Soft-Mac" device. ok deraadt@