kochi
a7c9d49c21
Merge changes for ACPI-CA 20050408
2005-05-02 14:53:04 +00:00
yamt
c1c70ffbb9
don't rely on the value of hz.
2004-06-25 11:15:15 +00:00
kochi
beb4a7fe16
specify static where appropriate.
2004-05-01 12:03:27 +00:00
yamt
4a3c33632a
EcGpeHandler: in the case that the ec is EcLock'ed, always set
...
EC_F_PENDQUERY flag so that AcpiClearGpe() will be called later.
2004-04-24 09:07:50 +00:00
itojun
aca4c091d3
sprintf -> snprintf
2004-04-22 00:17:10 +00:00
kochi
d742fdc844
- don't evaluate _UID, reuse ACPI_DEVINFO
...
- move acpi_resources from acpi_ec_softc to stack
2004-04-11 15:41:50 +00:00
kochi
193c08b383
Clean up memory allocated during autoconfiguration
2004-04-11 10:36:35 +00:00
kochi
b547a6d28f
change acpi_resource_parse API to support _PRS parsing as well as _CRS
2004-04-11 08:36:19 +00:00
kochi
2bde9b6026
return (x) -> return x
...
use consitent variable name for ACPI_STATUS
2004-04-11 06:48:25 +00:00
kochi
db7198d645
whitespace nit
2004-04-10 11:48:10 +00:00
kochi
bd130aba8f
Add ACPI ECDT (Embedded Controller Description Table) support.
...
This will enable usage of EC in early stage of ACPI initialization.
2004-03-30 15:18:55 +00:00
kanaoka
b7bbe36649
Set sc->sc_glk,if acpi_eval_integer() evaluate _GLK in acpiec_attach.
2004-03-24 14:47:19 +00:00
kanaoka
5886bca6f0
Make it compile (int -> ACPI_INTEGER)
2004-03-24 11:26:46 +00:00
yamt
9a34eb3d5a
- fix deadlocks due to using lock_status() from interrupt context.
...
- process pending queries in EcUnlock() to close a race window.
now there's no need to do polling for EcQuery().
- reorder inline functions and other prototypes so that
the formers can get needed prototypes.
- add missing prototypes.
2003-11-12 13:59:23 +00:00
yamt
5980449814
use snprintf("%X") instead of "%x" + strupr().
2003-11-12 13:18:24 +00:00
mycroft
4ac0e3e5c6
More cleanup:
...
* Use ACPI_FAILURE() and ACPI_SUCCESS().
* Output exception strings in a few more places.
2003-11-03 18:07:10 +00:00
mycroft
72ae89b69a
Fix locking protocol, and use _GLK appropriately. From kochi, with some
...
modifications.
2003-11-03 17:23:38 +00:00
kochi
84795bd3fd
* now the size of ACPI_DEVICE_INFO is variable:
...
it can now accomodate multiple _CIDs
sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
_CIDs are also taken into account now as well as _HID
2003-11-03 06:03:47 +00:00
mycroft
be8e41d93a
sc_lockhandle is garbage.
2003-11-01 08:34:54 +00:00
mycroft
10e36668fc
Remove an unnecessary call to AcpiGlearGpe().
2003-11-01 08:27:37 +00:00
mycroft
b596969039
Correct arguments to AcpiClearGpe().
2003-11-01 08:14:39 +00:00
mycroft
63bc27bf55
Correct arguments to AcpiInstallGpeHandler, as per Linux and FreeBSD.
2003-11-01 01:38:25 +00:00
mycroft
fec4c11f9e
Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat to
...
set the VALID bits correctly, so we don't report garbage for missing batteries.
2003-10-31 20:54:18 +00:00
kochi
28e9389fdb
Fix a wrong handling of clearing a flag
2003-08-03 08:16:07 +00:00
tshiozak
e077f7a7d9
- add acpi_acquire_global_lock()/acpi_release_global_lock()/
...
acpi_is_global_locked() functions.
AcpiGlobalLock() API should be used to acquire lock between BIOS and OS.
This API cannot be used to lock between threads of the OS side,
because this function immediately returns if the lock is already acquired
by the OS. c.f. AcpiEvAcquireGlobalLock()@evmisc.c
- make sure that acpiec driver uses above functions.
- use ACPI_ALLOCATE_BUFFER instead of twice calls of AcpiEvaluateObject(),
in acpi_eval_string()/acpi_eval_struct().
Twice AcpiEvaluateObject() calls may cause twice side effects
to ACPI machine / hardware and this may be wrong in some cases.
2003-02-14 11:05:39 +00:00
tshiozak
47cefca831
fix a simple, but wicked bug in EcSpaceHandler().
...
this bug causes EcWrite via EcSpaceHandler to always write 0 as the data byte.
2002-10-15 20:53:37 +00:00
thorpej
c9b3657ce9
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:33:28 +00:00
thorpej
387fc6dc87
Use CFATTACH_DECL().
2002-09-30 20:37:04 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
thorpej
17848b05a8
Update for acpica-unix-20020612. From Takayoshi Kochi.
2002-06-15 18:01:05 +00:00
lukem
13ac430285
add RCSID
2001-11-13 13:01:57 +00:00
enami
de085459c1
Fix printf format.
2001-10-12 07:30:23 +00:00
thorpej
b41a7fd4de
ACPI Embedded Controller driver.
2001-09-29 05:34:23 +00:00