The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / acpi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126.4.2 / (download) - annotate - [select for diffs], Mon Mar 25 15:05:17 2024 UTC (3 days ago) by martin
Branch: netbsd-10
Changes since 1.126.4.1: +3 -2 lines
Diff to previous 1.126.4.1 (colored) to branchpoint 1.126 (colored) next main 1.127 (colored) to selected 1.2.2.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #639):

	sys/dev/acpi/acpivar.h: revision 1.90
	sys/dev/acpi/files.acpi: revision 1.129
	sys/dev/acpi/acpi.c: revision 1.299
	sys/dev/acpi/files.acpi: revision 1.130

acpi(4): New iattr `apeibus' for attaching an APEI driver.

APEI is the ACPI Platform Error Interface, a standard (if very
complicated) interface for reporting hardware errors to the OS.
Firmware support for APEI is presented through the ACPI tables BERT
(Boot Error Record Table), ERST (Error Record Serialization Table),
EINJ (Error Injection Table), and HEST (Hardware Error Source Table),
rather than through nodes in the ACPI device tree, so it can't just
attach through the existing acpinodebus iattr and instead requires a
special pseudo-bus like acpiwdrt(4).

No driver yet -- this is just the hook to attach one in a module.

The new member sc_apei of struct acpi_softc is placed at the end of
the structure so that this change can be safely pulled up to release
branches without risk to ABI compatibility in existing modules such
as acpiverbose.kmod which may rely on the layout (but not size) of
struct acpi_softc.

PR kern/58046

acpi(4): Make apeibus actually work as an iattr.
PR kern/58046

Revision 1.132 / (download) - annotate - [select for diffs], Thu Mar 21 02:36:01 2024 UTC (7 days, 12 hours ago) by riastradh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.131: +6 -1 lines
Diff to previous 1.131 (colored) to selected 1.2.2.2 (colored)

acpihed(4): New driver for PNP0C33 to notify apei(4).

PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.

PR kern/58046

Revision 1.131 / (download) - annotate - [select for diffs], Wed Mar 20 17:11:44 2024 UTC (7 days, 22 hours ago) by riastradh
Branch: MAIN
Changes since 1.130: +13 -1 lines
Diff to previous 1.130 (colored) to selected 1.2.2.2 (colored)

apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm.  Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046

Revision 1.130 / (download) - annotate - [select for diffs], Wed Mar 20 12:43:13 2024 UTC (8 days, 2 hours ago) by riastradh
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored) to selected 1.2.2.2 (colored)

acpi(4): Make apeibus actually work as an iattr.

PR kern/58046

Revision 1.129 / (download) - annotate - [select for diffs], Wed Mar 20 03:14:45 2024 UTC (8 days, 12 hours ago) by riastradh
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 (colored) to selected 1.2.2.2 (colored)

acpi(4): New iattr `apeibus' for attaching an APEI driver.

APEI is the ACPI Platform Error Interface, a standard (if very
complicated) interface for reporting hardware errors to the OS.

Firmware support for APEI is presented through the ACPI tables BERT
(Boot Error Record Table), ERST (Error Record Serialization Table),
EINJ (Error Injection Table), and HEST (Hardware Error Source Table),
rather than through nodes in the ACPI device tree, so it can't just
attach through the existing acpinodebus iattr and instead requires a
special pseudo-bus like acpiwdrt(4).

No driver yet -- this is just the hook to attach one in a module.

The new member sc_apei of struct acpi_softc is placed at the end of
the structure so that this change can be safely pulled up to release
branches without risk to ABI compatibility in existing modules such
as acpiverbose.kmod which may rely on the layout (but not size) of
struct acpi_softc.

PR kern/58046

