Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-31 | Make powernow-k8 on amd64 and i386 use the _PSS object from acpi to | Gordon Willem Klok | |
retreive p_state data as spelled out in the amd64 bios and kernel developers guide. This code is still a little rough around the edges but has been tested by myself on a tyan machine and by phessler at theapt dot org on an HP DL145. This diff also takes a first stab and cleaning up the acpicpu dmesg spam. ok tedu, marco | |||
2007-05-28 | fix build when ACPI_DEBUG is defined | Robert Nagy | |
2007-05-28 | Eliminate unsightly blank lines in dmesg. | Kenneth R Westerback | |
ok marco@ | |||
2007-05-06 | at least always print a new line, even if NOPSS | Ted Unangst | |
2007-04-23 | When receiving an undock request, walk the list of dependant devices | Michael Knudsen | |
and pull their _EJ0 knobs before undocking. This ejects any dependant devices (if necessary) before actually undocking. Without this, the usb hub in my X6 gets upset when it's suddenly kicked off the system without warning, and upon redocking it attaches as uberry. Now it's behaving as it should. | |||
2007-04-23 | When adding a device node to the list of dependant devices, don't add | Michael Knudsen | |
the _EJD node. Instead, add the parent actual device node instead which makes more sense and makes sure that it doesn't matter if the _EJ0 node under a device node comes before the _EJD node. | |||
2007-04-23 | In acpidock_softc, change sc_sens from being a one element long array to | Michael Knudsen | |
simply being a single struct ksensor. | |||
2007-04-23 | spacing and some really long lines | Gordon Willem Klok | |
2007-04-22 | Whitespace cleanup. | Michael Knudsen | |
2007-04-22 | Remove unnecessary local variable in acpidock_status() and kill an XXX | Michael Knudsen | |
by using STA_PRESENT instead of home-brewed value. | |||
2007-04-22 | Add a TAILQ, aml_nodelist, of devices depending on the dock device to | Michael Knudsen | |
struct acpidock_softc and stuff devices into it during attach. This list is not yet used, but I have code ready to handle the ACPI side of this. However, it still doesn't handle that there may in fact be multiple dock devices in a machine (e.g. on pre-60 series ThinkPads), but I need to figure out how to do so properly first. In the mean time I want this in the tree so I don't lose the code. | |||
2007-04-17 | Now that acpidock no longer hangs machines during boot (at least | Michael Knudsen | |
according to the reports I've been getting) it should be safe to enable it again, so remove the #if 0 stuff around it. ok marco | |||
2007-04-17 | Fix a really emberrassing bug: Do not unconditionally call _DCK with a | Michael Knudsen | |
parameter of 1 (dock). This was causing acpidock to attempt to dock even if the machine was not in its dock which was causing hangs on pre-60 series ThinkPads. It was also causing my X60 to not see NOTIFY 0 (dock) messages which would initiate the docking sequence. Diff from Matthew R. Dempsky. Tested on X60 by me, on T42/43 by brad, ckuethe, reyk, Johan M:son, and on T21 by reyk. I think someone also tested on X40/41 but I don't remember who. Thanks a lot. | |||
2007-04-16 | Fix debug info when docking/undocking so it tells users what they need | Michael Knudsen | |
to know: acpidock0: undock: status undocked acpidock0: dock: status docked This gets rid of all the garbage output that I used long ago. | |||
2007-04-11 | Added changes for C-State | Jordan Hargrave | |
ok marco@ | |||
2007-04-06 | Fix a strange typo and don't set sc_docked in acpidock_dockctl(). It's | Michael Knudsen | |
being handled by acpidock_status(). From Matthew R. Dempsky who had another chunk in his diff that I didn't include. It's correct, but it seems to cause some strange regression on my X60 that I need to look into first. | |||
2007-03-26 | Don't leak memory. | Marco Peereboom | |
From giovanni <qgiovanni@gmail.com> | |||
2007-03-26 | Calculate minutes left more accurately. | Marco Peereboom | |
From giovanni <qgiovanni@gmail.com> | |||
2007-03-23 | Fix set to already set local | Jordan Hargrave | |
ok marco@ | |||
2007-03-22 | split userland & kernel struct sensor/sensordev so that the addition | Theo de Raadt | |
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert | |||
2007-03-20 | Use aml_val2int() instead of accessing v_integer directly. | Michael Knudsen | |
`sort of ok' marco (before lock) | |||
2007-03-03 | Stop looking for acpidock until we fix that stuff that breaks all pre-60 | Michael Knudsen | |
series ThinkPads with acpidock(4) enabled. | |||
2007-02-27 | please, check it compiles before you commit | Theo de Raadt | |
2007-02-27 | Added fix for condref, free storing into value | Jordan Hargrave | |
ok marco | |||
2007-02-23 | Added support for getting host-bridge _BBN from _CRS resources | Jordan Hargrave | |
suggestions by kettenis ok marco@ | |||
2007-02-22 | We were getting no interrupts in .MP. There are 2 fixes; one in | Marco Peereboom | |
acpi_machdep.c and move the interrupt establishment down after ioapic has been initialized. ok jordan | |||
2007-02-22 | Fixed ACPITIMER header revision for ACPI2.0 only | Jordan Hargrave | |
ok marco@ | |||
2007-02-22 | New resource mapper interface and structures | Jordan Hargrave | |
ok marco@ | |||
2007-02-21 | Fix stuttering audio playback as reported by Igor Grabin. | Marco Peereboom | |
Tested by several folks and ok canacar | |||
2007-02-21 | Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode. | Mark Kettenis | |
ok marco@ | |||
2007-02-21 | Fix a few memory leaks. | Marco Peereboom | |
ok jordan@ | |||
2007-02-21 | KNF | Marco Peereboom | |
2007-02-21 | Some Sony VAIOs use the wrong eventing type. Work around that by honering it. | Marco Peereboom | |
Found by giovanni <qgiovanni @ gmail . com> ok jordan | |||
2007-02-21 | Fixed deref for storing to local after CondRef op | Jordan Hargrave | |
ok marco@ | |||
2007-02-20 | It helps to enable hpet... This fixes bnx not working on amd64. | Marco Peereboom | |
2007-02-20 | KNF while here. | Marco Peereboom | |
2007-02-20 | KNF while in here. | Marco Peereboom | |
2007-02-20 | Move AML_OBJDEBUG into ACPI_DEBUG. | Marco Peereboom | |
KNF while in here too. | |||
2007-02-19 | Added acpi_map_address function for mapping GAS/IO registers | Jordan Hargrave | |
ok marco@ | |||
2007-02-18 | Added dynamic perfect hash for opcodes | Jordan Hargrave | |
ok marco@ | |||
2007-02-18 | Shave off another K pre compression. | Marco Peereboom | |
Shuffle SMALL_KERNEL functions around so that we only have a single #ifndef | |||
2007-02-17 | Add SMALL_KERNEL throught acpi to make it fit on boot media. | Marco Peereboom | |
ok deraadt | |||
2007-02-17 | Since a full battery can still have state BST_CHARGE ("charging"), | Deanna Phillips | |
fullness needs to be checked first. Otherwise, full batteries are always described as "charging." ok marco | |||
2007-02-15 | Change some functions so there's only one exit point. This should make | Michael Knudsen | |
it harder to introduce leaks in the code. | |||
2007-02-15 | Let acpidock_eject take an extra argument of what node to call _EJ0 on. | Michael Knudsen | |
Will be used when ejecting devices sitting in the dock. | |||
2007-02-15 | Don't clear the struct aml_value res when aml_evalnode() does this | Michael Knudsen | |
anyway. Also clean up a bit. | |||
2007-02-14 | Cleanup and hide debug messages. | Mark Kettenis | |
2007-02-14 | Quiet a noisy debug message by using dnprintf instead of printf. | Deanna Phillips | |
ok marco | |||
2007-02-13 | Fixed stupid bit mangling on index fields | Jordan Hargrave | |
Changed field read/write code for special case aligned, non-aligned read/write ok marco@ | |||
2007-02-13 | Add smarter _INI code. This helps with some dissapearing devices. | Marco Peereboom | |
ok kettenis jordan |