#
dd5d6508 |
| 23-Feb-2002 |
Mike Smith <msmith@FreeBSD.org> |
Add our own private defines for driver debug layers. Obsolete the acpi_GetInto* interfaces.
Fix a typo to be less appropriate.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
85dff349 |
| 31-Jan-2002 |
Takanori Watanabe <takawata@FreeBSD.org> |
Fix irq/drq handling. IRQ and DRQ resource information can be get in one object for one resource. Array of values in a object means possible values for the object.
|
#
3273b005 |
| 08-Jan-2002 |
Mike Smith <msmith@FreeBSD.org> |
Staticise devclasses and some unnecessarily global variables.
|
#
586cd03a |
| 25-Dec-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Oops, wrong option name. It's should be ACPI_MAX_THREADS, not ACPI_NO_THREADS.
|
#
c573e654 |
| 22-Dec-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add OS layer ACPI mutex and threading support. - Temporary fix a bug of Intel ACPI CA core code. - Add OS layer ACPI mutex support. This can be disabled by specifying option ACPI_NO_SEMAPHORES.
Add OS layer ACPI mutex and threading support. - Temporary fix a bug of Intel ACPI CA core code. - Add OS layer ACPI mutex support. This can be disabled by specifying option ACPI_NO_SEMAPHORES. - Add ACPI threading support. Now that we have a dedicate taskqueue for ACPI tasks and more ACPI task threads can be created by specifying option ACPI_MAX_THREADS. - Change acpi_EvaluateIntoBuffer() behavior slightly to reuse given caller's buffer unless AE_BUFFER_OVERFLOW occurs. Also CM battery's evaluations were changed to use acpi_EvaluateIntoBuffer(). - Add new utility function acpi_ConvertBufferToInteger(). - Add simple locking for CM battery and temperature updating. - Fix a minor problem on EC locking. - Make the thermal zone polling rate to be changeable. - Change minor things on AcpiOsSignal(); in ACPI_SIGNAL_FATAL case, entering Debugger is easier to investigate the problem rather than panic.
show more ...
|
#
ece50487 |
| 09-Dec-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Disable sleep requests for 5 sec after wakeup. This is needed for some Toshiba and Thinkpad laptops. Wakeup event is generated by power button or sleep button on some laptops but this also generates
Disable sleep requests for 5 sec after wakeup. This is needed for some Toshiba and Thinkpad laptops. Wakeup event is generated by power button or sleep button on some laptops but this also generates SCI interrupt, and shutdown the system as result. So this is introduced so that acpi driver ignore given requests for certain period.
show more ...
|
#
6971b3c7 |
| 18-Nov-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Cleanups of verbose printing. All the messages for the debugging is disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in prob
Cleanups of verbose printing. All the messages for the debugging is disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in probe/attach routine are unchanged by this commit.
show more ...
|
#
1611ea87 |
| 06-Nov-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernat
Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially.
show more ...
|
#
9febbb40 |
| 30-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Some improvements of control method battery driver. - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.in
Some improvements of control method battery driver. - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.info_expire in sec. - Add own MALLOC type and fix some potential memory leakages. - Change some frequent printings to verbose printing. - Stop timeout during acpi_cmbat_get_bst() too. This should reduce the races with BIF evaluation. - Remove acpi_cmbat_get_bif() invocation from acpi_cmbat_attach(). This was redundant because this should be called from acpi_cmbat_timeout() now.
show more ...
|
#
2d644607 |
| 29-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Some small improvements of ACPI thermal driver. - Give a guaranteed minimum cooling run time to avoid too frequent cooling system On/Off switching. The minimum cooling run time can be specifi
Some small improvements of ACPI thermal driver. - Give a guaranteed minimum cooling run time to avoid too frequent cooling system On/Off switching. The minimum cooling run time can be specified by hw.acpi.thermal.min_runtime in sec. - Refine message printing (_AC-1 -> NONE). - Add verbose mode enable/disable capability by hw.acpi.verbose in bool.
Reviewed by: acpi-jp@ folks
show more ...
|
#
f86214b6 |
| 26-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications wit
Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS
With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)
Reviewed by: arch@, audit@ and some guys
show more ...
|
#
887f6fb8 |
| 06-Oct-2001 |
Peter Wemm <peter@FreeBSD.org> |
Fix some 64-bit uncleanliness.
|
#
cd5178be |
| 06-Oct-2001 |
Peter Wemm <peter@FreeBSD.org> |
Fix some style bugs before fixing some real bugs.
|
#
d5519f12 |
| 30-Aug-2001 |
Mike Smith <msmith@FreeBSD.org> |
Note that now that some ISA devices will attach to ACPI, we need to keep the ivar indexes that ISA uses free.
|
#
6d63101a |
| 30-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
- Prevent the ACPI code from being loaded as a module other than at boot time. Loading as a module once the system is up and running doesn't make any sense.
- Fix acpi_FindIndexedResource (i
- Prevent the ACPI code from being loaded as a module other than at boot time. Loading as a module once the system is up and running doesn't make any sense.
- Fix acpi_FindIndexedResource (it would only check the first resource), changes the calling interface.
- Add a new helper function (acpi_AppendBufferResource) to help building buffers containing resources.
show more ...
|
#
bfae45aa |
| 21-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Convert from acpi_strerror() to AcpiFormatException()
Fix dangling include of the dear departed acpi_ecreg.h
|
#
acf72ef4 |
| 21-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
The API for loading tables changed (we no longer explicitly search for the RSDP, it's now found via a callback).
AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use AcpiOsStall() to
The API for loading tables changed (we no longer explicitly search for the RSDP, it's now found via a callback).
AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use AcpiOsStall() too)
AcpiFormatException() was changed to make more sense (it behaves like our old acpi_strerror() did), so throw acpi_strerror() away (still #defined in acpivar.h though, we need to sweep these seperately).
show more ...
|
#
6161544c |
| 20-Jul-2001 |
Takanori Watanabe <takawata@FreeBSD.org> |
Add ACPI S2-S4BIOS Suspend/Resume code. Some problems may remain.
Reviewed by:iwasaki
|
#
7d3bcec9 |
| 07-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add acpi_GetTableIntoBuffer, to aid in fetching tables.
|
#
59c82e8f |
| 07-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add support for system power profiles; select "performance" when AC power is available and "economy" when it is not.
|
#
6f69255b |
| 05-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add a new helper function for finding resources in resource buffers.
Move the ACPI generic battery code into a new file.
|
#
03b5e198 |
| 29-Jun-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add ACPI subsystem mutex support, currently disabled. This implements a private mutex we can use to wrap the ACPI subsystem proper.
|
#
c5ba0be4 |
| 28-Jun-2001 |
Mike Smith <msmith@FreeBSD.org> |
Sync to my work in progress:
- Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement
Sync to my work in progress:
- Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement most of the guts of the acpi_thermal module; passive cooling isn't there yet, but active cooling should work. - Implement power resource handling (acpi_powerres.c)
This compiles and mostly works, but my test coverage is small, so feedback is welcome.
show more ...
|
#
4eb77744 |
| 23-Jun-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add sysctl interface (Read-only) for temprature, AC-line and Battery. Patches for acpi_cmbat.c submitted by Munehiro Matsuda.
|
#
2a4ac806 |
| 29-May-2001 |
Mike Smith <msmith@FreeBSD.org> |
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit)
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit) - Fix a deadlock in the EC code (takawata) - Improve arithmetic and reduce the risk of spurious wakeup in AcpiOsSleep. - Add AcpiOsGetThreadId. - Simplify mutex code (still disabled).
show more ...
|