Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-01-27 | Say ``docking station'' instead of ``docked'' in the sensor description | Michael Knudsen | |
because this confuses me when I read it: hw.sensors.acpidock0.indicator0=Off, (docked) | |||
2007-01-27 | Reading the spec again it seems I missed that the _INI method | Michael Knudsen | |
should be invoked only when _STA says the device is present. Change acpidock_attach to this. | |||
2007-01-26 | Actually add the acpidock indicator sensor stuff to the softc struct so | Michael Knudsen | |
acpidock compiles. I had this in my tree and forgot to commit with the acpidock.c change yesterday. :( Reported by Johan Mson Lindman. | |||
2007-01-25 | Be a bit more verbose during attach even without ACPI_DEBUG for now. | Michael Knudsen | |
2007-01-25 | Install an indicator sensor to show if we're docked or not. | Michael Knudsen | |
Note that right now status appears to not be detected correctly on all machines, but let's expose what we think we know. | |||
2007-01-25 | Make debug output a tad more consistent. | Michael Knudsen | |
2007-01-25 | Remove comment that I committed by accident. | Michael Knudsen | |
2007-01-25 | Do the sensor magic correctly. Found by Constantine Murenin. | Marco Peereboom | |
help from mickey | |||
2007-01-24 | Deal with weird systems that return bogus device numbers for stuff that's not | Mark Kettenis | |
really there. | |||
2007-01-23 | Fixes for static integer setting | Jordan Hargrave | |
thanks to giovanni ok marco@ | |||
2007-01-22 | Fix a comment and reduce the chattyness of some debug. | Michael Knudsen | |
2007-01-22 | Some nits from fkr@, thanks! | Michael Knudsen | |
2007-01-22 | Actually look for docking stations by looking for _DCK nodes. | Michael Knudsen | |
ok marco | |||
2007-01-22 | Tell config about acpidock. | Michael Knudsen | |
ok marco | |||
2007-01-22 | Add driver for ACPI docking stations. | Michael Knudsen | |
Not completely functional yet, e.g. undocking doesn't work yet but put it in the tree to be able to safely work on this. ok marco | |||
2007-01-18 | Check whether PCI interrupt link devices are enabled. | Mark Kettenis | |
Based on a diff from marco@. | |||
2007-01-18 | Added fix for static integer | Jordan Hargrave | |
ok marco@ | |||
2007-01-16 | Fix invalid _CRS length. Some aml implementations lie about how long a | Marco Peereboom | |
_CRS buffer is and this compensates for it by fixing up the minimum value. This fixes several machines that end up with invalid irq/ioapic values. KNF nit as well Code from jordan, tested on Intel SHG2 board (he committed this agains my local tree) | |||
2007-01-11 | Assume that the first cpu in the table is the boot processor, instead of | Mark Kettenis | |
the cpu with apic id 0. tested by many | |||
2007-01-03 | Oops forgot this bit as part of the cleanup for acpiac. From Constantine | Marco Peereboom | |
Murinen. | |||
2007-01-03 | Consistent naming for the sensors. | Marco Peereboom | |
From Constantine Murenin <mureninc at gmail dot com> | |||
2007-01-02 | On some systems EC must be attached as the first device. Move EC from | Marco Peereboom | |
generic _HID devices to its own routine to force first attach. Bug found and debugged by joris@ Code mostly written by joris@ | |||
2006-12-29 | Replace setperf algorithm with a linear version. Also use the aml provided | Marco Peereboom | |
gasio structure when appropriate instead of always assuming 32 bit access. Fixes my Dell laptop and works on others tested. | |||
2006-12-28 | Prettify dmesg a bit for attach with power state being either offline or | Michael Knudsen | |
unknown. ok marco (who already had this change in his tree but said I should commit) | |||
2006-12-26 | Add polling to devices that require it such as acpibat and acpitz. | Marco Peereboom | |
Use the same tsleep/wakeup mechanism as the interrupt code to keep it non- concurrent. | |||
2006-12-23 | adapt to new two-level sensor api; Constantine A. Murenin | Theo de Raadt | |
2006-12-23 | Move the handling of SCI events to the acpiec gpe handler. | Can Erkin Acar | |
ok marco@ | |||
2006-12-23 | Correctly compute timeout value in acpi_sleep. | Can Erkin Acar | |
Also make sure it is non zero. ok marco@ | |||
2006-12-22 | spacing | Theo de Raadt | |
2006-12-21 | even more knf love | Theo de Raadt | |
2006-12-21 | Tweak to report full battery. | Marco Peereboom | |
2006-12-21 | spacing | Theo de Raadt | |
2006-12-21 | more knf | Theo de Raadt | |
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 | |