xtraeme
9c392ba6f4
Repeat after me, use __KERNEL_RCSID.
2006-07-05 18:17:59 +00:00
christos
01158ea892
Apply fvdl's acpi pci interrupt configuration code.
...
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
2006-07-04 00:30:21 +00:00
bouyer
0692f212b3
Move acpi_timer.h outside of __HAVE_TIMECOUNTER, as we need acpitimer_init()
...
for the non-timecounter case too.
2006-07-02 18:53:33 +00:00
christos
46e62b977f
- use aprint instead of printf.
...
- centralize all the suspend/resume glue in one function.
2006-07-01 21:44:13 +00:00
xtraeme
8ad8d8401b
Add __KERNEL_RCSID().
2006-06-30 23:21:19 +00:00
xtraeme
1f14228ee9
Remove a debug printf.
2006-06-30 23:19:40 +00:00
drochner
3ce3b9b485
test the PM timer for glitches (using the algorithm from FreeBSD)
...
and use a single read if the timer looks good,
patch from Juan RP, with minor simplification by me
2006-06-26 12:29:36 +00:00
tsarna
d0e9109021
fix typo: idicator -> indicator
2006-06-24 23:40:50 +00:00
drochner
c14d23ac86
First cut on an implementation of an ACPI power management counter
...
backend for timecounters.
Due to known bugs in some chipsets, always read until we get 3 successive
samples which are monotonic, as FreeBSD does in its "safe" variant.
This can be refined later, either by chipset quirks or by a test (as
FreeBSD does).
2006-06-21 17:47:23 +00:00
cube
8b8d583b02
When we consume a resource definition from _PRS, advance to the next one.
...
Otherwise, if there are two resources definitions of the same type in _CRS,
the same one from _PRS will be used twice, which of course leads to errors.
Note: _PRS is Possible Resources Set
_CRS is Current Resources Set
XXX acpi_allocate_resources is still very weak, e.g. it completely ignores
StartDependentFn entries which are kind of a switch. But at least it's
slightly better that way.
Tested by jmcneill@.
2006-06-20 12:31:19 +00:00
jmcneill
a3f69214b6
acpi_pci_fixup didn't work as well as I had hoped; don't bother for now.
2006-06-19 10:18:08 +00:00
jmcneill
3aa64055a0
Fixup PCI interrupt routing using ACPI tables on return from S3 sleep.
...
Requires options PCI_INTR_FIXUP in your kernel.
2006-06-19 02:32:12 +00:00
jmcneill
66bdce4546
EXPERIMENTAL: Add sysctl for triggering ACPI sleep. This interface is not
...
stable, so do not depend on it!
To trigger sleep:
# sysctl -w machdep.sleep_state=<n>
Where <n> is typically 1 (standby), 3 (suspend), or 4 (hibernate).
2006-06-15 18:05:08 +00:00
elad
2867b68bc3
integrate kauth.
2006-05-14 21:42:26 +00:00
dogcow
12d973491c
gcc4: 'Data' may be used uninitialized in this function
2006-05-14 03:02:14 +00:00
rpaulo
5cd433e986
My laptop sends DeviceCheck instead of PowerSourceStatusChanged.
2006-04-30 20:44:35 +00:00
kochi
bde9af0a6f
NULL check for a parameter of AcpiOsSignal().
...
The upper layer (ACPI-CA) might call with NULL pointer.
This should resolve Coverity CID 1114.
2006-04-13 08:27:09 +00:00
kochi
046e0fba2e
Change header location in accordance with moving ACPI-CA to sys/dist/acpica
2006-03-23 13:46:13 +00:00
kochi
143b386a80
change header location in accordance with moving ACPI-CA to sys/dist
2006-03-23 13:45:11 +00:00
kochi
31d00d1ca0
Move ACPI-CA to sys/dist/acpica.
...
also move ACPI-CA OS dependent sources from sys/dev/acpi/acpica/Osd to
sys/dev/acpi/acpica.
2006-03-23 13:44:10 +00:00
kochi
f0c5abbdc8
Move to sys/dev/acpi/acpica.
2006-03-23 13:43:05 +00:00
kochi
f4afd64ab0
Move to sys/dist/acpica.
...
suggested by cube.
2006-03-23 13:42:25 +00:00
kochi
cf31c67b37
Move from sys/dev/acpi/acpica/Osd.
2006-03-23 13:41:13 +00:00
kochi
90cb0d3a79
Merge ACPI-CA 20060217
2006-03-12 06:48:15 +00:00
cube
20468175d2
Regen.
2006-03-01 09:30:22 +00:00
cube
687f061948
Add INT0800 (Intel FWH RNG). Make tabulation consistent.
2006-03-01 09:29:47 +00:00
cube
2d6c09f7a7
Resource lists end with END_TAG, not END_DEPENDENT. Makes the
...
PCI_INTR_FIXUP code "work" again.
Most of the time it will produce a warning about a misaligned resource
pointer, but it's harmless, and the warning was removed in the next version
of the ACPI-CA code.
2006-02-26 18:46:04 +00:00
wiz
078081c6ad
Fix typo in aprint argument.
2006-02-23 17:38:03 +00:00
kochi
6f20259365
use aprint_*
2006-02-20 12:17:49 +00:00
kochi
f172eb96ae
regen.
2006-02-17 04:34:00 +00:00
kochi
5f0ceef69b
Correct some existing device names (PCI bridges, ACPI buses) according
...
to the up-to-date specs (ACPI 3.0a/PCI Firmware spec 3.0).
Add some ACPI specific devices (ACPI000x).
2006-02-17 04:33:12 +00:00
kochi
9fca0c53be
define acpi_dbgr as static
2006-02-16 09:23:23 +00:00
kochi
92d51ace0f
prototypes don't need argument names
2006-02-16 06:19:26 +00:00
kochi
539e1b8f22
use ACPI_FAILURE() macro instead of directly check AE_OK
2006-02-16 06:18:59 +00:00
kochi
0cdeab4c58
remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
...
compatibility of our old driver behavior, which is not necessary.
2006-01-31 09:30:06 +00:00
kochi
9e72fe1e5e
adapt for ACPI-CA 20060113
2006-01-29 03:12:22 +00:00
kochi
5d63813b95
Merge ACPI-CA 20060113
2006-01-29 03:11:26 +00:00
kochi
86bf0f2eb2
Merge ACPI-CA 20060113 (new files)
...
CVg: Committing in .CPI-CA 20060113'
2006-01-29 03:10:55 +00:00
kochi
2564e681ae
Merge ACPI-CA 20060113
2006-01-29 03:05:46 +00:00
kochi
13bafec3c5
Import the INTEL ACPI-CA 20060113
2006-01-29 03:02:40 +00:00
rpaulo
69846c9381
More comments fixing.
2006-01-05 17:13:20 +00:00
rpaulo
e438cb4b93
* defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
...
* adjust comments to reality
2006-01-05 16:56:54 +00:00
perry
93124077ae
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:27:29 +00:00
sekiya
469147a42c
I fixed the cardbus bus enumeration problem awhile back, but the interrupt
...
fixup problems remain. Adjust TODO comments to match, and add a link to
cube's comments.
2005-12-21 08:48:25 +00:00
cube
9af385388e
machdep.acpi_root -> hw.acpi.root, as discussed on source-changes.
2005-12-13 23:27:31 +00:00
cube
3de4cab6f7
Move the (one liner) logic of AcpiOsGetRootPointer() out of acpica/Osd to
...
acpi.c and take the opportunity to create a sysctl node that contains the
address of the main ACPI table.
The name of the node, "machdep.acpi_root", is questionable but matches the
one FreeBSD has, which will make it easier to port their acpidump(8)
program.
2005-12-12 15:04:50 +00:00
rpaulo
c747cf7094
Add NSC (NSC6001) IRDA device.
2005-12-11 18:48:51 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
rpaulo
861d507d5b
regen
2005-11-12 11:54:29 +00:00
rpaulo
645b6b622a
Add ACPI Three-wire Device Bus.
2005-11-12 11:53:30 +00:00