head	1.38;
access;
symbols
	netbsd-9-5-RELEASE:1.36
	perseant-exfatfs-base-20250801:1.38
	perseant-exfatfs-base-20240630:1.38
	perseant-exfatfs:1.38.0.2
	perseant-exfatfs-base:1.38
	netbsd-8-3-RELEASE:1.36
	netbsd-9-4-RELEASE:1.36
	bouyer-sunxi-drm:1.37.0.14
	bouyer-sunxi-drm-base:1.37
	netbsd-9-3-RELEASE:1.36
	thorpej-i2c-spi-conf2:1.37.0.12
	thorpej-i2c-spi-conf2-base:1.37
	thorpej-futex2:1.37.0.10
	thorpej-futex2-base:1.37
	thorpej-cfargs2:1.37.0.8
	thorpej-cfargs2-base:1.37
	cjep_sun2x-base1:1.37
	cjep_sun2x:1.37.0.6
	cjep_sun2x-base:1.37
	cjep_staticlib_x-base1:1.37
	netbsd-9-2-RELEASE:1.36
	cjep_staticlib_x:1.37.0.4
	cjep_staticlib_x-base:1.37
	thorpej-i2c-spi-conf:1.37.0.2
	thorpej-i2c-spi-conf-base:1.37
	thorpej-cfargs:1.36.0.30
	thorpej-cfargs-base:1.36
	thorpej-futex:1.36.0.28
	thorpej-futex-base:1.36
	netbsd-9-1-RELEASE:1.36
	bouyer-xenpvh-base2:1.36
	phil-wifi-20200421:1.36
	bouyer-xenpvh-base1:1.36
	phil-wifi-20200411:1.36
	bouyer-xenpvh:1.36.0.26
	bouyer-xenpvh-base:1.36
	is-mlppp:1.36.0.24
	is-mlppp-base:1.36
	phil-wifi-20200406:1.36
	netbsd-8-2-RELEASE:1.36
	ad-namecache-base3:1.36
	netbsd-9-0-RELEASE:1.36
	netbsd-9-0-RC2:1.36
	ad-namecache-base2:1.36
	ad-namecache-base1:1.36
	ad-namecache:1.36.0.22
	ad-namecache-base:1.36
	netbsd-9-0-RC1:1.36
	phil-wifi-20191119:1.36
	netbsd-9:1.36.0.20
	netbsd-9-base:1.36
	phil-wifi-20190609:1.36
	netbsd-8-1-RELEASE:1.36
	netbsd-8-1-RC1:1.36
	isaki-audio2:1.36.0.18
	isaki-audio2-base:1.36
	pgoyette-compat-merge-20190127:1.36
	pgoyette-compat-20190127:1.36
	pgoyette-compat-20190118:1.36
	pgoyette-compat-1226:1.36
	pgoyette-compat-1126:1.36
	pgoyette-compat-1020:1.36
	pgoyette-compat-0930:1.36
	pgoyette-compat-0906:1.36
	netbsd-7-2-RELEASE:1.28.2.2
	pgoyette-compat-0728:1.36
	netbsd-8-0-RELEASE:1.36
	phil-wifi:1.36.0.16
	phil-wifi-base:1.36
	pgoyette-compat-0625:1.36
	netbsd-8-0-RC2:1.36
	pgoyette-compat-0521:1.36
	pgoyette-compat-0502:1.36
	pgoyette-compat-0422:1.36
	netbsd-8-0-RC1:1.36
	pgoyette-compat-0415:1.36
	pgoyette-compat-0407:1.36
	pgoyette-compat-0330:1.36
	pgoyette-compat-0322:1.36
	pgoyette-compat-0315:1.36
	netbsd-7-1-2-RELEASE:1.28.2.2
	pgoyette-compat:1.36.0.14
	pgoyette-compat-base:1.36
	netbsd-7-1-1-RELEASE:1.28.2.2
	tls-maxphys-base-20171202:1.36
	matt-nb8-mediatek:1.36.0.12
	matt-nb8-mediatek-base:1.36
	nick-nhusb-base-20170825:1.36
	perseant-stdc-iso10646:1.36.0.10
	perseant-stdc-iso10646-base:1.36
	netbsd-8:1.36.0.8
	netbsd-8-base:1.36
	prg-localcount2-base3:1.36
	prg-localcount2-base2:1.36
	prg-localcount2-base1:1.36
	prg-localcount2:1.36.0.6
	prg-localcount2-base:1.36
	pgoyette-localcount-20170426:1.36
	bouyer-socketcan-base1:1.36
	jdolecek-ncq:1.36.0.4
	jdolecek-ncq-base:1.36
	pgoyette-localcount-20170320:1.36
	netbsd-7-1:1.28.2.2.0.6
	netbsd-7-1-RELEASE:1.28.2.2
	netbsd-7-1-RC2:1.28.2.2
	nick-nhusb-base-20170204:1.36
	netbsd-7-nhusb-base-20170116:1.28.2.2
	bouyer-socketcan:1.36.0.2
	bouyer-socketcan-base:1.36
	pgoyette-localcount-20170107:1.36
	netbsd-7-1-RC1:1.28.2.2
	nick-nhusb-base-20161204:1.36
	pgoyette-localcount-20161104:1.36
	netbsd-7-0-2-RELEASE:1.28.2.2
	nick-nhusb-base-20161004:1.33
	localcount-20160914:1.33
	netbsd-7-nhusb:1.28.2.2.0.4
	netbsd-7-nhusb-base:1.28.2.2
	pgoyette-localcount-20160806:1.33
	pgoyette-localcount-20160726:1.33
	pgoyette-localcount:1.33.0.2
	pgoyette-localcount-base:1.33
	nick-nhusb-base-20160907:1.33
	nick-nhusb-base-20160529:1.32
	netbsd-7-0-1-RELEASE:1.28.2.2
	nick-nhusb-base-20160422:1.32
	nick-nhusb-base-20160319:1.32
	nick-nhusb-base-20151226:1.32
	netbsd-7-0:1.28.2.2.0.2
	netbsd-7-0-RELEASE:1.28.2.2
	nick-nhusb-base-20150921:1.31
	netbsd-7-0-RC3:1.28.2.2
	netbsd-7-0-RC2:1.28.2.2
	netbsd-7-0-RC1:1.28.2.2
	nick-nhusb-base-20150606:1.30
	nick-nhusb-base-20150406:1.29
	nick-nhusb:1.29.0.2
	nick-nhusb-base:1.29
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	netbsd-6-0-6-RELEASE:1.8.10.1
	netbsd-6-1-5-RELEASE:1.8.10.1
	netbsd-7:1.28.0.2
	netbsd-7-base:1.28
	yamt-pagecache-base9:1.27
	yamt-pagecache-tag8:1.8.4.3
	netbsd-6-1-4-RELEASE:1.8.10.1
	netbsd-6-0-5-RELEASE:1.8.10.1
	tls-earlyentropy:1.27.0.6
	tls-earlyentropy-base:1.28
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.27
	riastradh-drm2-base3:1.27
	netbsd-6-1-3-RELEASE:1.8.10.1
	netbsd-6-0-4-RELEASE:1.8.10.1
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.8.10.1
	netbsd-6-0-3-RELEASE:1.8.10.1
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	rmind-smpnet-nbase:1.27
	netbsd-6-1-1-RELEASE:1.8.10.1
	riastradh-drm2-base2:1.27
	riastradh-drm2-base1:1.27
	riastradh-drm2:1.27.0.4
	riastradh-drm2-base:1.27
	rmind-smpnet:1.27.0.2
	rmind-smpnet-base:1.27
	netbsd-6-1:1.8.10.1.0.6
	netbsd-6-0-2-RELEASE:1.8.10.1
	netbsd-6-1-RELEASE:1.8.10.1
	khorben-n900:1.25.0.2
	netbsd-6-1-RC4:1.8.10.1
	netbsd-6-1-RC3:1.8.10.1
	agc-symver:1.24.0.4
	agc-symver-base:1.24
	netbsd-6-1-RC2:1.8.10.1
	netbsd-6-1-RC1:1.8.10.1
	yamt-pagecache-base8:1.24
	netbsd-5-2:1.3.0.22
	netbsd-6-0-1-RELEASE:1.8.10.1
	yamt-pagecache-base7:1.18
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	matt-nb6-plus-nbase:1.15
	yamt-pagecache-base6:1.15
	netbsd-6-0:1.8.10.1.0.4
	netbsd-6-0-RELEASE:1.8.10.1
	netbsd-6-0-RC2:1.8.10.1
	tls-maxphys:1.15.0.2
	tls-maxphys-base:1.28
	matt-nb6-plus:1.8.10.1.0.2
	matt-nb6-plus-base:1.15
	netbsd-6-0-RC1:1.8.10.1
	jmcneill-usbmp-base10:1.8
	yamt-pagecache-base5:1.8
	jmcneill-usbmp-base9:1.8
	yamt-pagecache-base4:1.8
	jmcneill-usbmp-base8:1.8
	jmcneill-usbmp-base7:1.8
	jmcneill-usbmp-base6:1.8
	jmcneill-usbmp-base5:1.8
	jmcneill-usbmp-base4:1.8
	jmcneill-usbmp-base3:1.8
	jmcneill-usbmp-pre-base2:1.8
	jmcneill-usbmp-base2:1.8
	netbsd-6:1.8.0.10
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	jmcneill-usbmp:1.8.0.8
	jmcneill-usbmp-base:1.8
	jmcneill-audiomp3:1.8.0.6
	jmcneill-audiomp3-base:1.8
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.4
	yamt-pagecache-base:1.8
	rmind-uvmplock-nbase:1.8
	cherry-xenmp:1.8.0.2
	cherry-xenmp-base:1.8
	jym-xensuspend-nbase:1.8
	uebayasi-xip-base7:1.6
	bouyer-quota2-nbase:1.7
	bouyer-quota2:1.6.0.4
	bouyer-quota2-base:1.6
	jruoho-x86intr:1.6.0.2
	jruoho-x86intr-base:1.6
	matt-mips64-premerge-20101231:1.6
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.20
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.18
	uebayasi-xip-base6:1.6
	uebayasi-xip-base5:1.6
	netbsd-5-1-RELEASE:1.3
	uebayasi-xip-base4:1.6
	uebayasi-xip-base3:1.6
	yamt-nfs-mp-base11:1.6
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	uebayasi-xip-base1:1.3
	netbsd-5-1-RC1:1.3
	rmind-uvmplock:1.3.0.16
	rmind-uvmplock-base:1.8
	yamt-nfs-mp-base9:1.3
	uebayasi-xip:1.3.0.14
	uebayasi-xip-base:1.3
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-premerge-20091211:1.3
	yamt-nfs-mp-base8:1.3
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	yamt-nfs-mp-base7:1.3
	matt-nb5-mips64:1.3.0.12
	netbsd-5-0-1-RELEASE:1.3
	jymxensuspend-base:1.3
	yamt-nfs-mp-base6:1.3
	yamt-nfs-mp-base5:1.3
	yamt-nfs-mp-base4:1.3
	yamt-nfs-mp-base3:1.3
	nick-hppapmap-base4:1.3
	nick-hppapmap-base3:1.3
	netbsd-5-0:1.3.0.10
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	nick-hppapmap-base2:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.8
	jym-xensuspend-base:1.8
	netbsd-5-0-RC1:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	ad-audiomp2:1.3.0.6
	ad-audiomp2-base:1.3
	netbsd-5:1.3.0.4
	netbsd-5-base:1.3
	nick-hppapmap:1.3.0.2
	nick-hppapmap-base:1.3
	matt-mips64-base2:1.3
	haad-dm-base1:1.3
	wrstuden-revivesa-base-4:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	haad-dm:1.2.0.6
	haad-dm-base:1.3
	wrstuden-revivesa-base-1:1.2
	simonb-wapbl-nbase:1.2
	yamt-pf42-base4:1.2
	simonb-wapbl:1.2.0.4
	simonb-wapbl-base:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.2
	yamt-nfs-mp-base2:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base:1.2
	yamt-nfs-mp:1.1.0.22
	yamt-nfs-mp-base:1.1
	yamt-pf42:1.1.0.20
	yamt-pf42-base:1.1
	ad-socklock-base1:1.1
	yamt-lazymbuf-base15:1.1
	yamt-lazymbuf-base14:1.1
	keiichi-mipv6-nbase:1.1
	mjf-devfs2:1.1.0.18
	mjf-devfs2-base:1.3
	keiichi-mipv6:1.1.0.16
	keiichi-mipv6-base:1.1
	bouyer-xeni386-merge1:1.1
	matt-armv6-prevmlocking:1.1.2.4
	vmlocking2-base3:1.1
	bouyer-xeni386-nbase:1.1
	yamt-kmem-base3:1.1
	cube-autoconf:1.1.0.14
	cube-autoconf-base:1.1
	yamt-kmem-base2:1.1
	bouyer-xeni386:1.1.0.12
	bouyer-xeni386-base:1.1
	yamt-kmem:1.1.0.10
	yamt-kmem-base:1.1
	vmlocking2-base2:1.1
	reinoud-bufcleanup-nbase:1.1
	reinoud-bufcleanup-base:1.1
	vmlocking2:1.1.0.8
	vmlocking2-base1:1.1
	matt-armv6-base:1.1
	matt-armv6-nbase:1.1
	jmcneill-base:1.1
	mjf-devfs:1.1.0.6
	mjf-devfs-base:1.1
	hpcarm-cleanup-base:1.1
	jmcneill-pm-base:1.1
	bouyer-xenamd64-base2:1.1
	vmlocking-nbase:1.1
	yamt-x86pmap-base4:1.1
	bouyer-xenamd64:1.1.0.4
	bouyer-xenamd64-base:1.1
	yamt-x86pmap-base3:1.1
	vmlocking-base:1.1
	matt-armv6:1.1.0.2;
