summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2008-06-12Removed old AML disassembler codeJordan Hargrave
ok @marco
2008-06-12Fixed AMLOP_LOAD for _PSS on ThinkpadJordan Hargrave
ok @gwk
2008-06-12Fixed memory leaks for AML parserJordan Hargrave
added new stack handling interface removed delay during parsing ok @marco
2008-06-11Fix $OpenBSD$ for once and for allMarco Peereboom
2008-06-08Add a malloc type for ACPI and use it for _acpi_os_malloc and free.Artur Grabowski
kettenis@ ok
2008-06-08Implement aml_str2val() ok marco@Can Erkin Acar
2008-06-08aaa_dev was being set from an uninitialized variable; ok tobyTheo de Raadt
2008-06-08unused globals and defines; ok tobyTheo de Raadt
2008-06-08simplify match function; ok tobyTheo de Raadt
2008-06-08unused definesTheo de Raadt
2008-06-07Move #if 0 up to include currently unused fixup tables.Marco Peereboom
2008-06-07Kill ACPIVERBOSE. It was never used and is worthless to boot.Marco Peereboom
comments jmc ok toby
2008-06-06lots of KNFMarco Peereboom
Change many return x into goto fail idiom.
2008-06-06KNFMarco Peereboom
2008-06-06make this more like other code (done while digging into a problem...)Theo de Raadt
2008-06-06Shrink acpi some more for floppies and while here re-enable acpi on theMarco Peereboom
floppies. Fixes crazy sony vaio kettenis has. tested by deraadt ok deraadt jordan kettenis
2008-06-06Add _?RS methods evaluation to obtain additional heuristics and settingMarco Peereboom
interrupt routing. Fixes several HP & IBM machines. ok deraadt ketennis
2008-06-04Fix panic on my i386 box when local variable isnt handled properly.Marco Peereboom
code from jordan
2008-06-02ignore a brightness changed eventjoshua stein
from Stefan Sperling <stsp at stsp.name>
2008-06-01Fix \n nit in SMALL_KERNEL.Marco Peereboom
2008-06-01Re-enable new parser. Lots of testing by various folks. Fits all mediaMarco Peereboom
now too. ok kettenis deraadt
2008-05-29dlg backed out one too many revisions, bring back 1.2joshua stein
only do aml_freevalue when necessary, noted by deanna
2008-05-16back out jordans new parser.David Gwynne
it didnt have enough oks from the right people, it did break machines that were previously working, and it bloated the RAMDISKS and install media beyond the constraints of the media. requested by deraadt@
2008-05-15Ripped out old parser gutsJordan Hargrave
ok loki@
2008-05-15Handle Alias named objects, return original objectJordan Hargrave
Clear out result before evaluating
2008-05-14only compile aml_dump() if option ACPI_DEBUG.Miod Vallat
2008-05-14Let this build and link if SMALL_KERNEL.Miod Vallat
2008-05-14Removed debugging printfsJordan Hargrave
2008-05-14Clean up a bit.Brad Smith
ok jordan@
2008-05-14Adding new ACPI Parser codeJordan Hargrave
Old guts of code still exists, needs to be torn out next ok marco@ ok brad@
2008-05-14recognize some more eventsjoshua stein
hook up the volume keys to actually do stuff; from Stefan Kempf use aml_freevalue to properly free memory in all cases; prodded by deanna
2008-05-13Adding changes for new parserJordan Hargrave
ok marco@
2008-04-27add acpithinkpad(4), an acpi support driver for ibm/lenovojoshua stein
thinkpads. provides functionality that the bios did on older, non-acpi thinkpads like respond to screen brightness keys and toggle the bluetooth device on and off. ok deraadt@ and marco@
2008-04-24Introduce acpiasus(4), a driver for the ACPI based hotkeys found in manyJoel Sing
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's asus(4) driver. On the ASUS EeePC this allows us to enable/disable wireless, change screen brightness and use the volume keys. ok jsg@, weingart@
2008-04-12Get rid of acpi_s5 global variables; simply send SIGUSR2 instead of SUGUSR1Mark Kettenis
to tell init(8) to power down the machine. ok krw@
2008-02-07unbreak build: aml_showvalue() is only available on !SMALL_KERNELPeter Valchev
2008-02-07unbreak SMALL_KERNEL kernels, with miodHenning Brauer
2008-02-06Replace magic values with appropriate symbolic constants.Mark Kettenis
2008-02-05Added change for debugging setbufintJordan Hargrave
ok marco@
2008-01-22Added change to parseop to support return value; removes 1/2 stack depth forJordan Hargrave
parseint ok marco@
2008-01-21Check against RESET_REG_SUP in FADT before doing the acpi reset danceJonathan Gray
after all, not doing so appears to break more machines than it fixes. ok marco@
2008-01-08Don't free res twice.Marco Peereboom
ok jordan
2008-01-06Add a more robust gettempreading that debounces the value (idea from FreeBSD)Marco Peereboom
Add a macro to convert from K to C Redo notify and sprinkle some debug Tested on D810 T60 & Q2010 and tested by several others.
2008-01-06re-add _PPC.Marco Peereboom
ok gwk@
2008-01-05Never attach more acpicpu(4) devices than cpu(4) devices. Always attachMark Kettenis
the first acpicpu(4) device on non-MULTIPROCESSOR kernels, regardless of its ACPI processor ID. ok mikeb@
2007-12-29Remove debug message. Found by Mike Belopuhov, tsk tsk deraadt.Marco Peereboom
2007-12-27Undo previous commit after debating a few corner cases with gwk. ThisMarco Peereboom
needs to be redone in another way.
2007-12-27Add _PPC support. Tested by several people.Marco Peereboom
2007-12-27KNF, no functional changeMarco Peereboom
2007-12-07do not call aml_searchname and aml_evalnode afterwards, just useFederico G. Schwindt
aml_evalname. marco@ ok.