Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-08 | Stop 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-08 | Try to save the vga hardware state around suspend, and also redisplay the | Miod Vallat | |
textmode video memory contents if we had to POST the vga bios. ok deraadt@ kettenis@ | |||
2010-08-08 | take us to release | Theo de Raadt | |
2010-08-08 | we 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-08 | Restore the APIC ID to what we set it to at boot (some machines come up | Theo de Raadt | |
with it incorrect) from mklarkin, ok kettenis | |||
2010-08-08 | activate function for suspend/restore; from mglocker | Theo de Raadt | |
2010-08-08 | Reenable acpiasus(4). The bogus code is actually dead code, and jsing@'s | Mark Kettenis | |
eeepc panics without this driver (which must be a bug in the acpi code that this driver just hides). | |||
2010-08-08 | Try and improve legacy controller emulation heuristics; if we think we should | Miod 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-08 | Make 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-08 | Disable acpiasus(4); it violates the rule that only the acpi thread is allowed | Mark Kettenis | |
to run AML in several ways. | |||
2010-08-08 | Be consistent in function naming. No functional changes. | Marcus Glocker | |
OK deraadt@ | |||
2010-08-08 | convert printf()s that can happen in the resume path to DPRINTF()s. | Jacob Meuser | |
silencing requested by deraadt | |||
2010-08-08 | at resume time, re-nable the AMDPM_RNGEN bit | Theo de Raadt | |
2010-08-08 | silence BIOS takeover failure messages on unsuspends | Theo de Raadt | |
2010-08-08 | Backout r1.55 since this breaks anything which does crypto ops prior to | Joel 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-08 | highly recommend that DVACT_{SUSPEND,RESUME} return 0 unless you want to ↵ | Theo de Raadt | |
trigger a broken code path | |||
2010-08-08 | Report the acpi sleep states when on a RAMDISK; ok krw | Theo de Raadt | |
2010-08-08 | do not unlock vnode before calling vput. should fix ray's panic. | Ted Unangst | |
ok deraadt krw | |||
2010-08-07 | Revert 1.123. Hangs RTL8168C/8111C (0x3c00) after | Christian Weisgerber | |
ifconfig re0 up ifconfig re0 down dhclient re0 ok krw@, deraadt@ | |||
2010-08-07 | quiet "missed interrupt" messages. requested by deraadt. | Jacob Meuser | |
2010-08-07 | restore unsolicited responses from volume knob widgets | Jacob Meuser | |
tested by deraadt | |||
2010-08-07 | break statements even on default cases | Theo de Raadt | |
2010-08-07 | Suspend/resume for agp_amd.c | Owain 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-07 | Suspend/resume handler for viaagp. | Owain Ainsworth | |
ok deraadt@. | |||
2010-08-07 | save/restore functions for aliagp. | Owain Ainsworth | |
Very similar to other agp suspend functions. ok kettenis@, deraadt@. | |||
2010-08-07 | Suspend/resume handler for sisagp save/restoring the gtt window/size and | Owain Ainsworth | |
tlb enable states before we go down and whacking them back in on bringup. ``commit'' deraadt@ | |||
2010-08-07 | Save 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-07 | Enforce acpi register access rescrictions. | Mark Kettenis | |
ok mlarkin@, deraadt@, tested by marco@ | |||
2010-08-07 | Enforce acpi register access rescrictions. | Mark Kettenis | |
ok mlarkin@, deraadt@, tested by marco@ | |||
2010-08-07 | Generate power change events for APM. Makes powerup and powerdown scripts | Can Erkin Acar | |
work with ACPI. ok deraadt@, phessler@, feedback kettenis@ | |||
2010-08-07 | The wakeup of the acpi thread is not needed. This code is being called | Theo 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-07 | Unmap registers upon detach. Avoid panics when detaching a partially attached | Mark Kettenis | |
device. Found out the hard way by hotplugging an unsupported "Soft-Mac" device. ok deraadt@ | |||
2010-08-07 | Add resume support for serial consoles. | Mark Kettenis | |
Tested by sthen@, ok deraadt@ | |||
2010-08-07 | upon resume, notify all the acpiac and acpibat drivers to update | Theo de Raadt | |
their status. some laptops do not do this automatically. ok kettenis canacar | |||
2010-08-07 | In the resume case we need to check IFF_UP | Theo de Raadt | |
2010-08-07 | In fxp_pci_activate use the correct softc's; then use a workq since some | Theo de Raadt | |
fxp's need load firmwares..... tested by sebastia | |||
2010-08-07 | On resume, re-activate the host RNG on the host bridges that need it. | Theo de Raadt | |
ok kettenis | |||
2010-08-07 | No "\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-07 | No "\n" needed at the end of panic() strings. | Kenneth R Westerback | |
Some stragglers from last diff. | |||
2010-08-06 | Always call _PSW on _LID devices that support it to enable lid open to | Marco Peereboom | |
resume the machine. Conversely disable it when the machine wakes up. Tested by several ok deraadt | |||
2010-08-06 | com@isa suspend and resume; logic cloned from ../puc/com_puc.c | Theo de Raadt | |
ok kettenis | |||
2010-08-06 | Initial stab at making com@puc suspend and resume properly. Works fine | Mark 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-06 | Initial stab at making com@puc suspend and resume properly. Works fine | Mark 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-06 | repost hp g62 | Marco Peereboom | |
ok deraadt | |||
2010-08-06 | As part of a revamp of the PM1/GPE code, I write this diff to look for | Theo de Raadt | |
unmanaged EN & STS bits in the PM1 register at interrupt time and report them. As a side effect this splits the STS acknowledgement into two writes (for power, and sleep) instead of one. The printf that is added (to spot unmanaged STS bits) has not yet been triggered as far as we know. Before the "write to PM1 registers at the right offset" diff went in, this was not neccessary. But newer thinkpads do not have a working soft power button without this diff. We have no idea why. ok mlarkin kettenis | |||
2010-08-06 | ca_activate for suspend/resume; tested by andrew@afresh1.com | Theo de Raadt | |
2010-08-06 | save/restore the *correct* clock gating registers on suspend/resume | Owain Ainsworth | |
instead of accidentally writing zeros to ones that may not even exist on the chipset we're running on. problem noted by damien@, fix by me. been in theo's tree a couple of days. ``commit'' deraadt@. | |||
2010-08-06 | Previous code to handle suspend/resume for intagp assumed that | Owain Ainsworth | |
everything was unbound before we go down. Due to software fallbacks from the vt-switched X this is not strictly true, so save/restore the gtt (which is stored in a BAR and thus volatile). i915 and i945 still have some (unrelated) coruption on dzen2 on resume which I am looking for still (theory: fence registers), but this helps a LOT of machines. ``commit'' deraadt@. tested by many (and in snaps the last few days. | |||
2010-08-06 | reenabling unsolicited responses in the resume path was lost in | Jacob Meuser | |
rev 1.172. restore it so headphone/speaker switching can work after resume. ok deraadt | |||
2010-08-06 | no need to save/restore the state of the master volume | Jacob Meuser | |
ok deraadt |