locks; strict;
comment	@# @;


1.38
date	2022.10.29.13.37.59;	author jmcneill;	state dead;
branches;
next	1.37;
commitid	57kQfR5AvGpkjCZD;

1.37
date	2021.04.24.23.36.28;	author thorpej;	state Exp;
branches;
next	1.36;
commitid	eHxL4uTobGwLqBQC;

1.36
date	2016.10.15.15.11.56;	author kiyohara;	state Exp;
branches
	1.36.30.1;
next	1.35;
commitid	7PpSTH8h5zEHJfqz;

1.35
date	2016.10.04.16.10.34;	author kiyohara;	state Exp;
branches;
next	1.34;
commitid	4M5VvaxOMn2VpQoz;

1.34
date	2016.10.04.15.23.40;	author kiyohara;	state Exp;
branches;
next	1.33;
commitid	2cLYbcJ4ISYz9Qoz;

1.33
date	2016.07.04.15.35.55;	author kiyohara;	state Exp;
branches
	1.33.2.1;
next	1.32;
commitid	vtaiIelpWVtAb1dz;

1.32
date	2015.11.02.00.48.45;	author jmcneill;	state Exp;
branches;
next	1.31;
commitid	OfTYMmkRZYzA9sHy;

1.31
date	2015.06.06.14.00.32;	author jmcneill;	state Exp;
branches;
next	1.30;
commitid	Zkixbfj3nhiXjnoy;

1.30
date	2015.04.14.18.37.43;	author bouyer;	state Exp;
branches;
next	1.29;
commitid	ZAUU4aFun2GayAhy;

1.29
date	2014.08.22.19.44.04;	author jakllsch;	state Exp;
branches
	1.29.2.1;
next	1.28;
commitid	tzZxwXtFsm9EtoNx;

1.28
date	2014.07.16.18.31.17;	author bouyer;	state Exp;
branches
	1.28.2.1;
next	1.27;
commitid	vV50U35EE3cAgDIx;

1.27
date	2013.06.18.15.22.37;	author matt;	state Exp;
branches
	1.27.6.1;
next	1.26;
commitid	b8R3djvwZGpZQ6Uw;

1.26
date	2013.06.15.21.55.09;	author matt;	state Exp;
branches;
next	1.25;
commitid	opsawMkC0lDN7LTw;

1.25
date	2013.04.17.14.34.02;	author bouyer;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2013.01.09.04.49.05;	author macallan;	state Exp;
branches;
next	1.23;

1.23
date	2013.01.09.03.35.11;	author macallan;	state Exp;
branches;
next	1.22;

1.22
date	2013.01.03.21.13.26;	author jakllsch;	state Exp;
branches;
next	1.21;

1.21
date	2013.01.01.23.22.44;	author jmcneill;	state Exp;
branches;
next	1.20;

1.20
date	2013.01.01.13.05.21;	author jmcneill;	state Exp;
branches;
next	1.19;

1.19
date	2012.12.31.12.45.49;	author jmcneill;	state Exp;
branches;
next	1.18;

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

1.17
date	2012.12.11.19.21.05;	author riastradh;	state Exp;
branches;
next	1.16;

1.16
date	2012.12.11.01.54.41;	author khorben;	state Exp;
branches;
next	1.15;

1.15
date	2012.09.05.00.19.59;	author matt;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2012.08.29.17.48.17;	author matt;	state Exp;
branches;
next	1.13;

1.13
date	2012.08.22.22.18.21;	author matt;	state Exp;
branches;
next	1.12;

1.12
date	2012.08.20.12.38.28;	author matt;	state Exp;
branches;
next	1.11;

1.11
date	2012.07.12.03.30.29;	author matt;	state Exp;
branches;
next	1.10;

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

1.9
date	2012.06.06.20.21.45;	author skrll;	state Exp;
branches;
next	1.8;

1.8
date	2011.03.11.03.16.13;	author bsh;	state Exp;
branches
	1.8.4.1
	1.8.10.1;
next	1.7;

1.7
date	2011.02.26.18.07.18;	author ahoka;	state Exp;
branches;
next	1.6;

1.6
date	2010.09.01.06.23.59;	author kiyohara;	state Exp;
branches
	1.6.2.1
	1.6.4.1;
next	1.5;

1.5
date	2010.08.28.13.02.32;	author ahoka;	state Exp;
branches;
next	1.4;

1.4
date	2010.07.07.22.53.44;	author macallan;	state Exp;
branches;
next	1.3;

1.3
date	2008.08.27.11.03.10;	author matt;	state Exp;
branches
	1.3.14.1
	1.3.16.1;
next	1.2;

1.2
date	2008.04.27.18.58.45;	author matt;	state Exp;
branches
	1.2.2.1
	1.2.6.1;
next	1.1;

1.1
date	2007.10.12.02.22.24;	author matt;	state dead;
branches
	1.1.2.1
	1.1.18.1
	1.1.20.1
	1.1.22.1;
next	;

