Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-21 | more minor knf | Theo de Raadt | |
2006-12-21 | Remove some leftover acpiec gpe/interrupt code. | Marco Peereboom | |
2006-12-21 | Remove some more remnants of old acpiec_wait function. | Marco Peereboom | |
Rename acpiec_wait_nosleep to acpiec_wait since the old sleeping function is gone anyway. Redo waiting loop to shave some more bytes of. Tabing, spacing and some more KNF. | |||
2006-12-21 | KNF | Marco Peereboom | |
2006-12-21 | Fix silly logic errors. | Marco Peereboom | |
2006-12-21 | Silence acpibat significantly and shave off about 1k. Also add some smarts | Marco Peereboom | |
for battery removal and insertion. | |||
2006-12-21 | ECs are weird in that they generate many interrupts. One for the actual | Marco Peereboom | |
event and a bunch while doing reads and writes. Now that we have reworked the interrupt code it is no longer workable to catch both in the same handler. So from now on no longer sleep but simply delay. Removed the sleep wait function completely to save some bytes too. Worst meassured delay was 160us. These events are infrequent (pulling ac cable etc). | |||
2006-12-20 | Decalre extern int cpuspeed in sys/arch/amd64/include/cpu.h like cpuspeed | Gordon Willem Klok | |
is declared in the equivalent file on i386 and delete the repeticious declarations already scattered in a few places. Thanks to Will Backman for letting me test this on his machine, ok mk@ | |||
2006-12-20 | nearly complete knf | Theo de Raadt | |
2006-12-20 | first steps of knf (trying not to step on jordan's feet too much); ok marco | Theo de Raadt | |
2006-12-20 | "#ifdef is a tool of the weak!" | Gordon Willem Klok | |
Rename pentium_mhz to cpuspeed which is consistant with amd64 making shared ACPI code less nasty. ok marco, deraadt | |||
2006-12-20 | oops, name already used | Theo de Raadt | |
2006-12-20 | skip the perfect hash for now since it wastes a lot of kernel memory, | Theo de Raadt | |
and fails to fit onto the floppies. for now, do a linear search, but someone should sort the instructions and use bsearch; ok marco | |||
2006-12-20 | rename __acpi_enable_gpe(); ok marco | Theo de Raadt | |
2006-12-20 | acpi_unmap_pmregs() is not used, ok marco | Theo de Raadt | |
2006-12-19 | slight cleaning | Theo de Raadt | |
2006-12-19 | spacing | Gordon Willem Klok | |
2006-12-19 | knf + delete unused variables | Theo de Raadt | |
2006-12-19 | Add sanity to check for mfg overriden gasio field. | Marco Peereboom | |
2006-12-19 | Hook up acpicpu to the hw.setperf mechanism, this allows people running | Gordon Willem Klok | |
ACPI kernels built with the acpicpu diff to scale processor and frequency voltage, various incarnations tested by brad, thib, johan m:son lindman. ok marco | |||
2006-12-19 | simplify some low-level methods substantially (shrinking code); ok marco jordan | Theo de Raadt | |
2006-12-18 | Remove misleading NOTREACHED comments. Sending a signal does not | Can Erkin Acar | |
stop execution. Noticed by deraadt@ | |||
2006-12-18 | our panic() can take stdarg arguments | Theo de Raadt | |
2006-12-18 | minor cleaning; ok marco | Theo de Raadt | |
2006-12-18 | move proto to the right place | Theo de Raadt | |
2006-12-12 | Fix a typo to clean M's out of my tree. | Michael Knudsen | |
2006-12-12 | There 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-06 | malloc(..., 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-29 | Unused global variable. | Miod Vallat | |
2006-11-29 | After a long debate at the hackathon it was decided that the acpi implementation | Marco Peereboom | |
is not concurrent if the sensors thread goes away. This makes acpi completly lockless. help and ok dlg | |||
2006-11-29 | Do not consider unrecognized buttons as lid sensors. ok marco@ | Miod Vallat | |
2006-11-28 | Fixed clearing arg for acpi_init_pic | Jordan Hargrave | |
ok kettenis@ | |||
2006-11-27 | Post-process PCI config space opregions | Jordan Hargrave | |
Fixed acpiprt for stinky presario v3000 ok marco@ | |||
2006-11-27 | Don't spam dmesg. | Mark Kettenis | |
2006-11-27 | Make normal pic interrupt routing work too. | Mark Kettenis | |
2006-11-27 | Make AML_CRSLEN return the correct length for small resources. | Mark Kettenis | |
ok jordan@ | |||
2006-11-27 | Add check for acpi pointer. This prevents some ugly panics. | Marco Peereboom | |
ok ketennis. | |||
2006-11-27 | Fixes for acpiprt routing | Jordan Hargrave | |
Post-parse fixup for namerefs ok kettenis@ | |||
2006-11-27 | Added support for parsing _CRS resources | Jordan Hargrave | |
Post-parsing fixup for forward name references | |||
2006-11-27 | Handle objrefs in _PRT. | Mark Kettenis | |
ok jordan@ | |||
2006-11-25 | Add mutex. | Marco Peereboom | |
prodded dlg, ok jordan | |||
2006-11-25 | sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for ↵ | Niklas Hallqvist | |
multi-ioapic systems. ok kettenis | |||
2006-11-25 | Don't handle acpiev events inside the gpe handler since this causes deadlocks. | Marco Peereboom | |
ok jordan@ | |||
2006-11-25 | Fixed acpiec code for deadlock | Jordan Hargrave | |
acpiec events are handled at GPE/thread context, no longer need wakeup cVS: ---------------------------------------------------------------------- | |||
2006-11-20 | Added 2nd pass for interrupt override scanning | Jordan Hargrave | |
ok kettenis@ | |||
2006-11-15 | Hook up acpi apic interrupt routing support to generic acpi code. | Mark Kettenis | |
ok jordan@ | |||
2006-11-15 | dd pseudo-devices to handle acpi apic interrupt routing. | Mark Kettenis | |
ok jordan@ | |||
2006-11-11 | Add acpi_sleep and acpi_stall functions. | Marco Peereboom | |
ok jordan | |||
2006-11-02 | Kill acpiec attach function and add its functionality to the generic _HID | Marco Peereboom | |
device attach prodded and ok jordan |