summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Collapse)Author
2007-04-17Now that acpidock no longer hangs machines during boot (at leastMichael Knudsen
according to the reports I've been getting) it should be safe to enable it again, so remove the #if 0 stuff around it. ok marco
2007-04-11Added changes for C-StateJordan Hargrave
ok marco@
2007-03-26Calculate minutes left more accurately.Marco Peereboom
From giovanni <qgiovanni@gmail.com>
2007-03-03Stop looking for acpidock until we fix that stuff that breaks all pre-60Michael Knudsen
series ThinkPads with acpidock(4) enabled.
2007-02-22We were getting no interrupts in .MP. There are 2 fixes; one inMarco Peereboom
acpi_machdep.c and move the interrupt establishment down after ioapic has been initialized. ok jordan
2007-02-21Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode.Mark Kettenis
ok marco@
2007-02-19Added acpi_map_address function for mapping GAS/IO registersJordan Hargrave
ok marco@
2007-02-18Added dynamic perfect hash for opcodesJordan Hargrave
ok marco@
2007-02-18Shave off another K pre compression.Marco Peereboom
Shuffle SMALL_KERNEL functions around so that we only have a single #ifndef
2007-02-17Add SMALL_KERNEL throught acpi to make it fit on boot media.Marco Peereboom
ok deraadt
2007-02-13Add smarter _INI code. This helps with some dissapearing devices.Marco Peereboom
ok kettenis jordan
2007-01-31Introduce acpi_hasprocfvs thats "ACPI Has Processor Frequency and VoltageGordon Willem Klok
Scalling" a global flag set by acicpu attach to indicate that ACPI is handling fvs through the _PSS objects. This will fix disappearing EST/powernow when booting kernels with acpi enabled, as acpicpu isnt compiled into GENERIC yet. Also in cases where acpicpu is built in and legacy EST/powernow work but acpi is missing the _PSS object, the legacy routines will be used. tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net> ok marco@, dim@
2007-01-22Actually look for docking stations by looking for _DCK nodes.Michael Knudsen
ok marco
2007-01-02On some systems EC must be attached as the first device. Move EC fromMarco Peereboom
generic _HID devices to its own routine to force first attach. Bug found and debugged by joris@ Code mostly written by joris@
2006-12-26Add polling to devices that require it such as acpibat and acpitz.Marco Peereboom
Use the same tsleep/wakeup mechanism as the interrupt code to keep it non- concurrent.
2006-12-21even more knf loveTheo de Raadt
2006-12-21Remove some leftover acpiec gpe/interrupt code.Marco Peereboom
2006-12-20oops, name already usedTheo de Raadt
2006-12-20rename __acpi_enable_gpe(); ok marcoTheo de Raadt
2006-12-20acpi_unmap_pmregs() is not used, ok marcoTheo de Raadt
2006-12-19simplify some low-level methods substantially (shrinking code); ok marco jordanTheo de Raadt
2006-12-06malloc(..., M_NOWAIT) with no NULL check is bad. If allocation fails,Michael Knudsen
complain, clean up, and bail out of attach. input and ok gwk
2006-11-28Fixed clearing arg for acpi_init_picJordan Hargrave
ok kettenis@
2006-11-27Don't spam dmesg.Mark Kettenis
2006-11-27Fixes for acpiprt routingJordan Hargrave
Post-parse fixup for namerefs ok kettenis@
2006-11-25Don't handle acpiev events inside the gpe handler since this causes deadlocks.Marco Peereboom
ok jordan@
2006-11-15Hook up acpi apic interrupt routing support to generic acpi code.Mark Kettenis
ok jordan@
2006-11-02Kill acpiec attach function and add its functionality to the generic _HIDMarco Peereboom
device attach prodded and ok jordan
2006-11-02Fix comments to reflect reality.Marco Peereboom
2006-10-19Replace ACPI ioctls with APM ioctls. This makes ACPI talk the same protocolMarco Peereboom
as APM therefore userspace can now retrieve power information in the same fashion as all other apm arches (zaurus, macppc, i386 etc). To use force the use of acpi device like so: apmd -f /dev/acpi ok jordan@
2006-10-19Fixed GPE debug levelsJordan Hargrave
Fixed ref counter on temporary bufferfields DSDT parsing fully working on IBM Thinkpad ok marco@
2006-10-15Removed old GPE handler code remnantsJordan Hargrave
ok marco@
2006-10-12Massive ACPI changesJordan Hargrave
Fixed ACPI leaks new ACPI API ok marco@
2006-06-30KNF, No functional change,Gordon Willem Klok
"go at it" marco@
2006-06-30Support for calling Embedded Controller via new GPE interfaceJordan Hargrave
ok marco@
2006-06-30Added new code for GPE handlingJordan Hargrave
Also works with ACPIEC; need to fixup acpiec.c to remove original interrupt handler ok marco@
2006-06-30Added offset argument for acpi read/write pmreg routines (new GPE code)Jordan Hargrave
ok marco@
2006-05-31do not call acpi_powerdown() unless acpi has successfully initializedTodd T. Fries
ok gwk@ canacar@
2006-05-29Add embedded controller support.Can Erkin Acar
ok marco@ deraadt@ testing & ok gwk@
2006-05-19Minimal thermal zone driver. Monitors thermal zone temperature,Can Erkin Acar
shuts down the system if the 'critical temperature' is reached. ok marco@
2006-04-11KNF.Marco Peereboom
2006-04-11Add acpi_resume(struct acpi_softc *sc), which calls some AML methods,Gordon Willem Klok
detected at attach time, currently unused. ok marco@
2006-04-11Discover some ACPI sleep related methods, and call them at theGordon Willem Klok
appropriate time in acpi_enter_sleep_state(). ok marco@
2006-02-26Add acpicpu as a device.Marco Peereboom
ok jordan@
2006-02-23remove dead function.Marco Peereboom
ok jordan@
2006-02-22Print out all tables it found during autoconf. We'll need this data inMarco Peereboom
the future.
2006-02-22Make dmesg less verbose.Marco Peereboom
ok jordan.
2006-02-22Added parsing of SSDT tablesJordan Hargrave
ok marco@
2006-02-22Added new aml_register to notify by device idJordan Hargrave
Moved powerdown code to button device ok marco@
2006-02-21Readjust debug levels that crept in too low over the last few days.Marco Peereboom
KNF