njl
ffbd066e55
Be sure to always unlock the sx lock when exiting the sysctl function.
...
MFC after: 3 days
2004-08-24 17:53:25 +00:00
njl
73ebe2e714
MPSAFE locking
...
* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.
* Note that recursively calling to re-enable the hotkeys is sub-optimal.
2004-08-13 06:22:35 +00:00
njl
b3828214ba
MPSAFE locking
...
* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.
2004-08-13 06:22:31 +00:00
njl
5ac7e90907
MPSAFE locking
...
* Serialize access to the sysctl routines and the notify handler.
2004-08-13 06:22:29 +00:00
philip
b673475384
Unbreak LINT by making sure that method is always defined.
...
Submitted by: roam
Pointy hat to: philip
2004-08-04 14:29:22 +00:00
philip
e292bb7201
Further cleanup: merge the three led toggling functions
...
into a single general function to handle all leds.
Approved by: njl
2004-08-03 22:37:09 +00:00
njl
10e5a7db91
Use the acpi_{Get,Set}Integer functions instead of rolling custom ones.
...
Clean up return path of each function to have a single exit point. This
reduces diffs against the MPSAFE tree.
2004-08-03 21:17:36 +00:00
njl
4768a7ab29
Whitespace cleanup and move static variables together.
2004-07-24 20:40:02 +00:00
njl
4813ff7ef3
Remove unneeded parens and fix whitespace.
2004-07-24 20:39:25 +00:00
nyan
1aadcbe30b
Add the ACPI Panasonic extras driver.
...
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
2004-07-21 14:47:54 +00:00
njl
6a2110dbf8
Update for acpi_id_probe()
2004-06-29 19:05:20 +00:00
phk
70c86a601e
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
njl
37028dd7d9
s/device_get_handle/acpi_get_handle
...
Submitted by: Hiroyuki Aizu
2004-06-15 16:49:20 +00:00
njl
5063f4d6dc
Catch one more use of acpi_MatchHid and update for new API.
2004-06-15 02:17:23 +00:00
njl
5ddf76b906
Use the new API for acpi_MatchHid(). The difference between ACPI_HANDLE
...
and device_t isn't caught by the compiler.
2004-06-14 03:40:56 +00:00
phk
1d9d256461
Add missing #include <sys/module.h>
2004-05-30 20:34:58 +00:00
philip
2f595a7c52
Enable the led-toggling magic. Compiling files which are in the kernel into
...
modules is a very nice way to produce hard-to-find panics. Who would look for
a bug in a Makefile anyway?
Has anyone seen the pointy hat? :-o
Approved by: njl (mentor)
2004-04-23 17:41:05 +00:00
philip
e6b34b452d
Add the ACPI Asus extras driver. Provides support for cool ACPI-controled
...
gadgets (hotkeys, lcd, ...) on Asus laptops. I aim to closely track the
acpi4asus project which implements these features in the Linux kernel.
If this breaks your laptop, please let me know how it does it :-)
Approved by: njl (mentor)
2004-04-22 21:29:02 +00:00
njl
798d4130c7
Use METHOD_VIDEO instead of the method string itself.
...
Pointed out by: Andrew Thompson
2004-04-14 03:32:01 +00:00
njl
86187dc4aa
Add support for video output switching. It appears no systems use HCI to
...
change the video output but use a separate device with a DSSX method
and a HID of "TOS6201" instead. We use a pseudo-driver to get the handle
for this object and pass it to the acpi_toshiba driver.
This is untested but seems to match the Linux Toshiba driver.
2004-04-14 00:23:58 +00:00
njl
bd0b8dd886
Unify on version 1 to be similar to the rest of the tree. After 5-stable
...
branches, increment version on any API change visible to other modules.
2004-04-08 16:45:12 +00:00
njl
950a414e92
Add support for quirks for acpi tables. Key off OEM vendor and revision.
...
Sort acpi debug values. Change "disable" to "disabled" to match rest of
the kernel. Remove debugging from acpi_toshiba since it was only used for
probe/attach.
2004-03-03 03:02:17 +00:00
njl
0af5cb7565
Only remove the handler if we installed it.
2004-01-12 19:35:31 +00:00
njl
1cc88b7705
Clean up the probe message and sort the function table according to
...
the function order in the file.
2004-01-12 06:55:50 +00:00
njl
d7d5725483
Add the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,
...
forced fan control, and CPU throttling).
PR:
Submitted by: Hiroyuki Aizu <aizu@navi.org>
Reviewed by:
Approved by:
Obtained from:
MFC after:
2004-01-11 19:18:39 +00:00