head	1.140;
access;
symbols
	netbsd-11-0-RC4:1.139
	netbsd-11-0-RC3:1.139
	netbsd-11-0-RC2:1.139
	netbsd-11-0-RC1:1.139
	perseant-exfatfs-base-20250801:1.139
	netbsd-11:1.139.0.2
	netbsd-11-base:1.139
	netbsd-10-1-RELEASE:1.126.4.4
	perseant-exfatfs-base-20240630:1.132
	perseant-exfatfs:1.132.0.2
	perseant-exfatfs-base:1.132
	netbsd-8-3-RELEASE:1.98
	netbsd-9-4-RELEASE:1.114
	netbsd-10-0-RELEASE:1.126.4.2
	netbsd-10-0-RC6:1.126.4.1
	netbsd-10-0-RC5:1.126.4.1
	netbsd-10-0-RC4:1.126.4.1
	netbsd-10-0-RC3:1.126.4.1
	netbsd-10-0-RC2:1.126.4.1
	thorpej-ifq:1.128.0.4
	thorpej-ifq-base:1.128
	thorpej-altq-separation:1.128.0.2
	thorpej-altq-separation-base:1.128
	netbsd-10-0-RC1:1.126.4.1
	netbsd-10:1.126.0.4
	netbsd-10-base:1.126
	bouyer-sunxi-drm:1.126.0.2
	bouyer-sunxi-drm-base:1.126
	netbsd-9-3-RELEASE:1.114
	thorpej-i2c-spi-conf2:1.120.0.14
	thorpej-i2c-spi-conf2-base:1.120
	thorpej-futex2:1.120.0.12
	thorpej-futex2-base:1.120
	thorpej-cfargs2:1.120.0.10
	thorpej-cfargs2-base:1.120
	cjep_sun2x-base1:1.120
	cjep_sun2x:1.120.0.8
	cjep_sun2x-base:1.120
	cjep_staticlib_x-base1:1.120
	netbsd-9-2-RELEASE:1.114
	cjep_staticlib_x:1.120.0.6
	cjep_staticlib_x-base:1.120
	thorpej-i2c-spi-conf:1.120.0.4
	thorpej-i2c-spi-conf-base:1.120
	thorpej-cfargs:1.120.0.2
	thorpej-cfargs-base:1.120
	thorpej-futex:1.115.0.6
	thorpej-futex-base:1.120
	netbsd-9-1-RELEASE:1.114
	bouyer-xenpvh-base2:1.115
	phil-wifi-20200421:1.115
	bouyer-xenpvh-base1:1.115
	phil-wifi-20200411:1.115
	bouyer-xenpvh:1.115.0.4
	bouyer-xenpvh-base:1.115
	is-mlppp:1.115.0.2
	is-mlppp-base:1.115
	phil-wifi-20200406:1.115
	netbsd-8-2-RELEASE:1.98
	ad-namecache-base3:1.115
	netbsd-9-0-RELEASE:1.114
	netbsd-9-0-RC2:1.114
	ad-namecache-base2:1.114
	ad-namecache-base1:1.114
	ad-namecache:1.114.0.6
	ad-namecache-base:1.114
	netbsd-9-0-RC1:1.114
	phil-wifi-20191119:1.114
	netbsd-9:1.114.0.4
	netbsd-9-base:1.114
	phil-wifi-20190609:1.114
	netbsd-8-1-RELEASE:1.98
	netbsd-8-1-RC1:1.98
	isaki-audio2:1.114.0.2
	isaki-audio2-base:1.114
	pgoyette-compat-merge-20190127:1.101.2.3
	pgoyette-compat-20190127:1.114
	pgoyette-compat-20190118:1.114
	pgoyette-compat-1226:1.114
	pgoyette-compat-1126:1.113
	pgoyette-compat-1020:1.108
	pgoyette-compat-0930:1.101
	pgoyette-compat-0906:1.101
	jdolecek-ncqfixes:1.101.0.6
	jdolecek-ncqfixes-base:1.101
	netbsd-7-2-RELEASE:1.94.4.1
	pgoyette-compat-0728:1.101
	netbsd-8-0-RELEASE:1.98
	phil-wifi:1.101.0.4
	phil-wifi-base:1.101
	pgoyette-compat-0625:1.101
	netbsd-8-0-RC2:1.98
	pgoyette-compat-0521:1.101
	pgoyette-compat-0502:1.101
	pgoyette-compat-0422:1.101
	netbsd-8-0-RC1:1.98
	pgoyette-compat-0415:1.101
	pgoyette-compat-0407:1.101
	pgoyette-compat-0330:1.101
	pgoyette-compat-0322:1.101
	pgoyette-compat-0315:1.101
	netbsd-7-1-2-RELEASE:1.94.4.1
	pgoyette-compat:1.101.0.2
	pgoyette-compat-base:1.101
	netbsd-7-1-1-RELEASE:1.94.4.1
	tls-maxphys-base-20171202:1.99
	matt-nb8-mediatek:1.98.0.14
	matt-nb8-mediatek-base:1.98
	nick-nhusb-base-20170825:1.98
	perseant-stdc-iso10646:1.98.0.12
	perseant-stdc-iso10646-base:1.98
	netbsd-8:1.98.0.10
	netbsd-8-base:1.98
	prg-localcount2-base3:1.98
	prg-localcount2-base2:1.98
	prg-localcount2-base1:1.98
	prg-localcount2:1.98.0.8
	prg-localcount2-base:1.98
	pgoyette-localcount-20170426:1.98
	bouyer-socketcan-base1:1.98
	jdolecek-ncq:1.98.0.6
	jdolecek-ncq-base:1.98
	pgoyette-localcount-20170320:1.98
	netbsd-7-1:1.94.4.1.0.6
	netbsd-7-1-RELEASE:1.94.4.1
	netbsd-7-1-RC2:1.94.4.1
	nick-nhusb-base-20170204:1.98
	netbsd-7-nhusb-base-20170116:1.94.4.1
	bouyer-socketcan:1.98.0.4
	bouyer-socketcan-base:1.98
	pgoyette-localcount-20170107:1.98
	netbsd-7-1-RC1:1.94.4.1
	nick-nhusb-base-20161204:1.98
	pgoyette-localcount-20161104:1.98
	netbsd-7-0-2-RELEASE:1.94.4.1
	nick-nhusb-base-20161004:1.98
	localcount-20160914:1.98
	netbsd-7-nhusb:1.94.4.1.0.4
	netbsd-7-nhusb-base:1.94.4.1
	pgoyette-localcount-20160806:1.98
	pgoyette-localcount-20160726:1.98
	pgoyette-localcount:1.98.0.2
	pgoyette-localcount-base:1.98
	nick-nhusb-base-20160907:1.98
	nick-nhusb-base-20160529:1.97
	netbsd-7-0-1-RELEASE:1.94.4.1
	nick-nhusb-base-20160422:1.97
	nick-nhusb-base-20160319:1.97
	nick-nhusb-base-20151226:1.97
	netbsd-7-0:1.94.4.1.0.2
	netbsd-7-0-RELEASE:1.94.4.1
	nick-nhusb-base-20150921:1.96
	netbsd-7-0-RC3:1.94.4.1
	netbsd-7-0-RC2:1.94.4.1
	netbsd-7-0-RC1:1.94.4.1
	nick-nhusb-base-20150606:1.95
	nick-nhusb-base-20150406:1.95
	nick-nhusb:1.95.0.2
	nick-nhusb-base:1.95
	netbsd-5-2-3-RELEASE:1.52.8.3
	netbsd-5-1-5-RELEASE:1.52.8.3
	netbsd-6-0-6-RELEASE:1.93
	netbsd-6-1-5-RELEASE:1.93
	netbsd-7:1.94.0.4
	netbsd-7-base:1.94
	yamt-pagecache-base9:1.94
	yamt-pagecache-tag8:1.92.2.1
	netbsd-6-1-4-RELEASE:1.93
	netbsd-6-0-5-RELEASE:1.93
	tls-earlyentropy:1.94.0.2
	tls-earlyentropy-base:1.94
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.94
	riastradh-drm2-base3:1.93
	netbsd-6-1-3-RELEASE:1.93
	netbsd-6-0-4-RELEASE:1.93
	netbsd-5-2-2-RELEASE:1.52.8.3
	netbsd-5-1-4-RELEASE:1.52.8.3
	netbsd-6-1-2-RELEASE:1.93
	netbsd-6-0-3-RELEASE:1.93
	netbsd-5-2-1-RELEASE:1.52.8.3
	netbsd-5-1-3-RELEASE:1.52.8.3
	rmind-smpnet-nbase:1.94
	netbsd-6-1-1-RELEASE:1.93
	riastradh-drm2-base2:1.93
	riastradh-drm2-base1:1.93
	riastradh-drm2:1.93.0.18
	riastradh-drm2-base:1.93
	rmind-smpnet:1.93.0.10
	rmind-smpnet-base:1.94
	netbsd-6-1:1.93.0.16
	netbsd-6-0-2-RELEASE:1.93
	netbsd-6-1-RELEASE:1.93
	khorben-n900:1.93.0.14
	netbsd-6-1-RC4:1.93
	netbsd-6-1-RC3:1.93
	agc-symver:1.93.0.12
	agc-symver-base:1.93
	netbsd-6-1-RC2:1.93
	netbsd-6-1-RC1:1.93
	yamt-pagecache-base8:1.93
	netbsd-5-2:1.52.8.3.0.6
	netbsd-6-0-1-RELEASE:1.93
	yamt-pagecache-base7:1.93
	netbsd-5-2-RELEASE:1.52.8.3
	netbsd-5-2-RC1:1.52.8.3
	matt-nb6-plus-nbase:1.93
	yamt-pagecache-base6:1.93
	netbsd-6-0:1.93.0.8
	netbsd-6-0-RELEASE:1.93
	netbsd-6-0-RC2:1.93
	tls-maxphys:1.93.0.6
	tls-maxphys-base:1.94
	matt-nb6-plus:1.93.0.4
	matt-nb6-plus-base:1.93
	netbsd-6-0-RC1:1.93
	jmcneill-usbmp-base10:1.93
	yamt-pagecache-base5:1.93
	jmcneill-usbmp-base9:1.93
	yamt-pagecache-base4:1.93
	jmcneill-usbmp-base8:1.93
	jmcneill-usbmp-base7:1.93
	jmcneill-usbmp-base6:1.93
	jmcneill-usbmp-base5:1.93
	jmcneill-usbmp-base4:1.93
	jmcneill-usbmp-base3:1.93
	jmcneill-usbmp-pre-base2:1.92
	jmcneill-usbmp-base2:1.93
	netbsd-6:1.93.0.2
	netbsd-6-base:1.93
	netbsd-5-1-2-RELEASE:1.52.8.3
	netbsd-5-1-1-RELEASE:1.52.8.3
	jmcneill-usbmp:1.92.0.6
	jmcneill-usbmp-base:1.92
	jmcneill-audiomp3:1.92.0.4
	jmcneill-audiomp3-base:1.92
	yamt-pagecache-base3:1.92
	yamt-pagecache-base2:1.92
	yamt-pagecache:1.92.0.2
	yamt-pagecache-base:1.92
	rmind-uvmplock-nbase:1.88
	cherry-xenmp:1.88.0.2
	cherry-xenmp-base:1.88
	bouyer-quota2-nbase:1.88
	bouyer-quota2:1.86.0.2
	bouyer-quota2-base:1.86
	jruoho-x86intr:1.84.0.2
	jruoho-x86intr-base:1.84
	matt-mips64-premerge-20101231:1.82
	matt-nb5-mips64-premerge-20101231:1.52.16.1
	matt-nb5-pq3:1.52.8.3.0.4
	matt-nb5-pq3-base:1.52.8.3
	netbsd-5-1:1.52.8.3.0.2
	netbsd-5-1-RELEASE:1.52.8.3
	uebayasi-xip-base4:1.82
	uebayasi-xip-base3:1.81
	yamt-nfs-mp-base11:1.80
	netbsd-5-1-RC4:1.52.8.3
	matt-nb5-mips64-k15:1.52.16.1
	uebayasi-xip-base2:1.79
	yamt-nfs-mp-base10:1.78
	netbsd-5-1-RC3:1.52.8.3
	netbsd-5-1-RC2:1.52.8.3
	uebayasi-xip-base1:1.74
	netbsd-5-1-RC1:1.52.8.3
	rmind-uvmplock:1.67.0.2
	rmind-uvmplock-base:1.88
	yamt-nfs-mp-base9:1.67
	uebayasi-xip:1.66.0.2
	uebayasi-xip-base:1.66
	netbsd-5-0-2-RELEASE:1.52
	matt-nb5-mips64-premerge-20091211:1.52
	matt-premerge-20091211:1.63
	yamt-nfs-mp-base8:1.58
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.52
	matt-nb4-mips64-k7-u2a-k9b:1.52
	matt-nb5-mips64-u1-k1-k5:1.52
	yamt-nfs-mp-base7:1.57
	matt-nb5-mips64:1.52.0.16
	netbsd-5-0-1-RELEASE:1.52
	jymxensuspend-base:1.53
	yamt-nfs-mp-base6:1.53
	yamt-nfs-mp-base5:1.52
	yamt-nfs-mp-base4:1.52
	jym-xensuspend-nbase:1.60
	yamt-nfs-mp-base3:1.52
	nick-hppapmap-base4:1.52
	nick-hppapmap-base3:1.52
	netbsd-5-0:1.52.0.14
	netbsd-5-0-RELEASE:1.52
	netbsd-5-0-RC4:1.52
	netbsd-5-0-RC3:1.52
	nick-hppapmap-base2:1.52
	netbsd-5-0-RC2:1.52
	jym-xensuspend:1.52.0.12
	jym-xensuspend-base:1.52
	netbsd-5-0-RC1:1.52
	haad-dm-base2:1.52
	haad-nbase2:1.52
	ad-audiomp2:1.52.0.10
	ad-audiomp2-base:1.52
	netbsd-5:1.52.0.8
	netbsd-5-base:1.52
	nick-hppapmap:1.52.0.6
	nick-hppapmap-base:1.52
	matt-mips64-base2:1.52
	matt-mips64:1.45.0.8
	haad-dm-base1:1.52
	wrstuden-revivesa-base-4:1.52
	netbsd-4-0-1-RELEASE:1.40.6.1
	wrstuden-revivesa-base-3:1.52
	wrstuden-revivesa-base-2:1.52
	wrstuden-fixsa-newbase:1.40.6.1
	nick-csl-alignment-base5:1.46
	haad-dm:1.52.0.4
	haad-dm-base:1.52
	wrstuden-revivesa-base-1:1.52
	simonb-wapbl-nbase:1.52
	yamt-pf42-base4:1.52
	simonb-wapbl:1.52.0.2
	simonb-wapbl-base:1.52
	yamt-pf42-base3:1.52
	hpcarm-cleanup-nbase:1.52
	yamt-pf42-baseX:1.50
	yamt-pf42-base2:1.51
	yamt-nfs-mp-base2:1.51
	wrstuden-revivesa:1.51.0.2
	wrstuden-revivesa-base:1.52
	yamt-nfs-mp:1.50.0.4
	yamt-nfs-mp-base:1.50
	yamt-pf42:1.50.0.2
	yamt-pf42-base:1.50
	ad-socklock-base1:1.49
	yamt-lazymbuf-base15:1.49
	yamt-lazymbuf-base14:1.49
	keiichi-mipv6-nbase:1.49
	mjf-devfs2:1.49.0.6
	mjf-devfs2-base:1.52
	nick-net80211-sync:1.49.0.4
	nick-net80211-sync-base:1.49
	keiichi-mipv6:1.49.0.2
	keiichi-mipv6-base:1.49
	bouyer-xeni386-merge1:1.47.2.1
	matt-armv6-prevmlocking:1.46
	wrstuden-fixsa-base-1:1.40.6.1
	vmlocking2-base3:1.49
	netbsd-4-0:1.40.6.1.0.6
	netbsd-4-0-RELEASE:1.40.6.1
	bouyer-xeni386-nbase:1.49
	yamt-kmem-base3:1.47
	cube-autoconf:1.47.0.4
	cube-autoconf-base:1.47
	yamt-kmem-base2:1.47
	bouyer-xeni386:1.47.0.2
	bouyer-xeni386-base:1.49
	yamt-kmem:1.46.0.12
	yamt-kmem-base:1.46
	vmlocking2-base2:1.46
	reinoud-bufcleanup-nbase:1.46
	vmlocking2:1.46.0.10
	vmlocking2-base1:1.46
	netbsd-4-0-RC5:1.40.6.1
	matt-nb4-arm:1.40.6.1.0.4
	matt-nb4-arm-base:1.40.6.1
	matt-armv6-nbase:1.49
	jmcneill-base:1.46
	netbsd-4-0-RC4:1.40.6.1
	mjf-devfs:1.46.0.8
	mjf-devfs-base:1.49
	bouyer-xenamd64-base2:1.46
	vmlocking-nbase:1.46
	yamt-x86pmap-base4:1.46
	bouyer-xenamd64:1.46.0.6
	bouyer-xenamd64-base:1.46
	netbsd-4-0-RC3:1.40.6.1
	yamt-x86pmap-base3:1.46
	yamt-x86pmap-base2:1.46
	netbsd-4-0-RC2:1.40.6.1
	yamt-x86pmap:1.46.0.4
	yamt-x86pmap-base:1.46
	netbsd-4-0-RC1:1.40.6.1
	matt-armv6:1.46.0.2
	matt-armv6-base:1.49
	matt-mips64-base:1.45
	jmcneill-pm:1.45.0.6
	jmcneill-pm-base:1.46
	hpcarm-cleanup:1.45.0.4
	hpcarm-cleanup-base:1.49
	nick-csl-alignment:1.45.0.2
	nick-csl-alignment-base:1.45
	netbsd-3-1-1-RELEASE:1.29
	netbsd-3-0-3-RELEASE:1.29
	yamt-idlelwp-base8:1.45
	wrstuden-fixsa:1.40.6.1.0.2
	wrstuden-fixsa-base:1.40.6.1
	thorpej-atomic:1.44.0.4
	thorpej-atomic-base:1.44
	reinoud-bufcleanup:1.44.0.2
	reinoud-bufcleanup-base:1.46
	mjf-ufs-trans:1.42.0.4
	mjf-ufs-trans-base:1.45
	vmlocking:1.42.0.2
	vmlocking-base:1.46
	ad-audiomp:1.41.0.4
	ad-audiomp-base:1.41
	yamt-idlelwp:1.41.0.2
	post-newlock2-merge:1.41
	newlock2-nbase:1.41
	yamt-splraiseipl-base5:1.40
	yamt-splraiseipl-base4:1.40
	yamt-splraiseipl-base3:1.40
	abandoned-netbsd-4-base:1.39
	abandoned-netbsd-4:1.39.0.2
	netbsd-3-1:1.29.0.14
	netbsd-3-1-RELEASE:1.29
	netbsd-3-0-2-RELEASE:1.29
	yamt-splraiseipl-base2:1.40
	netbsd-3-1-RC4:1.29
	yamt-splraiseipl:1.40.0.4
	yamt-splraiseipl-base:1.40
	netbsd-3-1-RC3:1.29
	yamt-pdpolicy-base9:1.40
	newlock2:1.40.0.2
	newlock2-base:1.41
	yamt-pdpolicy-base8:1.40
	netbsd-3-1-RC2:1.29
	netbsd-3-1-RC1:1.29
	yamt-pdpolicy-base7:1.39
	netbsd-4:1.40.0.6
	netbsd-4-base:1.40
	yamt-pdpolicy-base6:1.36
	chap-midi-nbase:1.35
	netbsd-3-0-1-RELEASE:1.29
	gdamore-uart:1.35.0.14
	gdamore-uart-base:1.35
	simonb-timcounters-final:1.35
	yamt-pdpolicy-base5:1.35
	chap-midi:1.35.0.12
	chap-midi-base:1.35
	yamt-pdpolicy-base4:1.35
	yamt-pdpolicy-base3:1.35
	peter-altq-base:1.35
	peter-altq:1.35.0.10
	yamt-pdpolicy-base2:1.35
	elad-kernelauth-base:1.35
	elad-kernelauth:1.35.0.8
	yamt-pdpolicy:1.35.0.6
	yamt-pdpolicy-base:1.35
	yamt-uio_vmspace-base5:1.35
	simonb-timecounters:1.35.0.4
	simonb-timecounters-base:1.35
	rpaulo-netinet-merge-pcb:1.35.0.2
	rpaulo-netinet-merge-pcb-base:1.40
	yamt-uio_vmspace:1.33.0.2
	netbsd-3-0:1.29.0.12
	netbsd-3-0-RELEASE:1.29
	netbsd-3-0-RC6:1.29
	yamt-readahead-base3:1.32
	netbsd-3-0-RC5:1.29
	netbsd-3-0-RC4:1.29
	netbsd-3-0-RC3:1.29
	yamt-readahead-base2:1.32
	netbsd-3-0-RC2:1.29
	yamt-readahead-pervnode:1.32
	yamt-readahead-perfile:1.32
	yamt-readahead:1.32.0.8
	yamt-readahead-base:1.32
	netbsd-3-0-RC1:1.29
	yamt-vop-base3:1.32
	netbsd-2-0-3-RELEASE:1.22.2.2
	netbsd-2-1:1.22.2.2.0.4
	yamt-vop-base2:1.32
	thorpej-vnode-attr:1.32.0.6
	thorpej-vnode-attr-base:1.32
	netbsd-2-1-RELEASE:1.22.2.2
	yamt-vop:1.32.0.4
	yamt-vop-base:1.32
	netbsd-2-1-RC6:1.22.2.2
	netbsd-2-1-RC5:1.22.2.2
	netbsd-2-1-RC4:1.22.2.2
	netbsd-2-1-RC3:1.22.2.2
	netbsd-2-1-RC2:1.22.2.2
	netbsd-2-1-RC1:1.22.2.2
	yamt-lazymbuf:1.32.0.2
	yamt-km-base4:1.31
	netbsd-2-0-2-RELEASE:1.22.2.2
	yamt-km-base3:1.29
	netbsd-3:1.29.0.10
	netbsd-3-base:1.29
	yamt-km-base2:1.29
	yamt-km:1.29.0.6
	yamt-km-base:1.29
	kent-audio2:1.29.0.4
	kent-audio2-base:1.31
	netbsd-2-0-1-RELEASE:1.22.2.2
	kent-audio1-beforemerge:1.29
	netbsd-2:1.22.2.2.0.2
	netbsd-2-base:1.22.2.2
	kent-audio1:1.29.0.2
	kent-audio1-base:1.29
	netbsd-2-0-RELEASE:1.22.2.2
	netbsd-2-0-RC5:1.22.2.2
	netbsd-2-0-RC4:1.22.2.2
	netbsd-2-0-RC3:1.22.2.2
	netbsd-2-0-RC2:1.22.2.2
	netbsd-2-0-RC1:1.22.2.2
	netbsd-2-0:1.22.0.2
	netbsd-2-0-base:1.22
	netbsd-1-6-PATCH002-RELEASE:1.6
	netbsd-1-6-PATCH002:1.6
	netbsd-1-6-PATCH002-RC4:1.6
	netbsd-1-6-PATCH002-RC3:1.6
	netbsd-1-6-PATCH002-RC2:1.6
	netbsd-1-6-PATCH002-RC1:1.6
	ktrace-lwp:1.20.0.2
	ktrace-lwp-base:1.32
	netbsd-1-6-PATCH001:1.6
	netbsd-1-6-PATCH001-RELEASE:1.6
	netbsd-1-6-PATCH001-RC3:1.6
	netbsd-1-6-PATCH001-RC2:1.6
	netbsd-1-6-PATCH001-RC1:1.6
	nathanw_sa_end:1.2.4.9
	nathanw_sa_before_merge:1.16
	fvdl_fs64_base:1.12
	gmcgarry_ctxsw:1.7.0.4
	gmcgarry_ctxsw_base:1.7
	gmcgarry_ucred:1.7.0.2
	gmcgarry_ucred_base:1.7
	nathanw_sa_base:1.16
	kqueue-aftermerge:1.7
	kqueue-beforemerge:1.7
	netbsd-1-6-RELEASE:1.6
	netbsd-1-6-RC3:1.6
	netbsd-1-6-RC2:1.6
	netbsd-1-6-RC1:1.6
	netbsd-1-6:1.6.0.4
	netbsd-1-6-base:1.6
	gehenna-devsw:1.6.0.2
	gehenna-devsw-base:1.7
	eeh-devprop:1.4.0.8
	eeh-devprop-base:1.4
	newlock:1.4.0.6
	newlock-base:1.4
	ifpoll-base:1.4
	kqueue-base:1.7
	kqueue:1.4.0.2
	thorpej-mips-cache:1.2.0.6
	thorpej-mips-cache-base:1.2
	thorpej-devvp-base3:1.2
	nathanw_sa:1.2.0.4
	thorpej-devvp:1.2.0.2
	thorpej-devvp-base2:1.2;
