summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2006-12-12Fix a typo to clean M's out of my tree.Michael Knudsen
2006-12-12There is no acpiec_notify() function so don't supply a prototype.Michael Knudsen
While there, fix a typo. ok gwk
2006-12-12- include <sys/proc.h> for tsleep();Tom Cosgrove
- change the defs of LHS, RHS, DST and DST2 to be AML_*. Noted by Marco S Hyman on misc@, these allow ACPI to be compiled into RAMDISK kernels. Suggestion for AML_ rename (to avoid name clash with TIMEZONE's DST, which was noted by someone else a while ago, but I forget who) from jordan@. ok marco@, jordan@
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-29Unused global variable.Miod Vallat
2006-11-29After a long debate at the hackathon it was decided that the acpi implementationMarco Peereboom
is not concurrent if the sensors thread goes away. This makes acpi completly lockless. help and ok dlg
2006-11-29Do not consider unrecognized buttons as lid sensors. ok marco@Miod Vallat
2006-11-28Fixed clearing arg for acpi_init_picJordan Hargrave
ok kettenis@
2006-11-27Post-process PCI config space opregionsJordan Hargrave
Fixed acpiprt for stinky presario v3000 ok marco@
2006-11-27Don't spam dmesg.Mark Kettenis
2006-11-27Make normal pic interrupt routing work too.Mark Kettenis
2006-11-27Make AML_CRSLEN return the correct length for small resources.Mark Kettenis
ok jordan@
2006-11-27Add check for acpi pointer. This prevents some ugly panics.Marco Peereboom
ok ketennis.
2006-11-27Fixes for acpiprt routingJordan Hargrave
Post-parse fixup for namerefs ok kettenis@
2006-11-27Added support for parsing _CRS resourcesJordan Hargrave
Post-parsing fixup for forward name references
2006-11-27Handle objrefs in _PRT.Mark Kettenis
ok jordan@
2006-11-25Add mutex.Marco Peereboom
prodded dlg, ok jordan
2006-11-25sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for ↵Niklas Hallqvist
multi-ioapic systems. ok kettenis
2006-11-25Don't handle acpiev events inside the gpe handler since this causes deadlocks.Marco Peereboom
ok jordan@
2006-11-25Fixed acpiec code for deadlockJordan Hargrave
acpiec events are handled at GPE/thread context, no longer need wakeup cVS: ----------------------------------------------------------------------
2006-11-20Added 2nd pass for interrupt override scanningJordan Hargrave
ok kettenis@
2006-11-15Hook up acpi apic interrupt routing support to generic acpi code.Mark Kettenis
ok jordan@
2006-11-15dd pseudo-devices to handle acpi apic interrupt routing.Mark Kettenis
ok jordan@
2006-11-11Add acpi_sleep and acpi_stall functions.Marco Peereboom
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-11-02Ooops, forgot a debug printf.Marco Peereboom
2006-11-02Add active cooling support mostly by me with jordan help.Marco Peereboom
Add initial passive cooling trending formulas by jordan. ok jordan@
2006-10-31add missing prototype for aml_evalinteger()Thordur I. Bjornsson
ok macro@
2006-10-30Fix nameref -> objref for forward definition evaluatorJordan Hargrave
ok marco@
2006-10-25Don't convert buffer/field output to integerJordan Hargrave
Caused problems with strings/index on some systems
2006-10-25added deref/index for integer typesJordan Hargrave
2006-10-24Condense get functions into a single function. This is ahead of retrievingMarco Peereboom
remaining threshold values. ok jordan
2006-10-24KNFMarco Peereboom
2006-10-24Work around PR 5268 by printing "bad string" instead of panicing. There isMarco Peereboom
no meanigful way of calling aml_die so we need to isolate these machines instead. ok jordan
2006-10-24Added stack trace to aml_die+acpidebugJordan Hargrave
ok marco@
2006-10-23Reduced memory allocations for temporary valuesJordan Hargrave
2006-10-19Reduce the scope of the locks.Marco Peereboom
2006-10-19KNF and some cleanupMarco 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 AML debugger code to use new interfaceJordan Hargrave
ok marco@
2006-10-19Fix capacity calculations. Tested on Dell C610, D810, Lenovo X60s.Marco Peereboom
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-19Fixed acpitz match functionJordan Hargrave
ok marco@
2006-10-19Merged target/terminal handling codeJordan Hargrave
Added function call pointer to opcode table _BIF working on Dell, IBM ok marco@
2006-10-16added amltypes.h stack modJordan Hargrave
ok marco@
2006-10-15fix broken scope bracesJordan Hargrave
added debug print to gasio ok marco@
2006-10-15Fixed buggy if-else end scopeJordan Hargrave
Fixed multi-level deref/index for thinkpads Some KNF ok marco@
2006-10-15Removed old GPE handler code remnantsJordan Hargrave
ok marco@
2006-10-15Remove extra increment of bitmask. ok jordan@Can Erkin Acar