CVS log for src/sys/dev/acpi/acpivar.h
Up to [cvs.NetBSD.org] / src / sys / dev / acpi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.89.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 25 15:05:17 2024 UTC (8 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +8 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 20 03:14:45 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 26 14:34:39 2021 UTC (2 years, 11 months ago) by jmcneill
Branches: 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
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 20 11:17:40 2021 UTC (2 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
Fix struct member prefix to be consistent. same code before and after.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Aug 7 18:39:40 2021 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -1
lines
acpi: Add acpi_resource_parse_any().
Like acpi_resource_parse(), but doesn't exclude "produced" resources.
Revision 1.85.6.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:17 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +1 -2
lines
sync with head
Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:29 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +1 -2
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed May 12 23:22:33 2021 UTC (3 years, 6 months ago) by thorpej
Branches: 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
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:43 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.82.6.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.6.1: +14 -1
lines
Sync with HEAD.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Feb 4 21:39:00 2021 UTC (3 years, 9 months ago) by thorpej
Branches: 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
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -1
lines
Add acpi_device_register(). Just a placeholder for now.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Jan 27 05:11:54 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:05 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -3
lines
Sync w/ HEAD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Dec 6 11:38:28 2020 UTC (3 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -3
lines
acpi: remove unused acpi_quirks_osi_* functions
Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +14 -5
lines
Merge changes from current as of 20200406
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:30 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +7 -4
lines
Sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jan 17 17:06:32 2020 UTC (4 years, 10 months ago) by jmcneill
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 31 17:26:04 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -5
lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 31 13:39:15 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -2
lines
Include device decoding type in acpi_mem resources
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 31 12:27:50 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 29 23:47:56 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:05 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +18 -10
lines
Sync with HEAD
Revision 1.74.16.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:30 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.74.16.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.16.2: +10 -10
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Oct 25 10:38:57 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: 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-4-RELEASE,
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
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +10 -10
lines
Add support for 64-bit memory resources.
Revision 1.74.16.2: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.74.16.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.16.1: +9 -1
lines
Sync with head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Oct 12 21:20:54 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -1
lines
Add helper functions for walking GTDT subtables.
Revision 1.74.16.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -1
lines
Sync with HEAD
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat May 5 17:16:23 2018 UTC (6 years, 6 months ago) by christos
Branches: 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
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -1
lines
introduce acpi_device_present() to replace the previous _STA checks.
Revision 1.73.12.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +7 -1
lines
update from HEAD
Revision 1.73.30.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:01 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +7 -1
lines
Sync with HEAD
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Jun 21 11:33:33 2016 UTC (8 years, 5 months ago) by nonaka
Branches: 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-3-RELEASE,
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
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +7 -1
lines
Pass bus_dma(9) tag to allow for porting sdhc(4) at acpi.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Aug 1 11:25:59 2011 UTC (13 years, 4 months ago) by jmcneill
Branches: 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
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -1
lines
add support for reset registers in PCI config space
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:56 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +5 -4
lines
Catchup with rmind-uvmplock merge.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Jun 21 03:37:21 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
Rename acpi_get_node() to acpi_match_node() for consistency.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jun 15 09:02:38 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 14 13:59:23 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:42 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +15 -10
lines
Sync with HEAD.
Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:03 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.43.2.2: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +60 -21
lines
sync with head
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:16 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +13 -10
lines
Sync with HEAD
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Feb 20 06:45:32 2011 UTC (13 years, 9 months ago) by jruoho
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
bouyer-quota2-nbase
Branch point for: cherry-xenmp
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +11 -9
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 17 19:36:49 2011 UTC (13 years, 9 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 17 15:49:13 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -1
lines
Add a driver for ACPI "Watchdog Resource Table" devices.
acpiwdrt0 at acpi0: mem 0xfed01000,0xfed01004
acpiwdrt0: PCI 0:000:00:0 vendor 0x1106 product 0x3337
acpiwdrt0: watchdog interval 1-1023 sec.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jan 13 05:14:48 2011 UTC (13 years, 10 months ago) by jruoho
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2
lines
Scan for docking stations.
Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:27 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.40.2.3: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.3: +16 -4
lines
Sync with HEAD.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Oct 26 22:27:44 2010 UTC (14 years, 1 month ago) by gsutre
Branches: MAIN
CVS tags: uebayasi-xip-base4,
matt-mips64-premerge-20101231
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +15 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 24 07:53:04 2010 UTC (14 years, 1 month ago) by jruoho
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:53 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.2: +12 -0
lines
Sync with HEAD (-D20101022).
Revision 1.32.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:04 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.4.4: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.4: +13 -1
lines
sync with head
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 24 07:48:59 2010 UTC (14 years, 2 months ago) by gsutre
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base3
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +12 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 6 15:54:27 2010 UTC (14 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -1
lines
Add support for blacklisting ACPI BIOS implementations by year. By default,
don't use ACPI on BIOS which advertise release years <= 2000. This
can be changed by setting option ACPI_BLACKLIST_YEAR=0 or by setting
acpi_force_load=1.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:01 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +37 -12
lines
Sync with HEAD.
Revision 1.32.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:16 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.4.3: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.3: +97 -76
lines
sync with head.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 7 20:07:25 2010 UTC (14 years, 3 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 7 09:41:19 2010 UTC (14 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +13 -1
lines
Reorganize: also the APIC tables will be dumped in ACPIVERBOSE, and the
callback functions will be modified to be suitable also with other tables.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Aug 6 23:38:34 2010 UTC (14 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -5
lines
Simplify the acpiverbose module.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Aug 6 22:45:00 2010 UTC (14 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:34 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.43.2.1: preferred, colored
Changes since revision 1.43.2.1: +29 -13
lines
sync with head
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jun 8 16:55:02 2010 UTC (14 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +16 -13
lines
Add and organize some comments. Add also ACPI_DEVICE_EJECT constant to
indicate "ejectable" devices such as docking stations.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jun 7 01:45:27 2010 UTC (14 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 5 06:07:12 2010 UTC (14 years, 6 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -4
lines
Remove trailing white space.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon May 31 20:32:29 2010 UTC (14 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +11 -1
lines
Extract ACPIVERBOSE into a kernel module. The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.
ACPIVERBOSE also includes code to dump acpi/wmi data.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:17 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +66 -69
lines
sync with head
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:06 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +78 -93
lines
Sync with HEAD.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Apr 27 08:37:07 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
Include the new prototype for acpi_enter_sleep_state().
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Apr 22 18:53:23 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -3
lines
Remove a redundant prototype. A leftover from the previous commit.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Apr 22 18:40:09 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -3
lines
Merge new code for ACPI power resources.
The old code served us well, but a major overhaul would have been needed for
it to cope with the increased demands of the code -- and the specifications.
ok jmcneill@, pgoyette@
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 22 14:50:31 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +22 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 18 14:05:26 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +25 -26
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 15 07:02:24 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -9
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 14 17:12:14 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -21
lines
Reorganize the main file: add several missing prototypes, move the functions
around so that they appear in their logical order and place, etc. In
addition, split the utility functions to a separate file.
No functional change. Ok jmcneill@.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Apr 12 18:55:27 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -21
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 12 12:14:26 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -12
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 16 05:48:43 2010 UTC (14 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +19 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:22 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.4.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.2: +22 -26
lines
sync with head
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Mar 10 09:42:46 2010 UTC (14 years, 8 months ago) by jruoho
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 9 18:15:22 2010 UTC (14 years, 8 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +10 -26
lines
Remove the namespace scopes.
These are neither used nor useful beyond the parser and interpreter.
ok jmcneill@, joerg@
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Mar 5 08:30:48 2010 UTC (14 years, 9 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -1
lines
Protect all header files against multiple inclusions.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jan 31 11:26:20 2010 UTC (14 years, 10 months ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -1
lines
Add dynamic debug options for ACPI_DEBUG kernels.
ok jmcneill@, pooka@, pgoyette@
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jan 18 18:06:31 2010 UTC (14 years, 10 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
Introduce acpi_eval_reference_handle() --
an utility function to evaluate reference handles from package elements.
ok jmcneill@, pgoyette@
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Nov 29 21:32:50 2009 UTC (15 years ago) by cegger
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 28 17:02:14 2009 UTC (15 years ago) by cegger
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4
lines
u_int32_t -> uint32_t
struct device * -> device_t
Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:18 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.1: +13 -13
lines
sync with head
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:10 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +14 -13
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue May 12 09:50:28 2009 UTC (15 years, 6 months ago) by cegger
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +13 -13
lines
struct device * -> device_t, no functional changes intended.
Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:33 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -1
lines
sync with head.
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:19 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +2 -1
lines
Sync with HEAD.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Apr 8 00:23:30 2009 UTC (15 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:52 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
Sync with HEAD.
Revision 1.31.10.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:52 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31.10.2: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.10.2: +1 -0
lines
Sync with HEAD.
Revision 1.32.10.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:12 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.32.10.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.10.1: +2 -1
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 18:22:37 2008 UTC (16 years ago) by snj
Branches: 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
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 17 23:29:49 2008 UTC (16 years ago) by joerg
Branches: 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:19 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1
lines
Sync with HEAD.
Revision 1.31.10.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:19 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31.10.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.10.1: +1 -0
lines
Sync with HEAD.
Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:02 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -1
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:32 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -1
lines
Sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Jul 15 16:15:28 2008 UTC (16 years, 4 months ago) by dyoung
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:37 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Mar 27 02:51:26 2008 UTC (16 years, 8 months ago) by jmcneill
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Split device_t and softc
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:32 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.4: +3 -16
lines
sync with head
Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:20 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +3 -16
lines
sync with HEAD
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:00 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -16
lines
Sync with head.
Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:22:34 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -16
lines
sync with head.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:27:53 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -16
lines
Merge jmcneill-pm branch.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:34 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
sync with HEAD
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:01 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +2 -2
lines
sync with head.
Revision 1.28.22.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:12 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.28.22.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.22.3: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:07 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +2 -2
lines
Sync with HEAD.
Revision 1.28.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:06:50 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.28.8.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.8.1: +2 -2
lines
Sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:35 2007 UTC (17 years, 1 month ago) by ad
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.28.22.3: download - view: text, markup, annotated - select for diffs
Tue Oct 2 23:37:20 2007 UTC (17 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.28.22.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.22.2: +3 -3
lines
Update to ACPI-CA 20070320
Revision 1.28.22.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 21:44:11 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.28.22.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.22.1: +1 -14
lines
Rewrite the ACPI Embedded Controller handler to use pure event driven
operation. On suspend a special flag is set to force explicit polling
as AcpiLeaveSleep accesses the interrupt before GPE handling is
restored. The driver uses a kernel thread to handle GPE queries and
mutex/condvar for synchronisation.
Split the ACPI EC into two drivers, one that is attached directly by
acpi.c for the ECDT driven attachment and the normal acpiec for late
attachment. Share almost all code between this two drivers. If acpiecdt
is attached, acpiec is returning. This was discussed with cube@ and is
the best solution so far.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:20 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +2 -1
lines
sync with head.
Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:42 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
Sync with HEAD.
Revision 1.28.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:14 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -1
lines
Sync with HEAD.
Revision 1.28.22.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:08 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
Sync with HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Aug 8 08:52:31 2007 UTC (17 years, 3 months ago) by cube
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:34 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.1: +2 -1
lines
Sync with head.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:54 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +28 -5
lines
sync with head.
Revision 1.26.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:57 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.26.6.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.6.1: +2 -1
lines
sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Nov 26 12:30:05 2006 UTC (18 years ago) by cube
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
Sync with head.
Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:31 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
sync with head
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Sep 23 17:04:26 2006 UTC (18 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
Define the "broken IRQ0 override" quirk, and add it for one type of ACPI
BIOS.
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:29 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +26 -5
lines
sync with head
Revision 1.25.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:59 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +26 -5
lines
sync with head
Revision 1.25.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:17 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +26 -5
lines
Merge from HEAD.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 4 00:30:23 2006 UTC (18 years, 5 months ago) by christos
Branches: 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +26 -5
lines
Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:32 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -1
lines
sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 12 15:04:50 2005 UTC (18 years, 11 months ago) by cube
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:02 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1
lines
merge ktrace-lwp.
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:03:11 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.3: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.3: +6 -6
lines
Sync with HEAD. Here we go again...
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jun 1 16:44:38 2005 UTC (19 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2
lines
kill the "busname" attach arg, it is not really needed
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 29 20:56:02 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5
lines
Sprinkle const freely and delete unnecessary casts.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 2 14:54:00 2005 UTC (19 years, 7 months ago) by kochi
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1
lines
Merge changes for ACPI-CA 20050408
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:40 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.2: preferred, colored
Changes since revision 1.11.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:42 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:45:03 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +22 -9
lines
Sync with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 26 17:15:17 2004 UTC (20 years, 6 months ago) by kochi
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -1
lines
ThermalZone improvement work by lha at stacken.kth.se, inspired from
FreeBSD thermal zone code. Minor style fixes and bugfixes by me.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 28 05:25:25 2004 UTC (20 years, 7 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +9 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 28 05:24:28 2004 UTC (20 years, 7 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 11 10:36:35 2004 UTC (20 years, 7 months ago) by kochi
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
Clean up memory allocated during autoconfiguration
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 11 08:36:19 2004 UTC (20 years, 7 months ago) by kochi
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
change acpi_resource_parse API to support _PRS parsing as well as _CRS
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 31 11:19:39 2004 UTC (20 years, 8 months ago) by tron
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -1
lines
Only call acpiec_early_attach() in "acpi.c" if the kernel is configured
to include the "acpiec" device.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 30 15:18:56 2004 UTC (20 years, 8 months ago) by kochi
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1
lines
Add ACPI ECDT (Embedded Controller Description Table) support.
This will enable usage of EC in early stage of ACPI initialization.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 23 19:00:03 2004 UTC (20 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
some int->ACPI_INTEGER to make it compile on amd64 again
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Nov 3 06:03:47 2003 UTC (21 years, 1 month ago) by kochi
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2
lines
* 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 - view: text, markup, annotated - select for diffs
Fri Oct 31 20:54:18 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -5
lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 8 09:07:16 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
function prototype must not have variable name
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 15 21:29:50 2003 UTC (21 years, 6 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -1
lines
Add quirk handling to ACPI. First quirk entry is "PTLTD " rev 0x06040000,
which gives problems with PCI bus finding; the object hierarchy doesn't
match the real world for some systems, most notably SuperMicro boards.
Linux has this one blacklisted as well.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 17 01:22:21 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -1
lines
* Don't do the ACPI_PCI_FIXUP unless it is explicitly enabled in
the kernel config file. That code makes a total mess of any
system with multiple PCI busses.
* Rework the way buttons are handled; register them with sysmon,
and let it take the appropriate action. This lets us gracefully
shut down when the power button is pressed.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Feb 14 11:05:40 2003 UTC (21 years, 9 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Sun Dec 29 20:45:31 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.4.5: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.5: +7 -2
lines
Sync with HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 28 08:44:43 2002 UTC (21 years, 11 months ago) by matt
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2
lines
Make sure we record the type of irq as well as its number.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Dec 28 06:14:07 2002 UTC (21 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -1
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:49 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.8.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.8.3: +7 -1
lines
sync kqueue branch with HEAD
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:20 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +2 -1
lines
catch up with -current.
Revision 1.3.4.5: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:35 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.4: +2 -1
lines
Catch up to -current.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 29 03:25:18 2002 UTC (22 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Another part of the PCI fixup change.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:12 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1
lines
catch up with -current.
Revision 1.3.8.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:45:03 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.8.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.2: +2 -1
lines
catch up with -current on kqueue branch
Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:27 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.3: +6 -1
lines
Catch up to -current.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 18 08:09:22 2002 UTC (22 years, 5 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:07 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +2 -1
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Mar 24 03:32:14 2002 UTC (22 years, 8 months ago) by sommerfeld
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:54 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.3.8.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.1: +262 -0
lines
Sync kqueue branch with -current.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 8 21:18:06 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +262 -0
lines
Catch up to -current.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:44:17 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +262 -0
lines
Catch up with -current.
Revision 1.3.8.1
Sat Sep 29 18:13:48 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.3: +0 -262
lines
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 (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -262
lines
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 (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
FILE REMOVED
Changes since revision 1.3: +0 -262
lines
file acpivar.h was added on branch thorpej-devvp on 2001-10-01 12:44:17 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 29 18:13:48 2001 UTC (23 years, 2 months ago) by thorpej
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
- 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 - view: text, markup, annotated - select for diffs
Sat Sep 29 05:34:00 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +122 -1
lines
Add code to parse ACPI bus resources.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 28 02:09:24 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Add some basic ACPI probing framework. This is far from complete,
it is merely a work in progress.
CVSweb <webmaster@jp.NetBSD.org>