locks; strict;
comment	@# @;


1.140
date	2025.09.19.05.18.23;	author mrg;	state Exp;
branches;
next	1.139;
commitid	ZLGoifTzxLEsBhbG;

1.139
date	2025.02.26.15.18.46;	author ryoon;	state Exp;
branches;
next	1.138;
commitid	qKVabydNjWf0yZKF;

1.138
date	2025.01.09.02.18.47;	author jmcneill;	state Exp;
branches;
next	1.137;
commitid	e4vf2H1KbI3jMKEF;

1.137
date	2025.01.03.05.57.06;	author imil;	state Exp;
branches;
next	1.136;
commitid	v5CPn0SQysHSa0EF;

1.136
date	2024.12.30.12.31.10;	author jmcneill;	state Exp;
branches;
next	1.135;
commitid	xEjTqVPGFVnyqwDF;

1.135
date	2024.12.13.13.30.10;	author martin;	state Exp;
branches;
next	1.134;
commitid	GNMZdZDVS72lmlBF;

1.134
date	2024.12.08.20.49.14;	author jmcneill;	state Exp;
branches;
next	1.133;
commitid	Ed6LRZ6L1eyVWJAF;

1.133
date	2024.08.26.13.38.28;	author riastradh;	state Exp;
branches;
next	1.132;
commitid	OSEvXNBQ6e5tUknF;

1.132
date	2024.03.21.02.36.01;	author riastradh;	state Exp;
branches
	1.132.2.1;
next	1.131;
commitid	H7vJxLZTdbF7kY2F;

1.131
date	2024.03.20.17.11.44;	author riastradh;	state Exp;
branches;
next	1.130;
commitid	gptsYUFpi4lwcV2F;

1.130
date	2024.03.20.12.43.13;	author riastradh;	state Exp;
branches;
next	1.129;
commitid	AToO2dXCnb7qIT2F;

1.129
date	2024.03.20.03.14.45;	author riastradh;	state Exp;
branches;
next	1.128;
commitid	7oiaIJSDfU2pzQ2F;

1.128
date	2023.07.18.10.02.25;	author riastradh;	state Exp;
branches;
next	1.127;
commitid	IKKd8UhR1OLuJgxE;

1.127
date	2023.04.16.16.55.01;	author jmcneill;	state Exp;
branches;
next	1.126;
commitid	CAl10kRikOuj0mlE;

1.126
date	2022.05.26.02.16.44;	author mrg;	state Exp;
branches
	1.126.4.1;
next	1.125;
commitid	nEm4q0uMTflHAvFD;

1.125
date	2022.03.24.02.24.25;	author manu;	state Exp;
branches;
next	1.124;
commitid	5rnAebpdaNykEpxD;

1.124
date	2022.02.16.20.14.30;	author riastradh;	state Exp;
branches;
next	1.123;
commitid	PzfhJsf1Q73OJSsD;

1.123
date	2022.01.09.15.05.16;	author jmcneill;	state Exp;
branches;
next	1.122;
commitid	oo0lasCYXh8nfYnD;

1.122
date	2022.01.03.17.19.41;	author jmcneill;	state Exp;
branches;
next	1.121;
commitid	wteSKQbWGt2sbdnD;

1.121
date	2021.12.24.00.24.49;	author jmcneill;	state Exp;
branches;
next	1.120;
commitid	nDlSNaFSuJM7TPlD;

1.120
date	2021.01.24.18.02.51;	author jmcneill;	state Exp;
branches;
next	1.119;
commitid	Sfbu2WeNtPgSt0FC;

1.119
date	2020.12.13.20.39.20;	author jmcneill;	state Exp;
branches;
next	1.118;
commitid	fQFvU93pnWn7FCzC;

1.118
date	2020.12.13.20.27.53;	author jmcneill;	state Exp;
branches;
next	1.117;
commitid	gxA9sRm7KBReDCzC;

1.117
date	2020.12.07.10.57.41;	author jmcneill;	state Exp;
branches;
next	1.116;
commitid	OPplaK8ri0iuFNyC;

1.116
date	2020.12.06.02.57.30;	author jmcneill;	state Exp;
branches;
next	1.115;
commitid	CeboKqqzoE1D1DyC;

1.115
date	2020.02.22.02.28.06;	author jmcneill;	state Exp;
branches
	1.115.6.1;
next	1.114;
commitid	4cFjLraZogLI8CXB;

1.114
date	2018.12.25.11.56.14;	author mlelstv;	state Exp;
branches
	1.114.6.1;
next	1.113;
commitid	B7hyyTWT0huqUa5B;

1.113
date	2018.10.26.23.33.38;	author jmcneill;	state Exp;
branches;
next	1.112;
commitid	4Nim1InpTZrtHwXA;

1.112
date	2018.10.26.10.46.21;	author jmcneill;	state Exp;
branches;
next	1.111;
commitid	bC0xhGipbZ2dssXA;

1.111
date	2018.10.22.22.36.19;	author jmcneill;	state Exp;
branches;
next	1.110;
commitid	NA7KJfBCIJ6Qv0XA;

1.110
date	2018.10.22.22.29.35;	author jmcneill;	state Exp;
branches;
next	1.109;
commitid	Jmrb2IvnZnipt0XA;

1.109
date	2018.10.21.12.26.38;	author jmcneill;	state Exp;
branches;
next	1.108;
commitid	HVCzf9zpxXUEaPWA;

1.108
date	2018.10.19.21.09.10;	author jakllsch;	state Exp;
branches;
next	1.107;
commitid	OPMFumICgHen7CWA;

1.107
date	2018.10.17.00.03.47;	author jmcneill;	state Exp;
branches;
next	1.106;
commitid	FAGnMG6NfksNbfWA;

1.106
date	2018.10.16.10.25.33;	author jmcneill;	state Exp;
branches;
next	1.105;
commitid	zm6h6v1s0BjTEaWA;

1.105
date	2018.10.16.00.30.08;	author jmcneill;	state Exp;
branches;
next	1.104;
commitid	nJNOKfGupxORm7WA;

1.104
date	2018.10.15.23.59.16;	author jmcneill;	state Exp;
branches;
next	1.103;
commitid	BlmIcn7sUepcc7WA;

1.103
date	2018.10.12.23.26.18;	author jmcneill;	state Exp;
branches;
next	1.102;
commitid	FVkUcd6Yz1rW6JVA;

1.102
date	2018.10.12.21.38.10;	author jmcneill;	state Exp;
branches;
next	1.101;
commitid	gbzPisEZZAEQvIVA;

1.101
date	2018.03.01.06.00.49;	author maya;	state Exp;
branches
	1.101.2.1
	1.101.4.1;
next	1.100;
commitid	77pWRMKVmNaoxIsA;

1.100
date	2017.12.10.16.51.30;	author bouyer;	state Exp;
branches;
next	1.99;
commitid	Qt6b4vlXv3NhKmiA;

1.99
date	2017.11.25.16.31.03;	author jmcneill;	state Exp;
branches;
next	1.98;
commitid	BAZCn6y5lOkV7rgA;

1.98
date	2016.06.21.11.35.47;	author nonaka;	state Exp;
branches;
next	1.97;

1.97
date	2015.10.02.05.22.52;	author msaitoh;	state Exp;
branches;
next	1.96;

1.96
date	2015.09.21.12.32.06;	author nonaka;	state Exp;
branches;
next	1.95;

1.95
date	2014.09.14.19.54.05;	author mrg;	state Exp;
branches
	1.95.2.1;
next	1.94;

1.94
date	2014.04.01.17.47.36;	author riastradh;	state Exp;
branches
	1.94.4.1;
next	1.93;

1.93
date	2012.01.22.06.44.28;	author christos;	state Exp;
branches
	1.93.6.1
	1.93.10.1;
next	1.92;

1.92
date	2011.09.22.01.15.31;	author jakllsch;	state Exp;
branches
	1.92.2.1
	1.92.6.1;
next	1.91;

1.91
date	2011.07.13.07.52.48;	author jruoho;	state Exp;
branches;
next	1.90;

1.90
date	2011.06.14.13.59.23;	author jruoho;	state Exp;
branches;
next	1.89;

1.89
date	2011.06.12.07.25.43;	author jruoho;	state Exp;
branches;
next	1.88;

1.88
date	2011.02.27.17.10.33;	author jruoho;	state Exp;
branches
	1.88.2.1;
next	1.87;

1.87
date	2011.02.20.08.31.46;	author jruoho;	state Exp;
branches;
next	1.86;

1.86
date	2011.01.17.15.55.24;	author jmcneill;	state Exp;
branches
	1.86.2.1;
next	1.85;

1.85
date	2011.01.17.15.49.13;	author jmcneill;	state Exp;
branches;
next	1.84;

1.84
date	2011.01.09.15.12.34;	author jruoho;	state Exp;
branches
	1.84.2.1;
next	1.83;

1.83
date	2011.01.05.20.08.12;	author jruoho;	state Exp;
branches;
next	1.82;

1.82
date	2010.11.05.10.28.20;	author gsutre;	state Exp;
branches;
next	1.81;

1.81
date	2010.10.12.19.10.50;	author gsutre;	state Exp;
branches;
next	1.80;

1.80
date	2010.09.06.15.54.27;	author jmcneill;	state Exp;
branches;
next	1.79;

1.79
date	2010.08.13.16.21.50;	author jruoho;	state Exp;
branches;
next	1.78;

1.78
date	2010.08.08.17.21.14;	author jruoho;	state Exp;
branches;
next	1.77;

1.77
date	2010.08.07.09.41.19;	author jruoho;	state Exp;
branches;
next	1.76;

1.76
date	2010.07.18.09.29.12;	author jruoho;	state Exp;
branches;
next	1.75;

1.75
date	2010.05.31.20.32.29;	author pgoyette;	state Exp;
branches;
next	1.74;

1.74
date	2010.04.22.18.40.09;	author jruoho;	state Exp;
branches;
next	1.73;

1.73
date	2010.04.14.17.12.14;	author jruoho;	state Exp;
branches;
next	1.72;

1.72
date	2010.04.11.22.42.30;	author jakllsch;	state Exp;
branches;
next	1.71;

1.71
date	2010.04.10.17.55.24;	author jruoho;	state Exp;
branches;
next	1.70;

1.70
date	2010.04.08.12.14.19;	author jruoho;	state Exp;
branches;
next	1.69;

1.69
date	2010.04.08.09.36.03;	author jruoho;	state Exp;
branches;
next	1.68;

1.68
date	2010.03.19.04.04.28;	author cnst;	state Exp;
branches;
next	1.67;

1.67
date	2010.02.09.03.19.51;	author cnst;	state Exp;
branches
	1.67.2.1;
next	1.66;

1.66
date	2010.02.06.20.10.18;	author pgoyette;	state Exp;
branches
	1.66.2.1;
next	1.65;

1.65
date	2010.01.31.11.26.20;	author jruoho;	state Exp;
branches;
next	1.64;

1.64
date	2010.01.03.17.53.15;	author jruoho;	state Exp;
branches;
next	1.63;

1.63
date	2009.12.03.21.04.29;	author cegger;	state Exp;
branches;
next	1.62;

1.62
date	2009.11.25.13.21.49;	author cegger;	state Exp;
branches;
next	1.61;

1.61
date	2009.11.25.13.17.06;	author cegger;	state Exp;
branches;
next	1.60;

1.60
date	2009.10.02.16.47.52;	author jmcneill;	state Exp;
branches;
next	1.59;

1.59
date	2009.09.30.20.44.50;	author jmcneill;	state Exp;
branches;
next	1.58;

1.58
date	2009.08.31.14.48.41;	author cube;	state Exp;
branches;
next	1.57;

1.57
date	2009.08.18.16.41.02;	author jmcneill;	state Exp;
branches;
next	1.56;

1.56
date	2009.08.09.19.36.28;	author christos;	state Exp;
branches;
next	1.55;

1.55
date	2009.08.04.14.20.41;	author jmcneill;	state Exp;
branches;
next	1.54;

1.54
date	2009.08.03.10.30.29;	author jmcneill;	state Exp;
branches;
next	1.53;

1.53
date	2009.07.06.12.36.31;	author joerg;	state Exp;
branches;
next	1.52;

1.52
date	2008.05.18.22.05.59;	author cegger;	state Exp;
branches
	1.52.8.1
	1.52.12.1
	1.52.16.1;
next	1.51;

1.51
date	2008.05.01.20.18.19;	author cegger;	state Exp;
branches
	1.51.2.1;
next	1.50;

1.50
date	2008.03.31.15.17.21;	author jmcneill;	state Exp;
branches
	1.50.2.1
	1.50.4.1;
next	1.49;

1.49
date	2007.12.23.17.29.26;	author jmcneill;	state Exp;
branches
	1.49.6.1;
next	1.48;

1.48
date	2007.12.21.15.15.20;	author jmcneill;	state Exp;
branches;
next	1.47;

1.47
date	2007.12.09.20.27.53;	author jmcneill;	state Exp;
branches
	1.47.2.1;
next	1.46;

1.46
date	2007.08.23.10.04.07;	author tnn;	state Exp;
branches
	1.46.2.1
	1.46.10.1
	1.46.12.1;
next	1.45;

1.45
date	2007.05.08.16.48.37;	author xtraeme;	state Exp;
branches
	1.45.2.1
	1.45.6.1;
next	1.44;

1.44
date	2007.03.14.00.43.04;	author xtraeme;	state Exp;
branches;
next	1.43;

1.43
date	2007.03.13.04.01.51;	author xtraeme;	state Exp;
branches;
next	1.42;

1.42
date	2007.03.08.14.26.28;	author njoly;	state Exp;
branches
	1.42.2.1
	1.42.4.1;
next	1.41;

1.41
date	2007.01.09.13.41.30;	author cube;	state Exp;
branches
	1.41.2.1;
next	1.40;

1.40
date	2006.08.14.09.34.43;	author itohy;	state Exp;
branches
	1.40.2.1
	1.40.6.1;
next	1.39;

1.39
date	2006.08.06.15.46.54;	author christos;	state Exp;
branches;
next	1.38;

1.38
date	2006.07.08.20.23.53;	author christos;	state Exp;
branches;
next	1.37;

1.37
date	2006.07.04.00.30.23;	author christos;	state Exp;
branches;
next	1.36;

1.36
date	2006.06.21.17.47.23;	author drochner;	state Exp;
branches;
next	1.35;

1.35
date	2006.01.31.09.30.06;	author kochi;	state Exp;
branches
	1.35.2.1
	1.35.6.1
	1.35.14.1;
next	1.34;

1.34
date	2006.01.05.16.56.54;	author rpaulo;	state Exp;
branches;
next	1.33;

1.33
date	2005.12.11.12.21.02;	author christos;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2005.06.21.08.19.25;	author sekiya;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2005.03.25.23.06.19;	author cube;	state Exp;
branches;
next	1.30;

1.30
date	2005.03.21.14.06.46;	author xtraeme;	state Exp;
branches;
next	1.29;

1.29
date	2004.12.02.14.33.31;	author xtraeme;	state Exp;
branches
	1.29.4.1
	1.29.6.1;
next	1.28;

1.28
date	2004.12.02.09.50.42;	author xtraeme;	state Exp;
branches;
next	1.27;

1.27
date	2004.06.07.15.33.17;	author kochi;	state Exp;
branches;
next	1.26;

1.26
date	2004.05.27.11.26.33;	author kochi;	state Exp;
branches;
next	1.25;

1.25
date	2004.05.26.17.15.17;	author kochi;	state Exp;
branches;
next	1.24;

1.24
date	2004.05.03.07.44.36;	author kochi;	state Exp;
branches;
next	1.23;

1.23
date	2004.03.31.11.19.39;	author tron;	state Exp;
branches;
next	1.22;

