Age | Commit message (Collapse) | Author |
|
ok marco@
|
|
ok weingart@, marco@
|
|
which returns invalid pointers if the value is not a string, causing
acpibat to panic, as reported by mbalmer@ and Alexey Suslikov.
tested by Alexey Suslikov, ok marco@
|
|
|
|
that acpi ramdisks can compile (obvious solution)
|
|
GENERIC.MP kernels not getting acpi interrupts. This is a
workaround until the real issue with late establishment is fixed.
ok weingart@, beck@, gwk@
|
|
functionality for ACPI. Has not shown any regressions, and may solve
some EC race conditions.
Ok gwk@, canacar@, ckuethe@
|
|
Patch from Oleg Safiullin (a.k.a form@)
ok kettenis canacar weingart
|
|
cool ckuethe@
|
|
differently based on what OS is running. This diff causes us to run the
RedmondOS code path in hopes that it is "better" AML, or has better settings
for machine that do not support _OSI. This is the same method used by
other non-Redmond operating sytems.
suggestions/ok deraadt, agonized whimpers from the others.
|
|
ok beck@
|
|
ok beck@,weingart@,gwk@
|
|
Noticed by robert@ while diagnosing a problem report by
Johan Lindman. ok weingart@
|
|
The values are truncated or zero extended as required. The spec
is somewhat ambigious on strings and integers requiring truncation
"before copy" so we try to be safe and zero terminate the buffer
in case the source is string.
Reported by ckuethe@, diagnosis, initial diff and feedback by kettenis@
ok kettenis@, beck@, weingart@, robert@, gwk@, ckuethe@
|
|
|
|
|
|
|
|
differently based on what OS is running. This diff causes us to run the
WinNT code path in hopes that it is "better" AML, or has better settings
for machine that do not support _OSI. This is the same method used by
other non-windows operating sytems.
ok gwk, beck, jordan
|
|
ok canacar@
|
|
actually enabled and functioning. Similar to what we do for _INI.
ok weingart@, beck@
|
|
size(*p) as the first malloc() parameter where p is declared locally
and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
even though there is no obvious bzero or memset nearby.
|
|
ok toby
|
|
Fixes mk's laptop. No regressions so far (thank you to the
testers).
ok gwk@, mk@, marco@
|
|
a bit of whitespace cleanup while here.
ok otto, deraadt
|
|
This should get rid of the "multiple bus 0" problem seen on some machines,
and fix PCI interrupt routing on them.
ok marco@ (a while ago)
|
|
incorrectly use it when signaling events. ok marco@
|
|
it. Fixes marco@'s post c2k7 panics.
ok marco
|
|
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
|
|
|
|
ok marco@
|
|
|
|
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.
|
|
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.
|
|
simply being a single struct ksensor.
|
|
|
|
|
|
by using STA_PRESENT instead of home-brewed value.
|
|
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.
|
|
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
|
|
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.
|
|
to know:
acpidock0: undock: status undocked
acpidock0: dock: status docked
This gets rid of all the garbage output that I used long ago.
|
|
ok marco@
|
|
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.
|
|
From giovanni <qgiovanni@gmail.com>
|
|
From giovanni <qgiovanni@gmail.com>
|
|
ok marco@
|
|
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
|
|
`sort of ok' marco (before lock)
|
|
series ThinkPads with acpidock(4) enabled.
|
|
|