summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Collapse)Author
2006-08-27Complete the declaration.christos
2006-08-27Delete unsigned comparison with < 0christos
2006-08-20PR/34241: Dave Sainty: Bound a memcpy to the sizeof the buffer where wechristos
are trying to save the contents, instead of trying to copy what the lenght of the acpi resource tells us.
2006-08-14ACPI frontend for Yamaha OPL3-SA[23].itohy
Derived from PR kern/33991 by jasper at pointless dot net.
2006-08-06PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)christos
- make sleep state corresponding to standby/suspend changeable by using sysctl, - make sure to generate APM events appropriately. - arrange the code for getting power status.
2006-08-06PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)christos
acpiapm(4) always matches the first node of AML, which is unrelated with acpiapm. Separate acpi(4)'s children into two individual interface attributes.
2006-07-14Make this build again and fix the bus_space_tag_t member of the softc,xtraeme
it's defined in the com_regs struct now.
2006-07-13Add an option COM_REGMAP to allow com(4) to use an array of register indices.gdamore
This allows us to convert aucom to just another com attachment, and cleanup some code in the com_arbus.c. Additionally, we use a common com_cleanup routine rather than having a zillion copies of it in the attachment points. This has been tested on a number architectures, and it has been shown to get close to comparable performance when COM_REGMAP is defined, and comparable when it is not defined. Approved by core@. Fixes PR port-evbmips/32362.
2006-07-12Fix typo (discarge -> discharge).hira
2006-07-12Prevent zerodivide (from Kouichirou Hiratsuka)christos
2006-07-10Do not try to disable link devices (using _DIS) at startup. This causesfvdl
problems on some systems. Leave the code commented out, we might want to revisit this at some point in the future.
2006-07-09url for M$ file changed.christos
2006-07-08Add acpi apm attachment based on sysmon hooks.christos
2006-07-05Repeat after me, use __KERNEL_RCSID.xtraeme
2006-07-04Apply fvdl's acpi pci interrupt configuration code.christos
- MPACPI is no more. - MPACPI_SCANPCI -> ACPI_SCANPCI
2006-07-02Move acpi_timer.h outside of __HAVE_TIMECOUNTER, as we need acpitimer_init()bouyer
for the non-timecounter case too.
2006-07-01- use aprint instead of printf.christos
- centralize all the suspend/resume glue in one function.
2006-06-30Add __KERNEL_RCSID().xtraeme
2006-06-30Remove a debug printf.xtraeme
2006-06-26test the PM timer for glitches (using the algorithm from FreeBSD)drochner
and use a single read if the timer looks good, patch from Juan RP, with minor simplification by me
2006-06-24fix typo: idicator -> indicatortsarna
2006-06-21First cut on an implementation of an ACPI power management counterdrochner
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-20When we consume a resource definition from _PRS, advance to the next one.cube
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-19acpi_pci_fixup didn't work as well as I had hoped; don't bother for now.jmcneill
2006-06-19Fixup PCI interrupt routing using ACPI tables on return from S3 sleep.jmcneill
Requires options PCI_INTR_FIXUP in your kernel.
2006-06-15EXPERIMENTAL: Add sysctl for triggering ACPI sleep. This interface is notjmcneill
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-05-14integrate kauth.elad
2006-05-14gcc4: 'Data' may be used uninitialized in this functiondogcow
2006-04-30My laptop sends DeviceCheck instead of PowerSourceStatusChanged.rpaulo
2006-04-13NULL check for a parameter of AcpiOsSignal().kochi
The upper layer (ACPI-CA) might call with NULL pointer. This should resolve Coverity CID 1114.
2006-03-23Change header location in accordance with moving ACPI-CA to sys/dist/acpicakochi
2006-03-23change header location in accordance with moving ACPI-CA to sys/distkochi
2006-03-23Move ACPI-CA to sys/dist/acpica.kochi
also move ACPI-CA OS dependent sources from sys/dev/acpi/acpica/Osd to sys/dev/acpi/acpica.
2006-03-23Move to sys/dev/acpi/acpica.kochi
2006-03-23Move to sys/dist/acpica.kochi
suggested by cube.
2006-03-23Move from sys/dev/acpi/acpica/Osd.kochi
2006-03-12Merge ACPI-CA 20060217kochi
2006-03-01Regen.cube
2006-03-01Add INT0800 (Intel FWH RNG). Make tabulation consistent.cube
2006-02-26Resource lists end with END_TAG, not END_DEPENDENT. Makes thecube
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-23Fix typo in aprint argument.wiz
2006-02-20use aprint_*kochi
2006-02-17regen.kochi
2006-02-17Correct some existing device names (PCI bridges, ACPI buses) accordingkochi
to the up-to-date specs (ACPI 3.0a/PCI Firmware spec 3.0). Add some ACPI specific devices (ACPI000x).
2006-02-16define acpi_dbgr as statickochi
2006-02-16prototypes don't need argument nameskochi
2006-02-16use ACPI_FAILURE() macro instead of directly check AE_OKkochi
2006-01-31remove ACPI_DISABLE_ON_POWEROFF option, which was there just forkochi
compatibility of our old driver behavior, which is not necessary.
2006-01-29adapt for ACPI-CA 20060113kochi
2006-01-29Merge ACPI-CA 20060113kochi