NetBSD

CVS log for src/sys/dev/acpi/files.acpi

[BACK] Up to [NetBSD] / src / sys / dev / acpi

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jan 22 07:44:28 2012 CET (2 weeks, 4 days ago) by christos
Branches: MAIN
CVS tags: HEAD
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +5 -1 lines
add a tpm driver from bsssd.sourceforge.net

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Sep 22 03:15:31 2011 (4 months, 2 weeks ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +1 -6 lines
valz(4) is superseded entirely by acpivga(4) these days.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Jul 13 09:52:48 2011 (6 months, 4 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +6 -1 lines
A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.

Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 16:19:57 2011 (7 months, 2 weeks ago) by cherry
Branches: cherry-xenmp
Diff to previous 1.88: preferred, colored next main 1.89: preferred, colored
Changes since revision 1.88: +8 -6 lines
Catchup with rmind-uvmplock merge.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Jun 14 15:59:23 2011 (7 months, 3 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +6 -4 lines
Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Jun 12 09:25:43 2011 (7 months, 4 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Rewrite the aibs(4) driver in order to support new models. Draws from the
revision 1.6 (claudio@) of the OpenBSD's equivalent driver. Tested by mrg@.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 11:07:42 2011 (8 months ago) by jruoho
Branches: jruoho-x86intr
Diff to previous 1.84: preferred, colored next main 1.85: preferred, colored
Changes since revision 1.84: +13 -12 lines
Sync with HEAD.

Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 21:53:04 2011 CET (11 months ago) by rmind
Branches: rmind-uvmplock
Diff to previous 1.67.2.2: preferred, colored to branchpoint 1.67: preferred, colored next main 1.68: preferred, colored
Changes since revision 1.67.2.2: +36 -3 lines
sync with head

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 16:10:16 2011 CET (11 months ago) by bouyer
Branches: bouyer-quota2
Diff to previous 1.86: preferred, colored next main 1.87: preferred, colored
Changes since revision 1.86: +6 -11 lines
Sync with HEAD

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Feb 27 18:10:33 2011 CET (11 months, 1 week ago) by jruoho
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: cherry-xenmp
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +1 -9 lines
Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Feb 20 09:31:46 2011 CET (11 months, 2 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +6 -3 lines
Split fujbp(4) and fujhk(4) to separate instances from fujitsu(4). Allows
modularization and takes care of tsutsui@'s justified concern over the too
generic name "fujitsu". Ok gsutre@.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Jan 17 16:55:24 2011 CET (12 months, 3 weeks ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2 lines
acpiwdrt needs sysmon_wdog

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Jan 17 16:49:13 2011 CET (12 months, 3 weeks ago) by jmcneill
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +8 -2 lines
Add a driver for ACPI "Watchdog Resource Table" devices.

  acpiwdrt0 at acpi0: mem 0xfed01000,0xfed01004
  acpiwdrt0: PCI 0:000:00:0 vendor 0x1106 product 0x3337
  acpiwdrt0: watchdog interval 1-1023 sec.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jan 9 16:12:34 2011 CET (13 months ago) by jruoho
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +6 -1 lines
Add a dummy-driver for ACPI fans.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Jan 5 21:08:12 2011 CET (13 months ago) by jruoho
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +6 -1 lines
Add a driver for ACPI power meters.

Revision 1.66.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 6 09:08:27 2010 CET (15 months ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.66.2.3: preferred, colored to branchpoint 1.66: preferred, colored next main 1.67: preferred, colored
Changes since revision 1.66.2.3: +8 -1 lines
Sync with HEAD.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Nov 5 11:28:20 2010 CET (15 months ago) by gsutre
Branches: MAIN
CVS tags: uebayasi-xip-base4, matt-mips64-premerge-20101231
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +8 -1 lines
Merge ACPI Fujitsu Driver.  Provides support for hotkeys and other
built-in components through vendor-specific ACPI devices.

ok jruoho@

Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 22 09:21:53 2010 (15 months, 2 weeks ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.66.2.2: preferred, colored to branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.2: +8 -0 lines
Sync with HEAD (-D20101022).

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Oct 12 21:10:50 2010 (15 months, 4 weeks ago) by gsutre
Branches: MAIN
CVS tags: uebayasi-xip-base3
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +8 -1 lines
Merge ACPI display driver.  Provides generic support for brightness
control and output switching, through ACPI video extensions.

TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.

ok jruoho@
also discussed with cegger@ and jmcneill@

Revision 1.50.4.8: download - view: text, markup, annotated - select for diffs
Sat Oct 9 05:32:04 2010 (16 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.7: preferred, colored to branchpoint 1.50: preferred, colored next main 1.51: preferred, colored
Changes since revision 1.50.4.7: +3 -1 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Sep 6 17:54:27 2010 (17 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base11
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +2 -1 lines
Add support for blacklisting ACPI BIOS implementations by year. By default,
don't use ACPI on BIOS which advertise release years <= 2000. This
can be changed by setting option ACPI_BLACKLIST_YEAR=0 or by setting
acpi_force_load=1.

Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 08:46:02 2010 (17 months, 3 weeks ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.66.2.1: preferred, colored to branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.1: +9 -1 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Aug 13 18:21:50 2010 (17 months, 3 weeks ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base2
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +2 -1 lines
Merge T-state a.k.a. throttling support for acpicpu(4).

Remarks:

  1.    Native instructions are supported only on Intel. Native support for
        other x86 vendors will be investigated. By assumption, AMD and others
        use the I/O based approach.

  2.    The existing code, INTEL_ONDEMAND_CLOCKMOD, must be disabled in
        order to use acpicpu(4). Otherwise fatal MSR races may occur.
        Unlike with P-states, no attempt is done to disable the existing
        implementation.

  3.    There is no rationale to export controls to user land.

  4.    Throttling is an artefact from the past. T-states will not be used for
        power management per se. For CPU frequency management, P-states are
        preferred in all circumstances. No noticeable additional power savings
        were observed in various experiments. When the system has been scaled
        to the highest (i.e. lowest power) P-state, it is preferable to move
        from C0 to deeper C-states than it is to actively throttle the CPU.

  5.    But T-states need to be implemented for passive cooling via acpitz(4).
        As specified by ACPI and Intel documents, these can be used as the
        last line of defence against critical thermal conditions. Support
        for this will be added later.

Revision 1.50.4.7: download - view: text, markup, annotated - select for diffs
Thu Aug 12 00:53:16 2010 (17 months, 4 weeks ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.6: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.6: +26 -17 lines
sync with head.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Aug 8 19:21:14 2010 (18 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base10
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +2 -1 lines
Add P-states. (I blame the ease of using modules.)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Aug 7 11:41:19 2010 (18 months ago) by jruoho
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +1 -2 lines
Reorganize: also the APIC tables will be dumped in ACPIVERBOSE, and the
callback functions will be modified to be suitable also with other tables.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Jul 18 11:29:12 2010 (18 months, 3 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +7 -1 lines
Merge a driver for ACPI CPUs with basic support for processor power states,
also known as C-states. The code is modular and provides an easy way to add
the remaining functionality later (namely throttling and P-states).

Remarks:

  1.	Commented out in the GENERICs; more testing exposure is needed.

  2.	The C3-state is disabled for the time being because it turns off
	timers, among them the local APIC timer. This may not be universally
	true on all x86 processors; define ACPICPU_ENABLE_C3 to test.

  3.	The algorithm used to choose a power state may need tuning. When
	evaluating the appropriate state, the implementation uses the
	previous sleep time as an indicator. Additional hints would include
	for example the system load.

	Also bus master activity is evaluated when choosing a state. The
	usb(4) stack is notorious for such activity even when unused.
	Typically it must be disabled in order to reach the C3-state,
	but it may also prevent the use of C2.

  4.	While no extensive empirical measurements have been carried out, the
	power savings are somewhere between 1-2 W with C1 and C2, depending
	on the processor, firmware, and load. With C3 even up to 4 W can be
	saved.  The less something ticks, the more power is saved.

ok jmcneill@, joerg@, and discussed with various people.

Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 03:19:34 2010 (19 months, 1 week ago) by rmind
Branches: rmind-uvmplock
Diff to previous 1.67.2.1: preferred, colored to branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +2 -1 lines
sync with head

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon May 31 22:32:29 2010 (20 months, 1 week ago) by pgoyette
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1 lines
Extract ACPIVERBOSE into a kernel module.  The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

ACPIVERBOSE also includes code to dump acpi/wmi data.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 07:17:17 2010 (20 months, 1 week ago) by rmind
Branches: rmind-uvmplock
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +18 -16 lines
sync with head

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:43:06 2010 (21 months, 1 week ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +22 -15 lines
Sync with HEAD.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Apr 22 20:40:09 2010 (21 months, 2 weeks ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Merge new code for ACPI power resources.

The old code served us well, but a major overhaul would have been needed for
it to cope with the increased demands of the code -- and the specifications.

ok jmcneill@, pgoyette@

Revision 1.52.16.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 02:27:34 2010 (21 months, 2 weeks ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to previous 1.52: preferred, colored next main 1.53: preferred, colored
Changes since revision 1.52: +7 -2 lines
sync to netbsd-5

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Apr 14 19:12:14 2010 (21 months, 3 weeks ago) by jruoho
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +6 -5 lines
Reorganize the main file: add several missing prototypes, move the functions
around so that they appear in their logical order and place, etc. In
addition, split the utility functions to a separate file.

No functional change. Ok jmcneill@.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Apr 12 00:42:30 2010 (21 months, 4 weeks ago) by jakllsch
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +6 -1 lines
Add valz(4), a simple driver to handle the backlight keys on some
Toshiba laptops.  As of yet only tested on a Satellite A135-S4527.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Apr 10 19:55:24 2010 (22 months ago) by jruoho
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +6 -1 lines
Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.

ok jmcneill@

XXX:    This is broken: it calls methods with absolute pathnames (almost
        guaranteed not to be portable across models), it accesses methods
        that are in the domain of other drivers, it walks the namespace on
        its own, it contains plenty of magic constants, it does not
        integrate with existing KPIs, etc. Summa summarum: this should be
        rewritten as a more generic toshiba_acpi(4).

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Apr 8 14:14:19 2010 (22 months ago) by jruoho
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +1 -7 lines
Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Apr 8 11:36:03 2010 (22 months ago) by jruoho
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +3 -1 lines
Include 'files.wmi'.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Mar 19 05:04:28 2010 CET (22 months, 3 weeks ago) by cnst
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +1 -6 lines
Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).

      http://mail-index.netbsd.org/tech-kern/2010/03/06/msg007458.html

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.

Revision 1.50.4.6: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:03:23 2010 CET (23 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.5: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.5: +25 -1 lines
sync with head

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Feb 9 04:19:51 2010 CET (2 years ago) by cnst
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +6 -1 lines
New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

        http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Feb 6 21:10:18 2010 CET (2 years ago) by pgoyette
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +6 -1 lines
Import my experimental ACPI SMBus Control Method Interface driver

XXX Should not be enabled in any configuration file until you have
XXX disabled corresponding "native" i2c driver!  Read the acpismbus(4)
XXX man page!

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jan 31 12:26:20 2010 CET (2 years ago) by jruoho
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines
Add dynamic debug options for ACPI_DEBUG kernels.

ok jmcneill@, pooka@, pgoyette@

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jan 3 18:53:15 2010 CET (2 years, 1 month ago) by jruoho
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +3 -2 lines
Introduce acpiwmibus, a pseudo-bus to which the child WMI devices attach.

Multiple WMI mapper devices are supported, but each one can have only one
child device.

All exposed functions now require the parent mapper device as a parameter.

ok pgoyette@, jmcneill@

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Dec 3 22:04:29 2009 CET (2 years, 2 months ago) by cegger
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1 lines
Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 25 14:21:49 2009 CET (2 years, 2 months ago) by cegger
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +2 -1 lines
Add ACPI SLIT parser. This is part of NUMA support.
Tested on a 8-node machine.

Patch presented on tech-kern@, port-i386@ and port-amd64@.

No comments.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Nov 25 14:17:06 2009 CET (2 years, 2 months ago) by cegger
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1 lines
Add ACPI SRAT parser. This is a part of NUMA support.
Tested on 1-node, 2-node and 8-node machines.
Patch presented on tech-kern@, port-i386@ and port-amd64@.

No comments.

Revision 1.52.8.3: download - view: text, markup, annotated - select for diffs
Thu Oct 8 11:47:09 2009 (2 years, 4 months ago) by sborrill
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to previous 1.52.8.2: preferred, colored to branchpoint 1.52: preferred, colored next main 1.53: preferred, colored
Changes since revision 1.52.8.2: +5 -1 lines
Pull up the following revisions(s) (requested by jmcneill in ticket #1045):
	distrib/sets/lists/man/mi:	revision 1.1160
	share/man/man4/Makefile:	revision 1.499
	share/man/man4/wb.4:		revision 1.1-1.2
	share/man/man4/ld.4:		revision 1.17
	sys/arch/i386/conf/ALL:		revision 1.215-1.216 + patch
	sys/arch/i386/conf/GENERIC:	revision 1.946-1.947 + patch
	sys/arch/amd64/conf/GENERIC:	revision 1.254-1.256 + patch
	sys/conf/files:			revision 1.958
	sys/dev/acpi/files.acpi:	revision 1.59
	sys/dev/acpi/wb_acpi.c:		revision 1.1
	sys/dev/ic/w83l518d.c:		revision 1.1
	sys/dev/ic/w83l518d_sdmmc.c:	revision 1.1
	sys/dev/ic/w83l518d_sdmmc.h:	revision 1.1
	sys/dev/ic/w83l518dreg.h:	revision 1.1
	sys/dev/ic/w83l518dvar.h.c:	revision 1.1

wb(4): Add a driver for Winbond W83L518D SD/MMC readers.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Oct 2 18:47:52 2009 (2 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +6 -1 lines
PR# kern/42139: ACPI WMI: new driver

Import acpiwmi(4) from Jukka Ruohonen. From the PR:

Attached is a driver that implements ACPI WMI API:

http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx

The WMI is used to provide a generic interface for OEMs to use certain
platform/laptop-specific additions to the standard ACPI in a somewhat
portable way. These can be hotkeys for additional buttons, different event
handlers (wireless kill switch, lid switch, etc.), and so on. At least HP
and Acer use it by default nowadays.

The benefit of this interface would be portability. For an example, instead
of hpqlb(4) that works only with certain HP models, we could have a generic
HP WMI-driver that should work in theory across all HP laptops. On many new
laptops WMI may also be the only way to access laptop/manufacturer-specific
features.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Sep 30 22:44:50 2009 (2 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +5 -1 lines
Initial import of an SD/MMC driver for the Winbond W83L518D (and probably
W83L519D) Integrated Media Reader with PNP bus attachment glue.

Revision 1.50.4.5: download - view: text, markup, annotated - select for diffs
Wed Sep 16 15:37:45 2009 (2 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.4: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.4: +1 -6 lines
sync with head

Revision 1.52.8.2: download - view: text, markup, annotated - select for diffs
Sat Sep 5 13:34:26 2009 (2 years, 5 months ago) by bouyer
Branches: netbsd-5
Diff to previous 1.52.8.1: preferred, colored to branchpoint 1.52: preferred, colored
Changes since revision 1.52.8.1: +2 -1 lines
Pull up following revision(s) (requested by jmcneill in ticket #896):
	sys/dev/acpi/acpi_button.c: revision 1.27 via patch
	sys/dev/acpi/acpi_wakedev.h: revision 1.1 via patch
	sys/dev/acpi/acpi_wakedev.c: revision 1.1 via patch
	sys/dev/acpi/files.acpi: revision 1.55 via patch
	sys/dev/acpi/acpi.c: revision 1.127 via patch
	sys/dev/acpi/acpi_lid.c: revision 1.27 via patch
add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.
by default, the following devices are enabled for wake:
 - sleep/power buttons
 - lid switch
 - pc kbd controller
reviewed by: joerg

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Aug 31 16:48:41 2009 (2 years, 5 months ago) by cube
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +1 -6 lines
Don't reference files that don't exist, and cvs diff before commit.

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Sun Aug 30 05:01:26 2009 (2 years, 5 months ago) by snj
Branches: netbsd-5
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #891):
	sys/dev/acpi/asus_acpi.c: revision 1.7
	sys/dev/acpi/files.acpi: revision 1.54
- add experimental cpu fan/voltage switching support (sysctl hw.asus0.*)
- add fan sensor
- rename asus_softc_t -> struct asus_softc
- add detach method
- update copyright for 2009

Revision 1.50.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 20:47:03 2009 (2 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.3: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.3: +9 -4 lines
sync with head.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 18 18:41:02 2009 (2 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base7
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Switch to ACPICA 20090730, and update for API changes.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Aug 9 21:36:28 2009 (2 years, 6 months ago) by christos
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +5 -1 lines
spic has moved.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Aug 4 16:20:41 2009 (2 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1 lines
add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.

by default, the following devices are enabled for wake:
 - sleep/power buttons
 - lid switch
 - pc kbd controller

reviewed by: joerg

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Aug 3 12:30:29 2009 (2 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
- add experimental cpu fan/voltage switching support (sysctl hw.asus0.*)
- add fan sensor
- rename asus_softc_t -> struct asus_softc
- add detach method
- update copyright for 2009

Revision 1.52.12.1: download - view: text, markup, annotated - select for diffs
Fri Jul 24 01:31:45 2009 (2 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to previous 1.52: preferred, colored next main 1.53: preferred, colored
Changes since revision 1.52: +2 -2 lines
Sync with HEAD.

Revision 1.50.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 16:52:59 2009 (2 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.2: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.2: +2 -2 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jul 6 14:36:31 2009 (2 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, jymxensuspend-base
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
Ignore breakpoints in the DSDT even if DDB is present.
A new option ACPI_BREAKPOINT reenables them.

Revision 1.50.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 10:12:34 2009 (2 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50.4.1: preferred, colored to branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.1: +6 -1 lines
sync with head.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 06:30:58 2008 (3 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.51: preferred, colored next main 1.52: preferred, colored
Changes since revision 1.51: +6 -1 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 04:05:10 2008 (3 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.50.2.1: preferred, colored to branchpoint 1.50: preferred, colored next main 1.51: preferred, colored
Changes since revision 1.50.2.1: +6 -1 lines
sync with head

Revision 1.49.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:23:13 2008 (3 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.49.6.1: preferred, colored to branchpoint 1.49: preferred, colored next main 1.50: preferred, colored
Changes since revision 1.49.6.1: +10 -0 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon May 19 00:05:59 2008 (3 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +6 -1 lines
acpidalb(4): Driver for PNP0C32 Hotkeys aka "Direct Application Launch Buttons".
"awesome" jmcneill

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 14:33:34 2008 (3 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +6 -1 lines
sync with head.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 04:23:53 2008 (3 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +6 -1 lines
sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu May 1 22:18:19 2008 (3 years, 9 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +6 -1 lines
hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks

Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 14:42:37 2008 (3 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +6 -1 lines
Sync with HEAD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Mar 31 17:17:21 2008 (3 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +6 -1 lines
Add ASUS ACPI hotkey driver, as found in the Eee PC.

Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:42:33 2008 CET (4 years ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.32.2.4: preferred, colored to branchpoint 1.32: preferred, colored next main 1.33: preferred, colored
Changes since revision 1.32.2.4: +21 -3 lines
sync with head

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:52:21 2008 CET (4 years, 1 month ago) by matt
Branches: matt-armv6
Diff to previous 1.46: preferred, colored next main 1.47: preferred, colored
Changes since revision 1.46: +21 -3 lines
sync with HEAD

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 22:53:51 2008 CET (4 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to previous 1.47: preferred, colored next main 1.48: preferred, colored
Changes since revision 1.47: +16 -1 lines
Sync with HEAD

Revision 1.46.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 20:46:01 2007 CET (4 years, 1 month ago) by ad
Branches: vmlocking2
Diff to previous 1.46: preferred, colored next main 1.47: preferred, colored
Changes since revision 1.46: +21 -3 lines
Sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Dec 23 18:29:26 2007 CET (4 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +11 -1 lines
Move Sony Notebook Controller (sony(4)) driver from MD to MI directory,
as it can be used on amd64 as well.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Dec 21 16:15:20 2007 CET (4 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +6 -1 lines
Add Thinkpad ACPI driver, for controlling hotkeys and display brightness.

Revision 1.46.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 16:22:35 2007 CET (4 years, 2 months ago) by yamt
Branches: yamt-kmem
Diff to previous 1.46: preferred, colored next main 1.47: preferred, colored
Changes since revision 1.46: +6 -3 lines
sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 9 21:27:53 2007 CET (4 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +6 -3 lines
Merge jmcneill-pm branch.

Revision 1.42.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:41:14 2007 (4 years, 4 months ago) by ad
Branches: vmlocking
Diff to previous 1.42.2.3: preferred, colored next main 1.43: preferred, colored
Changes since revision 1.42.2.3: +2 -2 lines
Sync with head.

Revision 1.45.6.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 23:44:11 2007 (4 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.45.6.1: preferred, colored to branchpoint 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45.6.1: +6 -3 lines
Rewrite the ACPI Embedded Controller handler to use pure event driven
operation. On suspend a special flag is set to force explicit polling
as AcpiLeaveSleep accesses the interrupt before GPE handling is
restored. The driver uses a kernel thread to handle GPE queries and
mutex/condvar for synchronisation.

Split the ACPI EC into two drivers, one that is attached directly by
acpi.c for the ECDT driven attachment and the normal acpiec for late
attachment. Share almost all code between this two drivers. If acpiecdt
is attached, acpiec is returning. This was discussed with cube@ and is
the best solution so far.

Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 18:47:53 2007 (4 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Sync with HEAD.

Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:33:21 2007 (4 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.32.2.3: preferred, colored to branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.3: +15 -2 lines
sync with head.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 12:20:12 2007 (4 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to previous 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45: +2 -2 lines
Sync with HEAD.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Aug 23 12:04:07 2007 (4 years, 5 months ago) by tnn
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, mjf-devfs, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, matt-armv6
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
apm emulation needs envsys. From Jukka Salmi on the current-users list.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 22:05:10 2007 (4 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to previous 1.42: preferred, colored next main 1.43: preferred, colored
Changes since revision 1.42: +9 -1 lines
Sync with head.

Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sun May 27 16:29:58 2007 (4 years, 8 months ago) by ad
Branches: vmlocking
Diff to previous 1.42.2.2: preferred, colored
Changes since revision 1.42.2.2: +5 -1 lines
Sync with head.

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Thu May 17 15:41:23 2007 (4 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to previous 1.41.2.2: preferred, colored to branchpoint 1.41: preferred, colored next main 1.42: preferred, colored
Changes since revision 1.41.2.2: +5 -1 lines
sync with head.

Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Sun May 13 08:52:53 2007 (4 years, 8 months ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to previous 1.40: preferred, colored next main 1.41: preferred, colored
Changes since revision 1.40: +5 -1 lines
Pull up patch (requested by xtraeme in ticket #633):
	sys/arch/amd64/conf/GENERIC:			patch
	sys/arch/i386/conf/ALL:				patch
	sys/arch/i386/conf/GENERIC:			patch
	sys/conf/files:					patch
	sys/dev/acpi/files.acpi:			patch
	sys/dev/acpi/ug_acpi.c:				patch
	sys/dev/ic/ug.c:				patch
	sys/dev/ic/ugreg.h:				patch
	sys/dev/ic/ugvar.h:				patch
	sys/dev/isa/files.isa:				patch
	sys/dev/isa/ug_isa.c:				patch
	share/man/man4/ug.4:				patch
	doc/CHANGES:					patch
	sys/dev/isa/ug.c:				delete
	sys/dev/isa/ugvar.h:				delete

Add an acpi attachement for the ug hardware monitor driver.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue May 8 18:48:37 2007 (4 years, 9 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +5 -1 lines
Split the ug(4) driver in three components:

	* dev/ic/ug.c (main code shared by the attachments)
	* dev/isa/ug_isa.c (isa attachment)
	* dev/acpi/ug_acpi.c (acpi attachment)

That means that ug(4) can now be attached via ACPI.

Thanks to Mihai Chelaru for the good work.

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 15:24:21 2007 (4 years, 10 months ago) by ad
Branches: vmlocking
Diff to previous 1.42.2.1: preferred, colored
Changes since revision 1.42.2.1: +3 -3 lines
Sync with head.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 15:55:19 2007 CET (4 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to previous 1.41.2.1: preferred, colored to branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +5 -1 lines
sync with head.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 14 01:43:04 2007 CET (4 years, 10 months ago) by xtraeme
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Rename acpi_aiboost to aiboost, suggested by cube.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:50:21 2007 CET (4 years, 10 months ago) by ad
Branches: vmlocking
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 lines
Sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Mar 13 05:01:51 2007 CET (4 years, 10 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 lines
ASUS AI Booster ACPI driver, ported from FreeBSD.

This driver will report values from the Super I/O chip via ACPI.
It should be possible to overclock the system with this driver, but
it's not implemented yet.

All newer ASUS motherboards probably will work with this driver
(device ATK0110).

[juan@nocturno][~]> envstat -r
CPU Temperature:     30.000 degC
 MB Temperature:     38.000 degC
  Vcore Voltage:      1.240 V
   +3.3 Voltage:      3.264 V
     +5 Voltage:      4.992 V
    +12 Voltage:     12.091 V
  CPU FAN Speed:       1454 RPM
[juan@nocturno][~]>

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:53:07 2007 CET (4 years, 11 months ago) by rmind
Branches: yamt-idlelwp
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +6 -1 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Mar 8 15:26:28 2007 CET (4 years, 11 months ago) by njoly
Branches: MAIN
Branch point for: vmlocking, mjf-ufs-trans
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +6 -1 lines
High Precision Event Timer driver, following Intel specifications.

Allow attachement at both ACPI (hpet@acpi) and AMD8111 LPC Controller
(hpet@amdpcib).

Requested by xtraeme, and tested by a few users.

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 10:09:57 2007 CET (4 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.32.2.2: preferred, colored to branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.2: +2 -2 lines
sync with head.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:57:34 2007 CET (5 years ago) by ad
Branches: newlock2
Diff to previous 1.40: preferred, colored next main 1.41: preferred, colored
Changes since revision 1.40: +2 -2 lines
Sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jan 9 14:41:30 2007 CET (5 years, 1 month ago) by cube
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Add a lint-only value of "/dev/null" for ACPI_DSDT_FILE.

Bump required config(1) version.  Yes, it implies everybody will have to
rebuild config(1).  I can live with people hating me.

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 21:47:54 2006 CET (5 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.32.2.1: preferred, colored to branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +34 -20 lines
sync with head.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 04:49:29 2006 (5 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35: +34 -20 lines
sync with head

Revision 1.35.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 17:23:55 2006 (5 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.35.6.2: preferred, colored to branchpoint 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35.6.2: +5 -1 lines
sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Aug 14 11:34:43 2006 (5 years, 5 months ago) by itohy
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base, netbsd-4-base
Branch point for: newlock2, netbsd-4
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +5 -1 lines
ACPI frontend for Yamaha OPL3-SA[23].
Derived from PR kern/33991 by jasper at pointless dot net.

Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 17:43:59 2006 (5 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.35.6.1: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.6.1: +29 -20 lines
sync with head

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Aug 6 17:46:54 2006 (5 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +22 -19 lines
PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.

Revision 1.35.14.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 19:49:17 2006 (5 years, 6 months ago) by gdamore
Branches: gdamore-uart
Diff to previous 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35: +10 -3 lines
Merge from HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jul 8 22:23:53 2006 (5 years, 7 months ago) by christos
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +5 -1 lines
Add acpi apm attachment based on sysmon hooks.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 4 02:30:23 2006 (5 years, 7 months ago) by christos
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +5 -3 lines
Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI

Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:50:37 2006 (5 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
sync with head.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jun 21 19:47:23 2006 (5 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
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).

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 17:02:32 2006 (5 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
sync with head.

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 1 15:51:48 2006 CET (6 years ago) by yamt
Branches: yamt-uio_vmspace
Diff to previous 1.33.2.1: preferred, colored next main 1.34: preferred, colored
Changes since revision 1.33.2.1: +2 -2 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jan 31 10:30:06 2006 CET (6 years ago) by kochi
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
compatibility of our old driver behavior, which is not necessary.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 11:02:48 2006 CET (6 years ago) by yamt
Branches: yamt-uio_vmspace
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2 lines
sync with head.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jan 5 17:56:54 2006 CET (6 years, 1 month ago) by rpaulo
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2 lines
* defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
* adjust comments to reality

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Dec 11 13:21:02 2005 CET (6 years, 2 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +1 -1 lines
merge ktrace-lwp.

Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 15:03:11 2005 CET (6 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20.2.5: preferred, colored next main 1.21: preferred, colored
Changes since revision 1.20.2.5: +2 -2 lines
Sync with HEAD. Here we go again...

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 21 10:19:25 2005 (6 years, 7 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Rework the configuration scheme for PCI fixups:

* bus enumeration fixups are not PCIBIOS-specific, interrupt fixups are done
  by both PCIBIOS and ACPI.  The redundancy is very redundant.  Therefore,
  rename PCIBIOS_*_FIXUP to PCI_*_FIXUP, use PCI_INTR_FIXUP in place of
  ACPI_PCI_FIXUP, and change code refences to match.

* move the fixup defines from opt_pcibios.h to opt_pcifixup.h to reflect
  the above.

* fix up the PCI bus numbering in mainbus_attach(), right after we detect the
  configuration mode.  This probably renders the fixup in pcibios.c
  redundant -- but it should be harmless.

These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 13:28:45 2005 (6 years, 9 months ago) by kent
Branches: kent-audio2
Diff to previous 1.29: preferred, colored next main 1.30: preferred, colored
Changes since revision 1.29: +9 -1 lines
sync with -current

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Fri Apr 1 16:29:52 2005 (6 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20.2.4: preferred, colored
Changes since revision 1.20.2.4: +9 -1 lines
Sync with HEAD.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 26 19:19:18 2005 CET (6 years, 10 months ago) by yamt
Branches: yamt-km
Diff to previous 1.29: preferred, colored next main 1.30: preferred, colored
Changes since revision 1.29: +9 -1 lines
sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Mar 26 00:06:19 2005 CET (6 years, 10 months ago) by cube
Branches: MAIN
CVS tags: yamt-km-base4, kent-audio2-base
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +5 -1 lines
Add attimer(4) driver, with ISA and ACPI attachments.

attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 21 15:06:46 2005 CET (6 years, 10 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1 lines
Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 10:31:56 2004 CET (7 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20.2.3: preferred, colored
Changes since revision 1.20.2.3: +9 -1 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Dec 2 15:33:31 2004 CET (7 years, 2 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +5 -1 lines
Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed and ok'ed by cube@ and martin@.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Dec 2 10:50:42 2004 CET (7 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +5 -1 lines
Add ACPI mpu(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed by christos@, cube@ and martin@.

While here, remove a printf() in mpu_attach() (ic/mpu.c) to remove
an empty line in some frontends (mpu_isa.c, etc).

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 15:26:40 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20.2.2: preferred, colored
Changes since revision 1.20.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:44:42 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20.2.1: preferred, colored
Changes since revision 1.20.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 12:45:03 2004 (7 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +10 -6 lines
Sync with HEAD

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 14 05:19:01 2004 (7 years, 7 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to previous 1.22.2.1: preferred, colored to branchpoint 1.22: preferred, colored next main 1.23: preferred, colored
Changes since revision 1.22.2.1: +2 -2 lines
Pullup patch (requested by kochi in ticket #463)

Add ACPI_DISABLE_ON_POWEROFF option. PR#24869

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jun 7 17:33:17 2004 (7 years, 8 months ago) by kochi
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Add ACPI_DISABLE_ON_POWEROFF option.
Note: the default behavior is changed.  Now we don't disable the ACPI
subsystem on power off (halt -p) by default.
'options ACPI_DISABLE_ON_POWEROFF' in a kernel config file makes the kernel
behave the way we used to be.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 27 13:26:33 2004 (7 years, 8 months ago) by kochi
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
don't compile acpi_madt.c unless options MPACPI is specified.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed May 26 19:15:17 2004 (7 years, 8 months ago) by kochi
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
ThermalZone improvement work by lha at stacken.kth.se, inspired from
FreeBSD thermal zone code.  Minor style fixes and bugfixes by me.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon May 3 09:44:36 2004 (7 years, 9 months ago) by kochi
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Add sysmon pswitch hook so that powerd(8) can monitor
AC adapter online/offline events.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 28 07:25:23 2004 (7 years, 9 months ago) by jmc
Branches: netbsd-2-0
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Pullup rev 1.23 (requested by kochi in ticket #191)

Add ACPI ECDT (Embedded Controller Description Table) support.
This will enable usage of EC in early stage of ACPI initialization.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 31 13:19:39 2004 (7 years, 10 months ago) by tron
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Only call acpiec_early_attach() in "acpi.c" if the kernel is configured
to include the "acpiec" device.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jan 31 14:59:20 2004 CET (8 years ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
add dependency on isadma for atppc attachments
add atppc_isadma.c for atppc@isapnp and atppc@ofisa, too

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jan 25 12:46:49 2004 CET (8 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +5 -2 lines
add ACPI atppc(4) attachment; probes properly, DMA and actual transfer
not tested yet

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 15 23:29:50 2003 (8 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
Add quirk handling to ACPI. First quirk entry is "PTLTD " rev 0x06040000,
which gives problems with PCI bus finding; the object hierarchy doesn't
match the real world for some systems, most notably SuperMicro boards.
Linux has this one blacklisted as well.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 20 22:21:29 2003 (8 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Use sysmon_taskq.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Apr 17 22:56:29 2003 (8 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
acpi.c needs sysmon_power too.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Apr 17 03:22:21 2003 (8 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
* Don't do the ACPI_PCI_FIXUP unless it is explicitly enabled in
  the kernel config file.  That code makes a total mess of any
  system with multiple PCI busses.
* Rework the way buttons are handled; register them with sysmon,
  and let it take the appropriate action.  This lets us gracefully
  shut down when the power button is pressed.

Revision 1.2.4.9: download - view: text, markup, annotated - select for diffs
Wed Jan 15 19:44:14 2003 CET (9 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to previous 1.2.4.8: preferred, colored to branchpoint 1.2: preferred, colored next main 1.3: preferred, colored
Changes since revision 1.2.4.8: +2 -2 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 12 02:15:50 2003 CET (9 years, 1 month ago) by christos
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
add some more flags used only in acpi.c

Revision 1.2.4.8: download - view: text, markup, annotated - select for diffs
Tue Jan 7 22:34:00 2003 CET (9 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to previous 1.2.4.7: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.7: +8 -2 lines
Sync with HEAD.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jan 5 23:33:23 2003 CET (9 years, 1 month ago) by christos
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
add ACPIVERBOSE; while I am there, fix the eval_string function so it does
not leak.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 5 02:03:45 2003 CET (9 years, 1 month ago) by fvdl
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Add some code to deal with the MADT.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 4 06:36:03 2003 CET (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +6 -1 lines
Initial support for ACPI Thermal Zones. For now, we only export the zone
temperature to sysmon; in the near future we should be associating devices
in this thermal zone with this device so we can do active or passive
cooling on a zone-by-zone basis.

Revision 1.2.4.7: download - view: text, markup, annotated - select for diffs
Fri Jan 3 18:01:11 2003 CET (9 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to previous 1.2.4.6: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.6: +3 -3 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Dec 31 06:26:57 2002 CET (9 years, 1 month ago) by explorer
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
add envsys support to acpi A/C adapter and batteries.  This is still a work
in progress, much like the rest of ACPI.

Revision 1.2.4.6: download - view: text, markup, annotated - select for diffs
Sun Dec 29 21:45:31 2002 CET (9 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to previous 1.2.4.5: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.5: +21 -1 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 28 20:31:35 2002 CET (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
Add an fdc at acpi(4) attachment

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Dec 28 09:45:31 2002 CET (9 years, 1 month ago) by matt
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +5 -1 lines
Add a pckbc acpi attachment (it compiles but it untested).

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 28 09:04:28 2002 CET (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +5 -1 lines
Add an lpt attachment to acpi(4)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 28 07:20:15 2002 CET (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +9 -1 lines
Add 'com at acpi' and 'wss at acpi' glue. These are both working great on
my ThinkPad 600E.

XXX isa_dmainit isn't called early enough for the 'audio at wss' attachment
XXX to work, so I'm deferring the call to 'wssattach' until later on. This
XXX should be fixed soon.

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 10:43:49 2002 (9 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.4.2.3: preferred, colored to branchpoint 1.4: preferred, colored next main 1.5: preferred, colored
Changes since revision 1.4.2.3: +1 -5 lines
sync kqueue branch with HEAD

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 12:35:12 2002 (9 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to previous 1.6: preferred, colored next main 1.7: preferred, colored
Changes since revision 1.6: +1 -5 lines
catch up with -current.

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 19:45:03 2002 (9 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.4.2.2: preferred, colored to branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +10 -1 lines
catch up with -current on kqueue branch

Revision 1.2.4.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 05:43:27 2002 (9 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.2.4.4: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.4: +1 -1 lines
Catch up to -current.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jun 18 00:39:25 2002 (9 years, 7 months ago) by christos
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +1 -5 lines
move spic_acpi to arch/i386/acpi

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 22 14:42:56 2002 (9 years, 9 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +5 -1 lines
Attach the spic driver via ACPI.

Revision 1.2.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 09:45:07 2002 (9 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.2.4.3: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.3: +6 -1 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Mar 24 04:46:10 2002 CET (9 years, 10 months ago) by sommerfeld
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
Prototype ACPI Control Method Battery driver.

ACPI defines two different battery device interfaces: "Control Method"
batteries, in which AML methods are defined in order to get battery
status and set battery alarm thresholds, and a "Smart Battery" device,
which is an SMbus device accessed through the ACPI Embedded Controller
device; this driver knows how to attach to the former sort of device.

As a total kludge, since we haven't wired things up to sysmon/envsys
yet, we report battery status through a once-per-minute kernel printf,
so don't use this driver yet if you want your disk to spin down.

Motivated by and tested on Sony PCG-R505TL laptop, which has
nonfunctional APM.

configure as:

acpibat* at acpi ?

Sample output:

acpibat0 at acpi0: ACPI Battery
acpibat0: Sony Corp. LION
acpibat0: Design 38480mWh, Predicted 38480mWh Warn 120mWh Low 0mWh
acpibat0: discharging: 15112mV cap 25480mWh (66%) rate 16849mW
...
acpibat0: discharging: 15224mV cap 25070mWh (65%) rate 18405mW
...
acpibat0: discharging: 15200mV cap 24310mWh (63%) rate 13771mW
...
acpibat0: charging: 15768mV cap 23330mWh (60%) rate 20388mW

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:52:54 2002 CET (10 years, 1 month ago) by thorpej
Branches: kqueue
Diff to previous 1.4.2.1: preferred, colored to branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +30 -0 lines
Sync kqueue branch with -current.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 01:29:20 2002 CET (10 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.2.4.2: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.2: +2 -2 lines
Catch up to -current.

Revision 1.4.2.1
Wed Nov 28 11:21:21 2001 CET (10 years, 2 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.4: +0 -30 lines
file files.acpi was added on branch kqueue on 2002-01-10 19:52:54 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 28 11:21:21 2001 CET (10 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
- convert usage of "defopt" to "defflag" where the relevant option does
  not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Nov 20 15:34:27 2001 CET (10 years, 2 months ago) by lukem
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
- replace "defopt" with "defparam" for options which must take a value,
  as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 8 23:18:06 2001 (10 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.2.4.1: preferred, colored to branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +30 -0 lines
Catch up to -current.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 14:44:18 2001 (10 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to previous 1.2.2.1: preferred, colored to branchpoint 1.2: preferred, colored next main 1.3: preferred, colored
Changes since revision 1.2.2.1: +30 -0 lines
Catch up with -current.

Revision 1.2.4.1
Sat Sep 29 07:36:03 2001 (10 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -30 lines
file files.acpi was added on branch nathanw_sa on 2001-10-08 21:18:06 +0000

Revision 1.2.2.1
Sat Sep 29 07:36:03 2001 (10 years, 4 months ago) by fvdl
Branches: thorpej-devvp
FILE REMOVED
Changes since revision 1.2: +0 -30 lines
file files.acpi was added on branch thorpej-devvp on 2001-10-01 12:44:18 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Sep 29 07:36:03 2001 (10 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-devvp, nathanw_sa
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +10 -4 lines
Build acpi_resource.c, add "acpiec" and "acpiacad".

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 28 04:09:24 2001 (10 years, 4 months ago) by thorpej
Branches: MAIN
Add some basic ACPI probing framework.  This is far from complete,
it is merely a work in progress.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

cvsweb.de.netbsd.org <zafer@aydogan.de>