summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2006-05-31Do not put _OS_ value on the stack.Can Erkin Acar
excellent bug report and testing by Berk Demir < bdd at mindcast dot org >
2006-05-31do not call acpi_powerdown() unless acpi has successfully initializedTodd T. Fries
ok gwk@ canacar@
2006-05-31Match the specs and only shut down if notify_type is 0x80Can Erkin Acar
Reported and tested by todd@, ok gwk@
2006-05-31When allocating a buffer, use the supplied length if the requestedCan Erkin Acar
length is smaller. Tested by joris@, ok gwk@
2006-05-29Check for possible NULL dereference in aml_showvalueCan Erkin Acar
tested & ok gwk@ dim@
2006-05-29Check the return value of aml_ederef isnt NULL before use.Gordon Willem Klok
Fixes a few panics. ok canacar@
2006-05-29Add embedded controller support.Can Erkin Acar
ok marco@ deraadt@ testing & ok gwk@
2006-05-29Fix a memory overrun in the aml parser code.Can Erkin Acar
ok deraadt@, 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-05-19Use rwlock instead of lockmgr locks.Can Erkin Acar
ok marco@
2006-04-30rv not set. Sloppy but didn't matter.Marco Peereboom
pointed out by joris@
2006-04-21remove some trailing spaces found while reading this code.Joris Vink
okay marco@
2006-04-16Use aml_bitpos() when copying a field into a buffer.Mark Kettenis
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-03-21Disassembler now pretty prints AML code (like acpidump)Jordan Hargrave
ok marco@
2006-03-09Used common aml_opname for debuggerJordan Hargrave
Removed redundant code ok marco@
2006-03-09Remove bad XXXMarco Peereboom
ok jordan
2006-03-09Removed unused prototypesJordan Hargrave
Fixed aml_notify to use known node Added new method/node evaluator Renamed some functions for easier naming ok marco@
2006-03-09Fixed free before malloc. bad marcoJordan Hargrave
ok marco@
2006-03-09One more KNF nit.Marco Peereboom
2006-03-09Pretty.Marco Peereboom
2006-03-09Create separate function to parse name + scope. Should shave some bytes ofMarco Peereboom
and makes code more readable. ok jordan.
2006-03-08Add showval to ddb interface. Now we can pretty much debug anything AMLMarco Peereboom
from ddb. Very useful. Help jordan.
2006-03-08Fix proto.Marco Peereboom
2006-03-08KNF.Marco Peereboom
Undo emacsisms/jordanisms. Rearange protos and globals. This file needs more cleanup but this is a start.
2006-03-08KNF + alignment.Marco Peereboom
2006-03-07Add "disasm" code for ddb. With this one can disassemble AML code from DDB.Marco Peereboom
example : "machine acpi disasm \\_SB_.BIF_" dumps the battery AML on my laptop. Disasm code was written by jordan. Help from miod on ddb lexer magic. ok jordan.
2006-03-06No longer needed since it is moved to acpihpet.Marco Peereboom
2006-03-06Rename hpet to acpihpet so that all devices use the same naming convention.Marco Peereboom
discussed with jordan.
2006-03-05Hook acpi to ddb since we need to be able to do some live debugging.Marco Peereboom
Lots and lots of help from miod@ and deraadt@ ok deraadt@ miod@
2006-03-05Update tables after event.Marco Peereboom
Free memory while at it. Register notify handler and use NULL for PNP id.
2006-03-05KNF nit.Marco Peereboom
2006-03-04oops some debug code was enabled.Marco Peereboom
2006-03-04Add the gasio magic to slow/speed cpu.Marco Peereboom
2006-02-26Print _PCT & _PPC.Marco Peereboom
2006-02-26Add GRD and PCT structures.Marco Peereboom
2006-02-26Print only MHz. Idea from jsg@Marco Peereboom
2006-02-26Delete some debug printing that wasn't compiling.Marco Peereboom
2006-02-26Print ACPI cpu name during dmesg as well.Marco Peereboom
2006-02-26Add acpicpu as a device.Marco Peereboom
ok jordan@
2006-02-26Print core frequency and power usage during dmesg.Marco Peereboom
2006-02-26Add acpicpu device. Remains disabled.Marco Peereboom
ok jordan@
2006-02-26Add _PSS.Marco Peereboom
2006-02-25Ugh, missed some { }Marco Peereboom
Made spurrious interrupt message more useful
2006-02-23Pre-parsing PCI address for opregionJordan Hargrave
ok marco@
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.