1.36.30.1
date	2021.03.25.15.59.49;	author thorpej;	state Exp;
branches;
next	;
commitid	wlNQjMuCBfLORHMC;

1.33.2.1
date	2016.11.04.14.48.58;	author pgoyette;	state Exp;
branches;
next	;
commitid	2m1JRwYmpwPkOOsz;

1.29.2.1
date	2015.06.06.14.39.56;	author skrll;	state Exp;
branches;
next	1.29.2.2;
commitid	O6LVO5i6UulOvnoy;

1.29.2.2
date	2015.09.22.12.05.38;	author skrll;	state Exp;
branches;
next	1.29.2.3;
commitid	CpNWKp3ozVNTafCy;

1.29.2.3
date	2015.12.27.12.09.31;	author skrll;	state Exp;
branches;
next	1.29.2.4;
commitid	BTSqUD4SdJ5k7AOy;

1.29.2.4
date	2016.07.09.20.24.50;	author skrll;	state Exp;
branches;
next	1.29.2.5;
commitid	6Uo6zNa4c5W4AGdz;

1.29.2.5
date	2016.12.05.10.54.50;	author skrll;	state Exp;
branches;
next	;
commitid	4H3tiQVJXN6oEMwz;

1.28.2.1
date	2015.04.19.04.37.17;	author msaitoh;	state Exp;
branches;
next	1.28.2.2;
commitid	6jNGKBP8BOEAK9iy;

1.28.2.2
date	2015.06.10.16.38.05;	author snj;	state Exp;
branches;
next	;
commitid	pyhHGsPzzFzS3Uoy;

1.27.6.1
date	2014.08.10.06.53.52;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.25.2.1
date	2013.05.11.17.19.41;	author khorben;	state Exp;
branches;
next	;
commitid	102DluZvssX6IePw;

1.15.2.1
date	2013.02.25.00.28.31;	author tls;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2013.06.23.06.20.01;	author tls;	state Exp;
branches;
next	1.15.2.3;
commitid	eVjr9caYRQbRGHUw;

1.15.2.3
date	2014.08.20.00.02.47;	author tls;	state Exp;
branches;
next	1.15.2.4;
commitid	jTnpym9Qu0o4R1Nx;

1.15.2.4
date	2017.12.03.11.35.55;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.8.4.1
date	2012.10.30.17.19.07;	author yamt;	state Exp;
branches;
next	1.8.4.2;

1.8.4.2
date	2013.01.16.05.32.49;	author yamt;	state Exp;
branches;
next	1.8.4.3;

1.8.4.3
date	2013.01.23.00.05.42;	author yamt;	state Exp;
branches;
next	1.8.4.4;

1.8.4.4
date	2014.05.22.11.39.33;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.8.10.1
date	2012.08.10.12.15.51;	author jdc;	state Exp;
branches
	1.8.10.1.2.1;
next	;

1.8.10.1.2.1
date	2012.11.28.22.40.33;	author matt;	state Exp;
branches;
next	;

1.6.2.1
date	2011.06.06.09.05.05;	author jruoho;	state Exp;
branches;
next	;

1.6.4.1
date	2011.03.05.15.09.32;	author bouyer;	state Exp;
branches;
next	;

1.3.14.1
date	2010.08.17.06.44.05;	author uebayasi;	state Exp;
branches;
next	1.3.14.2;

1.3.14.2
date	2010.10.22.07.21.02;	author uebayasi;	state Exp;
branches;
next	;

1.3.16.1
date	2011.03.05.20.49.38;	author rmind;	state Exp;
branches;
next	1.3.16.2;

1.3.16.2
date	2011.04.21.01.40.53;	author rmind;	state Exp;
branches;
next	;

1.2.2.1
date	2008.09.18.04.33.21;	author wrstuden;	state Exp;
branches;
next	;

1.2.6.1
date	2008.10.19.22.15.42;	author haad;	state Exp;
branches;
next	;

1.1.2.1
date	2007.10.12.02.22.24;	author matt;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.11.04.21.58.06;	author matt;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2007.11.05.22.01.55;	author matt;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2008.01.08.07.16.27;	author matt;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	2008.01.28.18.29.06;	author matt;	state Exp;
branches;
next	;

1.1.18.1
date	2008.06.02.13.21.54;	author mjf;	state Exp;
branches;
next	1.1.18.2;

1.1.18.2
date	2008.09.28.10.39.50;	author mjf;	state Exp;
branches;
next	;

1.1.20.1
date	2008.05.18.12.31.37;	author yamt;	state Exp;
branches;
next	;

1.1.22.1
date	2008.05.16.02.22.01;	author yamt;	state Exp;
branches;
next	1.1.22.2;

1.1.22.2
date	2009.05.04.08.10.43;	author yamt;	state Exp;
branches;
next	1.1.22.3;

1.1.22.3
date	2010.08.11.22.51.42;	author yamt;	state Exp;
branches;
next	1.1.22.4;

1.1.22.4
date	2010.10.09.03.31.40;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Remove old OMAP port.

This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.
@
text
@#	$NetBSD: files.omap2,v 1.37 2021/04/24 23:36:28 thorpej Exp $
#
# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
# Based on xscale/files.pxa2x0
#

include "arch/arm/pic/files.pic"
include "arch/arm/cortex/files.cortex"

file	arch/arm/arm32/irq_dispatch.S
file	arch/arm/omap/omap_dma.c

# Memory size in megabytes
defparam opt_omap.h				MEMSIZE
defparam opt_omap.h				OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
defflag opt_omap.h				OMAP2
defflag opt_omap.h				OMAP3: OMAP2
defflag opt_omap.h				OMAP4: OMAP3
defflag opt_omap.h				OMAP5: OMAP4
defflag opt_omap.h				OMAP_2XXX: OMAP2
defflag opt_omap.h				OMAP_2430: OMAP_2XXX
defflag opt_omap.h				OMAP_2420: OMAP_2XXX
defflag opt_omap.h				OMAP_3XXX: OMAP3
defflag opt_omap.h				OMAP_3430: OMAP_3XXX
defflag opt_omap.h				OMAP_3530: OMAP_3XXX
defflag opt_omap.h				OMAP_4XXX: OMAP4
defflag opt_omap.h				OMAP_4430: OMAP_4XXX
defflag opt_omap.h				OMAP_4460: OMAP_4XXX
defflag opt_omap.h				OMAP_5XXX: OMAP5
defflag opt_omap.h				OMAP_5430: OMAP_5XXX
defflag opt_omap.h				TI_AM335X: OMAP3
defflag opt_omap.h				TI_DM37XX: OMAP3

# OBIO just an attach point
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0], [edmabase=-1]
	     } : bus_space_generic
attach	obio at mainbus
file	arch/arm/omap/omap2_obio.c		obio needs-count

# OBIO files
file	arch/arm/omap/omap_space.c		obio
file	arch/arm/omap/omap_a2x_space.c		obio
file	arch/arm/arm/bus_space_a2x.S		obio
file	arch/arm/omap/omap_a4x_space.c		obio
file	arch/arm/arm/bus_space_a4x.S		obio

# TI Sitara control module
device	sitaracm
attach	sitaracm at obio with sitaracm
file	arch/arm/omap/sitara_cm.c		sitaracm
file	arch/arm/omap/am335x_cm_padconf.c	ti_am335x

# OMAP2 interrupt controller
device	omapicu: pic, pic_splfuncs
attach	omapicu at obio with omap2icu
file	arch/arm/omap/omap2_icu.c		(omap2 | omap3) & omapicu
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu & !omap4

# OMAP2 GPIO controllers
device	omapgpio: gpiobus
attach	omapgpio at obio with omap2gpio
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio

# TI_AM335X (and maybe TI OMAP4) I2C controllers
device	tiiic: i2cbus, i2cexec
attach	tiiic at obio with ti_iic
file	arch/arm/omap/ti_iic.c			ti_iic

# OMAP3 I2C controllers
device	omapiic: i2cbus, i2cexec
attach	omapiic at obio with omap3_i2c
file	arch/arm/omap/omap3_i2c.c		omap3_i2c

# OMAP3 system control module
device	omapscm: sysmon_envsys
attach	omapscm at obio with omap3_scm
file	arch/arm/omap/omap3_scm.c		omap3_scm

# OMAP dual-mode timer
device	omapdmtimer
file	arch/arm/omap/omap_dmtimer.c		omapdmtimer
defparam opt_omap.h				OMAP_SYSTEM_CLOCK_FREQ

attach	omapdmtimer at obio with omap_dmtimer_obio
file	arch/arm/omap/am335x_dmtimer.c		ti_am335x & omapdmtimer

# OMAP 2430 General Purpose Timer
device	omapmputmr
file	arch/arm/omap/omap2_mputmr.c		omapmputmr
defparam opt_omap.h				OMAP_GP_TIMER_CLOCK_FREQ

# OBIO/2430 GP Timer
attach 	omapmputmr at obio with obiomputmr
file	arch/arm/omap/obio_mputmr.c		obiomputmr

# Dual Mode (General Purpose) Timer
device 	omapgptmr
attach 	omapgptmr at obio
file	arch/arm/omap/omap2_gptmr.c		omapgptmr
#file	arch/arm/omap/omap_pwm.c		omapgptmr

# Watchdog timers

device	omapwdt32k: sysmon_wdog
file	arch/arm/omap/omap_wdt.c		omapwdt32k needs-flag

attach	omapwdt32k at obio with obiowdt32k
file	arch/arm/omap/obio_wdt.c		obiowdt32k

