The NetBSD Project

CVS log for src/sys/dev/acpi/acpivar.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.89.4.1 / (download) - annotate - [select for diffs], Mon Mar 25 15:05:17 2024 UTC (3 weeks, 4 days ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE
Changes since 1.89: +8 -1 lines
Diff to previous 1.89 (colored) next main 1.90 (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.90 / (download) - annotate - [select for diffs], Wed Mar 20 03:14:45 2024 UTC (4 weeks, 2 days ago) by riastradh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.89: +8 -1 lines
Diff to previous 1.89 (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.89 / (download) - annotate - [select for diffs], Sun Dec 26 14:34:39 2021 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.88: +4 -2 lines
Diff to previous 1.88 (colored)

acpi: Support DT link device ID

The PRP0001 device ID is used to tell the OS to match a driver against
the "compatible" _DSD property. Make acpi_compatible_match aware of this
special device ID and match device compatible entries against the
compatible property when applicable.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 20 11:17:40 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Fix struct member prefix to be consistent.  same code before and after.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Aug 7 18:39:40 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored)

acpi: Add acpi_resource_parse_any().

Like acpi_resource_parse(), but doesn't exclude "produced" resources.

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:17 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

sync with head

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:29 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Wed May 12 23:22:33 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored)

- Define a device call for PCI bus instances to fetch a direct child's
  device handle given the device's device/function #s (extracted from
  a pcitag_t).  Use it to associate the handle with the child device
  at config_found() time.
- Implement this device call for ACPI and OpenFirmware.
- Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64.
- Obsolete acpi_device_register(); it is no longer needed.
- Obsolete setting the OpenFirmware handle in PCI devices in the
  sparc64 device_register(); it is no longer needed.

Revision 1.82.6.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:43 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.82.6.1: +14 -1 lines
Diff to previous 1.82.6.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Feb 4 21:39:00 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

Add acpi_device_register().  Just a placeholder for now.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jan 27 05:11:54 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +13 -1 lines
Diff to previous 1.83 (colored)

Introduce weighted matching for ACPI autoconfiguration, and provide
acpi_compatible_match() based around device_compatible_entry.  Matches
against _HID score big, matches against _CID are weighted in the
standard most-to-least-specific ordering, less than _HID.

Also provide a maching value for _CLS, that's always less than _HID
and _CID matches, and use that in acpi_match_class().

Also provide acpi_compatible_lookup(), that returing the matching
entry based on the same criteria.

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

Sync w/ HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Dec 6 11:38:28 2020 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.82: +1 -3 lines
Diff to previous 1.82 (colored)

acpi: remove unused acpi_quirks_osi_* functions

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.75.2.1: +14 -5 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Merge changes from current as of 20200406

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:30 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.81: +7 -4 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jan 17 17:06:32 2020 UTC (4 years, 3 months 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, ad-namecache-base2, ad-namecache-base1
Branch point for: thorpej-futex
Changes since 1.81: +7 -4 lines
Diff to previous 1.81 (colored)

Add support for Arm N1 SDP PCIe host controller.

The N1 SDP has a few bugs that we need to work around:
 - PCIe root port config space lives in a non-standard location.
 - Access to PCIe config space of devices that do not exist results in
   an sync SError. Firmware creates a "known devices" table at a fixed
   physical address that we use to filter PCI conf access to only known
   devices.

This change splits the Arm ACPI PCI quirks into separate files for each
host controller, and allows per-segment quirks to be applied.

These changes exposed some bugs in the MI ACPI layer related to
multi-segment support. The MI ACPI PCI code was using a shared PCI
chipset tag to access devices, and these accesses can happen before our
PCI host bridge drivers are attached! The global chipset tag is now gone,
and an MD callback can provide a custom tag on a per-segment basis.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Dec 31 17:26:04 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.80: +3 -5 lines
Diff to previous 1.80 (colored)

Rely on 32/64-bit overflow to calculate translation offsets. Store this
as a separate ar_xbase field in acpi_mem instead of having separate
ar_offset and ar_decode fields.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Dec 31 13:39:15 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored)

Include device decoding type in acpi_mem resources

Revision 1.79 / (download) - annotate - [select for diffs], Tue Dec 31 12:27:50 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.78: +5 -2 lines
Diff to previous 1.78 (colored)

Fetch bus_dma tags when acpi devnodes are created. They do not change
and this allows MD code to create more complex tags without being
concerned with the tag being destroyed later. While here, capture
translations offsets for address32/address64 resources.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Dec 29 23:47:56 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.77: +4 -1 lines
Diff to previous 1.77 (colored)

