summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2007-03-03Stop looking for acpidock until we fix that stuff that breaks all pre-60Michael Knudsen
series ThinkPads with acpidock(4) enabled.
2007-02-27please, check it compiles before you commitTheo de Raadt
2007-02-27Added fix for condref, free storing into valueJordan Hargrave
ok marco
2007-02-23Added support for getting host-bridge _BBN from _CRS resourcesJordan Hargrave
suggestions by kettenis ok marco@
2007-02-22We were getting no interrupts in .MP. There are 2 fixes; one inMarco Peereboom
acpi_machdep.c and move the interrupt establishment down after ioapic has been initialized. ok jordan
2007-02-22Fixed ACPITIMER header revision for ACPI2.0 onlyJordan Hargrave
ok marco@
2007-02-22New resource mapper interface and structuresJordan Hargrave
ok marco@
2007-02-21Fix stuttering audio playback as reported by Igor Grabin.Marco Peereboom
Tested by several folks and ok canacar
2007-02-21Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode.Mark Kettenis
ok marco@
2007-02-21Fix a few memory leaks.Marco Peereboom
ok jordan@
2007-02-21KNFMarco Peereboom
2007-02-21Some 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-21Fixed deref for storing to local after CondRef opJordan Hargrave
ok marco@
2007-02-20It helps to enable hpet... This fixes bnx not working on amd64.Marco Peereboom
2007-02-20KNF while here.Marco Peereboom
2007-02-20KNF while in here.Marco Peereboom
2007-02-20Move AML_OBJDEBUG into ACPI_DEBUG.Marco Peereboom
KNF while in here too.
2007-02-19Added acpi_map_address function for mapping GAS/IO registersJordan Hargrave
ok marco@
2007-02-18Added dynamic perfect hash for opcodesJordan Hargrave
ok marco@
2007-02-18Shave off another K pre compression.Marco Peereboom
Shuffle SMALL_KERNEL functions around so that we only have a single #ifndef
2007-02-17Add SMALL_KERNEL throught acpi to make it fit on boot media.Marco Peereboom
ok deraadt
2007-02-17Since 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-15Change some functions so there's only one exit point. This should makeMichael Knudsen
it harder to introduce leaks in the code.
2007-02-15Let 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-15Don't clear the struct aml_value res when aml_evalnode() does thisMichael Knudsen
anyway. Also clean up a bit.
2007-02-14Cleanup and hide debug messages.Mark Kettenis
2007-02-14Quiet a noisy debug message by using dnprintf instead of printf.Deanna Phillips
ok marco
2007-02-13Fixed stupid bit mangling on index fieldsJordan Hargrave
Changed field read/write code for special case aligned, non-aligned read/write ok marco@
2007-02-13Add smarter _INI code. This helps with some dissapearing devices.Marco Peereboom
ok kettenis jordan
2007-02-06Added support for calling _OSI methodJordan Hargrave
Display byte/word/string/nameref for aml_mnem function ok marco@
2007-02-03Change sensor description to `docked'/`not docked' depending on actualMichael Knudsen
state. This is more in line with acpiac and acpibat, and it confuses me less when I look at the sensor output.
2007-01-31Introduce acpi_hasprocfvs thats "ACPI Has Processor Frequency and VoltageGordon Willem Klok
Scalling" a global flag set by acicpu attach to indicate that ACPI is handling fvs through the _PSS objects. This will fix disappearing EST/powernow when booting kernels with acpi enabled, as acpicpu isnt compiled into GENERIC yet. Also in cases where acpicpu is built in and legacy EST/powernow work but acpi is missing the _PSS object, the legacy routines will be used. tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net> ok marco@, dim@
2007-01-28Fix pasto.Mark Kettenis
2007-01-28Properly route lapic NMIs.Mark Kettenis
2007-01-27Add some more _STA flags.Marco Peereboom
2007-01-27No need to invoke _INI explicitly as this is currently doneMichael Knudsen
automagically out by some acpi voodoo. Pointed out by marco.
2007-01-27Don't invoke methods on the wrong devnode. Sigh.Michael Knudsen
2007-01-27Unbreak build with ACPI_DEBUG.Michael Knudsen
2007-01-27Only set sensor to on when ACPIDOCK_STATUS_DOCKED. Before it would alsoMichael Knudsen
be on if ACPIDOCK_STATUS_UNKNOWN.
2007-01-27Delay status report during attach until after invoking _DCK.Michael Knudsen
2007-01-27Say ``docking station'' instead of ``docked'' in the sensor descriptionMichael Knudsen
because this confuses me when I read it: hw.sensors.acpidock0.indicator0=Off, (docked)
2007-01-27Reading the spec again it seems I missed that the _INI methodMichael Knudsen
should be invoked only when _STA says the device is present. Change acpidock_attach to this.
2007-01-26Actually add the acpidock indicator sensor stuff to the softc struct soMichael 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-25Be a bit more verbose during attach even without ACPI_DEBUG for now.Michael Knudsen
2007-01-25Install 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-25Make debug output a tad more consistent.Michael Knudsen
2007-01-25Remove comment that I committed by accident.Michael Knudsen
2007-01-25Do the sensor magic correctly. Found by Constantine Murenin.Marco Peereboom
help from mickey
2007-01-24Deal with weird systems that return bogus device numbers for stuff that's notMark Kettenis
really there.
2007-01-23Fixes for static integer settingJordan Hargrave
thanks to giovanni ok marco@