summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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@
2010-08-07Add resume support for serial consoles.Mark Kettenis
Tested by sthen@, ok deraadt@
2010-08-07upon resume, notify all the acpiac and acpibat drivers to updateTheo de Raadt
their status. some laptops do not do this automatically. ok kettenis canacar
2010-08-07need to check that kept packages are still okay.Marc Espie
fixes: sudo pkg_add -r ghostscript-8.63p13-no_x11.tgz quirks-1.17: 1/1 ghostscript-8.63p13->ghostscript-8.63p13-no_x11 forward dependencies: | Dependency of libspectre-0.2.6 on ghostscript-*-!no_x11 doesn't match Merging libspectre-0.2.6->libspectre-0.2.6 (1/3) [libspectre-0.2.6]ghostscript-8.63p13->ghostscript-8.63p13-no_x11: 3/3 Read shared items: ok
2010-08-07disable lidsuspend when we are powering downPeter Hessler
"I like this" marco@, "Sure" deraadt@
2010-08-07dep is an object, needs to become a string for error messagesMarc Espie
2010-08-07explain quite a bit more what PLIST_DB doesMarc Espie
2010-08-07In the resume case we need to check IFF_UPTheo de Raadt
2010-08-07In fxp_pci_activate use the correct softc's; then use a workq since someTheo de Raadt
fxp's need load firmwares..... tested by sebastia
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-06Always call _PSW on _LID devices that support it to enable lid open toMarco Peereboom
resume the machine. Conversely disable it when the machine wakes up. Tested by several ok deraadt
2010-08-06com@isa suspend and resume; logic cloned from ../puc/com_puc.cTheo de Raadt
ok kettenis
2010-08-06Initial stab at making com@puc suspend and resume properly. Works fineMark Kettenis
for using cu(1) between two OpenBSD machines. Probably doesn't work for serial consoles but we don't support those on puc(4) anyway. ok deraadt@
2010-08-06Initial stab at making com@puc suspend and resume properly. Works fineMark Kettenis
for using cu(1) between two OpenBSD machines. Probably doesn't work for serial consoles but we don't support those on puc(4) anyway. ok deraadt@