Allow MD code to provide custom bus_dma tags on a per-node basis. On Arm
this is required to return non-coherent bus_dma tags for device nodes with
_CCA=0

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.75: +18 -10 lines
Diff to previous 1.75 (colored)

Sync with HEAD

Revision 1.74.16.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:30 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.74.16.2: +10 -10 lines
Diff to previous 1.74.16.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.77 / (download) - annotate - [select for diffs], Thu Oct 25 10:38:57 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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
Changes since 1.76: +10 -10 lines
Diff to previous 1.76 (colored)

Add support for 64-bit memory resources.

Revision 1.74.16.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.74.16.1: +9 -1 lines
Diff to previous 1.74.16.1 (colored) to branchpoint 1.74 (colored)

Sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Fri Oct 12 21:20:54 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.75: +9 -1 lines
Diff to previous 1.75 (colored)

Add helper functions for walking GTDT subtables.

Revision 1.74.16.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.74: +3 -1 lines
Diff to previous 1.74 (colored)

Sync with HEAD

Revision 1.75 / (download) - annotate - [select for diffs], Sat May 5 17:16:23 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.74: +3 -1 lines
Diff to previous 1.74 (colored)

introduce acpi_device_present() to replace the previous _STA checks.

Revision 1.73.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.73: +7 -1 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

update from HEAD