# L3 Interconnect
device	L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	L3i at mainbus
file	arch/arm/omap/omap2_l3i.c		omap2 | omap3

# General Purpose Memory Controller
# XXX some addl. chip select config parms may be desired here (e.g. timing)
# XXX so far we just use the setup established by boot firmware
device	gpmc { [cs=-1], [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	gpmc at mainbus
file	arch/arm/omap/omap2_gpmc.c		gpmc

device	edma
attach	edma at mainbus
file	arch/arm/omap/omap_edma.c		edma needs-flag

# TI OTG controller
define  tiotg_port { [port = -1] }
device	tiotg: tiotg_port
attach	tiotg at mainbus
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

# SDMMC controller
attach	sdhc at mainbus with mainbussdhc
attach	sdhc at obio with obiosdhc
file	arch/arm/omap/omap3_sdhc.c		mainbussdhc | obiosdhc

# NAND flash controller
device	omapnand: nandbus
attach	omapnand at gpmc
file	arch/arm/omap/omap2_nand.c		omapnand

# PRCM interface
device	prcm
attach	prcm at obio
file	arch/arm/omap/omap2_prcm.c		prcm needs-flag
file	arch/arm/omap/am335x_prcm.c		ti_am335x

# OHCI USB controller
attach	ohci at obio with obioohci
file	arch/arm/omap/obio_ohci.c		obioohci

attach	ehci at obio with omap3_ehci
file	arch/arm/omap/omap3_ehci.c		omap3_ehci

attach	ahcisata at obio with omap5_ahcisata
file	arch/arm/omap/omap5_ahcisata.c		omap5_ahcisata

device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
attach	omapfb at obio
file	arch/arm/omap/omapfb.c			omapfb

# TI AM335x framebuffer
device	tifb: rasops32, rasops24, rasops16, rasops8, wsemuldisplaydev, vcons, edid
attach	tifb at obio
file	arch/arm/omap/tifb.c			tifb

device	cpsw: ether, ifnet, arp, mii, mii_phy
attach	cpsw at obio
file	arch/arm/omap/if_cpsw.c			cpsw

device 	omapdma
attach 	omapdma at obio
file	arch/arm/omap/omap3_sdma.c		omapdma needs-flag

device	trng
attach	trng at obio
file	arch/arm/omap/am335x_trng.c		trng

# these bus space methods are not bus-specific ...
#
file	arch/arm/omap/omap_nobyteacc_space.c	emifs | gpmc
file	arch/arm/omap/omap_nobyteacc_io.S	emifs | gpmc
@


1.37
log
@Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.36.30.1 2021/03/25 15:59:49 thorpej Exp $
@


1.36
log
@Support TI_AM335X gpio to omap2_gpio.c.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.35 2016/10/04 16:10:34 kiyohara Exp $
d129 1
a129 1
define  tiotg_port {[port = -1], [mode = -1]}
@


1.36.30.1
log
@Nothing uses / references the "mode" locator on the "tiotg_port"
interface attribute; remove it.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.36 2016/10/15 15:11:56 kiyohara Exp $
d129 1
a129 1
define  tiotg_port { [port = -1] }
@


1.35
log
@Support am335x's MMCHS2(sdhc@@mainbus).
  Tested on Gumstix Pepper 43C.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.34 2016/10/04 15:23:40 kiyohara Exp $
d62 1
a62 2
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & !ti_am335x & omapgpio
file	arch/arm/omap/am335x_gpio.c		ti_am335x & omapgpio
@


1.34
log
@Support locator "cs".
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.33 2016/07/04 15:35:55 kiyohara Exp $
d137 1
d139 1
a139 1
file	arch/arm/omap/omap3_sdhc.c		obiosdhc
@


1.33
log
@Attach edma and tiotg at mainbus instead of obio0.
And splits obio0 to obio[012], like OMAP3530.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.32 2015/11/02 00:48:45 jmcneill Exp $
d120 1
a120 1
device	gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
@


1.33.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.36 2016/10/15 15:11:56 kiyohara Exp $
d62 2
a63 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d120 1
a120 1
device	gpmc { [cs=-1], [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
a136 1
attach	sdhc at mainbus with mainbussdhc
d138 1
a138 1
file	arch/arm/omap/omap3_sdhc.c		mainbussdhc | obiosdhc
@


1.32
log
@add basic AM335x GPIO support
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.31 2015/06/06 14:00:32 jmcneill Exp $
d125 11
a157 7
# TI OTG controller
define  tiotg_port {[port = -1], [mode = -1]}
device	tiotg: tiotg_port
attach	tiotg at obio
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

a177 4
device	edma
attach	edma at obio
file	arch/arm/omap/omap_edma.c		edma needs-flag

@


1.31
log
@Add driver for AM335x TRNG module.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.30 2015/04/14 18:37:43 bouyer Exp $
d62 2
a63 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
@


1.30
log
@Add a driver for the Enhanced Direct Memory Access controller found
in the AM335x SoC. Written by Jared D. McNeill, with some final debug
by me.
Supports only DMA (not QDMA) yet, and there's no support for DMA event
matrix yet (this means that only primary DMA events can be used)
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.29 2014/08/22 19:44:04 jakllsch Exp $
d177 4
@


1.29
log
@tifb can support 32 and 24 BPP framebuffer modes; pull in corresponding raspos
support.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.28 2014/07/16 18:31:17 bouyer Exp $
d35 1
a35 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d173 4
@


1.29.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.30 2015/04/14 18:37:43 bouyer Exp $
d35 1
a35 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0], [edmabase=-1]
a172 4
device	edma
attach	edma at obio
file	arch/arm/omap/omap_edma.c		edma needs-flag

@


1.29.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.29.2.1 2015/06/06 14:39:56 skrll Exp $
a176 4
device	trng
attach	trng at obio
file	arch/arm/omap/am335x_trng.c		trng

@


1.29.2.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.29.2.2 2015/09/22 12:05:38 skrll Exp $
d62 1
a62 2
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & !ti_am335x & omapgpio
file	arch/arm/omap/am335x_gpio.c		ti_am335x & omapgpio
@


1.29.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.29.2.3 2015/12/27 12:09:31 skrll Exp $
a124 11
device	edma
attach	edma at mainbus
file	arch/arm/omap/omap_edma.c		edma needs-flag

# TI OTG controller
define  tiotg_port {[port = -1], [mode = -1]}
device	tiotg: tiotg_port
attach	tiotg at mainbus
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

d147 7
d174 4
@


1.29.2.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.29.2.4 2016/07/09 20:24:50 skrll Exp $
d62 2
a63 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d120 1
a120 1
device	gpmc { [cs=-1], [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
a136 1
attach	sdhc at mainbus with mainbussdhc
d138 1
a138 1
file	arch/arm/omap/omap3_sdhc.c		mainbussdhc | obiosdhc
@


1.28
log
@Glue in tifb and tiotg drivers.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.27 2013/06/18 15:22:37 matt Exp $
d161 1
a161 1
device	tifb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
@


1.28.2.1
log
@Pull up following revision(s) (requested by bouyer in ticket #704):
	sys/arch/arm/omap/omap_edma.c: revision 1.1
	sys/arch/arm/omap/omap_edma.h: revision 1.1
	sys/arch/arm/omap/files.omap2: revision 1.30
	sys/arch/arm/omap/omap2_obiovar.h: revision 1.3
	sys/arch/arm/omap/omap3_sdhc.c: revision 1.16
	sys/arch/arm/omap/omap2_reg.h: revision 1.29
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.31
	sys/arch/arm/omap/omap2_obio.c: revision 1.22
 - Add a driver for the Enhanced Direct Memory Access controller found
   in the AM335x SoC. Written by Jared D. McNeill, with some final debug by me.
 - Supports only DMA (not QDMA) yet, and there's no support for DMA event
   matrix yet (this means that only primary DMA events can be used)
 - Add support for DMA transfers. From Jared D. McNeill, with final debug by
   me. With this I can get nearly 20MB/s from my sdcard on the BB black at 1Ghz
   (not bad for a 50Mhz 4-bits bus), and still 15MB/s on the BB white at
   low speed (275Mhz).
 - Add the edma controller, and enable DMA for sdhc0 and sdhc1
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.28 2014/07/16 18:31:17 bouyer Exp $
d35 1
a35 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0], [edmabase=-1]
a172 4
device	edma
attach	edma at obio
file	arch/arm/omap/omap_edma.c		edma needs-flag

@


1.28.2.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #830):
	sys/arch/arm/omap/am335x_prcm.h: revision 1.9
	sys/arch/arm/omap/am335x_trngreg.h: revision 1.1
	sys/arch/arm/omap/am335x_trng.c: revision 1.1
	sys/arch/arm/omap/files.omap2: revision 1.31
	sys/arch/arm/omap/omap2_reg.h: revision 1.30
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.32
Add driver for AM335x TRNG module.
--
enable trng driver
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.28.2.1 2015/04/19 04:37:17 msaitoh Exp $
a176 4
device	trng
attach	trng at obio
file	arch/arm/omap/am335x_trng.c		trng

@


1.27
log
@Add OMAP_[2345]XXX to simply matching.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.26 2013/06/15 21:55:09 matt Exp $
d146 7
d160 5
@


1.27.6.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.28 2014/07/16 18:31:17 bouyer Exp $
a145 7
# TI OTG controller
define  tiotg_port {[port = -1], [mode = -1]}
device	tiotg: tiotg_port
attach	tiotg at obio
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

a152 5
# TI AM335x framebuffer
device	tifb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
attach	tifb at obio
file	arch/arm/omap/tifb.c			tifb

@


1.26
log
@Beginnings of OMAP5 support.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.25 2013/04/17 14:34:02 bouyer Exp $
d20 11
a30 6
defflag opt_omap.h				OMAP_2430: OMAP2
defflag opt_omap.h				OMAP_2420: OMAP2
defflag opt_omap.h				OMAP_3430: OMAP3
defflag opt_omap.h				OMAP_3530: OMAP3
defflag opt_omap.h				OMAP_4430: OMAP4
defflag opt_omap.h				OMAP_5430: OMAP4
@


1.25
log
@Glue new drivers sitaracm and tiiic
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.24 2013/01/09 04:49:05 macallan Exp $
d19 2
a20 1
defflag	opt_omap.h				OMAP_2430: OMAP2
d25 1
d141 3
@


1.25.2.1
log
@Imported omapspi(4), a driver for Multichannel SPI as found on the OMAP 2/3
from Texas Instruments.

Partly tested on the Nokia N900 (OMAP 3430).
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.25 2013/04/17 14:34:02 bouyer Exp $
a66 5
# OMAP2 SPI controllers
device	omapspi: spibus
attach	omapspi at obio with omap2_spi
file	arch/arm/omap/omap2_spi.c		(omap2 | omap3) & omapspi

@


1.24
log
@omapdma needs-flag now
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.23 2013/01/09 03:35:11 macallan Exp $
d40 6
d57 5
@


1.23
log
@omapdma* -> omap3_sdma*
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.22 2013/01/03 21:13:26 jakllsch Exp $
d138 1
a138 1
file	arch/arm/omap/omap3_sdma.c		omapdma
@


1.22
log
@Add driver for TI CPSW Ethernet on TI AM335x SoCs.

Portions of this driver are derived from FreeBSD's cpsw(4).

Developed and tested on a BeagleBone.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.21 2013/01/01 23:22:44 jmcneill Exp $
d136 4
@


1.21
log
@If EDID is supplied, parse and print it. While here, try not to crash
if is_console is false.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.20 2013/01/01 13:05:21 jmcneill Exp $
d132 4
@


1.20
log
@Add OMAP3530 temperature sensor support
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.19 2012/12/31 12:45:49 jmcneill Exp $
d128 1
a128 1
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
@


1.19
log
@Add OMAP3530 I2C support
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.18 2012/12/12 00:33:45 matt Exp $
d56 5
@


1.18
log
@Improved USB EHCI support OMAP3 variants.
From jmcneill.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.17 2012/12/11 19:21:05 riastradh Exp $
d51 5
@


1.17
log
@Hook up all the new AM335x files.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.16 2012/12/11 01:54:41 khorben Exp $
d115 2
a116 2
attach	ehci at obio with obioehci
file	arch/arm/omap/omap3_ehci.c		obioehci
@


1.16
log
@Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.

Resulting N900 kernel tested with no visible regression.

<gimpy> go for it
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.15 2012/09/05 00:19:59 matt Exp $
d51 8
d109 1
@


1.15
log
@Get USB closer to working on OMAP3 and OMAP4.
Get OMAP4430 closer to working.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.14 2012/08/29 17:48:17 matt Exp $
d21 1
@


1.15.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.15 2012/09/05 00:19:59 matt Exp $
a20 1
defflag opt_omap.h				OMAP_3430: OMAP3
a49 18
# OMAP3 I2C controllers
device	omapiic: i2cbus, i2cexec
attach	omapiic at obio with omap3_i2c
file	arch/arm/omap/omap3_i2c.c		omap3_i2c

# OMAP3 system control module
device	omapscm: sysmon_envsys
attach	omapscm at obio with omap3_scm
file	arch/arm/omap/omap3_scm.c		omap3_scm

# OMAP dual-mode timer
device	omapdmtimer
file	arch/arm/omap/omap_dmtimer.c		omapdmtimer
defparam opt_omap.h				OMAP_SYSTEM_CLOCK_FREQ

attach	omapdmtimer at obio with omap_dmtimer_obio
file	arch/arm/omap/am335x_dmtimer.c		ti_am335x & omapdmtimer

a99 1
file	arch/arm/omap/am335x_prcm.c		ti_am335x
d105 2
a106 2
attach	ehci at obio with omap3_ehci
file	arch/arm/omap/omap3_ehci.c		omap3_ehci
d108 1
a108 1
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
a111 8
device	cpsw: ether, ifnet, arp, mii, mii_phy
attach	cpsw at obio
file	arch/arm/omap/if_cpsw.c			cpsw

device 	omapdma
attach 	omapdma at obio
file	arch/arm/omap/omap3_sdma.c		omapdma needs-flag

@


1.15.2.2
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d19 5
a23 12
defflag opt_omap.h				OMAP5: OMAP4
defflag opt_omap.h				OMAP_2XXX: OMAP2
defflag opt_omap.h				OMAP_2430: OMAP_2XXX
defflag opt_omap.h				OMAP_2420: OMAP_2XXX
defflag opt_omap.h				OMAP_3XXX: OMAP3
defflag opt_omap.h				OMAP_3430: OMAP_3XXX
defflag opt_omap.h				OMAP_3530: OMAP_3XXX
defflag opt_omap.h				OMAP_4XXX: OMAP4
defflag opt_omap.h				OMAP_4430: OMAP_4XXX
defflag opt_omap.h				OMAP_4460: OMAP_4XXX
defflag opt_omap.h				OMAP_5XXX: OMAP5
defflag opt_omap.h				OMAP_5430: OMAP_5XXX
a39 6
# TI Sitara control module
device	sitaracm
attach	sitaracm at obio with sitaracm
file	arch/arm/omap/sitara_cm.c		sitaracm
file	arch/arm/omap/am335x_cm_padconf.c	ti_am335x

a50 5
# TI_AM335X (and maybe TI OMAP4) I2C controllers
device	tiiic: i2cbus, i2cexec
attach	tiiic at obio with ti_iic
file	arch/arm/omap/ti_iic.c			ti_iic

a127 3
attach	ahcisata at obio with omap5_ahcisata
file	arch/arm/omap/omap5_ahcisata.c		omap5_ahcisata

@


1.15.2.3
log
@Rebase to HEAD as of a few days ago.
@
text
@a145 7
# TI OTG controller
define  tiotg_port {[port = -1], [mode = -1]}
device	tiotg: tiotg_port
attach	tiotg at obio
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

a152 5
# TI AM335x framebuffer
device	tifb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
attach	tifb at obio
file	arch/arm/omap/tifb.c			tifb

@


1.15.2.4
log
@update from HEAD
@
text
@d35 1
a35 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0], [edmabase=-1]
d119 1
a119 1
device	gpmc { [cs=-1], [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
a123 11
device	edma
attach	edma at mainbus
file	arch/arm/omap/omap_edma.c		edma needs-flag

# TI OTG controller
define  tiotg_port {[port = -1], [mode = -1]}
device	tiotg: tiotg_port
attach	tiotg at mainbus
file	arch/arm/omap/tiotg.c			tiotg
attach  motg at tiotg_port

a124 1
attach	sdhc at mainbus with mainbussdhc
d126 1
a126 1
file	arch/arm/omap/omap3_sdhc.c		mainbussdhc | obiosdhc
d146 7
d161 1
a161 1
device	tifb: rasops32, rasops24, rasops16, rasops8, wsemuldisplaydev, vcons, edid
a172 4
device	trng
attach	trng at obio
file	arch/arm/omap/am335x_trng.c		trng

@


1.14
log
@Add some more OMAP4430 support.
Add defines needed to determine clock rates of OMAP3530/TIAM37XX and
OMAP4430.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.13 2012/08/22 22:18:21 matt Exp $
d8 1
a101 1
##attach	ohci at obio with obioohci:		omapgpio
@


1.13
log
@First pass as supporting the TI DM37XX which is used in the BeagleBoard-XM.
(compile tested but hasn't been run on an actual board).
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.12 2012/08/20 12:38:28 matt Exp $
d42 1
a42 1
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu
@


1.12
log
@Add support for the TI AM335x (beaglebone) and the OMAP4430 (pandaboard)
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.11 2012/07/12 03:30:29 matt Exp $
d23 1
@


1.11
log
@Add OMAP_4430 and OMAP4
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.10 2012/07/12 03:08:48 matt Exp $
d22 1
@


1.10
log
@Add omap3 ehci and sdhc attachments
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.9 2012/06/06 20:21:45 skrll Exp $
d17 1
d21 1
@


1.9
log
@Provide generic a[24]x bus_space methods (aNx is normal access, offset
multipled by N).

Use the generic method and delete the other versions.

Discussed with matt@@
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8 2011/03/11 03:16:13 bsh Exp $
d82 4
d101 3
@


1.8
log
@split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.7 2011/02/26 18:07:18 ahoka Exp $
d30 1
a30 1
file	arch/arm/omap/omap_a2x_io.S		obio
d32 1
a32 1
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio
@


1.8.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8 2011/03/11 03:16:13 bsh Exp $
a7 1
include "arch/arm/cortex/files.cortex"
a16 1
defflag opt_omap.h				OMAP4: OMAP3
a19 3
defflag opt_omap.h				OMAP_4430: OMAP4
defflag opt_omap.h				TI_AM335X: OMAP3
defflag opt_omap.h				TI_DM37XX: OMAP3
d30 1
a30 1
file	arch/arm/arm/bus_space_a2x.S		obio
d32 1
a32 1
file	arch/arm/arm/bus_space_a4x.S		obio
d38 1
a38 1
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu & !omap4
a81 4
# SDMMC controller
attach	sdhc at obio with obiosdhc
file	arch/arm/omap/omap3_sdhc.c		obiosdhc

d93 1
a96 3
attach	ehci at obio with obioehci
file	arch/arm/omap/omap3_ehci.c		obioehci

@


1.8.4.2
log
@sync with (a bit old) head
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8.4.1 2012/10/30 17:19:07 yamt Exp $
a20 1
defflag opt_omap.h				OMAP_3430: OMAP3
a49 8
# OMAP dual-mode timer
device	omapdmtimer
file	arch/arm/omap/omap_dmtimer.c		omapdmtimer
defparam opt_omap.h				OMAP_SYSTEM_CLOCK_FREQ

attach	omapdmtimer at obio with omap_dmtimer_obio
file	arch/arm/omap/am335x_dmtimer.c		ti_am335x & omapdmtimer

a99 1
file	arch/arm/omap/am335x_prcm.c		ti_am335x
d105 2
a106 2
attach	ehci at obio with omap3_ehci
file	arch/arm/omap/omap3_ehci.c		omap3_ehci
@


1.8.4.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8.4.2 2013/01/16 05:32:49 yamt Exp $
a50 10
# OMAP3 I2C controllers
device	omapiic: i2cbus, i2cexec
attach	omapiic at obio with omap3_i2c
file	arch/arm/omap/omap3_i2c.c		omap3_i2c

# OMAP3 system control module
device	omapscm: sysmon_envsys
attach	omapscm at obio with omap3_scm
file	arch/arm/omap/omap3_scm.c		omap3_scm

d118 1
a118 1
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
a121 8
device	cpsw: ether, ifnet, arp, mii, mii_phy
attach	cpsw at obio
file	arch/arm/omap/if_cpsw.c			cpsw

device 	omapdma
attach 	omapdma at obio
file	arch/arm/omap/omap3_sdma.c		omapdma needs-flag

@


1.8.4.4
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.omap2,v 1.8.4.3 2013/01/23 00:05:42 yamt Exp $
d19 5
a23 12
defflag opt_omap.h				OMAP5: OMAP4
defflag opt_omap.h				OMAP_2XXX: OMAP2
defflag opt_omap.h				OMAP_2430: OMAP_2XXX
defflag opt_omap.h				OMAP_2420: OMAP_2XXX
defflag opt_omap.h				OMAP_3XXX: OMAP3
defflag opt_omap.h				OMAP_3430: OMAP_3XXX
defflag opt_omap.h				OMAP_3530: OMAP_3XXX
defflag opt_omap.h				OMAP_4XXX: OMAP4
defflag opt_omap.h				OMAP_4430: OMAP_4XXX
defflag opt_omap.h				OMAP_4460: OMAP_4XXX
defflag opt_omap.h				OMAP_5XXX: OMAP5
defflag opt_omap.h				OMAP_5430: OMAP_5XXX
a39 6
# TI Sitara control module
device	sitaracm
attach	sitaracm at obio with sitaracm
file	arch/arm/omap/sitara_cm.c		sitaracm
file	arch/arm/omap/am335x_cm_padconf.c	ti_am335x

a50 5
# TI_AM335X (and maybe TI OMAP4) I2C controllers
device	tiiic: i2cbus, i2cexec
attach	tiiic at obio with ti_iic
file	arch/arm/omap/ti_iic.c			ti_iic

a127 3
attach	ahcisata at obio with omap5_ahcisata
file	arch/arm/omap/omap5_ahcisata.c		omap5_ahcisata

@


1.8.10.1
log
@Pull up revisions:
  src/sys/arch/arm/arm/bus_space_a2x.S revision 1.1
  src/sys/arch/arm/arm/bus_space_a4x.S revision 1.1
  src/sys/arch/arm/gemini/files.gemini revision 1.12
  src/sys/arch/arm/mpcore/files.mpcore revision 1.2
  src/sys/arch/arm/mpcore/mpcore_a2x_io.S delete
  src/sys/arch/arm/mpcore/mpcore_a4x_io.S delete
  src/sys/arch/arm/omap/files.omap revision 1.6
  src/sys/arch/arm/omap/files.omap2 revision 1.9
  src/sys/arch/arm/omap/omap_a2x_io.S delete
  src/sys/arch/arm/xscale/files.pxa2x0 revision 1.18
  src/sys/arch/arm/xscale/pxa2x0_a4x_io.S delete
(requested by skrll to fix ticket #454).

Provide generic a[24]x bus_space methods (aNx is normal access, offset
multipled by N).

Use the generic method and delete the other versions.

Discussed with matt@@
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8 2011/03/11 03:16:13 bsh Exp $
d30 1
a30 1
file	arch/arm/arm/bus_space_a2x.S		obio
d32 1
a32 1
file	arch/arm/arm/bus_space_a4x.S		obio
@


1.8.10.1.2.1
log
@Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.15 2012/09/05 00:19:59 matt Exp $
a7 1
include "arch/arm/cortex/files.cortex"
a16 1
defflag opt_omap.h				OMAP4: OMAP3
a19 3
defflag opt_omap.h				OMAP_4430: OMAP4
defflag opt_omap.h				TI_AM335X: OMAP3
defflag opt_omap.h				TI_DM37XX: OMAP3
d38 1
a38 1
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu & !omap4
a81 4
# SDMMC controller
attach	sdhc at obio with obiosdhc
file	arch/arm/omap/omap3_sdhc.c		obiosdhc

d93 1
a96 3
attach	ehci at obio with obioehci
file	arch/arm/omap/omap3_ehci.c		obioehci

@


1.7
log
@Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.6 2010/09/01 06:23:59 kiyohara Exp $
d35 1
a35 1
device	omapicu: pic
@


1.6
log
@Indent.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.5 2010/08/28 13:02:32 ahoka Exp $
d82 5
@


1.6.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.8 2011/03/11 03:16:13 bsh Exp $
d35 1
a35 1
device	omapicu: pic, pic_splfuncs
a81 5
# NAND flash controller
device	omapnand: nandbus
attach	omapnand at gpmc
file	arch/arm/omap/omap2_nand.c		omapnand

@


1.6.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a81 5
# NAND flash controller
device	omapnand: nandbus
attach	omapnand at gpmc
file	arch/arm/omap/omap2_nand.c		omapnand

@


1.5
log
@Add basic support for PRCM in omap devices, and use it to cold reset
the cpu in cpu_reboot();

Note: the driver only supports the cold reset action at the moment.

Enable it in BEAGLEBOARD
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.4 2010/07/07 22:53:44 macallan Exp $
d22 1
a22 1
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d24 1
a24 1
attach obio at mainbus
d62 2
a63 2
device omapwdt32k: sysmon_wdog
file arch/arm/omap/omap_wdt.c			omapwdt32k needs-flag
d65 2
a66 2
attach omapwdt32k at obio with obiowdt32k
file arch/arm/omap/obio_wdt.c			obiowdt32k
d69 3
a71 3
device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach L3i at mainbus
d77 3
a79 3
device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach gpmc at mainbus
d92 2
a93 2
device omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach omapfb at obio
@


1.4
log
@bus_dma, straight from arm32. Will probably need adjustments.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.3 2008/08/27 11:03:10 matt Exp $
d82 5
@


1.3
log
@Cleanup OMAP2 files.  Change most omap2430* to omap2_*.  This is in
preperation for the OMAP 3530 (OMAP 3) support.  Some 3530 definitions
added.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.2 2008/04/27 18:58:45 matt Exp $
d10 1
d87 3
@


1.3.16.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a9 1
file	arch/arm/omap/omap_dma.c
d21 1
a21 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d23 1
a23 1
attach	obio at mainbus
d61 2
a62 2
device	omapwdt32k: sysmon_wdog
file	arch/arm/omap/omap_wdt.c		omapwdt32k needs-flag
d64 2
a65 2
attach	omapwdt32k at obio with obiowdt32k
file	arch/arm/omap/obio_wdt.c		obiowdt32k
d68 3
a70 3
device	L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	L3i at mainbus
d76 3
a78 3
device	gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	gpmc at mainbus
a80 10
# NAND flash controller
device	omapnand: nandbus
attach	omapnand at gpmc
file	arch/arm/omap/omap2_nand.c		omapnand

# PRCM interface
device	prcm
attach	prcm at obio
file	arch/arm/omap/omap2_prcm.c		prcm needs-flag

a85 3
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach	omapfb at obio
file	arch/arm/omap/omapfb.c			omapfb
@


1.3.16.2
log
@sync with head
@
text
@d35 1
a35 1
device	omapicu: pic, pic_splfuncs
@


1.3.14.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a9 1
file	arch/arm/omap/omap_dma.c
a85 3
device omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach omapfb at obio
file	arch/arm/omap/omapfb.c			omapfb
@


1.3.14.2
log
@Sync with HEAD (-D20101022).
@
text
@d22 1
a22 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d24 1
a24 1
attach	obio at mainbus
d62 2
a63 2
device	omapwdt32k: sysmon_wdog
file	arch/arm/omap/omap_wdt.c		omapwdt32k needs-flag
d65 2
a66 2
attach	omapwdt32k at obio with obiowdt32k
file	arch/arm/omap/obio_wdt.c		obiowdt32k
d69 3
a71 3
device	L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	L3i at mainbus
d77 3
a79 3
device	gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	gpmc at mainbus
a81 5
# PRCM interface
device	prcm
attach	prcm at obio
file	arch/arm/omap/omap2_prcm.c		prcm needs-flag

d87 2
a88 2
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach	omapfb at obio
@


1.2
log
@Merge kernel changes in matt-armv6 to HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
# Configuration info for Texas Instruments OMAP2 CPU support
d15 1
d18 1
d36 1
a36 1
file	arch/arm/omap/omap2_icu.c		omap2 & omapicu
d42 1
a42 1
file	arch/arm/omap/omap2_gpio.c		omap2 & omapgpio
d45 2
a46 2
device	omap2430mputmr
file	arch/arm/omap/omap2430_mputmr.c		omap2430mputmr
d50 1
a50 1
attach 	omap2430mputmr at obio with obiomputmr
d71 1
a71 1
file	arch/arm/omap/omap2_l3i.c		omap2
@


1.2.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.3 2008/08/27 11:03:10 matt Exp $
d3 1
a3 1
# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
a14 1
defflag opt_omap.h				OMAP3: OMAP2
a16 1
defflag opt_omap.h				OMAP_3530: OMAP3
d34 1
a34 1
file	arch/arm/omap/omap2_icu.c		(omap2 | omap3) & omapicu
d40 1
a40 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d43 2
a44 2
device	omapmputmr
file	arch/arm/omap/omap2_mputmr.c		omapmputmr
d48 1
a48 1
attach 	omapmputmr at obio with obiomputmr
d69 1
a69 1
file	arch/arm/omap/omap2_l3i.c		omap2 | omap3
@


1.2.2.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.2 2008/04/27 18:58:45 matt Exp $
d3 1
a3 1
# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
a14 1
defflag opt_omap.h				OMAP3: OMAP2
a16 1
defflag opt_omap.h				OMAP_3530: OMAP3
d34 1
a34 1
file	arch/arm/omap/omap2_icu.c		(omap2 | omap3) & omapicu
d40 1
a40 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d43 2
a44 2
device	omapmputmr
file	arch/arm/omap/omap2_mputmr.c		omapmputmr
d48 1
a48 1
attach 	omapmputmr at obio with obiomputmr
d69 1
a69 1
file	arch/arm/omap/omap2_l3i.c		omap2 | omap3
@


1.1
log
@file files.omap2 was initially added on branch matt-armv6.
@
text
@d1 88
@


1.1.18.1
log
@Sync with HEAD.
@
text
@a0 88
#	$NetBSD$
#
# Configuration info for Texas Instruments OMAP2 CPU support
# Based on xscale/files.pxa2x0
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_omap.h				MEMSIZE
defparam opt_omap.h				OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
defflag opt_omap.h				OMAP2
defflag	opt_omap.h				OMAP_2430: OMAP2
defflag opt_omap.h				OMAP_2420: OMAP2

# OBIO just an attach point
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
attach obio at mainbus
file	arch/arm/omap/omap2_obio.c		obio needs-count

# OBIO files
file	arch/arm/omap/omap_space.c		obio
file	arch/arm/omap/omap_a2x_space.c		obio
file	arch/arm/omap/omap_a2x_io.S		obio
file	arch/arm/omap/omap_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio

# OMAP2 interrupt controller
device	omapicu: pic
attach	omapicu at obio with omap2icu
file	arch/arm/omap/omap2_icu.c		omap2 & omapicu
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu

# OMAP2 GPIO controllers
device	omapgpio: gpiobus
attach	omapgpio at obio with omap2gpio
file	arch/arm/omap/omap2_gpio.c		omap2 & omapgpio

# OMAP 2430 General Purpose Timer
device	omap2430mputmr
file	arch/arm/omap/omap2430_mputmr.c		omap2430mputmr
defparam opt_omap.h				OMAP_GP_TIMER_CLOCK_FREQ

# OBIO/2430 GP Timer
attach 	omap2430mputmr at obio with obiomputmr
file	arch/arm/omap/obio_mputmr.c		obiomputmr

# Dual Mode (General Purpose) Timer
device 	omapgptmr
attach 	omapgptmr at obio
file	arch/arm/omap/omap2_gptmr.c		omapgptmr
#file	arch/arm/omap/omap_pwm.c		omapgptmr

# Watchdog timers

device omapwdt32k: sysmon_wdog
file arch/arm/omap/omap_wdt.c			omapwdt32k needs-flag

attach omapwdt32k at obio with obiowdt32k
file arch/arm/omap/obio_wdt.c			obiowdt32k

# L3 Interconnect
device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach L3i at mainbus
file	arch/arm/omap/omap2_l3i.c		omap2

# General Purpose Memory Controller
# XXX some addl. chip select config parms may be desired here (e.g. timing)
# XXX so far we just use the setup established by boot firmware
device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach gpmc at mainbus
file	arch/arm/omap/omap2_gpmc.c		gpmc

# OHCI USB controller
##attach	ohci at obio with obioohci:		omapgpio
attach	ohci at obio with obioohci
file	arch/arm/omap/obio_ohci.c		obioohci


# these bus space methods are not bus-specific ...
#
file	arch/arm/omap/omap_nobyteacc_space.c	emifs | gpmc
file	arch/arm/omap/omap_nobyteacc_io.S	emifs | gpmc
@


1.1.18.2
log
@Sync with HEAD.
@
text
@d3 1
a3 1
# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
a14 1
defflag opt_omap.h				OMAP3: OMAP2
a16 1
defflag opt_omap.h				OMAP_3530: OMAP3
d34 1
a34 1
file	arch/arm/omap/omap2_icu.c		(omap2 | omap3) & omapicu
d40 1
a40 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d43 2
a44 2
device	omapmputmr
file	arch/arm/omap/omap2_mputmr.c		omapmputmr
d48 1
a48 1
attach 	omapmputmr at obio with obiomputmr
d69 1
a69 1
file	arch/arm/omap/omap2_l3i.c		omap2 | omap3
@


1.1.20.1
log
@sync with head.
@
text
@a0 88
#	$NetBSD$
#
# Configuration info for Texas Instruments OMAP2 CPU support
# Based on xscale/files.pxa2x0
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_omap.h				MEMSIZE
defparam opt_omap.h				OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
defflag opt_omap.h				OMAP2
defflag	opt_omap.h				OMAP_2430: OMAP2
defflag opt_omap.h				OMAP_2420: OMAP2

# OBIO just an attach point
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
attach obio at mainbus
file	arch/arm/omap/omap2_obio.c		obio needs-count

# OBIO files
file	arch/arm/omap/omap_space.c		obio
file	arch/arm/omap/omap_a2x_space.c		obio
file	arch/arm/omap/omap_a2x_io.S		obio
file	arch/arm/omap/omap_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio

# OMAP2 interrupt controller
device	omapicu: pic
attach	omapicu at obio with omap2icu
file	arch/arm/omap/omap2_icu.c		omap2 & omapicu
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu

# OMAP2 GPIO controllers
device	omapgpio: gpiobus
attach	omapgpio at obio with omap2gpio
file	arch/arm/omap/omap2_gpio.c		omap2 & omapgpio

# OMAP 2430 General Purpose Timer
device	omap2430mputmr
file	arch/arm/omap/omap2430_mputmr.c		omap2430mputmr
defparam opt_omap.h				OMAP_GP_TIMER_CLOCK_FREQ

# OBIO/2430 GP Timer
attach 	omap2430mputmr at obio with obiomputmr
file	arch/arm/omap/obio_mputmr.c		obiomputmr

# Dual Mode (General Purpose) Timer
device 	omapgptmr
attach 	omapgptmr at obio
file	arch/arm/omap/omap2_gptmr.c		omapgptmr
#file	arch/arm/omap/omap_pwm.c		omapgptmr

# Watchdog timers

device omapwdt32k: sysmon_wdog
file arch/arm/omap/omap_wdt.c			omapwdt32k needs-flag

attach omapwdt32k at obio with obiowdt32k
file arch/arm/omap/obio_wdt.c			obiowdt32k

# L3 Interconnect
device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach L3i at mainbus
file	arch/arm/omap/omap2_l3i.c		omap2

# General Purpose Memory Controller
# XXX some addl. chip select config parms may be desired here (e.g. timing)
# XXX so far we just use the setup established by boot firmware
device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach gpmc at mainbus
file	arch/arm/omap/omap2_gpmc.c		gpmc

# OHCI USB controller
##attach	ohci at obio with obioohci:		omapgpio
attach	ohci at obio with obioohci
file	arch/arm/omap/obio_ohci.c		obioohci


# these bus space methods are not bus-specific ...
#
file	arch/arm/omap/omap_nobyteacc_space.c	emifs | gpmc
file	arch/arm/omap/omap_nobyteacc_io.S	emifs | gpmc
@


1.1.22.1
log
@sync with head.
@
text
@a0 88
#	$NetBSD$
#
# Configuration info for Texas Instruments OMAP2 CPU support
# Based on xscale/files.pxa2x0
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_omap.h				MEMSIZE
defparam opt_omap.h				OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
defflag opt_omap.h				OMAP2
defflag	opt_omap.h				OMAP_2430: OMAP2
defflag opt_omap.h				OMAP_2420: OMAP2

# OBIO just an attach point
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
attach obio at mainbus
file	arch/arm/omap/omap2_obio.c		obio needs-count

# OBIO files
file	arch/arm/omap/omap_space.c		obio
file	arch/arm/omap/omap_a2x_space.c		obio
file	arch/arm/omap/omap_a2x_io.S		obio
file	arch/arm/omap/omap_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio

# OMAP2 interrupt controller
device	omapicu: pic
attach	omapicu at obio with omap2icu
file	arch/arm/omap/omap2_icu.c		omap2 & omapicu
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu

# OMAP2 GPIO controllers
device	omapgpio: gpiobus
attach	omapgpio at obio with omap2gpio
file	arch/arm/omap/omap2_gpio.c		omap2 & omapgpio

# OMAP 2430 General Purpose Timer
device	omap2430mputmr
file	arch/arm/omap/omap2430_mputmr.c		omap2430mputmr
defparam opt_omap.h				OMAP_GP_TIMER_CLOCK_FREQ

# OBIO/2430 GP Timer
attach 	omap2430mputmr at obio with obiomputmr
file	arch/arm/omap/obio_mputmr.c		obiomputmr

# Dual Mode (General Purpose) Timer
device 	omapgptmr
attach 	omapgptmr at obio
file	arch/arm/omap/omap2_gptmr.c		omapgptmr
#file	arch/arm/omap/omap_pwm.c		omapgptmr

# Watchdog timers

device omapwdt32k: sysmon_wdog
file arch/arm/omap/omap_wdt.c			omapwdt32k needs-flag

attach omapwdt32k at obio with obiowdt32k
file arch/arm/omap/obio_wdt.c			obiowdt32k

# L3 Interconnect
device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach L3i at mainbus
file	arch/arm/omap/omap2_l3i.c		omap2

# General Purpose Memory Controller
# XXX some addl. chip select config parms may be desired here (e.g. timing)
# XXX so far we just use the setup established by boot firmware
device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach gpmc at mainbus
file	arch/arm/omap/omap2_gpmc.c		gpmc

# OHCI USB controller
##attach	ohci at obio with obioohci:		omapgpio
attach	ohci at obio with obioohci
file	arch/arm/omap/obio_ohci.c		obioohci


# these bus space methods are not bus-specific ...
#
file	arch/arm/omap/omap_nobyteacc_space.c	emifs | gpmc
file	arch/arm/omap/omap_nobyteacc_io.S	emifs | gpmc
@


1.1.22.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.22.1 2008/05/16 02:22:01 yamt Exp $
d3 1
a3 1
# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
a14 1
defflag opt_omap.h				OMAP3: OMAP2
a16 1
defflag opt_omap.h				OMAP_3530: OMAP3
d34 1
a34 1
file	arch/arm/omap/omap2_icu.c		(omap2 | omap3) & omapicu
d40 1
a40 1
file	arch/arm/omap/omap2_gpio.c		(omap2 | omap3) & omapgpio
d43 2
a44 2
device	omapmputmr
file	arch/arm/omap/omap2_mputmr.c		omapmputmr
d48 1
a48 1
attach 	omapmputmr at obio with obiomputmr
d69 1
a69 1
file	arch/arm/omap/omap2_l3i.c		omap2 | omap3
@


1.1.22.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.22.2 2009/05/04 08:10:43 yamt Exp $
a9 1
file	arch/arm/omap/omap_dma.c
a85 3
device omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach omapfb at obio
file	arch/arm/omap/omapfb.c			omapfb
@


1.1.22.4
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.22.3 2010/08/11 22:51:42 yamt Exp $
d22 1
a22 1
device	obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d24 1
a24 1
attach	obio at mainbus
d62 2
a63 2
device	omapwdt32k: sysmon_wdog
file	arch/arm/omap/omap_wdt.c		omapwdt32k needs-flag
d65 2
a66 2
attach	omapwdt32k at obio with obiowdt32k
file	arch/arm/omap/obio_wdt.c		obiowdt32k
d69 3
a71 3
device	L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	L3i at mainbus
d77 3
a79 3
device	gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	      } : bus_space_generic
attach	gpmc at mainbus
a81 5
# PRCM interface
device	prcm
attach	prcm at obio
file	arch/arm/omap/omap2_prcm.c		prcm needs-flag

d87 2
a88 2
device	omapfb: rasops16, rasops8, wsemuldisplaydev, vcons
attach	omapfb at obio
@


1.1.2.1
log
@Import TI OMAP 2430 and ARM11/ARMv6 support.  Now on ARMv6, the cache is
no longer purged on context switches.
@
text
@a0 77
#	$NetBSD: files.omap,v 1.4.6.4 2007/02/21 18:41:50 snj Exp $
#
# Configuration info for Texas Instruments OMAP2 CPU support
# Based on xscale/files.pxa2x0
#

file	arch/arm/arm/softintr.c  # Use the generic ARM soft interrupt code.
file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_omap.h				MEMSIZE
defparam opt_omap.h				OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
defflag opt_omap.h				OMAP_2430 OMAP_2420

# OBIO just an attach point
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach obio at mainbus
file	arch/arm/omap/omap2_obio.c		obio needs-count

# OBIO files
file	arch/arm/omap/omap_space.c		obio
file	arch/arm/omap/omap_a2x_space.c		obio
file	arch/arm/omap/omap_a2x_io.S		obio
file	arch/arm/omap/omap_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio

# INTC controller
file	arch/arm/omap/omap2430_intr.c		omap_2430

# OMAP 2430 General Purpose Timer
device omap2430mputmr
file	arch/arm/omap/omap2430_mputmr.c		omap2430mputmr
defparam opt_omap.h				OMAP_GP_TIMER_CLOCK_FREQ

# OBIO/2430 GP Timer
attach omap2430mputmr at obio with obiomputmr
file	arch/arm/omap/obio_mputmr.c		obiomputmr

# Dual Mode (General Purpose) Timer
device omapgptmr
attach omapgptmr at obio
file	arch/arm/omap/omap2_gptmr.c		omapgptmr
#file	arch/arm/omap/omap_pwm.c		omapgptmr

# Watchdog timers

device omapwdt32k: sysmon_wdog
file arch/arm/omap/omap_wdt.c			omapwdt32k needs-flag

attach omapwdt32k at obio with obiowdt32k
file arch/arm/omap/obio_wdt.c			obiowdt32k

# L3 Interconnect
device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach L3i at mainbus
file	arch/arm/omap/omap2_l3i.c		omap_2430

# General Purpose Memory Controller
# XXX some addl. chip select config parms may be desired here (e.g. timing)
# XXX so far we just use the setup established by boot firmware
device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
	     } : bus_space_generic
attach gpmc at mainbus
file	arch/arm/omap/omap2_gpmc.c		gpmc

# OHCI USB controller
##attach	ohci at obio with obioohci:		omapgpio
attach	ohci at obio with obioohci
file	arch/arm/omap/obio_ohci.c		obioohci


# these bus space methods are not bus-specific ...
#
file	arch/arm/omap/omap_nobyteacc_space.c	emifs | gpmc
file	arch/arm/omap/omap_nobyteacc_io.S	emifs | gpmc
@


1.1.2.2
log
@Define OMAP2 and make OMAP_24[23] generate it.  Use that instead of testing
for OMAP_2430 explicitly.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.2.1 2007/10/12 02:22:24 matt Exp $
d13 1
a13 3
defflag opt_omap.h				OMAP2
defflag	opt_omap.h				OMAP_2430: OMAP2
defflag opt_omap.h				OMAP_2420: OMAP2
d16 1
a16 1
device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
d29 1
a29 1
file	arch/arm/omap/omap2430_intr.c		omap2
d58 1
a58 1
file	arch/arm/omap/omap2_l3i.c		omap2
@


1.1.2.3
log
@Use device_t/cfdata_t
Use OMAP2_CM and add 2420 OMAP2_CM_BASE
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.2.2 2007/11/04 21:58:06 matt Exp $
d34 1
a34 1
device	omap2430mputmr
d39 1
a39 1
attach 	omap2430mputmr at obio with obiomputmr
d43 2
a44 2
device 	omapgptmr
attach 	omapgptmr at obio
@


1.1.2.4
log
@Add pic for omap2.  Switch to standard MI intr_* calls.
@
text
@d1 1
a1 1
#	$NetBSD: files.omap2,v 1.1.2.3 2007/11/05 22:01:55 matt Exp $
d7 1
a7 3
include "arch/arm/pic/files.pic"

file	arch/arm/arm/softintr.c			!pic
d30 2
a31 10
# OMAP2 interrupt controller
device	omapicu: pic
attach	omapicu at obio with omap2icu
file	arch/arm/omap/omap2_icu.c		omap2 & omapicu
file	arch/arm/omap/omap2430_intr.c		omap2 & !omapicu

# OMAP2 GPIO controllers
device	omapgpio: gpiobus
attach	omapgpio at obio with omap2gpio
file	arch/arm/omap/omap2_gpio.c		omap2 & omapgpio
@


1.1.2.5
log
@Given the that there are only 4 IPLs (ignoring soft IPLs), a number of
cleanups can be done:
Remove _SPL_* aliases.
Don't store irqmasks in ci_cpl, just make it an ipl level.
Add fast softint switching support.
@
text
@d1 1
a1 1
#	files.omap2,v 1.1.2.4 2008/01/08 07:16:27 matt Exp
d9 1
@