Revision 1.126.4.1 / (download) - annotate - [select for diffs], Sun Jul 30 12:01:53 2023 UTC (7 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.126: +2 -1 lines
Diff to previous 1.126 (colored) to selected 1.2.2.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #259):

	sys/dev/acpi/acpi_ec.c: revision 1.102
	sys/dev/acpi/acpi_ec.c: revision 1.103
	sys/dev/acpi/acpi_ec.c: revision 1.104
	sys/dev/acpi/acpi_ec.c: revision 1.105
	sys/dev/acpi/acpi_ec.c: revision 1.106
	sys/dev/acpi/acpi_ec.c: revision 1.107
	sys/dev/acpi/acpi_ec.c: revision 1.108
	sys/dev/acpi/acpi_ec.c: revision 1.90
	sys/dev/acpi/acpi_ec.c: revision 1.91
	sys/dev/acpi/acpi_ec.c: revision 1.92
	sys/dev/acpi/acpi_ec.c: revision 1.93
	sys/dev/acpi/acpi_ec.c: revision 1.94
	sys/dev/acpi/files.acpi: revision 1.128
	sys/dev/acpi/acpi_ec.c: revision 1.95
	sys/dev/acpi/acpi_ec.c: revision 1.96
	sys/dev/acpi/acpi_ec.c: revision 1.97
	sys/arch/amd64/conf/ALL: revision 1.179
	sys/dev/acpi/acpi_ec.c: revision 1.98
	sys/dev/acpi/acpi_ec.c: revision 1.99
	sys/dev/acpi/acpi_ec.c: revision 1.87
	sys/dev/acpi/acpi_ec.c: revision 1.88
	sys/dev/acpi/acpi_ec.c: revision 1.89
	sys/arch/i386/conf/ALL: revision 1.511
	sys/dev/acpi/acpi_ec.c: revision 1.100
	sys/dev/acpi/acpi_ec.c: revision 1.101

acpiec(4): Record device_t self.

Not used yet, to be used soon for device_printf and to allow making
some of the internal functions a little more type-safe later.
acpiec(4): New ACPIEC_DEBUG option.

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.

acpiec(4): Clarify lock order and sprinkle lock assertions.
No functional change intended.

acpiec(4): Sprinkle comments.
Note where this code is abusing cv_wait and needs a loop to handle
spurious wakeups.
No functional change intended.

acpiec(4): Assert state is free when we start a transaction.
No functional change intended.

acpiec(4): Set sc_got_sci only when a transaction is over.

Before, when the acpiec thread noticed an SCI had been requested and
entered acpiec_gpe_state_machine to send the query command, it would
see the SCI is still requested -- because it had yet to acknowledge
it by setting the query command! -- and think the EC was asking for a
_second_ SCI.

So once the first SCI transaction was over, it would start a second
one, even though the EC hadn't asked for another -- and this would
wedge on some ECs.

Now, acpiec_gpe_state_machine waits to see what state we transition
to before taking the SCI bit to mean we need to notify the acpiec
thread to handle another query.

That way, when the acpiec thread enters acpiec_gpe_state_machine with
EC_STATE_QUERY, it can send the query command first, with the side
effect of clearing the SCI bit in subsequent reads of the status
register, and it won't think another SCI has been requested until it
returns to EC_STATE_FREE and sees the SCI bit set again in the status
register.

Possibly relevant PRs:
PR kern/53135
PR kern/52763
PR kern/57162

acpiec(4): Fix cv_wait loop around sc->sc_got_sci.

That is, make it actually loop as required, so it gracefully handles
spurious wakeups instead of barging into invalid states.

acpiec(4): Fix interrupt wait loop in acpiec_gpe_query thread.

acpiec(4): Fix cv_timedwait abuse in acpiec_read/write.

acpiec(4): Don't touch sc->sc_state outside sc->sc_mtx.

acpiec(4): Merge returns in acpiec_read/write.
No functional change intended.

acpiec(4): Factor wait logic out.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_state_machine.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_callout.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_handler.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_lock/unlock.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_read/write.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_query thread.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_space_handler.
Better to keep the device_t isolated to public interfaces.  Simpler
internally this way.
No functional change intended.

acpiec(4): Factor out if (state == FREE) cv_signal(sc_cv).

In principle this could have a functional change, but at worst, it is
to signal more wakeups than needed, which should always be safe.
acpiec(4): Take a lock around acpiec_cold updates.

Otherwise we race with readers -- probably harmlessly, but let's
avoid the appearance of problems.
XXX Maybe acpiec_suspend and acpiec_shutdown should interrupt
transactions and force them to fail promptly?
XXX This looks bad because acpiec_cold is global and sc->sc_mtx
doesn't look like it's global, but we expect to have only one
acpiec(4) device anyway from what I understand.  Maybe we should move
acpiec_cold into the softc?

acpiec(4): One more debug message about read/write polling timeout.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Jul 18 10:02:25 2023 UTC (8 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored) to selected 1.2.2.2 (colored)

acpiec(4): New ACPIEC_DEBUG option.

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Apr 16 16:55:01 2023 UTC (11 months, 1 week ago) by jmcneill
Branch: MAIN
Changes since 1.126: +5 -1 lines
Diff to previous 1.126 (colored) to selected 1.2.2.2 (colored)

DesignWare watchdog ACPI attach glue

Revision 1.126 / (download) - annotate - [select for diffs], Thu May 26 02:16:44 2022 UTC (22 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.125: +3 -3 lines
Diff to previous 1.125 (colored) to selected 1.2.2.2 (colored)

only link acpi_pci*.c if acpi & pci, not just acpi.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Mar 24 02:24:25 2022 UTC (2 years ago) by manu
Branch: MAIN
Changes since 1.124: +5 -1 lines
Diff to previous 1.124 (colored) to selected 1.2.2.2 (colored)

Add initial support for Intel GPIO chips

Revision 1.124 / (download) - annotate - [select for diffs], Wed Feb 16 20:14:30 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.123: +1 -3 lines
Diff to previous 1.123 (colored) to selected 1.2.2.2 (colored)

sys: Include files.acpica unconditionally.

This way acpica.h always exists unconditionally, so MI code can be
conditional on NACPICA.

It is not great to have such conditionals, but it's better to have

	#include "acpica.h"

	#ifdef NACPICA > 0

than to have

	#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
	#include "acpica.h"
	#endif

	#ifdef NACPICA > 0

and we can still grep for NACPICA to find places that could be
factored better.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jan 9 15:05:16 2022 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.122: +5 -1 lines
Diff to previous 1.122 (colored) to selected 1.2.2.2 (colored)

dwcmmc: Add ACPI attach support

Revision 1.122 / (download) - annotate - [select for diffs], Mon Jan 3 17:19:41 2022 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.121: +5 -1 lines
Diff to previous 1.121 (colored) to selected 1.2.2.2 (colored)

Add driver for DesignWare Ethernet Quality-of-Service controller.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Dec 24 00:24:49 2021 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.120: +5 -1 lines
Diff to previous 1.120 (colored) to selected 1.2.2.2 (colored)

Add ohci at acpi bindings. No known PNP IDs for this, so match using _CLS
and the PCI class/subclass/interface codes. Maybe this will take off.

Revision 1.115.6.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:43 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.115.6.1: +6 -1 lines
Diff to previous 1.115.6.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jan 24 18:02:51 2021 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.119: +6 -1 lines
Diff to previous 1.119 (colored) to selected 1.2.2.2 (colored)

Add support for NXP Layerscape I2C controllers.

Revision 1.115.6.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:05 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.115: +17 -1 lines
Diff to previous 1.115 (colored) to selected 1.2.2.2 (colored)

Sync w/ HEAD.

Revision 1.119 / (download) - annotate - [select for diffs], Sun Dec 13 20:39:20 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.118: +6 -1 lines
Diff to previous 1.118 (colored) to selected 1.2.2.2 (colored)

acpi: Add support for Collaborative Processor Performance Control (CPPC).

CPPC is the modern replacement for processor performance controls (P-states
and T-states). The _CPC method on a processor device contains information
about supported performance levels of the device.

This driver reports the supported performance levels and allows for
setting the desired level using the machdep.cpufreq.cpuN.* sysctls. Note
that a "performance level" value is not guaranteed to represent a CPU
frequency, so treat the numbers reported as such.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Dec 13 20:27:53 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.117: +6 -1 lines
Diff to previous 1.117 (colored) to selected 1.2.2.2 (colored)

acpi: Add support for ACPI Platform Communications Channel (PCC).

Revision 1.117 / (download) - annotate - [select for diffs], Mon Dec 7 10:57:41 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.116: +6 -1 lines
Diff to previous 1.116 (colored) to selected 1.2.2.2 (colored)

acpicpu: Add support for ACPI P-states and T-states on Arm.

Revision 1.116 / (download) - annotate - [select for diffs], Sun Dec 6 02:57:30 2020 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored) to selected 1.2.2.2 (colored)

acpi: add character device for accessing ACPI tables

The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.

Revision 1.101.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.101.4.1: +5 -1 lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.2.2.2 (colored)

Merge changes from current as of 20200406

Revision 1.114.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:07 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.114: +5 -1 lines
Diff to previous 1.114 (colored) next main 1.115 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.115 / (download) - annotate - [select for diffs], Sat Feb 22 02:28:06 2020 UTC (4 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Branch point for: thorpej-futex
Changes since 1.114: +5 -1 lines
Diff to previous 1.114 (colored) to selected 1.2.2.2 (colored)

Add ACPI glue for Broadcom GENETv5

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:05 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.101: +46 -3 lines
Diff to previous 1.101 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:47 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.101.2.2: +6 -1 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.114 / (download) - annotate - [select for diffs], Tue Dec 25 11:56:14 2018 UTC (5 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.113: +6 -1 lines
Diff to previous 1.113 (colored) to selected 1.2.2.2 (colored)

Make ipmi driver available to other platforms.
Add ACPI attachment.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:30 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.1: +20 -1 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.113 / (download) - annotate - [select for diffs], Fri Oct 26 23:33:38 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.112: +6 -1 lines
Diff to previous 1.112 (colored) to selected 1.2.2.2 (colored)

Add xhci at acpi glue

Revision 1.112 / (download) - annotate - [select for diffs], Fri Oct 26 10:46:21 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.111: +5 -1 lines
Diff to previous 1.111 (colored) to selected 1.2.2.2 (colored)

Add ehci at acpi glue

Revision 1.111 / (download) - annotate - [select for diffs], Mon Oct 22 22:36:19 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.110: +6 -1 lines
Diff to previous 1.110 (colored) to selected 1.2.2.2 (colored)

Add driver for ACPI Generic Event Device

Revision 1.110 / (download) - annotate - [select for diffs], Mon Oct 22 22:29:35 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored) to selected 1.2.2.2 (colored)

Factor out common ACPI event code into a shared module.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Oct 21 12:26:38 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.108: +5 -1 lines
Diff to previous 1.108 (colored) to selected 1.2.2.2 (colored)

Add ACPI attach glue for virtio_mmio.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101: +22 -3 lines
Diff to previous 1.101 (colored) to selected 1.2.2.2 (colored)

Sync with head

Revision 1.108 / (download) - annotate - [select for diffs], Fri Oct 19 21:09:10 2018 UTC (5 years, 5 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.107: +5 -1 lines
Diff to previous 1.107 (colored) to selected 1.2.2.2 (colored)

Add amdccp(4) driver for AMD Cryptographic Coprocessor, as found on the
A11xx Opterons.  Driver currently provides RNG service only.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Oct 17 00:03:47 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.106: +5 -1 lines
Diff to previous 1.106 (colored) to selected 1.2.2.2 (colored)

Add ACPI glue for DesignWare I2C controller.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Oct 16 10:25:33 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.2.2.2 (colored)

Rename options ACPI_REDUCED_HARDWARE to ACPI_REDUCED_HW. The former is
a boolean in the acpica build, so use the latter to select the correct
value.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Oct 16 00:30:08 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.2.2.2 (colored)

Add ACPI_REDUCED_HARDWARE defflag (used by ACPICA) and fix acpi build with this option set.

Revision 1.104 / (download) - annotate - [select for diffs], Mon Oct 15 23:59:16 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.103: +5 -1 lines
Diff to previous 1.103 (colored) to selected 1.2.2.2 (colored)

Add ACPI glue for PL061 GPIO

Revision 1.103 / (download) - annotate - [select for diffs], Fri Oct 12 23:26:18 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored) to selected 1.2.2.2 (colored)

Add ahcisata at acpi glue

Revision 1.102 / (download) - annotate - [select for diffs], Fri Oct 12 21:38:10 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.101: +5 -2 lines
Diff to previous 1.101 (colored) to selected 1.2.2.2 (colored)

Add attributes for attaching acpi(4) child devices based on SDT, GTDT, and MADT subtables.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Mar 1 06:00:49 2018 UTC (6 years ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored) to selected 1.2.2.2 (colored)

Limit building & calling ACPI MCFG to kernels with PCI and ACPI.

pci_quirks.c requires pci
acpi_mcfg.c was recently changed to use pci_quirks.c functions.

as a result, ia64 kernels with acpi but no pci failed to link.

tested an ia64 and amd64 kernels build.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Dec 10 16:51:30 2017 UTC (6 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored) to selected 1.2.2.2 (colored)

Implement a ACPI helper to fill the property array expected from our I2C
framework from the ACPI tables.
Also implement acpi_intr_establish(), acpi_intr_disestablish() and
acpi_intr_string().
Needed for the upcoming HID over I2C support, proposed on tech-kern@
on Dec, 1.

Revision 1.93.6.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.93.6.1: +15 -0 lines
Diff to previous 1.93.6.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.2.2.2 (colored)

update from HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Sat Nov 25 16:31:03 2017 UTC (6 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.98: +5 -1 lines
Diff to previous 1.98 (colored) to selected 1.2.2.2 (colored)

Add driver for QEMU Firmware Configuration device.

This interface allows the host to pass various data items and files to
the guest OS.

Revision 1.95.2.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:01 2016 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95.2.2: +5 -1 lines
Diff to previous 1.95.2.2 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jun 21 11:35:47 2016 UTC (7 years, 9 months ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.97: +5 -1 lines
Diff to previous 1.97 (colored) to selected 1.2.2.2 (colored)

Add sdhc(4) at acpi support

Revision 1.95.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:48 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95.2.1: +2 -1 lines
Diff to previous 1.95.2.1 (colored) to branchpoint 1.95 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.97 / (download) - annotate - [select for diffs], Fri Oct 2 05:22:52 2015 UTC (8 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored) to selected 1.2.2.2 (colored)

PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
  if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
  Currently the following extended capabilities are decoded:
   - Advanced Error Reporting
   - Virtual Channel
   - Device Serial Number
   - Power Budgeting
   - Root Complex Link Declaration
   - Root Complex Event Collector Association
   - Access Control Services
   - Alternative Routing-ID Interpretation
   - Address Translation Services
   - Single Root IO Virtualization
   - Page Request
   - TPH Requester
   - Latency Tolerance Reporting
   - Secondary PCI Express
   - Process Address Space ID
   - LN Requester
   - L1 PM Substates
  The following extended capabilities are not decoded yet:
   - Root Complex Internal Link Control
   - Multi-Function Virtual Channel
   - RCRB Header
   - Vendor Unique
   - Configuration Access Correction
   - Multiple Root IO Virtualization
   - Multicast
   - Resizable BAR
   - Dynamic Power Allocation
   - Protocol Multiplexing
   - Downstream Port Containment
   - Precision Time Management
   - M-PCIe
   - Function Reading Status Queueing
   - Readiness Time Reporting
   - Designated Vendor-Specific

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:56 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95: +6 -1 lines
Diff to previous 1.95 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 21 12:32:06 2015 UTC (8 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.95: +6 -1 lines
Diff to previous 1.95 (colored) to selected 1.2.2.2 (colored)

PR/50261: Added newer Toshiba hotkeys support.

Revision 1.94.4.1 / (download) - annotate - [select for diffs], Mon Sep 22 10:47:39 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) next main 1.95 (colored) to selected 1.2.2.2 (colored)

Pull up following revision(s) (requested by mrg in ticket #111):
	sys/dev/acpi/files.acpi: revision 1.95
	share/man/man4/acpi.4: revision 1.78
	sys/dev/acpi/acpi_pci_link.c: revision 1.22
introduce a new option: ACPI__DIS_IS_BROKEN.  this is a hack to
avoid calling the "_DIS" method during acpi interrupt link setup,
which hangs various nforce4 based motherboards.
when the problem is properly fixed, remove this hack.  for now,
it allows someone (me) to have a valid kernel config that doesn't
require a source hack every new tree.
ok chs@

Revision 1.95 / (download) - annotate - [select for diffs], Sun Sep 14 19:54:05 2014 UTC (9 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) to selected 1.2.2.2 (colored)

introduce a new option: ACPI__DIS_IS_BROKEN.  this is a hack to
avoid calling the "_DIS" method during acpi interrupt link setup,
which hangs various nforce4 based motherboards.

when the problem is properly fixed, remove this hack.  for now,
it allows someone (me) to have a valid kernel config that doesn't
require a source hack every new tree.

ok chs@

Revision 1.93.6.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:35 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.93: +5 -1 lines
Diff to previous 1.93 (colored) to selected 1.2.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:19 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.92.2.1: +5 -1 lines
Diff to previous 1.92.2.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored) to selected 1.2.2.2 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.93.10.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:35 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.93: +5 -1 lines
Diff to previous 1.93 (colored) next main 1.94 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Tue Apr 1 17:47:36 2014 UTC (9 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.93: +5 -1 lines
Diff to previous 1.93 (colored) to selected 1.2.2.2 (colored)

First draft of drivers for the Apple System Management Controller.

Device interface derived by reading the Linux driver source code and
<http:///www.parhelia.ch/blog/statics/k3_keys.html> as of 2012-12-05.

Includes support for attaching fan and temperature sensors to sysmon.
No accelerometer yet.

Compile-tested only, based on some run-testing of experiments from
userland.  Module attachment is not quite finished, so it won't work
yet.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:27 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.92: +5 -1 lines
Diff to previous 1.92 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.92.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:07 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.92: +5 -1 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.2.2.2 (colored)

merge to -current.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Jan 22 06:44:28 2012 UTC (12 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.92: +5 -1 lines
Diff to previous 1.92 (colored) to selected 1.2.2.2 (colored)

add a tpm driver from bsssd.sourceforge.net

Revision 1.92 / (download) - annotate - [select for diffs], Thu Sep 22 01:15:31 2011 UTC (12 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.91: +1 -6 lines
Diff to previous 1.91 (colored) to selected 1.2.2.2 (colored)

valz(4) is superseded entirely by acpivga(4) these days.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jul 13 07:52:48 2011 UTC (12 years, 8 months ago) by jruoho
Branch: MAIN
Changes since 1.90: +6 -1 lines
Diff to previous 1.90 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Jun 23 14:19:57 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.88: +8 -6 lines
Diff to previous 1.88 (colored) next main 1.89 (colored) to selected 1.2.2.2 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Jun 14 13:59:23 2011 UTC (12 years, 9 months ago) by jruoho
Branch: MAIN
Changes since 1.89: +6 -4 lines
Diff to previous 1.89 (colored) to selected 1.2.2.2 (colored)

Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jun 12 07:25:43 2011 UTC (12 years, 9 months ago) by jruoho
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Jun 6 09:07:42 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.84: +13 -12 lines
Diff to previous 1.84 (colored) next main 1.85 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:04 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.67.2.2: +36 -3 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:16 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.86: +6 -11 lines
Diff to previous 1.86 (colored) next main 1.87 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Sun Feb 27 17:10:33 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: cherry-xenmp
Changes since 1.87: +1 -9 lines
Diff to previous 1.87 (colored) to selected 1.2.2.2 (colored)

Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".

Revision 1.87 / (download) - annotate - [select for diffs], Sun Feb 20 08:31:46 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.86: +6 -3 lines
Diff to previous 1.86 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Jan 17 15:55:24 2011 UTC (13 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.2.2.2 (colored)

acpiwdrt needs sysmon_wdog

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jan 17 15:49:13 2011 UTC (13 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.84: +8 -2 lines
Diff to previous 1.84 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Jan 9 15:12:34 2011 UTC (13 years, 2 months ago) by jruoho
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.83: +6 -1 lines
Diff to previous 1.83 (colored) to selected 1.2.2.2 (colored)

Add a dummy-driver for ACPI fans.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Jan 5 20:08:12 2011 UTC (13 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.82: +6 -1 lines
Diff to previous 1.82 (colored) to selected 1.2.2.2 (colored)

Add a driver for ACPI power meters.

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:27 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66.2.3: +8 -1 lines
Diff to previous 1.66.2.3 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Nov 5 10:28:20 2010 UTC (13 years, 4 months ago) by gsutre
Branch: MAIN
CVS Tags: uebayasi-xip-base4, matt-mips64-premerge-20101231
Changes since 1.81: +8 -1 lines
Diff to previous 1.81 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Oct 22 07:21:53 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66.2.2: +8 -0 lines
Diff to previous 1.66.2.2 (colored) to branchpoint 1.66 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD (-D20101022).

Revision 1.81 / (download) - annotate - [select for diffs], Tue Oct 12 19:10:50 2010 UTC (13 years, 5 months ago) by gsutre
Branch: MAIN
CVS Tags: uebayasi-xip-base3
Changes since 1.80: +8 -1 lines
Diff to previous 1.80 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sat Oct 9 03:32:04 2010 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.7: +3 -1 lines
Diff to previous 1.50.4.7 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.80 / (download) - annotate - [select for diffs], Mon Sep 6 15:54:27 2010 UTC (13 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Tue Aug 17 06:46:02 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66.2.1: +9 -1 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Aug 13 16:21:50 2010 UTC (13 years, 7 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base2
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Aug 11 22:53:16 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.6: +26 -17 lines
Diff to previous 1.50.4.6 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Aug 8 17:21:14 2010 UTC (13 years, 7 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.2.2.2 (colored)

Add P-states. (I blame the ease of using modules.)

Revision 1.77 / (download) - annotate - [select for diffs], Sat Aug 7 09:41:19 2010 UTC (13 years, 7 months ago) by jruoho
Branch: MAIN
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Jul 18 09:29:12 2010 UTC (13 years, 8 months ago) by jruoho
Branch: MAIN
Changes since 1.75: +7 -1 lines
Diff to previous 1.75 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sat Jul 3 01:19:34 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.67.2.1: +2 -1 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Mon May 31 20:32:29 2010 UTC (13 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun May 30 05:17:17 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.67: +18 -16 lines
Diff to previous 1.67 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:06 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66: +22 -15 lines
Diff to previous 1.66 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Apr 22 18:40:09 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Apr 21 00:27:34 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.2.2.2 (colored)

sync to netbsd-5

Revision 1.73 / (download) - annotate - [select for diffs], Wed Apr 14 17:12:14 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.72: +6 -5 lines
Diff to previous 1.72 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Apr 11 22:42:30 2010 UTC (13 years, 11 months ago) by jakllsch
Branch: MAIN
Changes since 1.71: +6 -1 lines
Diff to previous 1.71 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sat Apr 10 17:55:24 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.70: +6 -1 lines
Diff to previous 1.70 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Apr 8 12:14:19 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.69: +1 -7 lines
Diff to previous 1.69 (colored) to selected 1.2.2.2 (colored)

Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 8 09:36:03 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored) to selected 1.2.2.2 (colored)

Include 'files.wmi'.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Mar 19 04:04:28 2010 UTC (14 years ago) by cnst
Branch: MAIN
Changes since 1.67: +1 -6 lines
Diff to previous 1.67 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Mar 11 15:03:23 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.5: +25 -1 lines
Diff to previous 1.50.4.5 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Tue Feb 9 03:19:51 2010 UTC (14 years, 1 month ago) by cnst
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.66: +6 -1 lines
Diff to previous 1.66 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sat Feb 6 20:10:18 2010 UTC (14 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.65: +6 -1 lines
Diff to previous 1.65 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Jan 31 11:26:20 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored) to selected 1.2.2.2 (colored)

Add dynamic debug options for ACPI_DEBUG kernels.

ok jmcneill@, pooka@, pgoyette@

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jan 3 17:53:15 2010 UTC (14 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Dec 3 21:04:29 2009 UTC (14 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Nov 25 13:21:49 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Nov 25 13:17:06 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Oct 8 09:47:09 2009 UTC (14 years, 5 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.52.8.2: +5 -1 lines
Diff to previous 1.52.8.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Oct 2 16:47:52 2009 UTC (14 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.59: +6 -1 lines
Diff to previous 1.59 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Sep 30 20:44:50 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.58: +5 -1 lines
Diff to previous 1.58 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Sep 16 13:37:45 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.4: +1 -6 lines
Diff to previous 1.50.4.4 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.52.8.2 / (download) - annotate - [select for diffs], Sat Sep 5 11:34:26 2009 UTC (14 years, 6 months ago) by bouyer
Branch: netbsd-5
Changes since 1.52.8.1: +2 -1 lines
Diff to previous 1.52.8.1 (colored) to branchpoint 1.52 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Aug 31 14:48:41 2009 UTC (14 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.57: +1 -6 lines
Diff to previous 1.57 (colored) to selected 1.2.2.2 (colored)

Don't reference files that don't exist, and cvs diff before commit.

Revision 1.52.8.1 / (download) - annotate - [select for diffs], Sun Aug 30 03:01:26 2009 UTC (14 years, 7 months ago) by snj
Branch: netbsd-5
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Aug 19 18:47:03 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.3: +9 -4 lines
Diff to previous 1.50.4.3 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 18 16:41:02 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) to selected 1.2.2.2 (colored)

Switch to ACPICA 20090730, and update for API changes.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Aug 9 19:36:28 2009 UTC (14 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored) to selected 1.2.2.2 (colored)

spic has moved.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Aug 4 14:20:41 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Aug 3 10:30:29 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.2.2.2 (colored)

- 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) - annotate - [select for diffs], Thu Jul 23 23:31:45 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.50.4.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:59 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.2: +2 -2 lines
Diff to previous 1.50.4.2 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jul 6 12:36:31 2009 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.2.2.2 (colored)

Ignore breakpoints in the DSDT even if DDB is present.
A new option ACPI_BREAKPOINT reenables them.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:34 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50.4.1: +6 -1 lines
Diff to previous 1.50.4.1 (colored) to branchpoint 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:58 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +6 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.2.2.2 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:10 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.50.2.1: +6 -1 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.49.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:13 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.49.6.1: +10 -0 lines
Diff to previous 1.49.6.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 18 22:05:59 2008 UTC (15 years, 10 months ago) by cegger
Branch: 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
Changes since 1.51: +6 -1 lines
Diff to previous 1.51 (colored) to selected 1.2.2.2 (colored)

acpidalb(4): Driver for PNP0C32 Hotkeys aka "Direct Application Launch Buttons".
"awesome" jmcneill

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:34 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:53 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 1 20:18:19 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored) to selected 1.2.2.2 (colored)

hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:37 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.49: +6 -1 lines
Diff to previous 1.49 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Mar 31 15:17:21 2008 UTC (16 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.49: +6 -1 lines
Diff to previous 1.49 (colored) to selected 1.2.2.2 (colored)

Add ASUS ACPI hotkey driver, as found in the Eee PC.

Revision 1.32.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:33 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.32.2.4: +21 -3 lines
Diff to previous 1.32.2.4 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:21 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.46: +21 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.2.2.2 (colored)

sync with HEAD

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:51 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.47: +16 -1 lines
Diff to previous 1.47 (colored) next main 1.48 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:01 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.46: +21 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Dec 23 17:29:26 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: 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
Changes since 1.48: +11 -1 lines
Diff to previous 1.48 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Dec 21 15:15:20 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.47: +6 -1 lines
Diff to previous 1.47 (colored) to selected 1.2.2.2 (colored)

Add Thinkpad ACPI driver, for controlling hotkeys and display brightness.

Revision 1.46.12.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:22:35 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-kmem
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:53 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored) to selected 1.2.2.2 (colored)

Merge jmcneill-pm branch.

Revision 1.42.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:14 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.3: +2 -2 lines
Diff to previous 1.42.2.3 (colored) next main 1.43 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.45.6.2 / (download) - annotate - [select for diffs], Tue Oct 2 21:44:11 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.45.6.1: +6 -3 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Sep 3 16:47:53 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.32.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:21 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.32.2.3: +15 -2 lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:12 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 23 10:04:07 2007 UTC (16 years, 7 months ago) by tnn
Branch: 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
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.2.2.2 (colored)

apm emulation needs envsys. From Jukka Salmi on the current-users list.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:05:10 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.42: +9 -1 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Sun May 27 14:29:58 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.2: +5 -1 lines
Diff to previous 1.42.2.2 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Thu May 17 13:41:23 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41.2.2: +5 -1 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Sun May 13 06:52:53 2007 UTC (16 years, 10 months ago) by pavel
Branch: 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
Changes since 1.40: +5 -1 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Tue May 8 16:48:37 2007 UTC (16 years, 10 months ago) by xtraeme
Branch: 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
Changes since 1.44: +5 -1 lines
Diff to previous 1.44 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Tue Apr 10 13:24:21 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.1: +3 -3 lines
Diff to previous 1.42.2.1 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:19 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.41.2.1: +5 -1 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 14 00:43:04 2007 UTC (17 years ago) by xtraeme
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.2.2.2 (colored)

Rename acpi_aiboost to aiboost, suggested by cube.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:21 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.42: +5 -1 lines
Diff to previous 1.42 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 13 04:01:51 2007 UTC (17 years ago) by xtraeme
Branch: MAIN
Changes since 1.42: +5 -1 lines
Diff to previous 1.42 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Mar 12 05:53:07 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 8 14:26:28 2007 UTC (17 years ago) by njoly
Branch: MAIN
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Feb 26 09:09:57 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.32.2.2: +2 -2 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:34 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.2.2.2 (colored)

Sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 9 13:41:30 2007 UTC (17 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sat Dec 30 20:47:54 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.32.2.1: +34 -20 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:29 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.35: +34 -20 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.35.6.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:55 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.35.6.2: +5 -1 lines
Diff to previous 1.35.6.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 14 09:34:43 2006 UTC (17 years, 7 months ago) by itohy
Branch: 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
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored) to selected 1.2.2.2 (colored)

ACPI frontend for Yamaha OPL3-SA[23].
Derived from PR kern/33991 by jasper at pointless dot net.

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:59 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.35.6.1: +29 -20 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored) to selected 1.2.2.2 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 6 15:46:54 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.38: +22 -19 lines
Diff to previous 1.38 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Jul 13 17:49:17 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.35: +10 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.2.2.2 (colored)

Merge from HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jul 8 20:23:53 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.37: +5 -1 lines
Diff to previous 1.37 (colored) to selected 1.2.2.2 (colored)

Add acpi apm attachment based on sysmon hooks.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 4 00:30:23 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored) to selected 1.2.2.2 (colored)

Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:50:37 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 21 17:47:23 2006 UTC (17 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Jun 21 15:02:32 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:48 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.33.2.1: +2 -2 lines
Diff to previous 1.33.2.1 (colored) next main 1.34 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jan 31 09:30:06 2006 UTC (18 years, 2 months ago) by kochi
Branch: 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
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Jan 15 10:02:48 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 5 16:56:54 2006 UTC (18 years, 2 months ago) by rpaulo
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.2.2.2 (colored)

* defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
* adjust comments to reality

Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:02 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored) to selected 1.2.2.2 (colored)

merge ktrace-lwp.

Revision 1.20.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:11 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.5: +2 -2 lines
Diff to previous 1.20.2.5 (colored) next main 1.21 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 21 08:19:25 2005 UTC (18 years, 9 months ago) by sekiya
Branch: 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
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Apr 29 11:28:45 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.29: +9 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.2.2.2 (colored)

sync with -current

Revision 1.20.2.5 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:52 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.4: +9 -1 lines
Diff to previous 1.20.2.4 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:18 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.29: +9 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.2.2.2 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 25 23:06:19 2005 UTC (19 years ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base4, kent-audio2-base
Changes since 1.30: +5 -1 lines
Diff to previous 1.30 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon Mar 21 14:06:46 2005 UTC (19 years ago) by xtraeme
Branch: MAIN
Changes since 1.29: +5 -1 lines
Diff to previous 1.29 (colored) to selected 1.2.2.2 (colored)

Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:56 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.3: +9 -1 lines
Diff to previous 1.20.2.3 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 2 14:33:31 2004 UTC (19 years, 3 months ago) by xtraeme
Branch: 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.28: +5 -1 lines
Diff to previous 1.28 (colored) to selected 1.2.2.2 (colored)

Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed and ok'ed by cube@ and martin@.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 2 09:50:42 2004 UTC (19 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.27: +5 -1 lines
Diff to previous 1.27 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Tue Sep 21 13:26:40 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.2: +1 -1 lines
Diff to previous 1.20.2.2 (colored) to selected 1.2.2.2 (colored)

Fix the sync with head I botched.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:42 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20.2.1: +0 -0 lines
Diff to previous 1.20.2.1 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:45:03 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.20: +10 -6 lines
Diff to previous 1.20 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Mon Jun 14 03:19:01 2004 UTC (19 years, 9 months ago) by jmc
Branch: 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
Changes since 1.22.2.1: +2 -2 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.2.2.2 (colored)

Pullup patch (requested by kochi in ticket #463)

Add ACPI_DISABLE_ON_POWEROFF option. PR#24869

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 7 15:33:17 2004 UTC (19 years, 9 months ago) by kochi
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu May 27 11:26:33 2004 UTC (19 years, 10 months ago) by kochi
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.2.2.2 (colored)

don't compile acpi_madt.c unless options MPACPI is specified.

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 26 17:15:17 2004 UTC (19 years, 10 months ago) by kochi
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Mon May 3 07:44:36 2004 UTC (19 years, 10 months ago) by kochi
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.2.2.2 (colored)

Add sysmon pswitch hook so that powerd(8) can monitor
AC adapter online/offline events.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Apr 28 05:25:23 2004 UTC (19 years, 11 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Wed Mar 31 11:19:39 2004 UTC (20 years ago) by tron
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.2.2.2 (colored)

Only call acpiec_early_attach() in "acpi.c" if the kernel is configured
to include the "acpiec" device.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 31 13:59:20 2004 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.2.2.2 (colored)

add dependency on isadma for atppc attachments
add atppc_isadma.c for atppc@isapnp and atppc@ofisa, too

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 25 11:46:49 2004 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored) to selected 1.2.2.2 (colored)

add ACPI atppc(4) attachment; probes properly, DMA and actual transfer
not tested yet

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 15 21:29:50 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Apr 20 20:21:29 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.2.2.2 (colored)

Use sysmon_taskq.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 17 20:56:29 2003 UTC (20 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.2.2.2 (colored)

acpi.c needs sysmon_power too.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 17 01:22:21 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.2.2.2 (colored)

* 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) - annotate - [select for diffs], Wed Jan 15 18:44:14 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.4.8: +2 -2 lines
Diff to previous 1.2.4.8 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 12 01:15:50 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.2.2.2 (colored)

add some more flags used only in acpi.c

Revision 1.2.4.8 / (download) - annotate - [select for diffs], Tue Jan 7 21:34:00 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.4.7: +8 -2 lines
Diff to previous 1.2.4.7 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 5 22:33:23 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.2.2.2 (colored)

add ACPIVERBOSE; while I am there, fix the eval_string function so it does
not leak.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 5 01:03:45 2003 UTC (21 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored) to selected 1.2.2.2 (colored)

Add some code to deal with the MADT.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 4 05:36:03 2003 UTC (21 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Jan 3 17:01:11 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.4.6: +3 -3 lines
Diff to previous 1.2.4.6 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 31 05:26:57 2002 UTC (21 years, 3 months ago) by explorer
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Sun Dec 29 20:45:31 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.4.5: +21 -1 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 28 19:31:35 2002 UTC (21 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored) to selected 1.2.2.2 (colored)

Add an fdc at acpi(4) attachment

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 28 08:45:31 2002 UTC (21 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored) to selected 1.2.2.2 (colored)

Add a pckbc acpi attachment (it compiles but it untested).

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 28 08:04:28 2002 UTC (21 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored) to selected 1.2.2.2 (colored)

Add an lpt attachment to acpi(4)

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 28 06:20:15 2002 UTC (21 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Fri Sep 6 08:43:49 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.2.3: +1 -5 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.2.2.2 (colored)

sync kqueue branch with HEAD

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:12 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.6: +1 -5 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.2.2.2 (colored)

catch up with -current.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:45:03 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.2.2: +10 -1 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) to selected 1.2.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:27 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.4: +1 -1 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 17 22:39:25 2002 UTC (21 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base
Changes since 1.6: +1 -5 lines
Diff to previous 1.6 (colored) to selected 1.2.2.2 (colored)

move spic_acpi to arch/i386/acpi

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 22 12:42:56 2002 UTC (21 years, 11 months ago) by augustss
Branch: 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
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored) to selected 1.2.2.2 (colored)

Attach the spic driver via ACPI.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:07 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.3: +6 -1 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 24 03:46:10 2002 UTC (22 years ago) by sommerfeld
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored) to selected 1.2.2.2 (colored)

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) - annotate - [select for diffs], Thu Jan 10 19:52:54 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.4.2.1: +30 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.2.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:29:20 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.2: +2 -2 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Catch up to -current.

Revision 1.4.2.1, Wed Nov 28 10:21:21 2001 UTC (22 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.4: +0 -30 lines
FILE REMOVED

file files.acpi was added on branch kqueue on 2002-01-10 19:52:54 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 28 10:21:21 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.2.2.2 (colored)

- 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) - annotate - [select for diffs], Tue Nov 20 14:34:27 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.2.2.2 (colored)

- 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) - annotate - [select for diffs], Mon Oct 8 21:18:06 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.4.1: +30 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) to selected 1.2.2.2 (colored)

Catch up to -current.

Revision 1.2.2.2 / (download) - annotate - [selected], Mon Oct 1 12:44:18 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.2.2.1: +30 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Catch up with -current.

Revision 1.2.4.1, Sat Sep 29 05:36:03 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +0 -30 lines
FILE REMOVED

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 05:36:03 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.2: +0 -30 lines
FILE REMOVED

file files.acpi was added on branch thorpej-devvp on 2001-10-01 12:44:18 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 29 05:36:03 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-devvp, nathanw_sa
Changes since 1.1: +10 -4 lines
Diff to previous 1.1 (colored) to selected 1.2.2.2 (colored)

Build acpi_resource.c, add "acpiec" and "acpiacad".

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 28 02:09:24 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Diff to selected 1.2.2.2 (colored)

Add some basic ACPI probing framework.  This is far from complete,
it is merely a work in progress.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>