1.22
date	2004.01.31.13.59.20;	author jdolecek;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2004.01.25.11.46.49;	author jdolecek;	state Exp;
branches;
next	1.20;

1.20
date	2003.05.15.21.29.50;	author fvdl;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2003.04.20.20.21.29;	author thorpej;	state Exp;
branches;
next	1.18;

1.18
date	2003.04.17.20.56.29;	author matt;	state Exp;
branches;
next	1.17;

1.17
date	2003.04.17.01.22.21;	author thorpej;	state Exp;
branches;
next	1.16;

1.16
date	2003.01.12.01.15.50;	author christos;	state Exp;
branches;
next	1.15;

1.15
date	2003.01.05.22.33.23;	author christos;	state Exp;
branches;
next	1.14;

1.14
date	2003.01.05.01.03.45;	author fvdl;	state Exp;
branches;
next	1.13;

1.13
date	2003.01.04.05.36.03;	author jmcneill;	state Exp;
branches;
next	1.12;

1.12
date	2002.12.31.05.26.57;	author explorer;	state Exp;
branches;
next	1.11;

1.11
date	2002.12.28.19.31.35;	author jmcneill;	state Exp;
branches;
next	1.10;

1.10
date	2002.12.28.08.45.31;	author matt;	state Exp;
branches;
next	1.9;

1.9
date	2002.12.28.08.04.28;	author jmcneill;	state Exp;
branches;
next	1.8;

1.8
date	2002.12.28.06.20.15;	author jmcneill;	state Exp;
branches;
next	1.7;

1.7
date	2002.06.17.22.39.25;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.22.12.42.56;	author augustss;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2002.03.24.03.46.10;	author sommerfeld;	state Exp;
branches;
next	1.4;

1.4
date	2001.11.28.10.21.21;	author lukem;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2001.11.20.14.34.27;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2001.09.29.05.36.03;	author thorpej;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2001.09.28.02.09.24;	author thorpej;	state Exp;
branches;
next	;

1.132.2.1
date	2025.08.02.05.56.32;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.126.4.1
date	2023.07.30.12.01.53;	author martin;	state Exp;
branches;
next	1.126.4.2;
commitid	YN8gqSNYXS3y0PyE;

1.126.4.2
date	2024.03.25.15.05.17;	author martin;	state Exp;
branches;
next	1.126.4.3;
commitid	Jcxcs4QcffUaly3F;

1.126.4.3
date	2024.10.09.13.00.11;	author martin;	state Exp;
branches;
next	1.126.4.4;
commitid	SujiOrEAlagGhZsF;

1.126.4.4
date	2024.10.09.13.25.12;	author martin;	state Exp;
branches;
next	;
commitid	tFVNF0IZFD0fqZsF;

1.115.6.1
date	2020.12.14.14.38.05;	author thorpej;	state Exp;
branches;
next	1.115.6.2;
commitid	S4HwP6n7zzL3FIzC;

1.115.6.2
date	2021.04.03.22.28.43;	author thorpej;	state Exp;
branches;
next	;
commitid	1gqS07EfPjskJTNC;

1.114.6.1
date	2020.02.29.20.19.07;	author ad;	state Exp;
branches;
next	;
commitid	KXaq8b9IAm4cQBYB;

1.101.2.1
date	2018.10.20.06.58.30;	author pgoyette;	state Exp;
branches;
next	1.101.2.2;
commitid	mTSoqZEZ4arHnFWA;

1.101.2.2
date	2018.11.26.01.52.30;	author pgoyette;	state Exp;
branches;
next	1.101.2.3;
commitid	Zj4q5SspGdKXto1B;

1.101.2.3
date	2018.12.26.14.01.47;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.101.4.1
date	2019.06.10.22.07.05;	author christos;	state Exp;
branches;
next	1.101.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.101.4.2
date	2020.04.08.14.08.02;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.95.2.1
date	2015.09.22.12.05.56;	author skrll;	state Exp;
branches;
next	1.95.2.2;

1.95.2.2
date	2015.12.27.12.09.48;	author skrll;	state Exp;
branches;
next	1.95.2.3;

1.95.2.3
date	2016.07.09.20.25.01;	author skrll;	state Exp;
branches;
next	;

1.94.4.1
date	2014.09.22.10.47.39;	author martin;	state Exp;
branches;
next	;

1.93.6.1
date	2014.08.20.00.03.35;	author tls;	state Exp;
branches;
next	1.93.6.2;

1.93.6.2
date	2017.12.03.11.36.58;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.93.10.1
date	2014.05.18.17.45.35;	author rmind;	state Exp;
branches;
next	;

1.92.2.1
date	2012.04.17.00.07.27;	author yamt;	state Exp;
branches;
next	1.92.2.2;

1.92.2.2
date	2014.05.22.11.40.19;	author yamt;	state Exp;
branches;
next	;

1.92.6.1
date	2012.02.18.07.34.07;	author mrg;	state Exp;
branches;
next	;

1.88.2.1
date	2011.06.23.14.19.57;	author cherry;	state Exp;
branches;
next	;

1.86.2.1
date	2011.03.05.15.10.16;	author bouyer;	state Exp;
branches;
next	;

1.84.2.1
date	2011.06.06.09.07.42;	author jruoho;	state Exp;
branches;
next	;

1.67.2.1
date	2010.05.30.05.17.17;	author rmind;	state Exp;
branches;
next	1.67.2.2;

1.67.2.2
date	2010.07.03.01.19.34;	author rmind;	state Exp;
branches;
next	1.67.2.3;

1.67.2.3
date	2011.03.05.20.53.04;	author rmind;	state Exp;
branches;
next	;

1.66.2.1
date	2010.04.30.14.43.06;	author uebayasi;	state Exp;
branches;
next	1.66.2.2;

1.66.2.2
date	2010.08.17.06.46.02;	author uebayasi;	state Exp;
branches;
next	1.66.2.3;

1.66.2.3
date	2010.10.22.07.21.53;	author uebayasi;	state Exp;
branches;
next	1.66.2.4;

1.66.2.4
date	2010.11.06.08.08.27;	author uebayasi;	state Exp;
branches;
next	;

1.52.8.1
date	2009.08.30.03.01.26;	author snj;	state Exp;
branches;
next	1.52.8.2;

1.52.8.2
date	2009.09.05.11.34.26;	author bouyer;	state Exp;
branches;
next	1.52.8.3;

1.52.8.3
date	2009.10.08.09.47.09;	author sborrill;	state Exp;
branches;
next	;

1.52.12.1
date	2009.07.23.23.31.45;	author jym;	state Exp;
branches;
next	;

1.52.16.1
date	2010.04.21.00.27.34;	author matt;	state Exp;
branches;
next	;

1.51.2.1
date	2008.06.23.04.30.58;	author wrstuden;	state Exp;
branches;
next	;

1.50.2.1
date	2008.05.18.12.33.34;	author yamt;	state Exp;
branches;
next	1.50.2.2;

1.50.2.2
date	2008.06.04.02.05.10;	author yamt;	state Exp;
branches;
next	;

1.50.4.1
date	2008.05.16.02.23.53;	author yamt;	state Exp;
branches;
next	1.50.4.2;

1.50.4.2
date	2009.05.04.08.12.34;	author yamt;	state Exp;
branches;
next	1.50.4.3;

1.50.4.3
date	2009.07.18.14.52.59;	author yamt;	state Exp;
branches;
next	1.50.4.4;

1.50.4.4
date	2009.08.19.18.47.03;	author yamt;	state Exp;
branches;
next	1.50.4.5;

1.50.4.5
date	2009.09.16.13.37.45;	author yamt;	state Exp;
branches;
next	1.50.4.6;

1.50.4.6
date	2010.03.11.15.03.23;	author yamt;	state Exp;
branches;
next	1.50.4.7;

1.50.4.7
date	2010.08.11.22.53.16;	author yamt;	state Exp;
branches;
next	1.50.4.8;

1.50.4.8
date	2010.10.09.03.32.04;	author yamt;	state Exp;
branches;
next	;

1.49.6.1
date	2008.04.03.12.42.37;	author mjf;	state Exp;
branches;
next	1.49.6.2;

1.49.6.2
date	2008.06.02.13.23.13;	author mjf;	state Exp;
branches;
next	;

1.47.2.1
date	2008.01.02.21.53.51;	author bouyer;	state Exp;
branches;
next	;

1.46.2.1
date	2008.01.09.01.52.21;	author matt;	state Exp;
branches;
next	;

1.46.10.1
date	2007.12.26.19.46.01;	author ad;	state Exp;
branches;
next	;

1.46.12.1
date	2007.12.11.15.22.35;	author yamt;	state Exp;
branches;
next	;

1.45.2.1
date	2007.09.03.10.20.12;	author skrll;	state Exp;
branches;
next	;

1.45.6.1
date	2007.09.03.16.47.53;	author jmcneill;	state Exp;
branches;
next	1.45.6.2;

1.45.6.2
date	2007.10.02.21.44.11;	author joerg;	state Exp;
branches;
next	;

1.42.2.1
date	2007.03.13.16.50.21;	author ad;	state Exp;
branches;
next	1.42.2.2;

1.42.2.2
date	2007.04.10.13.24.21;	author ad;	state Exp;
branches;
next	1.42.2.3;

1.42.2.3
date	2007.05.27.14.29.58;	author ad;	state Exp;
branches;
next	1.42.2.4;

1.42.2.4
date	2007.10.09.13.41.14;	author ad;	state Exp;
branches;
next	;

1.42.4.1
date	2007.07.11.20.05.10;	author mjf;	state Exp;
branches;
next	;

1.41.2.1
date	2007.03.12.05.53.07;	author rmind;	state Exp;
branches;
next	1.41.2.2;

1.41.2.2
date	2007.03.24.14.55.19;	author yamt;	state Exp;
branches;
next	1.41.2.3;

1.41.2.3
date	2007.05.17.13.41.23;	author yamt;	state Exp;
branches;
next	;

1.40.2.1
date	2007.01.12.00.57.34;	author ad;	state Exp;
branches;
next	;

1.40.6.1
date	2007.05.13.06.52.53;	author pavel;	state Exp;
branches;
next	;

1.35.2.1
date	2006.09.09.02.49.29;	author rpaulo;	state Exp;
branches;
next	;

1.35.6.1
date	2006.06.26.12.50.37;	author yamt;	state Exp;
branches;
next	1.35.6.2;

1.35.6.2
date	2006.08.11.15.43.59;	author yamt;	state Exp;
branches;
next	1.35.6.3;

1.35.6.3
date	2006.09.03.15.23.55;	author yamt;	state Exp;
branches;
next	;

1.35.14.1
date	2006.07.13.17.49.17;	author gdamore;	state Exp;
branches;
next	;

1.33.2.1
date	2006.01.15.10.02.48;	author yamt;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2006.02.01.14.51.48;	author yamt;	state Exp;
branches;
next	;

1.32.2.1
date	2006.06.21.15.02.32;	author yamt;	state Exp;
branches;
next	1.32.2.2;

1.32.2.2
date	2006.12.30.20.47.54;	author yamt;	state Exp;
branches;
next	1.32.2.3;

1.32.2.3
date	2007.02.26.09.09.57;	author yamt;	state Exp;
branches;
next	1.32.2.4;

1.32.2.4
date	2007.09.03.14.33.21;	author yamt;	state Exp;
branches;
next	1.32.2.5;

1.32.2.5
date	2008.01.21.09.42.33;	author yamt;	state Exp;
branches;
next	;

1.29.4.1
date	2005.04.29.11.28.45;	author kent;	state Exp;
branches;
next	;

1.29.6.1
date	2005.03.26.18.19.18;	author yamt;	state Exp;
branches;
next	;

1.22.2.1
date	2004.04.28.05.25.23;	author jmc;	state Exp;
branches;
next	1.22.2.2;

1.22.2.2
date	2004.06.14.03.19.01;	author jmc;	state Exp;
branches;
next	;

1.20.2.1
date	2004.08.03.10.45.03;	author skrll;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2004.09.18.14.44.42;	author skrll;	state Exp;
branches;
next	1.20.2.3;

1.20.2.3
date	2004.09.21.13.26.40;	author skrll;	state Exp;
branches;
next	1.20.2.4;

1.20.2.4
date	2004.12.18.09.31.56;	author skrll;	state Exp;
branches;
next	1.20.2.5;

1.20.2.5
date	2005.04.01.14.29.52;	author skrll;	state Exp;
branches;
next	1.20.2.6;

1.20.2.6
date	2005.11.10.14.03.11;	author skrll;	state Exp;
branches;
next	;

1.6.2.1
date	2002.07.15.10.35.12;	author gehenna;	state Exp;
branches;
next	;

1.4.2.1
date	2001.11.28.10.21.21;	author thorpej;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.01.10.19.52.54;	author thorpej;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2002.06.23.17.45.03;	author jdolecek;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2002.09.06.08.43.49;	author jdolecek;	state Exp;
branches;
next	;

1.2.2.1
date	2001.09.29.05.36.03;	author fvdl;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2001.10.01.12.44.18;	author fvdl;	state Exp;
branches;
next	;

1.2.4.1
date	2001.09.29.05.36.03;	author nathanw;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2001.10.08.21.18.06;	author nathanw;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2002.01.08.00.29.20;	author nathanw;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	2002.04.01.07.45.07;	author nathanw;	state Exp;
branches;
next	1.2.4.5;

1.2.4.5
date	2002.06.20.03.43.27;	author nathanw;	state Exp;
branches;
next	1.2.4.6;

1.2.4.6
date	2002.12.29.20.45.31;	author thorpej;	state Exp;
branches;
next	1.2.4.7;

1.2.4.7
date	2003.01.03.17.01.11;	author thorpej;	state Exp;
branches;
next	1.2.4.8;

1.2.4.8
date	2003.01.07.21.34.00;	author thorpej;	state Exp;
branches;
next	1.2.4.9;

1.2.4.9
date	2003.01.15.18.44.14;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.140
log
@avoid various seemingly bogus warnings with GCC 14.

i couldn't see any real case for any of these issues.  it seems like
the "maybe uninit" checker has gotten worse.

additionally, the "dangling pointer" checker also failing.
@
text
@#	$NetBSD: files.acpi,v 1.139 2025/02/26 15:18:46 ryoon Exp $

defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT
			ACPI_REDUCED_HW ACPI__DIS_IS_BROKEN
defparam opt_acpi.h	ACPI_DSDT_FILE := "\"/dev/null\""
defparam opt_acpi.h	ACPI_BLACKLIST_YEAR = 2000

define	acpiapmbus { }
define	acpinodebus { }
define	acpiecdtbus { }
define	acpihpetbus { }
define	acpiwdrtbus { }
define	acpisdtbus { }
define	acpigtdtbus { }
define	acpimadtbus { }
define	apeibus { }

device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpisdtbus, acpigtdtbus, acpimadtbus, acpihpetbus, acpiwdrtbus, apeibus, sysmon_power, sysmon_taskq
attach	acpi at acpibus
file	dev/acpi/acpi.c			acpi
file	dev/acpi/acpi_debug.c		acpi
file	dev/acpi/acpi_dev.c		acpi
file	dev/acpi/acpi_event.c		acpi
file	dev/acpi/acpi_gpio.c		acpi
file	dev/acpi/acpi_i2c.c		acpi & iic
file	dev/acpi/acpi_mcfg.c		acpi & pci
file	dev/acpi/acpi_pci.c		acpi & pci
file	dev/acpi/acpi_pci_link.c	acpi & pci
file	dev/acpi/acpi_power.c		acpi
file	dev/acpi/acpi_quirks.c		acpi
file	dev/acpi/acpi_resource.c	acpi
file	dev/acpi/acpi_srat.c		acpi
file	dev/acpi/acpi_slit.c		acpi
file	dev/acpi/acpi_timer.c		acpi
file	dev/acpi/acpi_usb.c		acpi
file	dev/acpi/acpi_util.c		acpi
file	dev/acpi/acpi_wakedev.c		acpi
file	dev/acpi/acpi_verbose.c		acpi & acpiverbose

# ACPI/apm emulation.
attach  apm at acpiapmbus with acpiapm: sysmon_envsys
file	dev/acpi/acpi_apm.c		acpiapm

# ACPI Embedded Controller
device	acpiec
attach	acpiec at acpinodebus
device	acpiecdt
attach	acpiecdt at acpiecdtbus
defparam opt_acpi_ec.h			ACPIEC_DEBUG
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt

# ACPI Lid Switch
device	acpilid: sysmon_power
attach	acpilid at acpinodebus
file	dev/acpi/acpi_lid.c		acpilid

# ACPI Button
device	acpibut: sysmon_power
attach	acpibut at acpinodebus
file	dev/acpi/acpi_button.c		acpibut

# ACPI AC Adapter
device	acpiacad: sysmon_envsys, sysmon_power
attach	acpiacad at acpinodebus
file	dev/acpi/acpi_acad.c		acpiacad

# ACPI Control Method Battery
device	acpibat: sysmon_envsys
attach	acpibat at acpinodebus
file	dev/acpi/acpi_bat.c		acpibat

# ACPI Display
device	acpivga {}
attach	acpivga at acpinodebus
device	acpiout
attach	acpiout at acpivga
file	dev/acpi/acpi_display.c		acpivga|acpiout

# ACPI Fan
device	acpifan: sysmon_envsys
attach	acpifan at acpinodebus
file	dev/acpi/acpi_fan.c		acpifan

# ACPI Generic Event Device
device	acpiged
attach	acpiged at acpinodebus
file	dev/acpi/acpi_ged.c		acpiged

# ACPI Power Meter
device	acpipmtr: sysmon_envsys
attach	acpipmtr at acpinodebus
file	dev/acpi/acpi_pmtr.c		acpipmtr

# ACPI Thermal Zone
device	acpitz: sysmon_envsys
attach	acpitz at acpinodebus
file	dev/acpi/acpi_tz.c		acpitz

# ACPI Watchdog Timer
device	acpiwdrt: sysmon_wdog
attach	acpiwdrt at acpiwdrtbus
file	dev/acpi/acpi_wdrt.c		acpiwdrt

# ACPI Processor Container Device
device	acpipcd
attach	acpipcd at acpinodebus
file	dev/acpi/acpi_pcd.c		acpipcd

# Platform Communications Channel
device	acpipcc
attach	acpipcc at acpisdtbus
file	dev/acpi/acpi_pcc.c		acpipcc

# ACPI Collaborative Processor Performance Control
device	acpicppc: acpipcc
attach	acpicppc at acpinodebus
file	dev/acpi/acpi_cppc.c		acpicppc

# ACPI Virtual Machine Generation ID
device	acpivmgenid
attach	acpivmgenid at acpinodebus
file	dev/acpi/acpi_vmgenid.c		acpivmgenid

# ACPI Platform Error Interface
device	apei
attach	apei at apeibus
file	dev/acpi/apei.c			apei
file	dev/acpi/apei_bert.c		apei
file	dev/acpi/apei_einj.c		apei
file	dev/acpi/apei_erst.c		apei
file	dev/acpi/apei_hest.c		apei
file	dev/acpi/apei_interp.c		apei
file	dev/acpi/apei_mapreg.c		apei
file	dev/acpi/apei_reg.c		apei

# ACPI Hardware Error Device
device	acpihed: apei
attach	acpihed at acpinodebus
file	dev/acpi/acpi_hed.c		acpihed

# Serial interface
attach	com at acpinodebus with com_acpi
file	dev/acpi/com_acpi.c		com_acpi

# Floppy disk controller
attach	fdc at acpinodebus with fdc_acpi
file	dev/acpi/fdc_acpi.c		fdc_acpi

# Parallel interface
attach	lpt at acpinodebus with lpt_acpi
file	dev/acpi/lpt_acpi.c		lpt_acpi & !ppbus

attach	atppc at acpinodebus with atppc_acpi: isadma
file	dev/acpi/atppc_acpi.c		atppc_acpi

# Keyboard controller
attach	pckbc at acpinodebus with pckbc_acpi
file	dev/acpi/pckbc_acpi.c		pckbc_acpi

# NeoMagic 256AV audio with CS4232 codec
attach	wss at acpinodebus with wss_acpi
file	dev/acpi/wss_acpi.c		wss_acpi

# Roland MPU401 (compatible) MIDI UART
attach	mpu at acpinodebus with mpu_acpi
file	dev/acpi/mpu_acpi.c		mpu_acpi