Revision 1.73.30.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:01 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.73: +7 -1 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jun 21 11:33:33 2016 UTC (7 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, 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
Branch point for: pgoyette-compat
Changes since 1.73: +7 -1 lines
Diff to previous 1.73 (colored)

Pass bus_dma(9) tag to allow for porting sdhc(4) at acpi.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Aug 1 11:25:59 2011 UTC (12 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, 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-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.72: +3 -1 lines
Diff to previous 1.72 (colored)

add support for reset registers in PCI config space

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:56 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.69: +5 -4 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jun 21 03:37:21 2011 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Rename acpi_get_node() to acpi_match_node() for consistency.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jun 15 09:02:38 2011 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Do not entirely bypass the printfs during resource parsing, as many drivers
rely on those for their autoconf(9) messages. Instead add a "quiet" option.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jun 14 13:59:23 2011 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

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

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:42 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.66: +15 -10 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:03 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43.2.2: +60 -21 lines
Diff to previous 1.43.2.2 (colored) next main 1.44 (colored)

sync with head

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:16 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.67: +13 -10 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 20 06:45:32 2011 UTC (13 years, 2 months 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.68: +11 -9 lines
Diff to previous 1.68 (colored)

Add quirk support for _OSI strings introduced in ACPICA 20110211. While
here, clean up acpi_probe() and the quirk code. Remove #ifdef ACPI_DEBUGGER.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Feb 17 19:36:49 2011 UTC (13 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.67: +3 -2 lines
Diff to previous 1.67 (colored)

As explained in the new ACPICA documentation, as of ACPICA 20101207, the
_PRW methods are no longer automatically executed as part of the ACPICA
initialization. Refactor and rewrite the wake-device code to account this.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jan 17 15:49:13 2011 UTC (13 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Thu Jan 13 05:14:48 2011 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

Scan for docking stations.

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:27 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.40.2.3: +16 -4 lines
Diff to previous 1.40.2.3 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Oct 26 22:27:44 2010 UTC (13 years, 5 months ago) by gsutre
Branch: MAIN
CVS Tags: uebayasi-xip-base4, matt-mips64-premerge-20101231
Changes since 1.64: +15 -3 lines
Diff to previous 1.64 (colored)

An _ADR object is not required for PCI root bridges.  To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@

Revision 1.64 / (download) - annotate - [select for diffs], Sun Oct 24 07:53:04 2010 UTC (13 years, 5 months ago) by jruoho
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

Simplify acpi_enter_sleep_state() and guard it against NULL pointer
dereferences. Try to avoid referencing the global acpi_softc, which should
really be static or at least internal to acpi(4).

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:53 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.40.2.2: +12 -0 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored)

Sync with HEAD (-D20101022).

Revision 1.32.4.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:04 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.4: +13 -1 lines
Diff to previous 1.32.4.4 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 24 07:48:59 2010 UTC (13 years, 6 months ago) by gsutre
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Changes since 1.62: +12 -1 lines
Diff to previous 1.62 (colored)

Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@

Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 6 15:54:27 2010 UTC (13 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (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.40.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:01 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.40.2.1: +37 -12 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.32.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:16 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.3: +97 -76 lines
Diff to previous 1.32.4.3 (colored) to branchpoint 1.32 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Aug 7 20:07:25 2010 UTC (13 years, 8 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Do not try to disable ACPI if we can not enter to legacy mode. While it is
safe to call AcpiDisable() even if a system operates only in ACPI mode, this
leads to unpleasantly verbose error messages in ACPICA.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Aug 7 09:41:19 2010 UTC (13 years, 8 months ago) by jruoho
Branch: MAIN
Changes since 1.59: +13 -1 lines
Diff to previous 1.59 (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.59 / (download) - annotate - [select for diffs], Fri Aug 6 23:38:34 2010 UTC (13 years, 8 months ago) by jruoho
Branch: MAIN
Changes since 1.58: +2 -5 lines
Diff to previous 1.58 (colored)

Simplify the acpiverbose module.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Aug 6 22:45:00 2010 UTC (13 years, 8 months ago) by jruoho
Branch: MAIN
Changes since 1.57: +4 -5 lines
Diff to previous 1.57 (colored)

Remove the acpiwmi(4) dump from the ACPIVERBOSE module. Instead of this
complex solution, just use aprint_debug(9) in the driver.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:34 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43.2.1: +29 -13 lines
Diff to previous 1.43.2.1 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jun 8 16:55:02 2010 UTC (13 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.56: +16 -13 lines
Diff to previous 1.56 (colored)

Add and organize some comments. Add also ACPI_DEVICE_EJECT constant to
indicate "ejectable" devices such as docking stations.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jun 7 01:45:27 2010 UTC (13 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored)

Update acpiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 5 06:07:12 2010 UTC (13 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.54: +3 -4 lines
Diff to previous 1.54 (colored)

Remove trailing white space.

Revision 1.54 / (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.53: +11 -1 lines
Diff to previous 1.53 (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.43.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.43: +66 -69 lines
Diff to previous 1.43 (colored)

sync with head

Revision 1.40.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.40: +78 -93 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 27 08:37:07 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Include the new prototype for acpi_enter_sleep_state().

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 22 18:53:23 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.51: +1 -3 lines
Diff to previous 1.51 (colored)

Remove a redundant prototype. A leftover from the previous commit.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Apr 22 18:40:09 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.50: +6 -3 lines
Diff to previous 1.50 (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.50 / (download) - annotate - [select for diffs], Thu Apr 22 14:50:31 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.49: +22 -2 lines
Diff to previous 1.49 (colored)

From Gregoire Sutre: rework the ACPI PCI support. This makes ACPI to
correctly pick PCI segment groups, PCI bus numbers, PCI root bridges,
PCI-to-PCI bridges, and PCI devices, among other things. In short: it is
more robust than the old code or anything in sys/arch/x86/x86/mpacpi.c.

ok cegger@, jmcneill@

Revision 1.49 / (download) - annotate - [select for diffs], Sun Apr 18 14:05:26 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.48: +25 -26 lines
Diff to previous 1.48 (colored)

From Gregoire Sutre:

  Modify the main ACPI namespace scan by including a parent-child
  relationship for each node. The result is a bi-directional tree.

ok jmcneill@

Revision 1.48 / (download) - annotate - [select for diffs], Thu Apr 15 07:02:24 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.47: +11 -9 lines
Diff to previous 1.47 (colored)

As discussed with jmcneill@, install a global "bus notification handler"
that receives all notifications and deliver notifications to drivers via it.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 14 17:12:14 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.46: +7 -21 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Mon Apr 12 18:55:27 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.45: +2 -21 lines
Diff to previous 1.45 (colored)

Remove some unused and global variables. Make the code more readable. Deny
invalid writes to machdep.sleep_state. Cosmetics. No functional change.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 12 12:14:26 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.44: +2 -12 lines
Diff to previous 1.44 (colored)

Rework the sysctl-support.

Changes:

	hw.wake			->	hw.acpi.wake
	hw.acpi.debug_layer	->	hw.acpi.debug.layer
	hw.acpi.debug_level	->	hw.acpi.debug.level

Additions:

	hw.acpi.stat.gpe	# Number of dispatched GPEs
	hw.acpi.stat.sci	# Number of SCI interrupts
	hw.acpi.stat.fixed	# Number of fixed events
	hw.acpi.stat.method	# Number of executed methods

ok jmcneill@

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 16 05:48:43 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.43: +19 -1 lines
Diff to previous 1.43 (colored)

With the intent of making 'struct acpi_devnode' as the central place for
information related to ACPI device nodes: (a) introduce a generic scan
function for ACPI device driver "capabilities", and (b) eliminate local data
structures from ACPI wake-devices. Discussed with jmcneill@.

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:22 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.2: +22 -26 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Wed Mar 10 09:42:46 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

Move the ACPI_ACTIVATE_DEV block to one place. While there, provide missing
prototype for a function, try to make the code more simple, guard against a
potential NULL pointer dereference, and improve printing.

No functional change intended.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 9 18:15:22 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.41: +10 -26 lines
Diff to previous 1.41 (colored)

Remove the namespace scopes.

These are neither used nor useful beyond the parser and interpreter.

ok jmcneill@, joerg@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 5 08:30:48 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.40: +6 -1 lines
Diff to previous 1.40 (colored)

Protect all header files against multiple inclusions.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 31 11:26:20 2010 UTC (14 years, 2 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored)

Add dynamic debug options for ACPI_DEBUG kernels.

ok jmcneill@, pooka@, pgoyette@

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jan 18 18:06:31 2010 UTC (14 years, 3 months ago) by jruoho
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Introduce acpi_eval_reference_handle() --

an utility function to evaluate reference handles from package elements.

ok jmcneill@, pgoyette@

Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 29 21:32:50 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Introduce acpi_eval_set_integer().
Use it in various acpi drivers to simplify code.
Patch presented on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

No comments.

XXX Is there an acpi(9) manpage?

Revision 1.37 / (download) - annotate - [select for diffs], Sat Nov 28 17:02:14 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

u_int32_t -> uint32_t
struct device * -> device_t

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:18 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.1: +13 -13 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

sync with head

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:10 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34: +14 -13 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.36 / (download) - annotate - [select for diffs], Tue May 12 09:50:28 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.35: +13 -13 lines
Diff to previous 1.35 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:33 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:19 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.33.2.1: +2 -1 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Apr 8 00:23:30 2009 UTC (15 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Refactor slightly to create acpi_rescan(), a hook for rescanning the
devices that attach at acpi(4).

Begin deriving an acpi(4) device-detachment hook, acpi_detach(), from
acpi_attach().  The code between #if 0 and #endif still needs to be
turned to the opposite calls (enables to disables, maps to unmaps,
attaches to detaches), which should be run in the opposite order.
Somebody with deep ACPI knowledge can probably finish this off without
too much trouble.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:52 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.31.10.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:52 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31.10.2: +1 -0 lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.32.10.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:12 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.32.10.1: +2 -1 lines
Diff to previous 1.32.10.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Tue Nov 25 18:22:37 2008 UTC (15 years, 4 months ago) by snj
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, 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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by joerg in ticket #125):
	sys/arch/x86/acpi/acpi_wakeup.c: revision 1.11
	sys/dev/acpi/acpi_pci_link.c: revision 1.14
	sys/dev/acpi/acpivar.h: revision 1.34
On resum-from-RAM explicitly restore PCI link device state before
reenabling interrupts. At least one BIOS doesn't do this automatically
as reported by Christoph Egger.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 17 23:29:49 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

On resum-from-RAM explicitly restore PCI link device state before
reenabling interrupts. At least one BIOS doesn't do this automatically
as reported by Christoph Egger.

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:19 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.31.10.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:19 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31.10.1: +1 -0 lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored)

Sync with HEAD.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:02 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:32 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 15 16:15:28 2008 UTC (15 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Introduce acpi_clear_wake_gpe() to undo acpi_set_wake_gpe().
Extract common code from acpi_clear_wake_gpe() and acpi_set_wake_gpe(),
creating acpi_wake_gpe_helper().

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:37 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 27 02:51:26 2008 UTC (16 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, haad-dm
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Split device_t and softc

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:32 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.4: +3 -16 lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:20 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.29.2.1: +3 -16 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with HEAD

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:00 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.30: +3 -16 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:22:34 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.30: +3 -16 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:53 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, 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, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.30: +3 -16 lines
Diff to previous 1.30 (colored)

Merge jmcneill-pm branch.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:34 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

sync with HEAD

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:01 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.3: +2 -2 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.28.22.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:12 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.28.22.3: +2 -2 lines
Diff to previous 1.28.22.3 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:07 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:06:50 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.28.8.1: +2 -2 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:35 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.28.22.3 / (download) - annotate - [select for diffs], Tue Oct 2 23:37:20 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.28.22.2: +3 -3 lines
Diff to previous 1.28.22.2 (colored) to branchpoint 1.28 (colored)

Update to ACPI-CA 20070320

Revision 1.28.22.2 / (download) - annotate - [select for diffs], Tue Oct 2 21:44:11 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.28.22.1: +1 -14 lines
Diff to previous 1.28.22.1 (colored) to branchpoint 1.28 (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.23.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:20 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.2.2: +2 -1 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Mon Aug 20 18:36:42 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.28.18.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:14 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.28.22.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:08 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 8 08:52:31 2007 UTC (16 years, 8 months ago) by cube
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Print ACPI device name in a way that Jared McNeill and I find prettier.
I like it better because I get to see the name of the device as it appears
in the DSDT, which sometimes makes sense and that way it's easier to locate
the relevant code when debugging.

E.g.:

PIC (PNP0000) [AT Interrupt Controller] at acpipcib0 not configured
DMAD (PNP0200) [AT DMA Controller] at acpipcib0 not configured
attimer0 at acpipcib0 (TMR, PNP0100): AT Timer
RTC0 (PNP0B00) [AT Real-Time Clock] at acpipcib0 not configured
pckbc0 at acpipcib0 (PS2K, PNP0303): kbd port
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:34 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.26.4.1: +2 -1 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.23.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.23.2.1: +28 -5 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:57 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.26.6.1: +2 -1 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 26 12:30:05 2006 UTC (17 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base, newlock2-nbase, newlock2-base, netbsd-4-base, 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, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, nick-csl-alignment, jmcneill-pm
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Introduce acpi_check() to inform the caller whether the acpi driver is
still enabled, as it could have been disabled through USERCONF.

Use it in amd64 and i386 mainbus code and skip all ACPI processing in case
it is disabled.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:03 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:31 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 23 17:04:26 2006 UTC (17 years, 7 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Define the "broken IRQ0 override" quirk, and add it for one type of ACPI
BIOS.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:29 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +26 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:59 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25: +26 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.25.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:17 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.25: +26 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Merge from HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 4 00:30:23 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.25: +26 -5 lines
Diff to previous 1.25 (colored)

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

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:32 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 12 15:04:50 2005 UTC (18 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, 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.24: +2 -1 lines
Diff to previous 1.24 (colored)

Move the (one liner) logic of AcpiOsGetRootPointer() out of acpica/Osd to
acpi.c and take the opportunity to create a sysctl node that contains the
address of the main ACPI table.

The name of the node, "machdep.acpi_root", is questionable but matches the
one FreeBSD has, which will make it easier to port their acpidump(8)
program.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:02 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:11 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.3: +6 -6 lines
Diff to previous 1.11.2.3 (colored) next main 1.12 (colored)

Sync with HEAD. Here we go again...

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 1 16:44:38 2005 UTC (18 years, 10 months ago) by drochner
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.22: +1 -2 lines
Diff to previous 1.22 (colored)

kill the "busname" attach arg, it is not really needed

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 29 20:56:02 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Sprinkle const freely and delete unnecessary casts.

Revision 1.21 / (download) - annotate - [select for diffs], Mon May 2 14:54:00 2005 UTC (18 years, 11 months ago) by kochi
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Merge changes for ACPI-CA 20050408

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:40 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.2: +1 -1 lines
Diff to previous 1.11.2.2 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:45:03 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11: +22 -9 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 26 17:15:17 2004 UTC (19 years, 10 months ago) by kochi
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (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.15.2.2 / (download) - annotate - [select for diffs], Wed Apr 28 05:25:25 2004 UTC (19 years, 11 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.15.2.1: +9 -1 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Pullup rev 1.17 (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.15.2.1 / (download) - annotate - [select for diffs], Wed Apr 28 05:24:28 2004 UTC (19 years, 11 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Pullup rev 1.16 (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.19 / (download) - annotate - [select for diffs], Sun Apr 11 10:36:35 2004 UTC (20 years ago) by kochi
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Clean up memory allocated during autoconfiguration

Revision 1.18 / (download) - annotate - [select for diffs], Sun Apr 11 08:36:19 2004 UTC (20 years ago) by kochi
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

change acpi_resource_parse API to support _PRS parsing as well as _CRS

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 31 11:19:39 2004 UTC (20 years ago) by tron
Branch: MAIN
Changes since 1.16: +9 -1 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 30 15:18:56 2004 UTC (20 years ago) by kochi
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 23 19:00:03 2004 UTC (20 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

some int->ACPI_INTEGER to make it compile on amd64 again

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 3 06:03:47 2003 UTC (20 years, 5 months ago) by kochi
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

* now the size of ACPI_DEVICE_INFO is variable:
  it can now accomodate multiple _CIDs
  sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
  _CIDs are also taken into account now as well as _HID

Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 31 20:54:18 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +1 -5 lines
Diff to previous 1.12 (colored)

Catch up with ABI changes in ACPI-CA.  Some additional changes to acpi_bat to
set the VALID bits correctly, so we don't report garbage for missing batteries.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 8 09:07:16 2003 UTC (20 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

function prototype must not have variable name

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 15 21:29:50 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.10: +17 -1 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Thu Apr 17 01:22:21 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.9: +9 -1 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Fri Feb 14 11:05:40 2003 UTC (21 years, 2 months ago) by tshiozak
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored)

- add acpi_acquire_global_lock()/acpi_release_global_lock()/
  acpi_is_global_locked() functions.
  AcpiGlobalLock() API should be used to acquire lock between BIOS and OS.
  This API cannot be used to lock between threads of the OS side,
  because this function immediately returns if the lock is already acquired
  by the OS.  c.f. AcpiEvAcquireGlobalLock()@evmisc.c

- make sure that acpiec driver uses above functions.

- use ACPI_ALLOCATE_BUFFER instead of twice calls of AcpiEvaluateObject(),
  in acpi_eval_string()/acpi_eval_struct().
  Twice AcpiEvaluateObject() calls may cause twice side effects
  to ACPI machine / hardware and this may be wrong in some cases.

Revision 1.3.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
CVS Tags: nathanw_sa_end
Changes since 1.3.4.5: +7 -2 lines
Diff to previous 1.3.4.5 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 28 08:44:43 2002 UTC (21 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Make sure we record the type of irq as well as its number.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 28 06:14:07 2002 UTC (21 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +5 -1 lines
Diff to previous 1.6 (colored)

Pass ISA chipset information through to ACPI devices, to allow for porting
of pnpbios(4) glue to acpi(4).

Revision 1.3.8.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:49 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.8.3: +7 -1 lines
Diff to previous 1.3.8.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync kqueue branch with HEAD

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:20 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.4.2.1: +2 -1 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

catch up with -current.

Revision 1.3.4.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:35 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.4: +2 -1 lines
Diff to previous 1.3.4.4 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 29 03:25:18 2002 UTC (21 years, 8 months ago) by augustss
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.5: +2 -1 lines
Diff to previous 1.5 (colored)

Another part of the PCI fixup change.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:12 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

catch up with -current.

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

catch up with -current on kqueue branch

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:27 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.3: +6 -1 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 18 08:09:22 2002 UTC (21 years, 10 months ago) by tshiozak
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

add MI part of ACPI sleep state transition code.
However, we have no interface to use it, and we also need device driver
support. (e.g. D2/D3 support for PCI)

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:07 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.2: +2 -1 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 24 03:32:14 2002 UTC (22 years, 1 month ago) by sommerfeld
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.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add acpi_eval_struct, to evaluate a complex data structure.

#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it.
(Previous code referenced an uninitialized local variable and couldn't
have possibly worked).

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:54 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.3.8.1: +262 -0 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored)

Sync kqueue branch with -current.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Oct 8 21:18:06 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.1: +262 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:44:17 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.3.2.1: +262 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Catch up with -current.

Revision 1.3.8.1, Sat Sep 29 18:13:48 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +0 -262 lines
FILE REMOVED

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

Revision 1.3.4.1, Sat Sep 29 18:13:48 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -262 lines
FILE REMOVED

file acpivar.h was added on branch nathanw_sa on 2001-10-08 21:18:06 +0000

Revision 1.3.2.1, Sat Sep 29 18:13:48 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.3: +0 -262 lines
FILE REMOVED

file acpivar.h was added on branch thorpej-devvp on 2001-10-01 12:44:17 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 29 18:13:48 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, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

- Add an acpi_evaluate_string() to evaluate string objects.
- In acpi_print(), try to evaluate the _STR object, and print
  it if the device is not configured.
- Make this compile without ACPI_DEBUG, from Masanori Kanaoka.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 29 05:34:00 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +122 -1 lines
Diff to previous 1.1 (colored)

Add code to parse ACPI bus resources.

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

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>