summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2008-08-14If the AML SizeOf() method is called with an object reference it shouldJoel Sing
return the size of the referenced object. This fixes a panic on the ASUS eeePC 1000H when attaching the acpiasus(4) driver. Issue reported and fix tested by robert@ ok marco@
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-10Don't assume the first LAPIC in the table corresponds to the boot processor.Mark Kettenis
Mark the processor we're running on as the boot processor instead. ok marco@, art@
2008-08-08'prey' -> 'pray' in comment as prayer rather than predation seemsKenneth R Westerback
the intended meaning.
2008-08-06Backout the acpicpu_setpdc code and the code to allow est to use acpicpuGordon Willem Klok
on amd64. Evaluating the _PDC seems to lead to instability (PR5878 and a report by jmc@) on lower end machines its too close to release and I don't have enough nickels. ok deraadt@
2008-08-05Fix spurious 0 values on batteries seen on laptopts that have an embeddedMarco Peereboom
controller. Found, diagnosed and patch from Stefan Sperling <stsp@stsp.name> Minor KNF changes while here. Tested by many on a variaty of IBM laptops and others with and without acpiec. ok deraadt
2008-07-23move the aml_register_notify() call below for better debugging output.Federico G. Schwindt
marco@ ok.
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-02defines for output devices' events.Federico G. Schwindt
2008-07-02add acpivideo. for now almost an empty skel so others can work onFederico G. Schwindt
suspend/resume. eventually it will also manage output switching and brightness where supported. prodded by marco@
2008-06-24Thinkpad -> ThinkPadIgor Sobrado
2008-06-15On AMD64 running on Intel processors with EST add support for retreivingGordon Willem Klok
operating points from ACPI. In support of this add evaluation of the _PDC object and give it the capability flags asserting OSPM management of CPU power states. ok marco@, canacar@
2008-06-14Fixed evil recursion depth for ASUS EEEPC, uses less memory tooJordan Hargrave
ok @marco
2008-06-14Teach acpiasus(4) about some more events. Whilst we're here bzero the cmdJoel Sing
structs and sprinkle some aml_freevalue() (diff initially from deanna@). ok marco@
2008-06-13Fixed acpiec driver, _REG method required sc_ec member set before being calledJordan Hargrave
ok @marco
2008-06-13Remove duplicate function for string to integer conversion. ok jordan@Can Erkin Acar
2008-06-13Properly handle battery insertion/removalJordan Hargrave
ok @marco
2008-06-13Cleanup for aml_xcreatefield, added flags argumentJordan Hargrave
ok @canacar
2008-06-13Cleanup, remove old/unused functionsJordan Hargrave
ok @canacaR
2008-06-12Poll AC because there are some crappy machines out there that need it.Marco Peereboom
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@