# Joystick/Game port
attach	joy at acpinodebus with joy_acpi
file	dev/acpi/joy_acpi.c		joy_acpi

# AT-style speaker sound
attach	pcppi at acpinodebus with pcppi_acpi
file	dev/acpi/pcppi_acpi.c		pcppi_acpi

# AT Timer
attach	attimer at acpinodebus with attimer_acpi
file	dev/acpi/attimer_acpi.c		attimer_acpi

# Trusted Platform Module
attach tpm at acpinodebus with tpm_acpi
file   dev/acpi/tpm_acpi.c		tpm_acpi

# Yamaha OPL3-SAx
attach	ym at acpinodebus with ym_acpi
file	dev/acpi/ym_acpi.c		ym_acpi

# High Precision Event Timer
attach 	hpet at acpinodebus with hpet_acpi_dev
attach 	hpet at acpihpetbus with hpet_acpi_tab
file 	dev/acpi/hpet_acpi.c		hpet_acpi_dev|hpet_acpi_tab

# ASUS hotkey device
device	asus: sysmon_envsys, sysmon_power
attach	asus at acpinodebus
file	dev/acpi/asus_acpi.c		asus

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi

# HP 3D DriveGuard accelerometer
device	hpacel: sysmon_envsys
attach	hpacel at acpinodebus
file	dev/acpi/hpacel_acpi.c		hpacel

# HP Quick Launch Buttons
device	hpqlb: sysmon_power
attach	hpqlb at acpinodebus
file	dev/acpi/hpqlb_acpi.c		hpqlb

# Sony Notebook Controller (brightness, hotkeys, etc.)
device	sony: displaydev
attach	sony at acpinodebus with sony_acpi
file	dev/acpi/sony_acpi.c		sony_acpi

# Toshiba hotkeys
device	vald
attach	vald at acpinodebus with vald_acpi
file	dev/acpi/vald_acpi.c		vald_acpi

# Toshiba Dynabook hotkeys
device	valz
attach	valz at acpinodebus with valz_acpi
file	dev/acpi/valz_acpi.c		valz_acpi

# Sony SPIC (jog dial etc.)
attach	spic at acpinodebus with spic_acpi
file	dev/acpi/spic_acpi.c		spic_acpi

# IBM/Lenovo Thinkpad hotkey device
device	thinkpad
attach	thinkpad at acpinodebus
file	dev/acpi/thinkpad_acpi.c	thinkpad

# Direct Application Launch Buttons
device	acpidalb
attach	acpidalb at acpinodebus
file	dev/acpi/dalb_acpi.c		acpidalb

# Winbond Integrated Media Reader
attach	wb at acpinodebus with wb_acpi
file	dev/acpi/wb_acpi.c		wb_acpi

# ASUSTeK AI Booster
device	aibs: sysmon_envsys
attach	aibs at acpinodebus
file	dev/acpi/aibs_acpi.c		aibs

# ACPI SMBus controller
device	acpismbus: i2cbus
attach	acpismbus at acpinodebus
file	dev/acpi/smbus_acpi.c		acpismbus

# Fujitsu Brightness & Pointer
device	fujbp
attach	fujbp at acpinodebus
file	dev/acpi/fujbp_acpi.c		fujbp

# Fujitsu Hotkeys
device	fujhk: sysmon_power
attach	fujhk at acpinodebus
file	dev/acpi/fujhk_acpi.c		fujhk

# Apple SMC
attach	applesmc at acpinodebus with apple_smc_acpi
file	dev/acpi/apple_smc_acpi.c	apple_smc_acpi

# SD Host Controller
attach	sdhc at acpinodebus with sdhc_acpi
file	dev/acpi/sdhc_acpi.c		sdhc_acpi

# QEMU Firmware Configuration (fw_cfg) device
attach	qemufwcfg at acpinodebus with qemufwcfg_acpi
file	dev/acpi/qemufwcfg_acpi.c	qemufwcfg_acpi

# AHCI SATA controller
attach	ahcisata at acpinodebus with ahcisata_acpi
file	dev/acpi/ahcisata_acpi.c	ahcisata_acpi

# ARM PrimeCell PL061 GPIO controller
attach	plgpio at acpinodebus with plgpio_acpi
file	dev/acpi/plgpio_acpi.c		plgpio_acpi

# DesignWare I2C controller
attach	dwiic at acpinodebus with dwiic_acpi
file	dev/acpi/dwiic_acpi.c		dwiic_acpi

# NXP Layerscape I2C controller
device	nxpiic: motoi2c, i2cbus, i2cexec
attach	nxpiic at acpinodebus with nxpiic_acpi
file	dev/acpi/nxpiic_acpi.c		nxpiic_acpi

# AMD Cryptographic Coprocessor
attach	amdccp at acpinodebus with amdccp_acpi
file	dev/acpi/amdccp_acpi.c		amdccp_acpi

# QEMU Virtio
attach	virtio at acpinodebus with virtio_acpi: virtio_mmio
file	dev/acpi/virtio_acpi.c		virtio_acpi

# OHCI-compliant USB controller
attach	ohci at acpinodebus with ohci_acpi
file	dev/acpi/ohci_acpi.c		ohci_acpi

# EHCI-compliant USB controller
attach	ehci at acpinodebus with ehci_acpi
file	dev/acpi/ehci_acpi.c		ehci_acpi

# XHCI-compliant USB controller
attach	xhci at acpinodebus with xhci_acpi
file	dev/acpi/xhci_acpi.c		xhci_acpi

# IPMI
device	ipmi_acpi: ipmibus
attach	ipmi_acpi at acpinodebus
file	dev/acpi/ipmi_acpi.c		ipmi_acpi

# Broadcom GENETv5
attach	genet at acpinodebus with genet_acpi
file	dev/acpi/genet_acpi.c		genet_acpi

# DesignWare Ethernet Quality-of-Service controller
attach	eqos at acpinodebus with eqos_acpi
file	dev/acpi/eqos_acpi.c		eqos_acpi

# Intel GPIO
attach	igpio at acpinodebus with igpio_acpi
file	dev/acpi/igpio_acpi.c		igpio_acpi

# DesignWare Mobile Storage Host Controller
attach	dwcmmc at acpinodebus with dwcmmc_acpi
file	dev/acpi/dwcmmc_acpi.c		dwcmmc_acpi

# DesignWare Watchdog
attach	dwcwdt at acpinodebus with dwcwdt_acpi
file	dev/acpi/dwcwdt_acpi.c		dwcwdt_acpi

# Qualcomm GPIO
device	qcomgpio: gpiobus
attach	qcomgpio at acpinodebus
file	dev/acpi/qcomgpio.c		qcomgpio

# Qualcomm I2C controller
device	qcomiic: i2cbus
attach	qcomiic at acpinodebus
file	dev/acpi/qcomiic.c		qcomiic

# Qualcomm SPMI controller
device	qcomspmi
attach	qcomspmi at acpinodebus
file	dev/acpi/qcomspmi.c		qcomspmi

# Qualcomm Secure Channel Manager
device	qcomscm
attach	qcomscm at acpinodebus
file	dev/acpi/qcomscm.c		qcomscm

# Qualcomm IPCC driver
device	qcomipcc
attach	qcomipcc at acpinodebus
file	dev/acpi/qcomipcc.c		qcomipcc

# Qualcomm PEP / AOSS driver
device	qcompep: scmi
attach	qcompep at acpinodebus
file	dev/acpi/qcompep.c		qcompep

# Qualcomm Shared Memory driver
device	qcomsmem
attach	qcomsmem at acpinodebus
file	dev/acpi/qcomsmem.c		qcomsmem

# Qualcomm SMP2P driver
device	qcomsmptp
attach	qcomsmptp at acpinodebus
file	dev/acpi/qcomsmptp.c		qcomsmptp

# Qualcomm PAS driver
device	qcompas
attach	qcompas at acpinodebus
file	dev/acpi/qcompas.c		qcompas

# AMD GPIO
device	amdgpio: gpiobus
attach	amdgpio at acpinodebus
file	dev/acpi/amdgpio.c		amdgpio

include	"dev/acpi/wmi/files.wmi"

makeoptions  acpi        "CWARNFLAGS.acpi_mcfg.c"+="${CC_WNO_MAYBE_UNINITIALIZED}"

@


1.139
log
@Add amdgpio(4) device driver for AMD GPIO found on some HP laptops

This device driver enables power button and trackpad on
HP Envy 13 ay1000 and HP Envy 14 fa0000.
Touchscreen and stylus have no decodable HID descriptors and not enabled.

Based on qcomgpio(4) and OpenBSD's amdgpio(4).

Add the following to your kernel configuration file:

amdgpio* 	at acpi?
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.138 2025/01/09 02:18:47 jmcneill Exp $
d391 3
@


1.138
log
@qcompep: add scmi dependency
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.137 2025/01/03 05:57:06 imil Exp $
d385 5
@


1.137
log
@Fix MMIO support for VirtIO ACPI: virtio_acpi.c already depends on
virtio_mmio.c, it worked only by accident on Arm kernels which already had
virtio_mmio pulled in
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.136 2024/12/30 12:31:10 jmcneill Exp $
d366 1
a366 1
device	qcompep
@


1.136
log
@arm64: Add support for Snapdragon X1E battery and charger sensors.

This is a port of a set of drivers from OpenBSD, adapted to use ACPI
instead of FDT bindings. These drivers are required to boot firmware on
the application DSP which is required to read sensors. This is an impressive
collection of work on the OpenBSD side -- big thank you to Patrick for writing
this code and his help with this porting effort.

Firmware is signed and as a result may be board specific. The qcompas(4)
driver looks for firmware files in qcompas/<subsystem> where <subsystem> is
the string returned by the _SUB method on the ADSP device node. For example,
on Lenovo ThinkPad T14s Gen 6 the subsystem ID is "233817AA".

The files "qcadsp8380.mbn" and "adsp_dtbs.elf" must be placed in
this directory to read sensor data. These files can be obtained by
downloading the appropriate OEM drivers for Windows.

When everything is online, the sensors are reported by sysmon_envsys and
the charger creates a sysmon_pswitch of type PSWITCH_TYPE_ACADAPTER. The
goal is to match the acpiacad(4) and acpibat(4) behaviour as much as possible.

XXX Firmware loading sometimes fails, still looking into this. When this
    happens, sensors are not registered.

[battery]
    design voltage:     0.000                                         V
           voltage:    12.980                                         V
        design cap:    58.000                                        Wh
     last full cap:    59.810                                        Wh
            charge:    59.740                      2.000%   8.998%   Wh (99.88%)
       charge rate:       N/A
    discharge rate:       N/A
          charging:     FALSE
      charge state:    NORMAL
  discharge cycles:         4        0        0        0        0 none
       temperature:    30.230                                      degC
[charger]
         connected:      TRUE
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.135 2024/12/13 13:30:10 martin Exp $
d300 1
a300 1
attach	virtio at acpinodebus with virtio_acpi
@


1.135
log
@Only compile acpi_i2c.c if the kernel has I2C support
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.134 2024/12/08 20:49:14 jmcneill Exp $
d350 35
@


1.134
log
@Add support for Snapdragon X Elite GPIO and I2C controllers.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.133 2024/08/26 13:38:28 riastradh Exp $
d26 1
a26 1
file	dev/acpi/acpi_i2c.c		acpi
@


1.133
log
@acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.

TBD: Add to all ACPI-supporting GENERIC kernels.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.132 2024/03/21 02:36:01 riastradh Exp $
d25 1
d340 10
@


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

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

PR kern/58046
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.131 2024/03/20 17:11:44 riastradh Exp $
d119 5
@


1.132.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.139 2025/02/26 15:18:46 ryoon Exp $
d25 1
a25 2
file	dev/acpi/acpi_gpio.c		acpi
file	dev/acpi/acpi_i2c.c		acpi & iic
a118 5
# ACPI Virtual Machine Generation ID
device	acpivmgenid
attach	acpivmgenid at acpinodebus
file	dev/acpi/acpi_vmgenid.c		acpivmgenid

d294 1
a294 1
attach	virtio at acpinodebus with virtio_acpi: virtio_mmio
a333 50
# Qualcomm GPIO
device	qcomgpio: gpiobus
attach	qcomgpio at acpinodebus
file	dev/acpi/qcomgpio.c		qcomgpio

# Qualcomm I2C controller
device	qcomiic: i2cbus
attach	qcomiic at acpinodebus
file	dev/acpi/qcomiic.c		qcomiic

# Qualcomm SPMI controller
device	qcomspmi
attach	qcomspmi at acpinodebus
file	dev/acpi/qcomspmi.c		qcomspmi

# Qualcomm Secure Channel Manager
device	qcomscm
attach	qcomscm at acpinodebus
file	dev/acpi/qcomscm.c		qcomscm

# Qualcomm IPCC driver
device	qcomipcc
attach	qcomipcc at acpinodebus
file	dev/acpi/qcomipcc.c		qcomipcc

# Qualcomm PEP / AOSS driver
device	qcompep: scmi
attach	qcompep at acpinodebus
file	dev/acpi/qcompep.c		qcompep

# Qualcomm Shared Memory driver
device	qcomsmem
attach	qcomsmem at acpinodebus
file	dev/acpi/qcomsmem.c		qcomsmem

# Qualcomm SMP2P driver
device	qcomsmptp
attach	qcomsmptp at acpinodebus
file	dev/acpi/qcomsmptp.c		qcomsmptp

# Qualcomm PAS driver
device	qcompas
attach	qcompas at acpinodebus
file	dev/acpi/qcompas.c		qcompas

# AMD GPIO
device	amdgpio: gpiobus
attach	amdgpio at acpinodebus
file	dev/acpi/amdgpio.c		amdgpio

@


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

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

PR kern/58046
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.130 2024/03/20 12:43:13 riastradh Exp $
d131 5
@


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

PR kern/58046
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.129 2024/03/20 03:14:45 riastradh Exp $
d119 12
@


1.129
log
@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
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.128 2023/07/18 10:02:25 riastradh Exp $
d19 1
a19 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpisdtbus, acpigtdtbus, acpimadtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq
@


1.128
log
@acpiec(4): New ACPIEC_DEBUG option.

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.127 2023/04/16 16:55:01 jmcneill Exp $
d17 1
@


1.127
log
@DesignWare watchdog ACPI attach glue
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.126 2022/05/26 02:16:44 mrg Exp $
d48 1
@


1.126
log
@only link acpi_pci*.c if acpi & pci, not just acpi.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.125 2022/03/24 02:24:25 manu Exp $
d311 4
@


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

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

acpiec(4): Record device_t self.

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

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

acpiec(4): One more debug message about read/write polling timeout.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.126 2022/05/26 02:16:44 mrg Exp $
a47 1
defparam opt_acpi_ec.h			ACPIEC_DEBUG
@


1.126.4.2
log
@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
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.126.4.1 2023/07/30 12:01:53 martin Exp $
a16 1
define	apeibus { }
d18 1
a18 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpisdtbus, acpigtdtbus, acpimadtbus, acpihpetbus, acpiwdrtbus, apeibus, sysmon_power, sysmon_taskq
@


