jruoho
01d77446c4
ACPICA 20100806:
...
Obsolete Functions: AcpiOsValidateInterface - no longer used.
2011-02-17 10:21:43 +00:00
jruoho
303587c62f
ACPICA 20100915:
...
Removed the AcpiOsDerivePciId OSL interface. The various host
implementations of this function were not OS-dependent and are now obsolete
and can be removed from all host OSLs. This function has been replaced by
AcpiHwDerivePciId, which is now part of the ACPICA core code.
AcpiHwDerivePciId has been implemented without recursion. Adds one new
module, hwpci.c. ACPICA BZ 857.
2011-02-17 10:20:32 +00:00
jruoho
3b274ab6bf
Switch acpi(4) to use the new location of ACPICA.
2011-02-17 07:34:42 +00:00
jruoho
3993e0d154
Make the WMI modules depend on the parent mapper.
2011-02-16 13:15:49 +00:00
jruoho
5f852a8424
Change the preprocessor defines around the module(9)'s modcmd() calls such
...
that the modules show in modstat(8) even though these are "builtin".
2011-02-16 09:05:12 +00:00
jruoho
2b0b13f21f
Use ioconf for the module declarations.
2011-02-16 08:35:51 +00:00
jruoho
b9f301d5a2
Convert the homegrown module declarations to use ioconf.
2011-02-16 08:19:56 +00:00
jruoho
7e0b5b7921
Add a skeleton driver for Asus EeePC acpiwmi(4) mappings.
2011-02-16 07:30:26 +00:00
jruoho
2e742e4a77
Reset the firmware waking vector on resume. Adapted from FreeBSD and Linux.
...
No functional change intended.
2011-02-15 20:24:11 +00:00
jruoho
23501c315c
Fix small negligence mistake.
2011-02-14 18:51:44 +00:00
jruoho
512cae94de
Improve error reporting.
2011-01-30 08:55:52 +00:00
jmcneill
c93b203331
If the thermal zone has a _PSL method, print a list of processors
...
associated with the zone at attach time.
acpitz0 at acpi0 (THM0)
acpitz0: levels: critical 127.0 C, passive cooling
acpitz1 at acpi0 (THM1): cpu0 cpu1
acpitz1: levels: critical 100.0 C, passive 95.5 C, passive cooling
2011-01-18 21:15:54 +00:00
jmcneill
2dd19c519d
Use AcpiOsReadPort/AcpiOsWritePort instead of inb/outb so I can get rid of
...
of the i386 and x86_64 ifdefs.
2011-01-18 18:56:25 +00:00
jmcneill
138a9407d2
use PRIx64 instead of llx, fixes build on amd64
2011-01-17 17:32:11 +00:00
jmcneill
8ddcdc25a9
acpiwdrt needs sysmon_wdog
2011-01-17 15:55:24 +00:00
jmcneill
27686d11fe
Add a driver for ACPI "Watchdog Resource Table" devices.
...
acpiwdrt0 at acpi0: mem 0xfed01000,0xfed01004
acpiwdrt0: PCI 0:000:00:0 vendor 0x1106 product 0x3337
acpiwdrt0: watchdog interval 1-1023 sec.
2011-01-17 15:49:13 +00:00
jruoho
f82830f374
Postpone the sensor update with sysmon_taskq(9).
2011-01-13 14:25:33 +00:00
jruoho
3c51ce4b05
Upon request from jmcneill@, put the check back that prevents unnecessary
...
readings during the sysmon_envsys(9) poll cycle. Some systems (notably,
Asus EeePC) have so badly implemented AML that reading the values via
envstat(8) alone can cause considerable delays.
2011-01-13 13:05:13 +00:00
jruoho
f861d1bc75
Clean-up acpi_print(). XXX: The 'acpiverbose' module is still broken...
2011-01-13 05:58:05 +00:00
jruoho
710112e7c7
Scan for docking stations.
2011-01-13 05:14:48 +00:00
jruoho
3dd22c3c2c
Do not try to attach more ACPI CPUs than the amount of "real" CPUs.
2011-01-13 04:18:19 +00:00
jruoho
99d6864d21
Move the function that counts the CPUs from acpicpu(4) to the MD layer.
2011-01-13 03:40:50 +00:00
jruoho
c2df94f224
Disable all GPEs when entering S5. Also add a comment that the function
...
acpi_enter_sleep_state() must be called with interrupts enabled.
2011-01-11 20:35:24 +00:00
jruoho
322f6c439c
Regen.
2011-01-10 17:04:55 +00:00
jruoho
93da29999d
Add SMO1200 (yet another TPM chip). From ThinkPad x201i.
2011-01-10 17:04:22 +00:00
jruoho
2304727048
Small clean-up in the match and attach functions. Namely, use the attach
...
args instead of referencing the global softc. No functional change.
2011-01-10 09:07:27 +00:00
jruoho
f640132d0b
Convert aprint_error(9) to ACPI_DEBUG_PRINT.
2011-01-09 16:22:07 +00:00
jruoho
1b00e79140
Remove also rest of the ACPI_DEVICE_POWER checks.
2011-01-09 16:15:25 +00:00
jruoho
930b9f2eb4
After consulting jmcneill@, set the state to D0 ("on") upon shutdown and
...
detach. A safety measure so that we do not accidentally fry anything.
2011-01-09 15:43:20 +00:00
jruoho
37f5de3ab8
Add a dummy-driver for ACPI fans.
2011-01-09 15:12:33 +00:00
jruoho
019ba6b902
Use acpi_power_register() for consistency. No functional change.
2011-01-09 14:58:10 +00:00
jruoho
1dee4ee9e2
We use config_defer(9) now when scanning power resource and wake-up
...
capabilities, so do not fail in acpi_power_register() if ACPI_DEVICE_POWER is
not set in struct acpi_devnode::ad_flags.
2011-01-09 14:56:06 +00:00
jruoho
c40255f958
Print a message if ACPI 4.0 functionality is present (in which case the
...
driver should be updated).
2011-01-09 09:47:55 +00:00
jruoho
74a4ee7fc0
Rearrange (use two tabs).
2011-01-09 05:06:17 +00:00
jruoho
f422341f8e
Regen.
2011-01-09 04:59:00 +00:00
jruoho
04e39f05b5
Add INTC0102 (Intel TPM chip). From ThinkPad T500.
2011-01-09 04:58:34 +00:00
cegger
21fd508d09
use aprint_error_dev
2011-01-07 14:08:29 +00:00
jruoho
ef2b108701
Fix a comment.
2011-01-06 18:57:22 +00:00
jruoho
0af1ebd4ab
Split the code that makes a string from ACPI_DEVICE_INFO::Name to a function.
2011-01-06 07:05:00 +00:00
jruoho
1bb3132df6
Move the ACPI_ACTIVATE_DEV block around for clarity.
2011-01-06 06:49:12 +00:00
jruoho
e067d18bf0
Add a driver for ACPI power meters.
2011-01-05 20:08:12 +00:00
jruoho
d982261b67
Adjust previous slightly.
2011-01-05 08:08:47 +00:00
jruoho
740a9e0c0e
Make a two-pass scan for acpinodebus. This should ensure that devices such
...
as acpiec(4) are attached before anything else. Numerous bugs are expected
to be fixed with this change.
2011-01-05 07:58:04 +00:00
jruoho
c96fe4ba5e
Revert the changes made in the commit:
...
"Do not queue functions via sysmon_taskq(9) in the pmf(9) resume hooks.
There is a small and unlikely race when the drivers are loaded as modules;
suspend, resume, queue a function, and immediately unload the module."
Queueing the checks in the resume hooks was observed to improve the resume
time by several seconds (!) on a system with poorly implemented AML code.
The observed race condition is a wider issue related to modules; things like
sysmon_taskq(9) should be modified to allow cancelling of queued functions.
2011-01-04 05:48:48 +00:00
jruoho
a26fa60e11
Fix previous.
2011-01-04 04:28:48 +00:00
jruoho
6a3b9e2cde
Scan for devices that are "hot-pluggable".
2011-01-03 08:50:23 +00:00
jruoho
6248a51d8a
Adjust error messages for the previous commit.
2011-01-02 12:06:02 +00:00
jruoho
e008cf160e
Use "real" device names for the hw.acpi.wake and hw.acpi.power sysctl(8)
...
trees. For instance, instead of hw.acpi.wake.DURT, we have hw.acpi.wake.wm0
for wm(4). This is a temporary solution, but without solving the big
abstraction questions, this is the best we can do.
2011-01-02 06:05:47 +00:00
jruoho
9a11653a7b
Print a warning if the BIOS thinks that the timer is unreliable. However, do
...
not touch the quality of the timecounter(9) based on this information.
2011-01-02 05:48:55 +00:00
jruoho
8aaffbf4e9
Include <dev/acpi/acpi_pci.h>.
2010-12-31 14:05:15 +00:00