1.126.4.3
log
@Pull up following revision(s) (requested by riastradh in ticket #936):

	sys/dev/acpi/apei_einjvar.h: revision 1.1
	sys/dev/acpi/apei_cper.h: revision 1.2
	distrib/sets/lists/debug/module.md.i386: revision 1.9
	sys/dev/acpi/apei_hest.c: revision 1.1
	sys/modules/apei/Makefile: revision 1.1
	sys/dev/acpi/apei_hest.c: revision 1.2
	distrib/sets/lists/modules/md.amd64: revision 1.101
	sys/dev/acpi/apei_hest.c: revision 1.3
	distrib/sets/lists/modules/md.amd64: revision 1.102
	sys/modules/apei/apei.ioconf: revision 1.1
	sys/dev/acpi/apei_bert.c: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1785
	sys/dev/acpi/apei_bertvar.h: revision 1.1
	sys/dev/acpi/apei.c: revision 1.1
	sys/dev/acpi/apei.c: revision 1.2
	sys/dev/acpi/apei.c: revision 1.3
	sys/modules/Makefile: revision 1.283
	sys/modules/Makefile: revision 1.284
	sys/dev/acpi/apei_reg.c: revision 1.1
	sys/dev/acpi/apei_hestvar.h: revision 1.1
	distrib/sets/lists/debug/module.md.i386: revision 1.10
	sys/dev/acpi/apei_reg.c: revision 1.2
	sys/dev/acpi/apei_reg.c: revision 1.3
	sys/dev/acpi/apei_reg.h: revision 1.1
	sys/dev/acpi/apei_reg.h: revision 1.2
	sys/dev/acpi/apei_reg.h: revision 1.3
	sys/dev/acpi/acpi_hed.c: revision 1.1
	sys/dev/acpi/apei_einj.c: revision 1.1
	sys/dev/acpi/apeivar.h: revision 1.1
	sys/dev/acpi/apei_einj.c: revision 1.2
	sys/dev/acpi/apei_einj.c: revision 1.3
	sys/dev/acpi/apei_einj.c: revision 1.4
	sys/dev/acpi/apei_einj.c: revision 1.5
	share/man/man4/Makefile: revision 1.734
	sys/dev/acpi/apei_einj.c: revision 1.6
	sys/dev/acpi/apei_einj.c: revision 1.7
	sys/dev/acpi/files.acpi: revision 1.131
	sys/dev/acpi/files.acpi: revision 1.132
	sys/dev/acpi/apei_interp.c: revision 1.1
	sys/dev/acpi/apei_interp.c: revision 1.2
	share/man/man4/acpihed.4: revision 1.1
	sys/dev/acpi/apei_mapreg.c: revision 1.1
	sys/dev/acpi/apei_interp.c: revision 1.3
	share/man/man4/acpihed.4: revision 1.2
	distrib/sets/lists/modules/md.i386: revision 1.98
	sys/dev/acpi/apei_mapreg.c: revision 1.2
	sys/dev/acpi/apei_interp.h: revision 1.1
	sys/dev/acpi/apei_interp.c: revision 1.4
	distrib/sets/lists/modules/md.i386: revision 1.99
	sys/modules/acpihed/Makefile: revision 1.1
	sys/dev/acpi/apei_mapreg.c: revision 1.3
	sys/dev/acpi/apei_interp.h: revision 1.2
	sys/arch/amd64/conf/ALL: revision 1.185
	sys/dev/acpi/apei_mapreg.h: revision 1.1
	sys/dev/acpi/apei_mapreg.c: revision 1.4
	sys/arch/amd64/conf/ALL: revision 1.186
	sys/dev/acpi/apei_erstvar.h: revision 1.1
	sys/dev/acpi/apei_erst.c: revision 1.1
	sys/dev/acpi/apei_erst.c: revision 1.2
	sys/dev/acpi/apei_erst.c: revision 1.3
	sys/arch/i386/conf/ALL: revision 1.516
	share/man/man4/apei.4: revision 1.1
	sys/arch/i386/conf/ALL: revision 1.517
	share/man/man4/apei.4: revision 1.2
	distrib/sets/lists/debug/module.md.amd64: revision 1.15
	sys/modules/acpihed/acpihed.ioconf: revision 1.1
	sys/dev/acpi/apei_hed.h: revision 1.1
	distrib/sets/lists/debug/module.md.amd64: revision 1.16
	sys/dev/acpi/apei_cper.h: revision 1.1

	(all via patch)

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

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

apei(4): Pacify -Wsign-compare.
Assert that the parsing made forward progress too while here.
PR kern/58046

apei(4): Tweak some comments about the APEI interpreter language.
No functional change intended.
PR kern/58046

apei(4): Fix parsing checks for TRIGGER_ERROR action table.
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
apei(4): Note some TODOs for EINJ and HEST.
No functional change intended, comments only.
PR kern/58046

acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046

acpihed(4): fix name in Dt, use Ql
apei(4): Plug memory leak on teardown of instruction interpreter.
PR kern/58046
apei(4): Fix indexing of multi-unit register access.
PR kern/58046

apei(4): Fix register chunk counting.
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046

apei(4): Allow pre-mapping I/O registers too.
PR kern/58046

apei(4): Pre-map registers when compiling interpreter.
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed.  Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046

apei(4): Simplify EINJ/ERST register access now that it's pre-mapped.
PR kern/58046
apei(4): Make sure to initialize *fatalp in apei_gesb_report.
PR kern/58046

apei: fix typos in comments

apei: fix typos in comments and snprintb bitfmt

apei(4): Fix uninitialized stack access in error branch.
PR kern/58046

apei(4), acpihed(4): Wire up man pages to build.
PR kern/58046: Missing APEI (ACPI Platform Error Interface) support
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.126.4.2 2024/03/25 15:05:17 martin Exp $
a118 17
# ACPI Platform Error Interface
device	apei
attach	apei at apeibus
file	dev/acpi/apei.c			apei
file	dev/acpi/apei_bert.c		apei
file	dev/acpi/apei_einj.c		apei
file	dev/acpi/apei_erst.c		apei
file	dev/acpi/apei_hest.c		apei
file	dev/acpi/apei_interp.c		apei
file	dev/acpi/apei_mapreg.c		apei
file	dev/acpi/apei_reg.c		apei

# ACPI Hardware Error Device
device	acpihed: apei
attach	acpihed at acpinodebus
file	dev/acpi/acpi_hed.c		acpihed

@


1.126.4.4
log
@Pull up following revision(s) (requested by riastradh in ticket #939):

	distrib/sets/lists/debug/module.md.amd64: revision 1.18
	sys/modules/Makefile: revision 1.292
	lib/libc/gen/arc4random.c: revision 1.34
	lib/libc/gen/arc4random.c: revision 1.35
	lib/libc/gen/arc4random.c: revision 1.36
	lib/libc/gen/arc4random.c: revision 1.37
	sys/kern/kern_entropy.c: revision 1.70
	lib/libc/gen/arc4random.c: revision 1.38
	sys/kern/kern_entropy.c: revision 1.71
	lib/libc/gen/getentropy.3: revision 1.8
	distrib/sets/lists/modules/md.amd64: revision 1.103
	share/man/man4/rnd.4: revision 1.42
	share/man/man4/rnd.4: revision 1.44
	lib/libc/include/arc4random.h: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1786
	sys/arch/i386/conf/GENERIC: revision 1.1258
	sys/modules/acpivmgenid/acpivmgenid.ioconf: revision 1.1
	sys/arch/amd64/conf/ALL: revision 1.190
	distrib/sets/lists/debug/mi: revision 1.446
	sys/arch/i386/conf/ALL: revision 1.521
	lib/libc/gen/Makefile.inc: revision 1.219
	distrib/sets/lists/debug/module.md.i386: revision 1.12
	sys/dev/acpi/acpi_vmgenid.c: revision 1.1
	sys/dev/acpi/acpi_vmgenid.c: revision 1.2
	lib/libc/include/reentrant.h: revision 1.22
	sys/arch/evbarm/conf/GENERIC64: revision 1.219
	share/man/man4/Makefile: revision 1.735
	distrib/sets/lists/modules/md.i386: revision 1.100
	distrib/sets/lists/tests/mi: revision 1.1334
	lib/libc/gen/arc4random.3: revision 1.22
	sys/dev/acpi/files.acpi: revision 1.133
	lib/libc/gen/arc4random.3: revision 1.23
	tests/lib/libc/gen/t_arc4random.c: revision 1.1
	sys/sys/entropy.h: revision 1.6
	sys/arch/amd64/conf/GENERIC: revision 1.614
	sys/modules/acpivmgenid/Makefile: revision 1.1
	share/man/man4/acpivmgenid.4: revision 1.1
	lib/libc/gen/Makefile.inc: revision 1.220
	tests/lib/libc/gen/Makefile: revision 1.56
	share/man/man4/acpivmgenid.4: revision 1.2
	share/man/man4/acpivmgenid.4: revision 1.3

	(all via patch)

Catch up with all the lint warnings since exit on warning was disabled.

Disable 'missing header declaration' and 'nested extern' warnings for now.
acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.
TBD: Add to all ACPI-supporting GENERIC kernels.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Factor out subroutines to reset and gather entropy.
`Reset' means we keep the data in the pool, but assume it had zero
entropy.  `Gather' means we request samples from all on-demand
sources and wait for the synchronous ones to complete.

No functional change intended, other than to expose new symbols --
just preparation to expose these to acpivmgenid(4), so it can use
these when the VM host notifies us that we, the guest, have been
cloned.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Reset and gather entropy on VM clone notification.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Reseed if system entropy epoch changes.
This can happen, for example, if the system is a VM instance, and the
VM is cloned.

This incurs the cost of a system call on every arc4random call, which
is unfortunate, but
1. we don't currently have a (machine-independent) mechanism for
   exposing a read-only page to userland shared by the kernel to
   enable a cheaper access path to the entropy epoch; and
2. the algorithm here -- a simple application of ChaCha -- is likely
   also a bottleneck and could be much cheaper by
   (a) using sys/crypto/chacha for machine-dependent vectorized
       ChaCha code, and
   (b) filling a buffer (somewhere between a cipher block and a page)
       in a batch at a time, instead of running ChaCha to generate
       only 32 bytes at a time.
So although this might be a performance hit, the security benefit is
worthwhile and we have a clear path to do better than reversing the
performance hit later.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Nix BUGS that have been squashed.
Reference kern.entropy.epoch for the remaining bug (which is a
performance issue, not a security issue).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Allow unprivileged reads of sysctl kern.entropy.epoch.

Applications need this in order to know when to reseed.  (We should
also expose it through a page shared read-only with userland for
cheaper access, but until we do, let's let applications get at it
through sysctl.)
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random.c: Fix test program.

This isn't wired up anywhere, but let's reduce the bitrot.  It was
helpful in reminding me that kern.entropy.epoch was, for reasons I
can't remember, restricted to privileged access.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

rnd(4): Document kern.entropy.epoch is unprivileged and elaborate.
Cross-reference acpivmgenid(4).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Note that arc4random respects kern.entropy.epoch.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
Add debug info for new acpivmgenid module

arc4random(3): Add automatic tests.

This verifies that:
- arc4random zeroes its state and reseeds itself on fork
- arc4random reseeds itself on entropy consolidation (e.g., VM clone)
- arc4random falls back to global state if it can't allocate local
  state because address space limits cause mmap to fail

NOTE: This adds a new libc symbol __arc4random_global, but it's in
the reserved namespace and only used by t_arc4random, so no libc
minor bump.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

getentropy(3): Note intent to reseed on VM clone, and caveats.

Tidy markup and pacify some mandoc -Tlint complaints while here.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

Bump dates on man pages recently updated to mention VM clones.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Pacify some of lint's complaints.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random: suppress another lint warning
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.126.4.3 2024/10/09 13:00:11 martin Exp $
a118 5
# ACPI Virtual Machine Generation ID
device	acpivmgenid
attach	acpivmgenid at acpinodebus
file	dev/acpi/acpi_vmgenid.c		acpivmgenid

@


1.125
log
@Add initial support for Intel GPIO chips
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.124 2022/02/16 20:14:30 riastradh Exp $
d26 2
a27 2
file	dev/acpi/acpi_pci.c		acpi
file	dev/acpi/acpi_pci_link.c	acpi
@


1.124
log
@sys: Include files.acpica unconditionally.

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

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

	#include "acpica.h"

	#ifdef NACPICA > 0

than to have

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

	#ifdef NACPICA > 0

and we can still grep for NACPICA to find places that could be
factored better.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.123 2022/01/09 15:05:16 jmcneill Exp $
d303 4
@


1.123
log
@dwcmmc: Add ACPI attach support
@
text
@d1 1
a1 3
#	$NetBSD: files.acpi,v 1.122 2022/01/03 17:19:41 jmcneill Exp $

include "dev/acpi/acpica/files.acpica"
@


1.122
log
@Add driver for DesignWare Ethernet Quality-of-Service controller.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.121 2021/12/24 00:24:49 jmcneill Exp $
d305 4
@


1.121
log
@Add ohci at acpi bindings. No known PNP IDs for this, so match using _CLS
and the PCI class/subclass/interface codes. Maybe this will take off.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.120 2021/01/24 18:02:51 jmcneill Exp $
d301 4
@


1.120
log
@Add support for NXP Layerscape I2C controllers.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.119 2020/12/13 20:39:20 jmcneill Exp $
d280 4
@


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

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

This driver reports the supported performance levels and allows for
setting the desired level using the machdep.cpufreq.cpuN.* sysctls. Note
that a "performance level" value is not guaranteed to represent a CPU
frequency, so treat the numbers reported as such.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.118 2020/12/13 20:27:53 jmcneill Exp $
d267 5
@


1.118
log
@acpi: Add support for ACPI Platform Communications Channel (PCC).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.117 2020/12/07 10:57:41 jmcneill Exp $
d114 5
@


1.117
log
@acpicpu: Add support for ACPI P-states and T-states on Arm.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.116 2020/12/06 02:57:30 jmcneill Exp $
d109 5
@


1.116
log
@acpi: add character device for accessing ACPI tables

The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.115 2020/02/22 02:28:06 jmcneill Exp $
d104 5
@


1.115
log
@Add ACPI glue for Broadcom GENETv5
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.114 2018/12/25 11:56:14 mlelstv Exp $
d24 1
@


1.115.6.1
log
@Sync w/ HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.119 2020/12/13 20:39:20 jmcneill Exp $
a23 1
file	dev/acpi/acpi_dev.c		acpi
a102 15
# ACPI Processor Container Device
device	acpipcd
attach	acpipcd at acpinodebus
file	dev/acpi/acpi_pcd.c		acpipcd

# Platform Communications Channel
device	acpipcc
attach	acpipcc at acpisdtbus
file	dev/acpi/acpi_pcc.c		acpipcc

# ACPI Collaborative Processor Performance Control
device	acpicppc: acpipcc
attach	acpicppc at acpinodebus
file	dev/acpi/acpi_cppc.c		acpicppc

@


1.115.6.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.115.6.1 2020/12/14 14:38:05 thorpej Exp $
a266 5
# NXP Layerscape I2C controller
device	nxpiic: motoi2c, i2cbus, i2cexec
attach	nxpiic at acpinodebus with nxpiic_acpi
file	dev/acpi/nxpiic_acpi.c		nxpiic_acpi

@


1.114
log
@Make ipmi driver available to other platforms.
Add ACPI attachment.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.113 2018/10/26 23:33:38 jmcneill Exp $
d272 4
@


1.114.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.115 2020/02/22 02:28:06 jmcneill Exp $
a271 4
# Broadcom GENETv5
attach	genet at acpinodebus with genet_acpi
file	dev/acpi/genet_acpi.c		genet_acpi

@


1.113
log
@Add xhci at acpi glue
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.112 2018/10/26 10:46:21 jmcneill Exp $
d267 5
@


1.112
log
@Add ehci at acpi glue
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.111 2018/10/22 22:36:19 jmcneill Exp $
d35 1
d263 4
@


1.111
log
@Add driver for ACPI Generic Event Device
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.110 2018/10/22 22:29:35 jmcneill Exp $
d258 4
@


1.110
log
@Factor out common ACPI event code into a shared module.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.109 2018/10/21 12:26:38 jmcneill Exp $
d82 5
@


1.109
log
@Add ACPI attach glue for virtio_mmio.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.108 2018/10/19 21:09:10 jakllsch Exp $
d24 1
@


1.108
log
@Add amdccp(4) driver for AMD Cryptographic Coprocessor, as found on the
A11xx Opterons.  Driver currently provides RNG service only.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.107 2018/10/17 00:03:47 jmcneill Exp $
d248 4
@


1.107
log
@Add ACPI glue for DesignWare I2C controller.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.106 2018/10/16 10:25:33 jmcneill Exp $
d244 4
@


1.106
log
@Rename options ACPI_REDUCED_HARDWARE to ACPI_REDUCED_HW. The former is
a boolean in the acpica build, so use the latter to select the correct
value.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.105 2018/10/16 00:30:08 jmcneill Exp $
d240 4
@


1.105
log
@Add ACPI_REDUCED_HARDWARE defflag (used by ACPICA) and fix acpi build with this option set.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.104 2018/10/15 23:59:16 jmcneill Exp $
d7 1
a7 1
			ACPI_REDUCED_HARDWARE ACPI__DIS_IS_BROKEN
@


1.104
log
@Add ACPI glue for PL061 GPIO
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.103 2018/10/12 23:26:18 jmcneill Exp $
d7 1
a7 1
			ACPI__DIS_IS_BROKEN
@


1.103
log
@Add ahcisata at acpi glue
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.102 2018/10/12 21:38:10 jmcneill Exp $
d236 4
@


1.102
log
@Add attributes for attaching acpi(4) child devices based on SDT, GTDT, and MADT subtables.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.101 2018/03/01 06:00:49 maya Exp $
d232 4
@


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

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

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

tested an ia64 and amd64 kernels build.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.100 2017/12/10 16:51:30 bouyer Exp $
d16 3
d20 1
a20 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq
@


1.101.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.114 2018/12/25 11:56:14 mlelstv Exp $
d7 1
a7 1
			ACPI_REDUCED_HW ACPI__DIS_IS_BROKEN
a15 3
define	acpisdtbus { }
define	acpigtdtbus { }
define	acpimadtbus { }
d17 1
a17 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpisdtbus, acpigtdtbus, acpimadtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq
a20 1
file	dev/acpi/acpi_event.c		acpi
a30 1
file	dev/acpi/acpi_usb.c		acpi
a77 5
# ACPI Generic Event Device
device	acpiged
attach	acpiged at acpinodebus
file	dev/acpi/acpi_ged.c		acpiged

a228 33
# AHCI SATA controller
attach	ahcisata at acpinodebus with ahcisata_acpi
file	dev/acpi/ahcisata_acpi.c	ahcisata_acpi

# ARM PrimeCell PL061 GPIO controller
attach	plgpio at acpinodebus with plgpio_acpi
file	dev/acpi/plgpio_acpi.c		plgpio_acpi

# DesignWare I2C controller
attach	dwiic at acpinodebus with dwiic_acpi
file	dev/acpi/dwiic_acpi.c		dwiic_acpi

# AMD Cryptographic Coprocessor
attach	amdccp at acpinodebus with amdccp_acpi
file	dev/acpi/amdccp_acpi.c		amdccp_acpi

# QEMU Virtio
attach	virtio at acpinodebus with virtio_acpi
file	dev/acpi/virtio_acpi.c		virtio_acpi

# EHCI-compliant USB controller
attach	ehci at acpinodebus with ehci_acpi
file	dev/acpi/ehci_acpi.c		ehci_acpi

# XHCI-compliant USB controller
attach	xhci at acpinodebus with xhci_acpi
file	dev/acpi/xhci_acpi.c		xhci_acpi

# IPMI
device	ipmi_acpi: ipmibus
attach	ipmi_acpi at acpinodebus
file	dev/acpi/ipmi_acpi.c		ipmi_acpi

@


1.101.4.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a271 4
# Broadcom GENETv5
attach	genet at acpinodebus with genet_acpi
file	dev/acpi/genet_acpi.c		genet_acpi

@


1.101.2.1
log
@Sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.108 2018/10/19 21:09:10 jakllsch Exp $
d7 1
a7 1
			ACPI_REDUCED_HW ACPI__DIS_IS_BROKEN
a15 3
define	acpisdtbus { }
define	acpigtdtbus { }
define	acpimadtbus { }
d17 1
a17 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpisdtbus, acpigtdtbus, acpimadtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq
a228 16
# AHCI SATA controller
attach	ahcisata at acpinodebus with ahcisata_acpi
file	dev/acpi/ahcisata_acpi.c	ahcisata_acpi

# ARM PrimeCell PL061 GPIO controller
attach	plgpio at acpinodebus with plgpio_acpi
file	dev/acpi/plgpio_acpi.c		plgpio_acpi

# DesignWare I2C controller
attach	dwiic at acpinodebus with dwiic_acpi
file	dev/acpi/dwiic_acpi.c		dwiic_acpi

# AMD Cryptographic Coprocessor
attach	amdccp at acpinodebus with amdccp_acpi
file	dev/acpi/amdccp_acpi.c		amdccp_acpi

@


1.101.2.2
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.113 2018/10/26 23:33:38 jmcneill Exp $
a23 1
file	dev/acpi/acpi_event.c		acpi
a33 1
file	dev/acpi/acpi_usb.c		acpi
a80 5
# ACPI Generic Event Device
device	acpiged
attach	acpiged at acpinodebus
file	dev/acpi/acpi_ged.c		acpiged

a247 12
# QEMU Virtio
attach	virtio at acpinodebus with virtio_acpi
file	dev/acpi/virtio_acpi.c		virtio_acpi

# EHCI-compliant USB controller
attach	ehci at acpinodebus with ehci_acpi
file	dev/acpi/ehci_acpi.c		ehci_acpi

# XHCI-compliant USB controller
attach	xhci at acpinodebus with xhci_acpi
file	dev/acpi/xhci_acpi.c		xhci_acpi

@


1.101.2.3
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD$
a266 5
# IPMI
device	ipmi_acpi: ipmibus
attach	ipmi_acpi at acpinodebus
file	dev/acpi/ipmi_acpi.c		ipmi_acpi

@


1.100
log
@Implement a ACPI helper to fill the property array expected from our I2C
framework from the ACPI tables.
Also implement acpi_intr_establish(), acpi_intr_disestablish() and
acpi_intr_string().
Needed for the upcoming HID over I2C support, proposed on tech-kern@@
on Dec, 1.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.99 2017/11/25 16:31:03 jmcneill Exp $
d22 1
a22 1
file	dev/acpi/acpi_mcfg.c		acpi
@


1.99
log
@Add driver for QEMU Firmware Configuration device.

This interface allows the host to pass various data items and files to
the guest OS.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.98 2016/06/21 11:35:47 nonaka Exp $
d21 1
@


1.98
log
@Add sdhc(4) at acpi support
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.97 2015/10/02 05:22:52 msaitoh Exp $
d224 4
@


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


1.96
log
@PR/50261: Added newer Toshiba hotkeys support.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.95 2014/09/14 19:54:05 mrg Exp $
d21 1
@


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

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

ok chs@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.94 2014/04/01 17:47:36 riastradh Exp $
d172 5
@


1.95.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.96 2015/09/21 12:32:06 nonaka Exp $
a171 5
# Toshiba Dynabook hotkeys
device	valz
attach	valz at acpinodebus with valz_acpi
file	dev/acpi/valz_acpi.c		valz_acpi

@


1.95.2.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.95.2.1 2015/09/22 12:05:56 skrll Exp $
a20 1
file	dev/acpi/acpi_mcfg.c		acpi
@


1.95.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.95.2.2 2015/12/27 12:09:48 skrll Exp $
a219 4
# SD Host Controller
attach	sdhc at acpinodebus with sdhc_acpi
file	dev/acpi/sdhc_acpi.c		sdhc_acpi

@


1.94
log
@First draft of drivers for the Apple System Management Controller.

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

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

Compile-tested only, based on some run-testing of experiments from
userland.  Module attachment is not quite finished, so it won't work
yet.
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
@


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


1.93
log
@add a tpm driver from bsssd.sourceforge.net
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.92 2011/09/22 01:15:31 jakllsch Exp $
d209 4
@


1.93.6.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a208 4
# Apple SMC
attach	applesmc at acpinodebus with apple_smc_acpi
file	dev/acpi/apple_smc_acpi.c	apple_smc_acpi

@


1.93.6.2
log
@update from HEAD
@
text
@a6 1
			ACPI__DIS_IS_BROKEN
a19 1
file	dev/acpi/acpi_mcfg.c		acpi
a170 5
# Toshiba Dynabook hotkeys
device	valz
attach	valz at acpinodebus with valz_acpi
file	dev/acpi/valz_acpi.c		valz_acpi

a212 8
# SD Host Controller
attach	sdhc at acpinodebus with sdhc_acpi
file	dev/acpi/sdhc_acpi.c		sdhc_acpi

# QEMU Firmware Configuration (fw_cfg) device
attach	qemufwcfg at acpinodebus with qemufwcfg_acpi
file	dev/acpi/qemufwcfg_acpi.c	qemufwcfg_acpi

@


1.93.10.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.93 2012/01/22 06:44:28 christos Exp $
a208 4
# Apple SMC
attach	applesmc at acpinodebus with apple_smc_acpi
file	dev/acpi/apple_smc_acpi.c	apple_smc_acpi

@


1.92
log
@valz(4) is superseded entirely by acpivga(4) these days.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.91 2011/07/13 07:52:48 jruoho Exp $
d129 4
@


1.92.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.92 2011/09/22 01:15:31 jakllsch Exp $
a128 4
# Trusted Platform Module
attach tpm at acpinodebus with tpm_acpi
file   dev/acpi/tpm_acpi.c		tpm_acpi

@


1.92.2.2
log
@sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.92.2.1 2012/04/17 00:07:27 yamt Exp $
a208 4
# Apple SMC
attach	applesmc at acpinodebus with apple_smc_acpi
file	dev/acpi/apple_smc_acpi.c	apple_smc_acpi

@


1.92.6.1
log
@merge to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.93 2012/01/22 06:44:28 christos Exp $
a128 4
# Trusted Platform Module
attach tpm at acpinodebus with tpm_acpi
file   dev/acpi/tpm_acpi.c		tpm_acpi

@


1.91
log
@A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.90 2011/06/14 13:59:23 jruoho Exp $
a166 5
# Toshiba backlight hotkeys
device	valz
attach	valz at acpinodebus
file	dev/acpi/valz_acpi.c valz

@


1.90
log
@Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.89 2011/06/12 07:25:43 jruoho Exp $
d147 5
@


1.89
log
@Rewrite the aibs(4) driver in order to support new models. Draws from the
revision 1.6 (claudio@@) of the OpenBSD's equivalent driver. Tested by mrg@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.88 2011/02/27 17:10:33 jruoho Exp $
d13 1
d16 1
a16 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpiwdrtbus, sysmon_power, sysmon_taskq
d134 3
a136 2
attach 	hpet at acpinodebus with hpet_acpi
file 	dev/acpi/hpet_acpi.c		hpet_acpi
@


1.88
log
@Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.87 2011/02/20 08:31:46 jruoho Exp $
d183 1
a183 1
# ASUSTeK AI Booster ATK0110
d186 1
a186 1
file	dev/acpi/atk0110.c		aibs
@


1.88.2.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.90 2011/06/14 13:59:23 jruoho Exp $
a12 1
define	acpihpetbus { }
d15 1
a15 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq
d133 2
a134 3
attach 	hpet at acpinodebus with hpet_acpi_dev
attach 	hpet at acpihpetbus with hpet_acpi_tab
file 	dev/acpi/hpet_acpi.c		hpet_acpi_dev|hpet_acpi_tab
d183 1
a183 1
# ASUSTeK AI Booster
d186 1
a186 1
file	dev/acpi/aibs_acpi.c		aibs
@


1.87
log
@Split fujbp(4) and fujhk(4) to separate instances from fujitsu(4). Allows
modularization and takes care of tsutsui@@'s justified concern over the too
generic name "fujitsu". Ok gsutre@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.86 2011/01/17 15:55:24 jmcneill Exp $
a61 8
# ACPI CPU
device	acpicpu
attach	acpicpu at acpinodebus
file	dev/acpi/acpi_cpu.c		acpicpu
file	dev/acpi/acpi_cpu_cstate.c	acpicpu
file	dev/acpi/acpi_cpu_pstate.c	acpicpu
file	dev/acpi/acpi_cpu_tstate.c	acpicpu

@


1.86
log
@acpiwdrt needs sysmon_wdog
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.85 2011/01/17 15:49:13 jmcneill Exp $
d201 1
a201 1
# Fujitsu Brightness, Pointer and Hotkeys
d204 3
d209 1
a209 1
file	dev/acpi/fujitsu_acpi.c		fujbp|fujhk
@


1.86.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d62 8
d201 1
a201 1
# Fujitsu Brightness & Pointer
a203 3
file	dev/acpi/fujbp_acpi.c		fujbp

# Fujitsu Hotkeys
d206 1
a206 1
file	dev/acpi/fujhk_acpi.c		fujhk
@


1.85
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.84 2011/01/09 15:12:34 jruoho Exp $
d93 1
a93 1
device	acpiwdrt
@


1.84
log
@Add a dummy-driver for ACPI fans.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.83 2011/01/05 20:08:12 jruoho Exp $
d13 1
d15 1
a15 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d92 5
@


1.84.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.88 2011/02/27 17:10:33 jruoho Exp $
a12 1
define	acpiwdrtbus { }
d14 1
a14 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpiwdrtbus, sysmon_power, sysmon_taskq
d61 8
a90 5
# ACPI Watchdog Timer
device	acpiwdrt: sysmon_wdog
attach	acpiwdrt at acpiwdrtbus
file	dev/acpi/acpi_wdrt.c		acpiwdrt

d195 1
a195 1
# Fujitsu Brightness & Pointer
a197 3
file	dev/acpi/fujbp_acpi.c		fujbp

# Fujitsu Hotkeys
d200 1
a200 1
file	dev/acpi/fujhk_acpi.c		fujhk
@


1.83
log
@Add a driver for ACPI power meters.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.82 2010/11/05 10:28:20 gsutre Exp $
d76 5
@


1.82
log
@Merge ACPI Fujitsu Driver.  Provides support for hotkeys and other
built-in components through vendor-specific ACPI devices.

ok jruoho@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.81 2010/10/12 19:10:50 gsutre Exp $
d76 5
@


1.81
log
@Merge ACPI display driver.  Provides generic support for brightness
control and output switching, through ACPI video extensions.

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

ok jruoho@@
also discussed with cegger@@ and jmcneill@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.80 2010/09/06 15:54:27 jmcneill Exp $
d185 7
@


1.80
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.79 2010/08/13 16:21:50 jruoho Exp $
d69 7
@


1.79
log
@Merge T-state a.k.a. throttling support for acpicpu(4).

Remarks:

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

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

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

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

  5.    But T-states need to be implemented for passive cooling via acpitz(4).
        As specified by ACPI and Intel documents, these can be used as the
        last line of defence against critical thermal conditions. Support
        for this will be added later.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.78 2010/08/08 17:21:14 jruoho Exp $
d8 1
@


1.78
log
@Add P-states. (I blame the ease of using modules.)
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.77 2010/08/07 09:41:19 jruoho Exp $
d66 1
@


1.77
log
@Reorganize: also the APIC tables will be dumped in ACPIVERBOSE, and the
callback functions will be modified to be suitable also with other tables.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.76 2010/07/18 09:29:12 jruoho Exp $
d65 1
@


1.76
log
@Merge a driver for ACPI CPUs with basic support for processor power states,
also known as C-states. The code is modular and provides an easy way to add
the remaining functionality later (namely throttling and P-states).

Remarks:

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

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

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

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

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

ok jmcneill@@, joerg@@, and discussed with various people.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.75 2010/05/31 20:32:29 pgoyette Exp $
a16 1
file	dev/acpi/acpi_madt.c		acpi
@


1.75
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.74 2010/04/22 18:40:09 jruoho Exp $
d61 6
@


1.74
log
@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@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.73 2010/04/14 17:12:14 jruoho Exp $
d28 1
@


1.73
log
@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@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.72 2010/04/11 22:42:30 jakllsch Exp $
d20 1
a20 1
file	dev/acpi/acpi_powerres.c	acpi
@


1.72
log
@Add valz(4), a simple driver to handle the backlight keys on some
Toshiba laptops.  As of yet only tested on a Satellite A135-S4527.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.71 2010/04/10 17:55:24 jruoho Exp $
a16 2
file	dev/acpi/acpi_resource.c	acpi
file	dev/acpi/acpi_powerres.c	acpi
d20 1
d22 3
d26 1
a27 2
file	dev/acpi/acpi_srat.c		acpi
file	dev/acpi/acpi_slit.c		acpi
@


1.71
log
@Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.

ok jmcneill@@

XXX:    This is broken: it calls methods with absolute pathnames (almost
        guaranteed not to be portable across models), it accesses methods
        that are in the domain of other drivers, it walks the namespace on
        its own, it contains plenty of magic constants, it does not
        integrate with existing KPIs, etc. Summa summarum: this should be
        rewritten as a more generic toshiba_acpi(4).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.70 2010/04/08 12:14:19 jruoho Exp $
d135 5
@


1.70
log
@Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.69 2010/04/08 09:36:03 jruoho Exp $
d130 5
@


1.69
log
@Include 'files.wmi'.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.68 2010/03/19 04:04:28 cnst Exp $
a11 1
define	acpiwmibus { }
a147 5
# ACPI-WMI Mapper
device	acpiwmi: acpiwmibus
attach	acpiwmi at acpinodebus
file	dev/acpi/wmi_acpi.c		acpiwmi

@


1.68
log
@Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).

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

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.67 2010/02/09 03:19:51 cnst Exp $
d163 2
@


1.67
log
@New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

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

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.66 2010/02/06 20:10:18 pgoyette Exp $
a111 5
# ASUS AI Booster Hardware monitor
device	aiboost: sysmon_envsys
attach	aiboost at acpinodebus
file	dev/acpi/aiboost.c		aiboost

@


1.67.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.67 2010/02/09 03:19:51 cnst Exp $
d12 1
d18 2
a22 1
file	dev/acpi/acpi_power.c		acpi
d24 2
a25 1
file	dev/acpi/acpi_resource.c	acpi
a27 3
file	dev/acpi/acpi_timer.c		acpi
file	dev/acpi/acpi_util.c		acpi
file	dev/acpi/acpi_wakedev.c		acpi
d112 5
a135 10
# Toshiba hotkeys
device	vald
attach	vald at acpinodebus with vald_acpi
file	dev/acpi/vald_acpi.c		vald_acpi

# Toshiba backlight hotkeys
device	valz
attach	valz at acpinodebus
file	dev/acpi/valz_acpi.c valz

d154 5
a167 2

include	"dev/acpi/wmi/files.wmi"
@


1.67.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.67.2.1 2010/05/30 05:17:17 rmind Exp $
a27 1
file	dev/acpi/acpi_verbose.c		acpi & acpiverbose
@


1.67.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a7 1
defparam opt_acpi.h	ACPI_BLACKLIST_YEAR = 2000
a11 1
define	acpiwdrtbus { }
d13 1
a13 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpiwdrtbus, sysmon_power, sysmon_taskq
d17 1
a60 17
# ACPI Display
device	acpivga {}
attach	acpivga at acpinodebus
device	acpiout
attach	acpiout at acpivga
file	dev/acpi/acpi_display.c		acpivga|acpiout

# ACPI Fan
device	acpifan: sysmon_envsys
attach	acpifan at acpinodebus
file	dev/acpi/acpi_fan.c		acpifan

# ACPI Power Meter
device	acpipmtr: sysmon_envsys
attach	acpipmtr at acpinodebus
file	dev/acpi/acpi_pmtr.c		acpipmtr

a65 5
# ACPI Watchdog Timer
device	acpiwdrt: sysmon_wdog
attach	acpiwdrt at acpiwdrtbus
file	dev/acpi/acpi_wdrt.c		acpiwdrt

a169 10
# Fujitsu Brightness & Pointer
device	fujbp
attach	fujbp at acpinodebus
file	dev/acpi/fujbp_acpi.c		fujbp

# Fujitsu Hotkeys
device	fujhk: sysmon_power
attach	fujhk at acpinodebus
file	dev/acpi/fujhk_acpi.c		fujhk

@


1.66
log
@Import my experimental ACPI SMBus Control Method Interface driver

XXX Should not be enabled in any configuration file until you have
XXX disabled corresponding "native" i2c driver!  Read the acpismbus(4)
XXX man page!
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.65 2010/01/31 11:26:20 jruoho Exp $
d159 5
@


1.66.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
d18 2
a22 1
file	dev/acpi/acpi_power.c		acpi
d24 2
a25 1
file	dev/acpi/acpi_resource.c	acpi
a27 3
file	dev/acpi/acpi_timer.c		acpi
file	dev/acpi/acpi_util.c		acpi
file	dev/acpi/acpi_wakedev.c		acpi
d112 5
a135 10
# Toshiba hotkeys
device	vald
attach	vald at acpinodebus with vald_acpi
file	dev/acpi/vald_acpi.c		vald_acpi

# Toshiba backlight hotkeys
device	valz
attach	valz at acpinodebus
file	dev/acpi/valz_acpi.c valz

d154 4
a157 4
# ASUSTeK AI Booster ATK0110
device	aibs: sysmon_envsys
attach	aibs at acpinodebus
file	dev/acpi/atk0110.c		aibs
a162 2

include	"dev/acpi/wmi/files.wmi"
@


1.66.2.2
log
@Sync with HEAD.
@
text
@d17 1
a27 1
file	dev/acpi/acpi_verbose.c		acpi & acpiverbose
a59 8
# ACPI CPU
device	acpicpu
attach	acpicpu at acpinodebus
file	dev/acpi/acpi_cpu.c		acpicpu
file	dev/acpi/acpi_cpu_cstate.c	acpicpu
file	dev/acpi/acpi_cpu_pstate.c	acpicpu
file	dev/acpi/acpi_cpu_tstate.c	acpicpu

@


1.66.2.3
log
@Sync with HEAD (-D20101022).
@
text
@a7 1
defparam opt_acpi.h	ACPI_BLACKLIST_YEAR = 2000
a67 7
# ACPI Display
device	acpivga {}
attach	acpivga at acpinodebus
device	acpiout
attach	acpiout at acpivga
file	dev/acpi/acpi_display.c		acpivga|acpiout

@


1.66.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.66.2.3 2010/10/22 07:21:53 uebayasi Exp $
a184 7
# Fujitsu Brightness, Pointer and Hotkeys
device	fujbp
attach	fujbp at acpinodebus
device	fujhk: sysmon_power
attach	fujhk at acpinodebus
file	dev/acpi/fujitsu_acpi.c		fujbp|fujhk

@


1.65
log
@Add dynamic debug options for ACPI_DEBUG kernels.

ok jmcneill@@, pooka@@, pgoyette@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.64 2010/01/03 17:53:15 jruoho Exp $
d158 5
@


1.64
log
@Introduce acpiwmibus, a pseudo-bus to which the child WMI devices attach.

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

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

ok pgoyette@@, jmcneill@@
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.63 2009/12/03 21:04:29 cegger Exp $
d17 1
@


1.63
log
@Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.62 2009/11/25 13:21:49 cegger Exp $
d12 1
d154 1
a154 1
device	acpiwmi
@


1.62
log
@Add ACPI SLIT parser. This is part of NUMA support.
Tested on a 8-node machine.

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

No comments.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.61 2009/11/25 13:17:06 cegger Exp $
d19 1
@


1.61
log
@Add ACPI SRAT parser. This is a part of NUMA support.
Tested on 1-node, 2-node and 8-node machines.
Patch presented on tech-kern@@, port-i386@@ and port-amd64@@.

No comments.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.60 2009/10/02 16:47:52 jmcneill Exp $
d24 1
@


1.60
log
@PR# kern/42139: ACPI WMI: new driver

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

Attached is a driver that implements ACPI WMI API:

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

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

The benefit of this interface would be portability. For an example, instead
of hpqlb(4) that works only with certain HP models, we could have a generic
HP WMI-driver that should work in theory across all HP laptops. On many new
laptops WMI may also be the only way to access laptop/manufacturer-specific
features.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.59 2009/09/30 20:44:50 jmcneill Exp $
d23 1
@


1.59
log
@Initial import of an SD/MMC driver for the Winbond W83L518D (and probably
W83L519D) Integrated Media Reader with PNP bus attachment glue.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.58 2009/08/31 14:48:41 cube Exp $
d148 5
@


1.58
log
@Don't reference files that don't exist, and cvs diff before commit.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.57 2009/08/18 16:41:02 jmcneill Exp $
d144 4
@


1.57
log
@Switch to ACPICA 20090730, and update for API changes.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.56 2009/08/09 19:36:28 christos Exp $
a54 5
# ACPI Display Device
device	acpidisplay
attach	acpidisplay at acpinodebus
file	dev/acpi/acpi_display.c		acpidisplay

@


1.56
log
@spic has moved.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.55 2009/08/04 14:20:41 jmcneill Exp $
d13 1
a13 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d15 1
a15 1
file	dev/acpi/acpi.c			acpi		needs-flag
@


1.55
log
@add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.

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

reviewed by: joerg
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.54 2009/08/03 10:30:29 jmcneill Exp $
d136 4
@


1.54
log
@- add experimental cpu fan/voltage switching support (sysctl hw.asus0.*)
- add fan sensor
- rename asus_softc_t -> struct asus_softc
- add detach method
- update copyright for 2009
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.53 2009/07/06 12:36:31 joerg Exp $
d22 1
@


1.53
log
@Ignore breakpoints in the DSDT even if DDB is present.
A new option ACPI_BREAKPOINT reenables them.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.52 2008/05/18 22:05:59 cegger Exp $
d117 1
a117 1
device	asus: sysmon_power
@


1.52
log
@acpidalb(4): Driver for PNP0C32 Hotkeys aka "Direct Application Launch Buttons".
"awesome" jmcneill
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.51 2008/05/01 20:18:19 cegger Exp $
d6 1
a6 1
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI
@


1.52.16.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.52.8.3 2009/10/08 09:47:09 sborrill Exp $
a21 1
file	dev/acpi/acpi_wakedev.c		acpi
d117 1
a117 1
device	asus: sysmon_envsys, sysmon_power
a143 4

# Winbond Integrated Media Reader
attach	wb at acpinodebus with wb_acpi
file	dev/acpi/wb_acpi.c		wb_acpi
@


1.52.8.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #891):
	sys/dev/acpi/asus_acpi.c: revision 1.7
	sys/dev/acpi/files.acpi: revision 1.54
- add experimental cpu fan/voltage switching support (sysctl hw.asus0.*)
- add fan sensor
- rename asus_softc_t -> struct asus_softc
- add detach method
- update copyright for 2009
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.52 2008/05/18 22:05:59 cegger Exp $
d117 1
a117 1
device	asus: sysmon_envsys, sysmon_power
@


1.52.8.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #896):
	sys/dev/acpi/acpi_button.c: revision 1.27 via patch
	sys/dev/acpi/acpi_wakedev.h: revision 1.1 via patch
	sys/dev/acpi/acpi_wakedev.c: revision 1.1 via patch
	sys/dev/acpi/files.acpi: revision 1.55 via patch
	sys/dev/acpi/acpi.c: revision 1.127 via patch
	sys/dev/acpi/acpi_lid.c: revision 1.27 via patch
add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.
by default, the following devices are enabled for wake:
 - sleep/power buttons
 - lid switch
 - pc kbd controller
reviewed by: joerg
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.52.8.1 2009/08/30 03:01:26 snj Exp $
a21 1
file	dev/acpi/acpi_wakedev.c		acpi
@


1.52.8.3
log
@Pull up the following revisions(s) (requested by jmcneill in ticket #1045):
	distrib/sets/lists/man/mi:	revision 1.1160
	share/man/man4/Makefile:	revision 1.499
	share/man/man4/wb.4:		revision 1.1-1.2
	share/man/man4/ld.4:		revision 1.17
	sys/arch/i386/conf/ALL:		revision 1.215-1.216 + patch
	sys/arch/i386/conf/GENERIC:	revision 1.946-1.947 + patch
	sys/arch/amd64/conf/GENERIC:	revision 1.254-1.256 + patch
	sys/conf/files:			revision 1.958
	sys/dev/acpi/files.acpi:	revision 1.59
	sys/dev/acpi/wb_acpi.c:		revision 1.1
	sys/dev/ic/w83l518d.c:		revision 1.1
	sys/dev/ic/w83l518d_sdmmc.c:	revision 1.1
	sys/dev/ic/w83l518d_sdmmc.h:	revision 1.1
	sys/dev/ic/w83l518dreg.h:	revision 1.1
	sys/dev/ic/w83l518dvar.h.c:	revision 1.1

wb(4): Add a driver for Winbond W83L518D SD/MMC readers.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.52.8.2 2009/09/05 11:34:26 bouyer Exp $
a144 4

# Winbond Integrated Media Reader
attach	wb at acpinodebus with wb_acpi
file	dev/acpi/wb_acpi.c		wb_acpi
@


1.52.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.53 2009/07/06 12:36:31 joerg Exp $
d6 1
a6 1
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT
@


1.51
log
@hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50 2008/03/31 15:17:21 jmcneill Exp $
d139 5
@


1.51.2.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.51 2008/05/01 20:18:19 cegger Exp $
a138 5

# Direct Application Launch Buttons
device	acpidalb
attach	acpidalb at acpinodebus
file	dev/acpi/dalb_acpi.c		acpidalb
@


1.50
log
@Add ASUS ACPI hotkey driver, as found in the Eee PC.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.49 2007/12/23 17:29:26 jmcneill Exp $
d125 5
@


1.50.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50 2008/03/31 15:17:21 jmcneill Exp $
a124 5
# HP Quick Launch Buttons
device	hpqlb: sysmon_power
attach	hpqlb at acpinodebus
file	dev/acpi/hpqlb_acpi.c		hpqlb

@


1.50.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.2.1 2008/05/18 12:33:34 yamt Exp $
a138 5

# Direct Application Launch Buttons
device	acpidalb
attach	acpidalb at acpinodebus
file	dev/acpi/dalb_acpi.c		acpidalb
@


1.50.4.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50 2008/03/31 15:17:21 jmcneill Exp $
a124 5
# HP Quick Launch Buttons
device	hpqlb: sysmon_power
attach	hpqlb at acpinodebus
file	dev/acpi/hpqlb_acpi.c		hpqlb

@


1.50.4.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.1 2008/05/16 02:23:53 yamt Exp $
a138 5

# Direct Application Launch Buttons
device	acpidalb
attach	acpidalb at acpinodebus
file	dev/acpi/dalb_acpi.c		acpidalb
@


1.50.4.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.2 2009/05/04 08:12:34 yamt Exp $
d6 1
a6 1
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT
@


1.50.4.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.3 2009/07/18 14:52:59 yamt Exp $
d13 1
a13 1
device	acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d15 1
a15 1
file	dev/acpi/acpi.c			acpi
a21 1
file	dev/acpi/acpi_wakedev.c		acpi
d117 1
a117 1
device	asus: sysmon_envsys, sysmon_power
a134 4
# Sony SPIC (jog dial etc.)
attach	spic at acpinodebus with spic_acpi
file	dev/acpi/spic_acpi.c		spic_acpi

@


1.50.4.5
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.4 2009/08/19 18:47:03 yamt Exp $
d55 5
@


1.50.4.6
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.5 2009/09/16 13:37:45 yamt Exp $
a11 1
define	acpiwmibus { }
a15 1
file	dev/acpi/acpi_debug.c		acpi
a18 1
file	dev/acpi/acpi_pci.c		acpi
a22 2
file	dev/acpi/acpi_srat.c		acpi
file	dev/acpi/acpi_slit.c		acpi
a143 19

# Winbond Integrated Media Reader
attach	wb at acpinodebus with wb_acpi
file	dev/acpi/wb_acpi.c		wb_acpi

# ACPI-WMI Mapper
device	acpiwmi: acpiwmibus
attach	acpiwmi at acpinodebus
file	dev/acpi/wmi_acpi.c		acpiwmi

# ASUSTeK AI Booster ATK0110
device	aibs: sysmon_envsys
attach	aibs at acpinodebus
file	dev/acpi/atk0110.c		aibs

# ACPI SMBus controller
device	acpismbus: i2cbus
attach	acpismbus at acpinodebus
file	dev/acpi/smbus_acpi.c		acpismbus
@


1.50.4.7
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.6 2010/03/11 15:03:23 yamt Exp $
d12 1
d18 3
a22 1
file	dev/acpi/acpi_power.c		acpi
d24 2
a25 1
file	dev/acpi/acpi_resource.c	acpi
a27 4
file	dev/acpi/acpi_timer.c		acpi
file	dev/acpi/acpi_util.c		acpi
file	dev/acpi/acpi_wakedev.c		acpi
file	dev/acpi/acpi_verbose.c		acpi & acpiverbose
a59 7
# ACPI CPU
device	acpicpu
attach	acpicpu at acpinodebus
file	dev/acpi/acpi_cpu.c		acpicpu
file	dev/acpi/acpi_cpu_cstate.c	acpicpu
file	dev/acpi/acpi_cpu_pstate.c	acpicpu

d112 5
a135 10
# Toshiba hotkeys
device	vald
attach	vald at acpinodebus with vald_acpi
file	dev/acpi/vald_acpi.c		vald_acpi

# Toshiba backlight hotkeys
device	valz
attach	valz at acpinodebus
file	dev/acpi/valz_acpi.c valz

d154 5
a167 2

include	"dev/acpi/wmi/files.wmi"
@


1.50.4.8
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.50.4.7 2010/08/11 22:53:16 yamt Exp $
a7 1
defparam opt_acpi.h	ACPI_BLACKLIST_YEAR = 2000
a65 1
file	dev/acpi/acpi_cpu_tstate.c	acpicpu
@


1.49
log
@Move Sony Notebook Controller (sony(4)) driver from MD to MI directory,
as it can be used on amd64 as well.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.48 2007/12/21 15:15:20 jmcneill Exp $
d116 5
@


1.49.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a115 5
# ASUS hotkey device
device	asus: sysmon_power
attach	asus at acpinodebus
file	dev/acpi/asus_acpi.c		asus

@


1.49.6.2
log
@Sync with HEAD.
@
text
@a124 5
# HP Quick Launch Buttons
device	hpqlb: sysmon_power
attach	hpqlb at acpinodebus
file	dev/acpi/hpqlb_acpi.c		hpqlb

a133 5

# Direct Application Launch Buttons
device	acpidalb
attach	acpidalb at acpinodebus
file	dev/acpi/dalb_acpi.c		acpidalb
@


1.48
log
@Add Thinkpad ACPI driver, for controlling hotkeys and display brightness.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.47 2007/12/09 20:27:53 jmcneill Exp $
d54 5
d120 5
@


1.47
log
@Merge jmcneill-pm branch.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.46 2007/08/23 10:04:07 tnn Exp $
d114 5
@


1.47.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a53 5
# ACPI Display Device
device	acpidisplay
attach	acpidisplay at acpinodebus
file	dev/acpi/acpi_display.c		acpidisplay

a113 10

# Sony Notebook Controller (brightness, hotkeys, etc.)
device	sony: displaydev
attach	sony at acpinodebus with sony_acpi
file	dev/acpi/sony_acpi.c		sony_acpi

# IBM/Lenovo Thinkpad hotkey device
device	thinkpad
attach	thinkpad at acpinodebus
file	dev/acpi/thinkpad_acpi.c	thinkpad
@


1.46
log
@apm emulation needs envsys. From Jukka Salmi on the current-users list.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.45 2007/05/08 16:48:37 xtraeme Exp $
d11 1
d13 1
a13 1
device	acpi: acpiapmbus, acpinodebus, sysmon_power, sysmon_taskq
d30 3
a32 1
file	dev/acpi/acpi_ec.c		acpiec		needs-flag
@


1.46.2.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.46 2007/08/23 10:04:07 tnn Exp $
a10 1
define	acpiecdtbus { }
d12 1
a12 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d29 1
a29 3
device	acpiecdt
attach	acpiecdt at acpiecdtbus
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt
a50 5
# ACPI Display Device
device	acpidisplay
attach	acpidisplay at acpinodebus
file	dev/acpi/acpi_display.c		acpidisplay

a110 10

# Sony Notebook Controller (brightness, hotkeys, etc.)
device	sony: displaydev
attach	sony at acpinodebus with sony_acpi
file	dev/acpi/sony_acpi.c		sony_acpi

# IBM/Lenovo Thinkpad hotkey device
device	thinkpad
attach	thinkpad at acpinodebus
file	dev/acpi/thinkpad_acpi.c	thinkpad
@


1.46.10.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.49 2007/12/23 17:29:26 jmcneill Exp $
a10 1
define	acpiecdtbus { }
d12 1
a12 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d29 1
a29 3
device	acpiecdt
attach	acpiecdt at acpiecdtbus
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt
a50 5
# ACPI Display Device
device	acpidisplay
attach	acpidisplay at acpinodebus
file	dev/acpi/acpi_display.c		acpidisplay

a110 10

# Sony Notebook Controller (brightness, hotkeys, etc.)
device	sony: displaydev
attach	sony at acpinodebus with sony_acpi
file	dev/acpi/sony_acpi.c		sony_acpi

# IBM/Lenovo Thinkpad hotkey device
device	thinkpad
attach	thinkpad at acpinodebus
file	dev/acpi/thinkpad_acpi.c	thinkpad
@


1.46.12.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.46 2007/08/23 10:04:07 tnn Exp $
a10 1
define	acpiecdtbus { }
d12 1
a12 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d29 1
a29 3
device	acpiecdt
attach	acpiecdt at acpiecdtbus
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt
@


1.45
log
@Split the ug(4) driver in three components:

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

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

Thanks to Mihai Chelaru for the good work.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.44 2007/03/14 00:43:04 xtraeme Exp $
d23 1
a23 1
attach  apm at acpiapmbus with acpiapm
@


1.45.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.46 2007/08/23 10:04:07 tnn Exp $
d23 1
a23 1
attach  apm at acpiapmbus with acpiapm: sysmon_envsys
@


1.45.6.2
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.45.6.1 2007/09/03 16:47:53 jmcneill Exp $
a10 1
define	acpiecdtbus { }
d12 1
a12 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d29 1
a29 3
device	acpiecdt
attach	acpiecdt at acpiecdtbus
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt
@


1.45.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.46 2007/08/23 10:04:07 tnn Exp $
d23 1
a23 1
attach  apm at acpiapmbus with acpiapm: sysmon_envsys
@


1.44
log
@Rename acpi_aiboost to aiboost, suggested by cube.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.43 2007/03/13 04:01:51 xtraeme Exp $
d107 4
@


1.43
log
@ASUS AI Booster ACPI driver, ported from FreeBSD.

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

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

[juan@@nocturno][~]> envstat -r
CPU Temperature:     30.000 degC
 MB Temperature:     38.000 degC
  Vcore Voltage:      1.240 V
   +3.3 Voltage:      3.264 V
     +5 Voltage:      4.992 V
    +12 Voltage:     12.091 V
  CPU FAN Speed:       1454 RPM
[juan@@nocturno][~]>
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.42 2007/03/08 14:26:28 njoly Exp $
d103 1
a103 1
# ASUS AI Booster
d106 1
a106 1
file	dev/acpi/acpi_aiboost.c		aiboost
@


1.42
log
@High Precision Event Timer driver, following Intel specifications.

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

Requested by xtraeme, and tested by a few users.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.41 2007/01/09 13:41:30 cube Exp $
d103 4
@


1.42.4.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.45 2007/05/08 16:48:37 xtraeme Exp $
a102 8
# ASUS AI Booster Hardware monitor
device	aiboost: sysmon_envsys
attach	aiboost at acpinodebus
file	dev/acpi/aiboost.c		aiboost

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi
@


1.42.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.42 2007/03/08 14:26:28 njoly Exp $
a102 4
# ASUS AI Booster
device	aiboost: sysmon_envsys
attach	aiboost at acpinodebus
file	dev/acpi/acpi_aiboost.c		aiboost
@


1.42.2.2
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.42.2.1 2007/03/13 16:50:21 ad Exp $
d103 1
a103 1
# ASUS AI Booster Hardware monitor
d106 1
a106 1
file	dev/acpi/aiboost.c		aiboost
@


1.42.2.3
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.42.2.2 2007/04/10 13:24:21 ad Exp $
a106 4

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi
@


1.42.2.4
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.42.2.3 2007/05/27 14:29:58 ad Exp $
d23 1
a23 1
attach  apm at acpiapmbus with acpiapm: sysmon_envsys
@


1.41
log
@Add a lint-only value of "/dev/null" for ACPI_DSDT_FILE.

Bump required config(1) version.  Yes, it implies everybody will have to
rebuild config(1).  I can live with people hating me.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.40 2006/08/14 09:34:43 itohy Exp $
d98 5
@


1.41.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.41 2007/01/09 13:41:30 cube Exp $
a97 5

# High Precision Event Timer
attach 	hpet at acpinodebus with hpet_acpi
file 	dev/acpi/hpet_acpi.c		hpet_acpi

@


1.41.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.41.2.1 2007/03/12 05:53:07 rmind Exp $
a102 4
# ASUS AI Booster Hardware monitor
device	aiboost: sysmon_envsys
attach	aiboost at acpinodebus
file	dev/acpi/aiboost.c		aiboost
@


1.41.2.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.41.2.2 2007/03/24 14:55:19 yamt Exp $
a106 4

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi
@


1.40
log
@ACPI frontend for Yamaha OPL3-SA[23].
Derived from PR kern/33991 by jasper at pointless dot net.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.39 2006/08/06 15:46:54 christos Exp $
d7 1
a7 1
defparam opt_acpi.h	ACPI_DSDT_FILE
@


1.40.6.1
log
@Pull up patch (requested by xtraeme in ticket #633):
	sys/arch/amd64/conf/GENERIC:			patch
	sys/arch/i386/conf/ALL:				patch
	sys/arch/i386/conf/GENERIC:			patch
	sys/conf/files:					patch
	sys/dev/acpi/files.acpi:			patch
	sys/dev/acpi/ug_acpi.c:				patch
	sys/dev/ic/ug.c:				patch
	sys/dev/ic/ugreg.h:				patch
	sys/dev/ic/ugvar.h:				patch
	sys/dev/isa/files.isa:				patch
	sys/dev/isa/ug_isa.c:				patch
	share/man/man4/ug.4:				patch
	doc/CHANGES:					patch
	sys/dev/isa/ug.c:				delete
	sys/dev/isa/ugvar.h:				delete

Add an acpi attachement for the ug hardware monitor driver.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.40 2006/08/14 09:34:43 itohy Exp $
a97 4

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi
@


1.40.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.41 2007/01/09 13:41:30 cube Exp $
d7 1
a7 1
defparam opt_acpi.h	ACPI_DSDT_FILE := "\"/dev/null\""
@


1.39
log
@PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.38 2006/07/08 20:23:53 christos Exp $
d94 4
@


1.38
log
@Add acpi apm attachment based on sysmon hooks.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.37 2006/07/04 00:30:23 christos Exp $
d9 4
a12 1
device	acpi { }: sysmon_power, sysmon_taskq
d23 1
a23 1
attach  apm at acpi with acpiapm
d28 1
a28 1
attach	acpiec at acpi
d33 1
a33 1
attach	acpilid at acpi
d38 1
a38 1
attach	acpibut at acpi
d43 1
a43 1
attach	acpiacad at acpi
d48 1
a48 1
attach	acpibat at acpi
d53 1
a53 1
attach	acpitz at acpi
d57 1
a57 1
attach	com at acpi with com_acpi
d61 1
a61 1
attach	fdc at acpi with fdc_acpi
d65 1
a65 1
attach	lpt at acpi with lpt_acpi
d68 1
a68 1
attach	atppc at acpi with atppc_acpi: isadma
d72 1
a72 1
attach	pckbc at acpi with pckbc_acpi
d76 1
a76 1
attach	wss at acpi with wss_acpi
d80 1
a80 1
attach	mpu at acpi with mpu_acpi
d84 1
a84 1
attach	joy at acpi with joy_acpi
d88 1
a88 1
attach	pcppi at acpi with pcppi_acpi
d92 1
a92 1
attach	attimer at acpi with attimer_acpi
@


1.37
log
@Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.36 2006/06/21 17:47:23 drochner Exp $
d19 4
@


1.36
log
@First cut on an implementation of an ACPI power management counter
backend for timecounters.
Due to known bugs in some chipsets, always read until we get 3 successive
samples which are monotonic, as FreeBSD does in its "safe" variant.
This can be refined later, either by chipset quirks or by a test (as
FreeBSD does).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.35 2006/01/31 09:30:06 kochi Exp $
d5 2
a6 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DSDT_OVERRIDE
d14 2
a15 1
file	dev/acpi/acpi_madt.c		acpi & mpacpi
@


1.35
log
@remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
compatibility of our old driver behavior, which is not necessary.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.34 2006/01/05 16:56:54 rpaulo Exp $
d15 1
@


1.35.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.40 2006/08/14 09:34:43 itohy Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI
d8 1
a8 4
define	acpiapmbus { }
define	acpinodebus { }

device	acpi: acpiapmbus, acpinodebus, sysmon_power, sysmon_taskq
d13 1
a13 2
file	dev/acpi/acpi_madt.c		acpi
file	dev/acpi/acpi_pci_link.c	acpi
a14 5
file	dev/acpi/acpi_timer.c		acpi

# ACPI/apm emulation.
attach  apm at acpiapmbus with acpiapm
file	dev/acpi/acpi_apm.c		acpiapm
d18 1
a18 1
attach	acpiec at acpinodebus
d23 1
a23 1
attach	acpilid at acpinodebus
d28 1
a28 1
attach	acpibut at acpinodebus
d33 1
a33 1
attach	acpiacad at acpinodebus
d38 1
a38 1
attach	acpibat at acpinodebus
d43 1
a43 1
attach	acpitz at acpinodebus
d47 1
a47 1
attach	com at acpinodebus with com_acpi
d51 1
a51 1
attach	fdc at acpinodebus with fdc_acpi
d55 1
a55 1
attach	lpt at acpinodebus with lpt_acpi
d58 1
a58 1
attach	atppc at acpinodebus with atppc_acpi: isadma
d62 1
a62 1
attach	pckbc at acpinodebus with pckbc_acpi
d66 1
a66 1
attach	wss at acpinodebus with wss_acpi
d70 1
a70 1
attach	mpu at acpinodebus with mpu_acpi
d74 1
a74 1
attach	joy at acpinodebus with joy_acpi
d78 1
a78 1
attach	pcppi at acpinodebus with pcppi_acpi
d82 1
a82 1
attach	attimer at acpinodebus with attimer_acpi
a83 4

# Yamaha OPL3-SAx
attach	ym at acpinodebus with ym_acpi
file	dev/acpi/ym_acpi.c		ym_acpi
@


1.35.14.1
log
@Merge from HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.38 2006/07/08 20:23:53 christos Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI
d13 1
a13 2
file	dev/acpi/acpi_madt.c		acpi
file	dev/acpi/acpi_pci_link.c	acpi
a14 5
file	dev/acpi/acpi_timer.c		acpi

# ACPI/apm emulation.
attach  apm at acpi with acpiapm
file	dev/acpi/acpi_apm.c		acpiapm
@


1.35.6.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.35 2006/01/31 09:30:06 kochi Exp $
a14 1
file	dev/acpi/acpi_timer.c		acpi
@


1.35.6.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.35.6.1 2006/06/26 12:50:37 yamt Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI
d8 1
a8 4
define	acpiapmbus { }
define	acpinodebus { }

device	acpi: acpiapmbus, acpinodebus, sysmon_power, sysmon_taskq
d13 1
a13 2
file	dev/acpi/acpi_madt.c		acpi
file	dev/acpi/acpi_pci_link.c	acpi
a16 4
# ACPI/apm emulation.
attach  apm at acpiapmbus with acpiapm
file	dev/acpi/acpi_apm.c		acpiapm

d19 1
a19 1
attach	acpiec at acpinodebus
d24 1
a24 1
attach	acpilid at acpinodebus
d29 1
a29 1
attach	acpibut at acpinodebus
d34 1
a34 1
attach	acpiacad at acpinodebus
d39 1
a39 1
attach	acpibat at acpinodebus
d44 1
a44 1
attach	acpitz at acpinodebus
d48 1
a48 1
attach	com at acpinodebus with com_acpi
d52 1
a52 1
attach	fdc at acpinodebus with fdc_acpi
d56 1
a56 1
attach	lpt at acpinodebus with lpt_acpi
d59 1
a59 1
attach	atppc at acpinodebus with atppc_acpi: isadma
d63 1
a63 1
attach	pckbc at acpinodebus with pckbc_acpi
d67 1
a67 1
attach	wss at acpinodebus with wss_acpi
d71 1
a71 1
attach	mpu at acpinodebus with mpu_acpi
d75 1
a75 1
attach	joy at acpinodebus with joy_acpi
d79 1
a79 1
attach	pcppi at acpinodebus with pcppi_acpi
d83 1
a83 1
attach	attimer at acpinodebus with attimer_acpi
@


1.35.6.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.35.6.2 2006/08/11 15:43:59 yamt Exp $
a93 4

# Yamaha OPL3-SAx
attach	ym at acpinodebus with ym_acpi
file	dev/acpi/ym_acpi.c		ym_acpi
@


1.34
log
@* defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
* adjust comments to reality
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.33 2005/12/11 12:21:02 christos Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF ACPI_DSDT_OVERRIDE
@


1.33
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20.2.6 2005/11/10 14:03:11 skrll Exp $
d5 2
a6 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
@


1.33.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.33 2005/12/11 12:21:02 christos Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF ACPI_DSDT_OVERRIDE
defparam opt_acpi.h	ACPI_DSDT_FILE
@


1.33.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.33.2.1 2006/01/15 10:02:48 yamt Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DSDT_OVERRIDE
@


1.32
log
@Rework the configuration scheme for PCI fixups:

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

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

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

These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.31 2005/03/25 23:06:19 cube Exp $
@


1.32.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.32 2005/06/21 08:19:25 sekiya Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DSDT_OVERRIDE
defparam opt_acpi.h	ACPI_DSDT_FILE
@


1.32.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.32.2.1 2006/06/21 15:02:32 yamt Exp $
d5 1
a5 2
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
			ACPI_DSDT_OVERRIDE ACPI_SCANPCI
d8 1
a8 4
define	acpiapmbus { }
define	acpinodebus { }

device	acpi: acpiapmbus, acpinodebus, sysmon_power, sysmon_taskq
d13 1
a13 2
file	dev/acpi/acpi_madt.c		acpi
file	dev/acpi/acpi_pci_link.c	acpi
a14 5
file	dev/acpi/acpi_timer.c		acpi

# ACPI/apm emulation.
attach  apm at acpiapmbus with acpiapm
file	dev/acpi/acpi_apm.c		acpiapm
d18 1
a18 1
attach	acpiec at acpinodebus
d23 1
a23 1
attach	acpilid at acpinodebus
d28 1
a28 1
attach	acpibut at acpinodebus
d33 1
a33 1
attach	acpiacad at acpinodebus
d38 1
a38 1
attach	acpibat at acpinodebus
d43 1
a43 1
attach	acpitz at acpinodebus
d47 1
a47 1
attach	com at acpinodebus with com_acpi
d51 1
a51 1
attach	fdc at acpinodebus with fdc_acpi
d55 1
a55 1
attach	lpt at acpinodebus with lpt_acpi
d58 1
a58 1
attach	atppc at acpinodebus with atppc_acpi: isadma
d62 1
a62 1
attach	pckbc at acpinodebus with pckbc_acpi
d66 1
a66 1
attach	wss at acpinodebus with wss_acpi
d70 1
a70 1
attach	mpu at acpinodebus with mpu_acpi
d74 1
a74 1
attach	joy at acpinodebus with joy_acpi
d78 1
a78 1
attach	pcppi at acpinodebus with pcppi_acpi
d82 1
a82 1
attach	attimer at acpinodebus with attimer_acpi
a83 4

# Yamaha OPL3-SAx
attach	ym at acpinodebus with ym_acpi
file	dev/acpi/ym_acpi.c		ym_acpi
@


1.32.2.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.32.2.2 2006/12/30 20:47:54 yamt Exp $
d7 1
a7 1
defparam opt_acpi.h	ACPI_DSDT_FILE := "\"/dev/null\""
@


1.32.2.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.32.2.3 2007/02/26 09:09:57 yamt Exp $
d23 1
a23 1
attach  apm at acpiapmbus with acpiapm: sysmon_envsys
a97 13

# High Precision Event Timer
attach 	hpet at acpinodebus with hpet_acpi
file 	dev/acpi/hpet_acpi.c		hpet_acpi

# ASUS AI Booster Hardware monitor
device	aiboost: sysmon_envsys
attach	aiboost at acpinodebus
file	dev/acpi/aiboost.c		aiboost

# Abit uGuru 2005
attach	ug at acpinodebus with ug_acpi
file	dev/acpi/ug_acpi.c		ug_acpi
@


1.32.2.5
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.32.2.4 2007/09/03 14:33:21 yamt Exp $
a10 1
define	acpiecdtbus { }
d12 1
a12 1
device	acpi: acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
d29 1
a29 3
device	acpiecdt
attach	acpiecdt at acpiecdtbus
file	dev/acpi/acpi_ec.c		acpiec|acpiecdt
a50 5
# ACPI Display Device
device	acpidisplay
attach	acpidisplay at acpinodebus
file	dev/acpi/acpi_display.c		acpidisplay

a110 10

# Sony Notebook Controller (brightness, hotkeys, etc.)
device	sony: displaydev
attach	sony at acpinodebus with sony_acpi
file	dev/acpi/sony_acpi.c		sony_acpi

# IBM/Lenovo Thinkpad hotkey device
device	thinkpad
attach	thinkpad at acpinodebus
file	dev/acpi/thinkpad_acpi.c	thinkpad
@


1.31
log
@Add attimer(4) driver, with ISA and ACPI attachments.

attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.30 2005/03/21 14:06:46 xtraeme Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
@


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

Reviewed by christos@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.29 2004/12/02 14:33:31 xtraeme Exp $
d79 4
@


1.29
log
@Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@@,
reviewed and ok'ed by cube@@ and martin@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.28 2004/12/02 09:50:42 xtraeme Exp $
d75 4
@


1.29.4.1
log
@sync with -current
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.31 2005/03/25 23:06:19 cube Exp $
a74 8

# AT-style speaker sound
attach	pcppi at acpi with pcppi_acpi
file	dev/acpi/pcppi_acpi.c		pcppi_acpi

# AT Timer
attach	attimer at acpi with attimer_acpi
file	dev/acpi/attimer_acpi.c		attimer_acpi
@


1.29.6.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD$
a74 8

# AT-style speaker sound
attach	pcppi at acpi with pcppi_acpi
file	dev/acpi/pcppi_acpi.c		pcppi_acpi

# AT Timer
attach	attimer at acpi with attimer_acpi
file	dev/acpi/attimer_acpi.c		attimer_acpi
@


1.28
log
@Add ACPI mpu(4) attachment, based on lpt_acpi.c by jmcneill@@,
reviewed by christos@@, cube@@ and martin@@.

While here, remove a printf() in mpu_attach() (ic/mpu.c) to remove
an empty line in some frontends (mpu_isa.c, etc).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.27 2004/06/07 15:33:17 kochi Exp $
d71 4
@


1.27
log
@Add ACPI_DISABLE_ON_POWEROFF option.
Note: the default behavior is changed.  Now we don't disable the ACPI
subsystem on power off (halt -p) by default.
'options ACPI_DISABLE_ON_POWEROFF' in a kernel config file makes the kernel
behave the way we used to be.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.26 2004/05/27 11:26:33 kochi Exp $
d67 4
@


1.26
log
@don't compile acpi_madt.c unless options MPACPI is specified.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.25 2004/05/26 17:15:17 kochi Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV
@


1.25
log
@ThermalZone improvement work by lha at stacken.kth.se, inspired from
FreeBSD thermal zone code.  Minor style fixes and bugfixes by me.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.24 2004/05/03 07:44:36 kochi Exp $
d12 1
a12 1
file	dev/acpi/acpi_madt.c		acpi
@


1.24
log
@Add sysmon pswitch hook so that powerd(8) can monitor
AC adapter online/offline events.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.23 2004/03/31 11:19:39 tron Exp $
d11 1
@


1.23
log
@Only call acpiec_early_attach() in "acpi.c" if the kernel is configured
to include the "acpiec" device.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.22 2004/01/31 13:59:20 jdolecek Exp $
d30 1
a30 1
device	acpiacad: sysmon_envsys
@


1.22
log
@add dependency on isadma for atppc attachments
add atppc_isadma.c for atppc@@isapnp and atppc@@ofisa, too
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.21 2004/01/25 11:46:49 jdolecek Exp $
d17 1
a17 1
file	dev/acpi/acpi_ec.c		acpiec
@


1.22.2.1
log
@Pullup rev 1.23 (requested by kochi in ticket #191)

Add ACPI ECDT (Embedded Controller Description Table) support.
This will enable usage of EC in early stage of ACPI initialization.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.22 2004/01/31 13:59:20 jdolecek Exp $
d17 1
a17 1
file	dev/acpi/acpi_ec.c		acpiec		needs-flag
@


1.22.2.2
log
@Pullup patch (requested by kochi in ticket #463)

Add ACPI_DISABLE_ON_POWEROFF option. PR#24869
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.22.2.1 2004/04/28 05:25:23 jmc Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
@


1.21
log
@add ACPI atppc(4) attachment; probes properly, DMA and actual transfer
not tested yet
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20 2003/05/15 21:29:50 fvdl Exp $
d56 1
a56 1
attach	atppc at acpi with atppc_acpi
@


1.20
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.19 2003/04/20 20:21:29 thorpej Exp $
d54 4
a57 1
file	dev/acpi/lpt_acpi.c		lpt_acpi
@


1.20.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.27 2004/06/07 15:33:17 kochi Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
d11 1
a11 2
file	dev/acpi/acpi_powerres.c	acpi
file	dev/acpi/acpi_madt.c		acpi & mpacpi
d17 1
a17 1
file	dev/acpi/acpi_ec.c		acpiec		needs-flag
d30 1
a30 1
device	acpiacad: sysmon_envsys, sysmon_power
d54 1
a54 4
file	dev/acpi/lpt_acpi.c		lpt_acpi & !ppbus

attach	atppc at acpi with atppc_acpi: isadma
file	dev/acpi/atppc_acpi.c		atppc_acpi
@


1.20.2.2
log
@Sync with HEAD.
@
text
@@


1.20.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20.2.1 2004/08/03 10:45:03 skrll Exp $
@


1.20.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20.2.3 2004/09/21 13:26:40 skrll Exp $
a66 8

# Roland MPU401 (compatible) MIDI UART
attach	mpu at acpi with mpu_acpi
file	dev/acpi/mpu_acpi.c		mpu_acpi

# Joystick/Game port
attach	joy at acpi with joy_acpi
file	dev/acpi/joy_acpi.c		joy_acpi
@


1.20.2.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20.2.4 2004/12/18 09:31:56 skrll Exp $
a74 8

# AT-style speaker sound
attach	pcppi at acpi with pcppi_acpi
file	dev/acpi/pcppi_acpi.c		pcppi_acpi

# AT Timer
attach	attimer at acpi with attimer_acpi
file	dev/acpi/attimer_acpi.c		attimer_acpi
@


1.20.2.6
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.20.2.5 2005/04/01 14:29:52 skrll Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
@


1.19
log
@Use sysmon_taskq.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.18 2003/04/17 20:56:29 matt Exp $
d12 1
@


1.18
log
@acpi.c needs sysmon_power too.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.17 2003/04/17 01:22:21 thorpej Exp $
d7 1
a7 1
device	acpi { }: sysmon_power
@


1.17
log
@* 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.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.16 2003/01/12 01:15:50 christos Exp $
d7 1
a7 1
device	acpi { }
@


1.16
log
@add some more flags used only in acpi.c
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.15 2003/01/05 22:33:23 christos Exp $
d19 1
a19 1
device	acpilid
d24 1
a24 1
device	acpibut
@


1.15
log
@add ACPIVERBOSE; while I am there, fix the eval_string function so it does
not leak.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.14 2003/01/05 01:03:45 fvdl Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG
@


1.14
log
@Add some code to deal with the MADT.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.13 2003/01/04 05:36:03 jmcneill Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPI_DEBUG
@


1.13
log
@Initial support for ACPI Thermal Zones. For now, we only export the zone
temperature to sysmon; in the near future we should be associating devices
in this thermal zone with this device so we can do active or passive
cooling on a zone-by-zone basis.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.12 2002/12/31 05:26:57 explorer Exp $
d11 1
@


1.12
log
@add envsys support to acpi A/C adapter and batteries.  This is still a work
in progress, much like the rest of ACPI.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.11 2002/12/28 19:31:35 jmcneill Exp $
d36 5
@


1.11
log
@Add an fdc at acpi(4) attachment
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.10 2002/12/28 08:45:31 matt Exp $
d28 1
a28 1
device	acpiacad
d33 1
a33 1
device	acpibat
@


1.10
log
@Add a pckbc acpi attachment (it compiles but it untested).
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.9 2002/12/28 08:04:28 jmcneill Exp $
d40 4
@


1.9
log
@Add an lpt attachment to acpi(4)
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.8 2002/12/28 06:20:15 jmcneill Exp $
d44 4
@


1.8
log
@Add 'com at acpi' and 'wss at acpi' glue. These are both working great on
my ThinkPad 600E.

XXX isa_dmainit isn't called early enough for the 'audio at wss' attachment
XXX to work, so I'm deferring the call to 'wssattach' until later on. This
XXX should be fixed soon.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.7 2002/06/17 22:39:25 christos Exp $
d40 4
@


1.7
log
@move spic_acpi to arch/i386/acpi
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.6 2002/04/22 12:42:56 augustss Exp $
d36 8
@


1.6
log
@Attach the spic driver via ACPI.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.5 2002/03/24 03:46:10 sommerfeld Exp $
a35 4

# Sony SPIC (jog dial etc.)
attach	spic at acpi with spic_acpi
file	dev/acpi/spic_acpi.c		spic_acpi
@


1.6.2.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.7 2002/06/17 22:39:25 christos Exp $
d36 4
@


1.5
log
@Prototype ACPI Control Method Battery driver.

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

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

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

configure as:

acpibat* at acpi ?

Sample output:

acpibat0 at acpi0: ACPI Battery
acpibat0: Sony Corp. LION
acpibat0: Design 38480mWh, Predicted 38480mWh Warn 120mWh Low 0mWh
acpibat0: discharging: 15112mV cap 25480mWh (66%) rate 16849mW
...
acpibat0: discharging: 15224mV cap 25070mWh (65%) rate 18405mW
...
acpibat0: discharging: 15200mV cap 24310mWh (63%) rate 13771mW
...
acpibat0: charging: 15768mV cap 23330mWh (60%) rate 20388mW
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.4 2001/11/28 10:21:21 lukem Exp $
d36 4
@


1.4
log
@- convert usage of "defopt" to "defflag" where the relevant option does
  not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.3 2001/11/20 14:34:27 lukem Exp $
d31 5
@


1.4.2.1
log
@file files.acpi was added on branch kqueue on 2002-01-10 19:52:54 +0000
@
text
@d1 30
@


1.4.2.2
log
@Sync kqueue branch with -current.
@
text
@a0 30
#	$NetBSD: files.acpi,v 1.4.2.1 2002/01/10 19:52:54 thorpej Exp $

include "dev/acpi/acpica/files.acpica"

defflag	opt_acpi.h	ACPI_DEBUG

device	acpi { }
attach	acpi at acpibus
file	dev/acpi/acpi.c			acpi		needs-flag
file	dev/acpi/acpi_resource.c	acpi

# ACPI Embedded Controller
device	acpiec
attach	acpiec at acpi
file	dev/acpi/acpi_ec.c		acpiec

# ACPI Lid Switch
device	acpilid
attach	acpilid at acpi
file	dev/acpi/acpi_lid.c		acpilid

# ACPI Button
device	acpibut
attach	acpibut at acpi
file	dev/acpi/acpi_button.c		acpibut

# ACPI AC Adapter
device	acpiacad
attach	acpiacad at acpi
file	dev/acpi/acpi_acad.c		acpiacad
@


1.4.2.3
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.4.2.2 2002/06/23 17:45:03 jdolecek Exp $
a30 9

# ACPI Control Method Battery
device	acpibat
attach	acpibat at acpi
file	dev/acpi/acpi_bat.c		acpibat

# Sony SPIC (jog dial etc.)
attach	spic at acpi with spic_acpi
file	dev/acpi/spic_acpi.c		spic_acpi
@


1.4.2.4
log
@sync kqueue branch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.4.2.3 2002/09/06 08:43:49 jdolecek Exp $
d36 4
@


1.3
log
@- replace "defopt" with "defparam" for options which must take a value,
  as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2 2001/09/29 05:36:03 thorpej Exp $
d5 1
a5 1
defopt	opt_acpi.h	ACPI_DEBUG
@


1.2
log
@Build acpi_resource.c, add "acpiec" and "acpiacad".
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.1 2001/09/28 02:09:24 thorpej Exp $
d5 1
a5 1
defopt	opt_acpi.h ACPI_DEBUG
@


1.2.4.1
log
@file files.acpi was added on branch nathanw_sa on 2001-10-08 21:18:06 +0000
@
text
@d1 30
@


1.2.4.2
log
@Catch up to -current.
@
text
@a0 30
#	$NetBSD: files.acpi,v 1.2.4.1 2001/10/08 21:18:06 nathanw Exp $

include "dev/acpi/acpica/files.acpica"

defopt	opt_acpi.h ACPI_DEBUG

device	acpi { }
attach	acpi at acpibus
file	dev/acpi/acpi.c			acpi		needs-flag
file	dev/acpi/acpi_resource.c	acpi

# ACPI Embedded Controller
device	acpiec
attach	acpiec at acpi
file	dev/acpi/acpi_ec.c		acpiec

# ACPI Lid Switch
device	acpilid
attach	acpilid at acpi
file	dev/acpi/acpi_lid.c		acpilid

# ACPI Button
device	acpibut
attach	acpibut at acpi
file	dev/acpi/acpi_button.c		acpibut

# ACPI AC Adapter
device	acpiacad
attach	acpiacad at acpi
file	dev/acpi/acpi_acad.c		acpiacad
@


1.2.4.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.2 2002/01/08 00:29:20 nathanw Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPI_DEBUG
@


1.2.4.4
log
@Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.3 2002/04/01 07:45:07 nathanw Exp $
a30 5

# ACPI Control Method Battery
device	acpibat
attach	acpibat at acpi
file	dev/acpi/acpi_bat.c		acpibat
@


1.2.4.5
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.4 2002/06/20 03:43:27 nathanw Exp $
@


1.2.4.6
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.5 2002/12/29 20:45:31 thorpej Exp $
a35 20

# Serial interface
attach	com at acpi with com_acpi
file	dev/acpi/com_acpi.c		com_acpi

# Floppy disk controller
attach	fdc at acpi with fdc_acpi
file	dev/acpi/fdc_acpi.c		fdc_acpi

# Parallel interface
attach	lpt at acpi with lpt_acpi
file	dev/acpi/lpt_acpi.c		lpt_acpi

# Keyboard controller
attach	pckbc at acpi with pckbc_acpi
file	dev/acpi/pckbc_acpi.c		pckbc_acpi

# NeoMagic 256AV audio with CS4232 codec
attach	wss at acpi with wss_acpi
file	dev/acpi/wss_acpi.c		wss_acpi
@


1.2.4.7
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.6 2003/01/03 17:01:11 thorpej Exp $
d28 1
a28 1
device	acpiacad: sysmon_envsys
d33 1
a33 1
device	acpibat: sysmon_envsys
@


1.2.4.8
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.7 2003/01/07 21:34:00 thorpej Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG
a10 1
file	dev/acpi/acpi_madt.c		acpi
a36 5
# ACPI Thermal Zone
device	acpitz: sysmon_envsys
attach	acpitz at acpi
file	dev/acpi/acpi_tz.c		acpitz

@


1.2.4.9
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.acpi,v 1.2.4.8 2003/01/15 18:44:14 thorpej Exp $
d5 1
a5 1
defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV
@


1.2.2.1
log
@file files.acpi was added on branch thorpej-devvp on 2001-10-01 12:44:18 +0000
@
text
@d1 30
@


1.2.2.2
log
@Catch up with -current.
@
text
@a0 30
#	$NetBSD: files.acpi,v 1.2.2.1 2001/10/01 12:44:18 fvdl Exp $

include "dev/acpi/acpica/files.acpica"

defopt	opt_acpi.h ACPI_DEBUG

device	acpi { }
attach	acpi at acpibus
file	dev/acpi/acpi.c			acpi		needs-flag
file	dev/acpi/acpi_resource.c	acpi

# ACPI Embedded Controller
device	acpiec
attach	acpiec at acpi
file	dev/acpi/acpi_ec.c		acpiec

# ACPI Lid Switch
device	acpilid
attach	acpilid at acpi
file	dev/acpi/acpi_lid.c		acpilid

# ACPI Button
device	acpibut
attach	acpibut at acpi
file	dev/acpi/acpi_button.c		acpibut

# ACPI AC Adapter
device	acpiacad
attach	acpiacad at acpi
file	dev/acpi/acpi_acad.c		acpiacad
@


1.1
log
@Add some basic ACPI probing framework.  This is far from complete,
it is merely a work in progress.
@
text
@d1 1
a1 1
#	$NetBSD$
d10 6
d28 3
a30 3
#device	aacad
#attach	aacad at acpi
#file	dev/acpi/acpi_acad.c		aacad
@
