head	1.186;
access;
symbols
	netbsd-11-0-RC4:1.182.2.2
	netbsd-11-0-RC3:1.182.2.2
	netbsd-11-0-RC2:1.182.2.2
	netbsd-11-0-RC1:1.182.2.2
	perseant-exfatfs-base-20250801:1.182
	netbsd-11:1.182.0.2
	netbsd-11-base:1.182
	netbsd-10-1-RELEASE:1.178
	perseant-exfatfs-base-20240630:1.179
	perseant-exfatfs:1.179.0.6
	perseant-exfatfs-base:1.179
	netbsd-8-3-RELEASE:1.145.2.1
	netbsd-9-4-RELEASE:1.156.2.2
	netbsd-10-0-RELEASE:1.178
	netbsd-10-0-RC6:1.178
	netbsd-10-0-RC5:1.178
	netbsd-10-0-RC4:1.178
	netbsd-10-0-RC3:1.178
	netbsd-10-0-RC2:1.178
	thorpej-ifq:1.179.0.4
	thorpej-ifq-base:1.179
	thorpej-altq-separation:1.179.0.2
	thorpej-altq-separation-base:1.179
	netbsd-10-0-RC1:1.178
	netbsd-10:1.178.0.4
	netbsd-10-base:1.178
	bouyer-sunxi-drm:1.178.0.2
	bouyer-sunxi-drm-base:1.178
	netbsd-9-3-RELEASE:1.156.2.2
	thorpej-i2c-spi-conf2:1.177.0.6
	thorpej-i2c-spi-conf2-base:1.177
	thorpej-futex2:1.177.0.4
	thorpej-futex2-base:1.177
	thorpej-cfargs2:1.177.0.2
	thorpej-cfargs2-base:1.177
	cjep_sun2x-base1:1.176
	cjep_sun2x:1.176.0.10
	cjep_sun2x-base:1.176
	cjep_staticlib_x-base1:1.176
	netbsd-9-2-RELEASE:1.156.2.2
	cjep_staticlib_x:1.176.0.8
	cjep_staticlib_x-base:1.176
	thorpej-i2c-spi-conf:1.176.0.6
	thorpej-i2c-spi-conf-base:1.177
	thorpej-cfargs:1.176.0.4
	thorpej-cfargs-base:1.176
	thorpej-futex:1.176.0.2
	thorpej-futex-base:1.176
	netbsd-9-1-RELEASE:1.156.2.2
	bouyer-xenpvh-base2:1.174
	phil-wifi-20200421:1.174
	bouyer-xenpvh-base1:1.174
	phil-wifi-20200411:1.172
	bouyer-xenpvh:1.172.0.4
	bouyer-xenpvh-base:1.172
	is-mlppp:1.172.0.2
	is-mlppp-base:1.172
	phil-wifi-20200406:1.172
	netbsd-8-2-RELEASE:1.145.2.1
	ad-namecache-base3:1.172
	netbsd-9-0-RELEASE:1.156.2.1
	netbsd-9-0-RC2:1.156.2.1
	ad-namecache-base2:1.169
	ad-namecache-base1:1.169
	ad-namecache:1.168.0.2
	ad-namecache-base:1.168
	netbsd-9-0-RC1:1.156.2.1
	phil-wifi-20191119:1.168
	netbsd-9:1.156.0.2
	netbsd-9-base:1.156
	phil-wifi-20190609:1.156
	netbsd-8-1-RELEASE:1.145.2.1
	netbsd-8-1-RC1:1.145.2.1
	isaki-audio2:1.154.0.2
	isaki-audio2-base:1.154
	pgoyette-compat-merge-20190127:1.150.2.4
	pgoyette-compat-20190127:1.153
	pgoyette-compat-20190118:1.153
	pgoyette-compat-1226:1.153
	pgoyette-compat-1126:1.153
	pgoyette-compat-1020:1.152
	pgoyette-compat-0930:1.152
	pgoyette-compat-0906:1.152
	jdolecek-ncqfixes:1.152.0.2
	jdolecek-ncqfixes-base:1.152
	netbsd-7-2-RELEASE:1.132.2.3
	pgoyette-compat-0728:1.150
	netbsd-8-0-RELEASE:1.145
	phil-wifi:1.150.0.4
	phil-wifi-base:1.150
	pgoyette-compat-0625:1.150
	netbsd-8-0-RC2:1.145
	pgoyette-compat-0521:1.150
	pgoyette-compat-0502:1.150
	pgoyette-compat-0422:1.150
	netbsd-8-0-RC1:1.145
	pgoyette-compat-0415:1.150
	pgoyette-compat-0407:1.150
	pgoyette-compat-0330:1.150
	pgoyette-compat-0322:1.150
	pgoyette-compat-0315:1.150
	netbsd-7-1-2-RELEASE:1.132.2.1
	pgoyette-compat:1.150.0.2
	pgoyette-compat-base:1.150
	netbsd-7-1-1-RELEASE:1.132.2.1
	tls-maxphys-base-20171202:1.147
	matt-nb8-mediatek:1.145.0.6
	matt-nb8-mediatek-base:1.145
	nick-nhusb-base-20170825:1.145
	perseant-stdc-iso10646:1.145.0.4
	perseant-stdc-iso10646-base:1.145
	netbsd-8:1.145.0.2
	netbsd-8-base:1.145
	prg-localcount2-base3:1.143
	prg-localcount2-base2:1.143
	prg-localcount2-base1:1.143
	prg-localcount2:1.143.0.2
	prg-localcount2-base:1.143
	pgoyette-localcount-20170426:1.143
	bouyer-socketcan-base1:1.143
	jdolecek-ncq:1.142.0.4
	jdolecek-ncq-base:1.142
	pgoyette-localcount-20170320:1.142
	netbsd-7-1:1.132.2.1.0.6
	netbsd-7-1-RELEASE:1.132.2.1
	netbsd-7-1-RC2:1.132.2.1
	nick-nhusb-base-20170204:1.142
	netbsd-7-nhusb-base-20170116:1.132.2.1
	bouyer-socketcan:1.142.0.2
	bouyer-socketcan-base:1.142
	pgoyette-localcount-20170107:1.142
	netbsd-7-1-RC1:1.132.2.1
	nick-nhusb-base-20161204:1.142
	pgoyette-localcount-20161104:1.141
	netbsd-7-0-2-RELEASE:1.132.2.1
	nick-nhusb-base-20161004:1.141
	localcount-20160914:1.141
	netbsd-7-nhusb:1.132.2.1.0.4
	netbsd-7-nhusb-base:1.132.2.1
	pgoyette-localcount-20160806:1.141
	pgoyette-localcount-20160726:1.141
	pgoyette-localcount:1.141.0.2
	pgoyette-localcount-base:1.141
	nick-nhusb-base-20160907:1.141
	nick-nhusb-base-20160529:1.139
	netbsd-7-0-1-RELEASE:1.132.2.1
	nick-nhusb-base-20160422:1.137
	nick-nhusb-base-20160319:1.137
	nick-nhusb-base-20151226:1.137
	netbsd-7-0:1.132.2.1.0.2
	netbsd-7-0-RELEASE:1.132.2.1
	nick-nhusb-base-20150921:1.135
	netbsd-7-0-RC3:1.132.2.1
	netbsd-7-0-RC2:1.132.2.1
	netbsd-7-0-RC1:1.132.2.1
	nick-nhusb-base-20150606:1.135
	nick-nhusb-base-20150406:1.135
	nick-nhusb:1.135.0.2
	nick-nhusb-base:1.135
	netbsd-5-2-3-RELEASE:1.90.4.1
	netbsd-5-1-5-RELEASE:1.90
	netbsd-6-0-6-RELEASE:1.120.2.2
	netbsd-6-1-5-RELEASE:1.120.2.3
	netbsd-7:1.132.0.2
	netbsd-7-base:1.132
	yamt-pagecache-base9:1.132
	yamt-pagecache-tag8:1.115.2.4
	netbsd-6-1-4-RELEASE:1.120.2.3
	netbsd-6-0-5-RELEASE:1.120.2.2
	tls-earlyentropy:1.131.0.2
	tls-earlyentropy-base:1.132
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.131
	riastradh-drm2-base3:1.131
	netbsd-6-1-3-RELEASE:1.120.2.3
	netbsd-6-0-4-RELEASE:1.120.2.2
	netbsd-5-2-2-RELEASE:1.90.4.1
	netbsd-5-1-4-RELEASE:1.90
	netbsd-6-1-2-RELEASE:1.120.2.3
	netbsd-6-0-3-RELEASE:1.120.2.2
	netbsd-5-2-1-RELEASE:1.90.4.1
	netbsd-5-1-3-RELEASE:1.90
	rmind-smpnet-nbase:1.132
	netbsd-6-1-1-RELEASE:1.120.2.3
	riastradh-drm2-base2:1.129
	riastradh-drm2-base1:1.129
	riastradh-drm2:1.129.0.4
	riastradh-drm2-base:1.129
	rmind-smpnet:1.129.0.2
	rmind-smpnet-base:1.132
	netbsd-6-1:1.120.2.3.0.2
	netbsd-6-0-2-RELEASE:1.120.2.2
	netbsd-6-1-RELEASE:1.120.2.3
	khorben-n900:1.128.0.2
	netbsd-6-1-RC4:1.120.2.3
	netbsd-6-1-RC3:1.120.2.3
	agc-symver:1.127.0.4
	agc-symver-base:1.127
	netbsd-6-1-RC2:1.120.2.3
	netbsd-6-1-RC1:1.120.2.3
	yamt-pagecache-base8:1.127
	netbsd-5-2:1.90.4.1.0.2
	netbsd-6-0-1-RELEASE:1.120.2.2
	yamt-pagecache-base7:1.125
	netbsd-5-2-RELEASE:1.90.4.1
	netbsd-5-2-RC1:1.90.4.1
	matt-nb6-plus-nbase:1.120.2.2
	yamt-pagecache-base6:1.125
	netbsd-6-0:1.120.2.2.0.4
	netbsd-6-0-RELEASE:1.120.2.2
	netbsd-6-0-RC2:1.120.2.2
	tls-maxphys:1.125.0.2
	tls-maxphys-base:1.132
	matt-nb6-plus:1.120.2.2.0.2
	matt-nb6-plus-base:1.120.2.2
	netbsd-6-0-RC1:1.120.2.2
	jmcneill-usbmp-base10:1.123
	yamt-pagecache-base5:1.121
	jmcneill-usbmp-base9:1.121
	yamt-pagecache-base4:1.121
	jmcneill-usbmp-base8:1.121
	jmcneill-usbmp-base7:1.120
	jmcneill-usbmp-base6:1.120
	jmcneill-usbmp-base5:1.120
	jmcneill-usbmp-base4:1.120
	jmcneill-usbmp-base3:1.120
	jmcneill-usbmp-pre-base2:1.116
	jmcneill-usbmp-base2:1.120
	netbsd-6:1.120.0.2
	netbsd-6-base:1.120
	netbsd-5-1-2-RELEASE:1.90
	netbsd-5-1-1-RELEASE:1.90
	mrg-ohci-jmcneill-usbmp:1.116.0.6
	mrg-ohci-jmcneill-usbmp-base:1.116
	jmcneill-usbmp:1.116.0.4
	jmcneill-usbmp-base:1.116
	jmcneill-audiomp3:1.116.0.2
	jmcneill-audiomp3-base:1.116
	yamt-pagecache-base3:1.116
	yamt-pagecache-base2:1.116
	yamt-pagecache:1.115.0.2
	yamt-pagecache-base:1.115
	rmind-uvmplock-nbase:1.106
	cherry-xenmp:1.105.0.2
	cherry-xenmp-base:1.105
	bouyer-quota2-nbase:1.104
	bouyer-quota2:1.104.0.4
	bouyer-quota2-base:1.104
	jruoho-x86intr:1.104.0.2
	jruoho-x86intr-base:1.104
	matt-mips64-premerge-20101231:1.104
	matt-nb5-mips64-premerge-20101231:1.90
	matt-nb5-pq3:1.90.0.16
	matt-nb5-pq3-base:1.90
	netbsd-5-1:1.90.0.14
	netbsd-5-1-RELEASE:1.90
	uebayasi-xip-base4:1.102
	uebayasi-xip-base3:1.101
	yamt-nfs-mp-base11:1.101
	netbsd-5-1-RC4:1.90
	matt-nb5-mips64-k15:1.90
	uebayasi-xip-base2:1.101
	yamt-nfs-mp-base10:1.101
	netbsd-5-1-RC3:1.90
	netbsd-5-1-RC2:1.90
	uebayasi-xip-base1:1.97
	netbsd-5-1-RC1:1.90
	rmind-uvmplock:1.97.0.2
	rmind-uvmplock-base:1.106
	yamt-nfs-mp-base9:1.96
	uebayasi-xip:1.95.0.2
	uebayasi-xip-base:1.95
	netbsd-5-0-2-RELEASE:1.90
	matt-nb5-mips64-premerge-20091211:1.90
	matt-premerge-20091211:1.92
	yamt-nfs-mp-base8:1.91
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.90
	matt-nb4-mips64-k7-u2a-k9b:1.90
	matt-nb5-mips64-u1-k1-k5:1.90
	yamt-nfs-mp-base7:1.91
	matt-nb5-mips64:1.90.0.12
	netbsd-5-0-1-RELEASE:1.90
	jymxensuspend-base:1.91
	yamt-nfs-mp-base6:1.91
	yamt-nfs-mp-base5:1.90
	yamt-nfs-mp-base4:1.90
	jym-xensuspend-nbase:1.91
	yamt-nfs-mp-base3:1.90
	nick-hppapmap-base4:1.90
	nick-hppapmap-base3:1.90
	netbsd-5-0:1.90.0.10
	netbsd-5-0-RELEASE:1.90
	netbsd-5-0-RC4:1.90
	netbsd-5-0-RC3:1.90
	nick-hppapmap-base2:1.90
	netbsd-5-0-RC2:1.90
	jym-xensuspend:1.90.0.8
	jym-xensuspend-base:1.90
	netbsd-5-0-RC1:1.90
	haad-dm-base2:1.90
	haad-nbase2:1.90
	ad-audiomp2:1.90.0.6
	ad-audiomp2-base:1.90
	netbsd-5:1.90.0.4
	netbsd-5-base:1.90
	nick-hppapmap:1.90.0.2
	nick-hppapmap-base:1.90
	matt-mips64-base2:1.90
	matt-mips64:1.79.0.10
	haad-dm-base1:1.90
	wrstuden-revivesa-base-4:1.90
	netbsd-4-0-1-RELEASE:1.72.2.2
	wrstuden-revivesa-base-3:1.88
	wrstuden-revivesa-base-2:1.86
	wrstuden-fixsa-newbase:1.72.2.2
	nick-csl-alignment-base5:1.81
	haad-dm:1.84.0.4
	haad-dm-base:1.90
	wrstuden-revivesa-base-1:1.84
	simonb-wapbl-nbase:1.84
	yamt-pf42-base4:1.84
	simonb-wapbl:1.84.0.2
	simonb-wapbl-base:1.84
	yamt-pf42-base3:1.84
	hpcarm-cleanup-nbase:1.82
	yamt-pf42-baseX:1.82
	yamt-pf42-base2:1.82
	yamt-nfs-mp-base2:1.82
	wrstuden-revivesa:1.82.0.12
	wrstuden-revivesa-base:1.84
	yamt-nfs-mp:1.82.0.10
	yamt-nfs-mp-base:1.82
	yamt-pf42:1.82.0.8
	yamt-pf42-base:1.82
	ad-socklock-base1:1.82
	yamt-lazymbuf-base15:1.82
	yamt-lazymbuf-base14:1.82
	keiichi-mipv6-nbase:1.82
	mjf-devfs2:1.82.0.6
	mjf-devfs2-base:1.90
	nick-net80211-sync:1.82.0.4
	nick-net80211-sync-base:1.82
	keiichi-mipv6:1.82.0.2
	keiichi-mipv6-base:1.82
	bouyer-xeni386-merge1:1.81
	matt-armv6-prevmlocking:1.79.8.1
	wrstuden-fixsa-base-1:1.72.2.2
	vmlocking2-base3:1.81
	netbsd-4-0:1.72.2.2.0.4
	netbsd-4-0-RELEASE:1.72.2.2
	bouyer-xeni386-nbase:1.82
	yamt-kmem-base3:1.81
	cube-autoconf:1.81.0.14
	cube-autoconf-base:1.81
	yamt-kmem-base2:1.81
	bouyer-xeni386:1.81.0.12
	bouyer-xeni386-base:1.81
	yamt-kmem:1.81.0.10
	yamt-kmem-base:1.81
	vmlocking2-base2:1.81
	reinoud-bufcleanup-nbase:1.81
	vmlocking2:1.81.0.8
	vmlocking2-base1:1.81
	netbsd-4-0-RC5:1.72.2.2
	matt-nb4-arm:1.72.2.2.0.2
	matt-nb4-arm-base:1.72.2.2
	matt-armv6-nbase:1.82
	jmcneill-base:1.81
	netbsd-4-0-RC4:1.72.2.2
	mjf-devfs:1.81.0.6
	mjf-devfs-base:1.82
	bouyer-xenamd64-base2:1.81
	vmlocking-nbase:1.81
	yamt-x86pmap-base4:1.81
	bouyer-xenamd64:1.81.0.4
	bouyer-xenamd64-base:1.81
	netbsd-4-0-RC3:1.72.2.2
	yamt-x86pmap-base3:1.81
	yamt-x86pmap-base2:1.81
	netbsd-4-0-RC2:1.72.2.2
	yamt-x86pmap:1.81.0.2
	yamt-x86pmap-base:1.81
	netbsd-4-0-RC1:1.72.2.1
	matt-armv6:1.79.0.8
	matt-armv6-base:1.81
	matt-mips64-base:1.79
	jmcneill-pm:1.79.0.6
	jmcneill-pm-base:1.81
	hpcarm-cleanup:1.79.0.4
	hpcarm-cleanup-base:1.82
	nick-csl-alignment:1.79.0.2
	nick-csl-alignment-base:1.79
	netbsd-3-1-1-RELEASE:1.58.6.2
	netbsd-3-0-3-RELEASE:1.58.6.2
	itohy-usb1:1.73.0.10
	itohy-usb1-base:1.73
	yamt-idlelwp-base8:1.76
	wrstuden-fixsa:1.72.2.1.0.2
	wrstuden-fixsa-base:1.72.2.2
	thorpej-atomic:1.74.0.4
	thorpej-atomic-base:1.74
	reinoud-bufcleanup:1.74.0.2
	reinoud-bufcleanup-base:1.81
	mjf-ufs-trans:1.73.0.8
	mjf-ufs-trans-base:1.79
	vmlocking:1.73.0.6
	vmlocking-base:1.81
	ad-audiomp:1.73.0.4
	ad-audiomp-base:1.73
	yamt-idlelwp:1.73.0.2
	post-newlock2-merge:1.73
	newlock2-nbase:1.73
	yamt-splraiseipl-base5:1.72
	yamt-splraiseipl-base4:1.72
	yamt-splraiseipl-base3:1.72
	abandoned-netbsd-4-base:1.68
	abandoned-netbsd-4:1.68.0.2
	netbsd-3-1:1.58.6.2.0.4
	netbsd-3-1-RELEASE:1.58.6.2
	netbsd-3-0-2-RELEASE:1.58.6.2
	yamt-splraiseipl-base2:1.70
	netbsd-3-1-RC4:1.58.6.2
	yamt-splraiseipl:1.70.0.2
	yamt-splraiseipl-base:1.70
	netbsd-3-1-RC3:1.58.6.2
	yamt-pdpolicy-base9:1.70
	newlock2:1.69.0.2
	newlock2-base:1.73
	yamt-pdpolicy-base8:1.69
	netbsd-3-1-RC2:1.58.6.2
	netbsd-3-1-RC1:1.58.6.2
	yamt-pdpolicy-base7:1.68
	netbsd-4:1.72.0.2
	netbsd-4-base:1.72
	yamt-pdpolicy-base6:1.67
	chap-midi-nbase:1.67
	netbsd-3-0-1-RELEASE:1.58.6.2
	gdamore-uart:1.66.0.4
	gdamore-uart-base:1.66
	simonb-timcounters-final:1.65.6.1
	yamt-pdpolicy-base5:1.66
	chap-midi:1.66.0.2
	chap-midi-base:1.67
	yamt-pdpolicy-base4:1.66
	yamt-pdpolicy-base3:1.65
	peter-altq-base:1.65
	peter-altq:1.65.0.12
	yamt-pdpolicy-base2:1.65
	elad-kernelauth-base:1.66
	elad-kernelauth:1.65.0.10
	yamt-pdpolicy:1.65.0.8
	yamt-pdpolicy-base:1.65
	yamt-uio_vmspace-base5:1.65
	simonb-timecounters:1.65.0.6
	simonb-timecounters-base:1.66
	rpaulo-netinet-merge-pcb:1.65.0.4
	rpaulo-netinet-merge-pcb-base:1.69
	yamt-uio_vmspace:1.65.0.2
	netbsd-3-0:1.58.6.2.0.2
	netbsd-3-0-RELEASE:1.58.6.2
	netbsd-3-0-RC6:1.58.6.2
	yamt-readahead-base3:1.64
	netbsd-3-0-RC5:1.58.6.2
	netbsd-3-0-RC4:1.58.6.2
	netbsd-3-0-RC3:1.58.6.2
	yamt-readahead-base2:1.64
	netbsd-3-0-RC2:1.58.6.2
	yamt-readahead-pervnode:1.64
	yamt-readahead-perfile:1.64
	yamt-readahead:1.64.0.6
	yamt-readahead-base:1.64
	netbsd-3-0-RC1:1.58.6.2
	yamt-vop-base3:1.64
	netbsd-2-0-3-RELEASE:1.52
	netbsd-2-1:1.52.4.1.0.2
	yamt-vop-base2:1.64
	thorpej-vnode-attr:1.64.0.4
	thorpej-vnode-attr-base:1.64
	netbsd-2-1-RELEASE:1.52.4.1
	yamt-vop:1.64.0.2
	yamt-vop-base:1.64
	netbsd-2-1-RC6:1.52.4.1
	netbsd-2-1-RC5:1.52.4.1
	netbsd-2-1-RC4:1.52.4.1
	netbsd-2-1-RC3:1.52.4.1
	netbsd-2-1-RC2:1.52.4.1
	netbsd-2-1-RC1:1.52.4.1
	yamt-lazymbuf:1.62.0.2
	yamt-km-base4:1.58
	netbsd-2-0-2-RELEASE:1.52
	yamt-km-base3:1.58
	netbsd-3:1.58.0.6
	netbsd-3-base:1.58
	yamt-km-base2:1.58
	yamt-km:1.58.0.2
	yamt-km-base:1.58
	kent-audio2:1.56.0.4
	kent-audio2-base:1.60
	netbsd-2-0-1-RELEASE:1.52
	kent-audio1-beforemerge:1.56
	netbsd-2:1.52.0.4
	netbsd-2-base:1.52
	kent-audio1:1.56.0.2
	kent-audio1-base:1.56
	netbsd-2-0-RELEASE:1.52
	netbsd-2-0-RC5:1.52
	netbsd-2-0-RC4:1.52
	netbsd-2-0-RC3:1.52
	netbsd-2-0-RC2:1.52
	netbsd-2-0-RC1:1.52
	netbsd-2-0:1.52.0.2
	netbsd-2-0-base:1.52
	netbsd-1-6-PATCH002-RELEASE:1.44
	netbsd-1-6-PATCH002:1.44
	netbsd-1-6-PATCH002-RC4:1.44
	netbsd-1-6-PATCH002-RC3:1.44
	netbsd-1-6-PATCH002-RC2:1.44
	netbsd-1-6-PATCH002-RC1:1.44
	ktrace-lwp:1.50.0.2
	ktrace-lwp-base:1.64
	netbsd-1-6-PATCH001:1.44
	netbsd-1-6-PATCH001-RELEASE:1.44
	netbsd-1-6-PATCH001-RC3:1.44
	netbsd-1-6-PATCH001-RC2:1.44
	netbsd-1-6-PATCH001-RC1:1.44
	nathanw_sa_end:1.28.2.8
	nathanw_sa_before_merge:1.49
	fvdl_fs64_base:1.49
	gmcgarry_ctxsw:1.49.0.4
	gmcgarry_ctxsw_base:1.49
	gmcgarry_ucred:1.49.0.2
	gmcgarry_ucred_base:1.49
	nathanw_sa_base:1.49
	kqueue-aftermerge:1.49
	kqueue-beforemerge:1.49
	netbsd-1-6-RELEASE:1.44
	netbsd-1-6-RC3:1.44
	netbsd-1-6-RC2:1.44
	netbsd-1-6-RC1:1.44
	netbsd-1-6:1.44.0.4
	netbsd-1-6-base:1.44
	gehenna-devsw:1.44.0.2
	gehenna-devsw-base:1.48
	netbsd-1-5-PATCH003:1.21
	eeh-devprop:1.42.0.2
	eeh-devprop-base:1.42
	newlock:1.41.0.2
	newlock-base:1.41
	ifpoll-base:1.40
	thorpej-mips-cache:1.30.0.6
	thorpej-mips-cache-base:1.30
	thorpej-devvp-base3:1.30
	thorpej-devvp-base2:1.30
	post-chs-ubcperf:1.30
	pre-chs-ubcperf:1.30
	thorpej-devvp:1.30.0.4
	thorpej-devvp-base:1.30
	netbsd-1-5-PATCH002:1.21
	kqueue:1.30.0.2
	kqueue-base:1.48
	netbsd-1-5-PATCH001:1.21
	thorpej_scsipi_beforemerge:1.30
	nathanw_sa:1.28.0.2
	thorpej_scsipi_nbase:1.30
	netbsd-1-5-RELEASE:1.21
	netbsd-1-5-BETA2:1.21
	netbsd-1-5-BETA:1.21
	netbsd-1-4-PATCH003:1.5.2.1
	netbsd-1-5-ALPHA2:1.21
	netbsd-1-5:1.21.0.4
	netbsd-1-5-base:1.21
	minoura-xpg4dl-base:1.21
	minoura-xpg4dl:1.21.0.2
	netbsd-1-4-PATCH002:1.5.2.1
	chs-ubc2-newbase:1.15
	wrstuden-devbsize-19991221:1.12
	wrstuden-devbsize:1.12.0.8
	wrstuden-devbsize-base:1.12
	kame_141_19991130:1.5.2.1
	comdex-fall-1999:1.12.0.6
	comdex-fall-1999-base:1.12
	fvdl-softdep:1.12.0.4
	fvdl-softdep-base:1.12
	thorpej_scsipi:1.12.0.2
	thorpej_scsipi_base:1.30
	netbsd-1-4-PATCH001:1.5.2.1
	kame_14_19990705:1.5.2.1
	kame_14_19990628:1.5.2.1
	kame:1.5.2.1.0.4
	chs-ubc2:1.5.2.1.0.2
	chs-ubc2-base:1.8
	netbsd-1-4-RELEASE:1.5.2.1
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5
	kenh-if-detach:1.4.0.2
	kenh-if-detach-base:1.4
	chs-ubc:1.2.0.4
	chs-ubc-base:1.2
	eeh-paddr_t:1.2.0.2
	eeh-paddr_t-base:1.2;
locks; strict;
comment	@# @;


1.186
date	2025.12.07.10.05.10;	author jmcneill;	state Exp;
branches;
next	1.185;
commitid	qZfWWYlposHBGslG;

1.185
date	2025.12.01.06.26.06;	author skrll;	state Exp;
branches;
next	1.184;
commitid	6OLm7dAtDWnqFFkG;

1.184
date	2025.11.29.18.39.14;	author brad;	state Exp;
branches;
next	1.183;
commitid	0BruWDJPEq5TJtkG;

1.183
date	2025.08.18.20.59.55;	author andvar;	state Exp;
branches;
next	1.182;
commitid	M0f97vv4FYM7Sf7G;

1.182
date	2025.04.03.16.33.48;	author bouyer;	state Exp;
branches
	1.182.2.1;
next	1.181;
commitid	P0lNQlJy1qxDMCPF;

1.181
date	2025.01.20.13.54.55;	author maya;	state Exp;
branches;
next	1.180;
commitid	49ZHd7B7GtkYgeGF;

1.180
date	2024.12.16.16.37.38;	author brad;	state Exp;
branches;
next	1.179;
commitid	vFNtA9KteZKBiKBF;

1.179
date	2023.07.20.20.00.34;	author mrg;	state Exp;
branches
	1.179.6.1;
next	1.178;
commitid	rTubB2rX2nUFYzxE;

1.178
date	2022.06.30.06.30.44;	author macallan;	state Exp;
branches;
next	1.177;
commitid	eUJ1dECnncCmR1KD;

1.177
date	2021.06.29.10.22.37;	author nia;	state Exp;
branches;
next	1.176;
commitid	QPI2BQJ2iwG0V0ZC;

1.176
date	2020.07.13.04.44.03;	author mrg;	state Exp;
branches
	1.176.6.1;
next	1.175;
commitid	ljqIPdKEZ1BpkSfC;

1.175
date	2020.05.16.13.46.12;	author maya;	state Exp;
branches;
next	1.174;
commitid	wvQjMNRJMrTmbt8C;

1.174
date	2020.04.13.09.26.43;	author jdolecek;	state Exp;
branches;
next	1.173;
commitid	t861gLp837nGOc4C;

1.173
date	2020.04.12.01.10.54;	author simonb;	state Exp;
branches;
next	1.172;
commitid	I8uDdehuclkD624C;

1.172
date	2020.02.09.15.46.15;	author maya;	state Exp;
branches
	1.172.4.1;
next	1.171;
commitid	YMiok4kIp4dwY0WB;

1.171
date	2020.02.03.19.37.42;	author maya;	state Exp;
branches;
next	1.170;
commitid	kaJ7YetVzJARrgVB;

1.170
date	2020.02.03.12.56.26;	author kre;	state Exp;
branches;
next	1.169;
commitid	AGoJFRqEFnq2eeVB;

1.169
date	2020.01.17.15.00.20;	author maya;	state Exp;
branches;
next	1.168;
commitid	FbnTN28Eh3o0r3TB;

1.168
date	2019.09.20.10.34.54;	author mrg;	state Exp;
branches
	1.168.2.1;
next	1.167;
commitid	81zJBQIRCZykOJDB;

1.167
date	2019.08.23.08.45.25;	author mrg;	state Exp;
branches;
next	1.166;
commitid	GmDOSj6kxjYX68AB;

1.166
date	2019.08.18.09.29.38;	author mrg;	state Exp;
branches;
next	1.165;
commitid	dwynfx3tDqR2wuzB;

1.165
date	2019.08.16.08.52.46;	author mrg;	state Exp;
branches;
next	1.164;
commitid	56JEldbEtDornezB;

1.164
date	2019.08.15.08.02.32;	author mrg;	state Exp;
branches;
next	1.163;
commitid	XVo3gzEZgDSQ76zB;

1.163
date	2019.08.11.11.17.35;	author skrll;	state Exp;
branches;
next	1.162;
commitid	P8nMEMCZgAD0lByB;

1.162
date	2019.08.09.06.38.39;	author mrg;	state Exp;
branches;
next	1.161;
commitid	sT3OKFKhU2lgRjyB;

1.161
date	2019.08.07.19.21.48;	author skrll;	state Exp;
branches;
next	1.160;
commitid	U9rXzLcTSUH398yB;

1.160
date	2019.08.07.07.25.09;	author skrll;	state Exp;
branches;
next	1.159;
commitid	rasZyrBipVKib4yB;

1.159
date	2019.08.06.01.44.24;	author mrg;	state Exp;
branches;
next	1.158;
commitid	tQuRZ1D1EbbhkUxB;

1.158
date	2019.07.31.10.19.55;	author martin;	state Exp;
branches;
next	1.157;
commitid	6aChx9xU85qcnbxB;

1.157
date	2019.07.31.09.13.16;	author mrg;	state Exp;
branches;
next	1.156;
commitid	xCyTHt98X3gqZaxB;

1.156
date	2019.05.08.13.40.19;	author isaki;	state Exp;
branches
	1.156.2.1;
next	1.155;
commitid	LEGDdtzAItkeapmB;

1.155
date	2019.05.07.22.00.10;	author mrg;	state Exp;
branches;
next	1.154;
commitid	AgywA8QIQ3iiYjmB;

1.154
date	2019.02.06.11.55.06;	author rin;	state Exp;
branches
	1.154.2.1;
next	1.153;
commitid	lmO9E3DhU61GuHaB;

1.153
date	2018.10.24.07.42.12;	author jdolecek;	state Exp;
branches;
next	1.152;
commitid	dAqDzG8u4W3PubXA;

1.152
date	2018.08.25.20.12.22;	author rin;	state Exp;
branches;
next	1.151;
commitid	lPr8ScqmMcaizxPA;

1.151
date	2018.07.31.16.44.29;	author khorben;	state Exp;
branches;
next	1.150;
commitid	j8hxvmmx4SXWbjMA;

1.150
date	2018.03.05.09.35.01;	author ws;	state Exp;
branches
	1.150.2.1
	1.150.4.1;
next	1.149;
commitid	IkQsovHTvs6sAftA;

1.149
date	2018.02.20.15.48.37;	author ws;	state Exp;
branches;
next	1.148;
commitid	iYUToFTOFfs15CrA;

1.148
date	2017.12.10.17.03.07;	author bouyer;	state Exp;
branches;
next	1.147;
commitid	x6hsnRp8s9udOmiA;

1.147
date	2017.10.19.23.58.41;	author jmcneill;	state Exp;
branches;
next	1.146;
commitid	amMjeHTJieqcNIbA;

1.146
date	2017.08.31.19.55.43;	author jmcneill;	state Exp;
branches;
next	1.145;
commitid	xVZdiqEYQF1t1p5A;

1.145
date	2017.05.24.20.23.58;	author christos;	state Exp;
branches
	1.145.2.1;
next	1.144;
commitid	6irnP5d1rrvGmGSz;

1.144
date	2017.05.20.00.56.32;	author pgoyette;	state Exp;
branches;
next	1.143;
commitid	seu7JYR1qCUI14Sz;

1.143
date	2017.04.17.08.59.37;	author riastradh;	state Exp;
branches;
next	1.142;
commitid	ona0PKvUjp6NGRNz;

1.142
date	2016.11.25.12.45.28;	author skrll;	state Exp;
branches
	1.142.2.1;
next	1.141;
commitid	d2USQbXFfNmbCvvz;

1.141
date	2016.06.30.17.38.47;	author christos;	state Exp;
branches
	1.141.2.1;
next	1.140;
commitid	LLZt4ZdhJFiNZvcz;

1.140
date	2016.06.23.07.32.12;	author skrll;	state Exp;
branches;
next	1.139;
commitid	tYXNNeuWlQhxRybz;

1.139
date	2016.04.26.10.38.43;	author skrll;	state Exp;
branches;
next	1.138;
commitid	2pRnsrEKru75L74z;

1.138
date	2016.04.23.10.15.31;	author skrll;	state Exp;
branches;
next	1.137;
commitid	DUEVVodEHzuwIJ3z;

1.137
date	2015.10.29.00.15.48;	author mrg;	state Exp;
branches;
next	1.136;
commitid	vmvH6kqUU9XR5WGy;

1.136
date	2015.10.27.22.25.23;	author mrg;	state Exp;
branches;
next	1.135;
commitid	xb9eqV1tWdx0wNGy;

1.135
date	2014.10.10.17.31.12;	author uebayasi;	state Exp;
branches
	1.135.2.1;
next	1.134;
commitid	XIvyfPMRLGuJaGTx;

1.134
date	2014.09.12.16.40.38;	author skrll;	state Exp;
branches;
next	1.133;
commitid	O1ddMI7goLvSL4Qx;

1.133
date	2014.08.12.13.28.44;	author skrll;	state Exp;
branches;
next	1.132;
commitid	YVQr1GzispnWI4Mx;

1.132
date	2014.04.05.23.47.26;	author khorben;	state Exp;
branches
	1.132.2.1;
next	1.131;
commitid	7thNEVQkOaVpiyvx;

1.131
date	2014.03.16.09.34.45;	author martin;	state Exp;
branches
	1.131.2.1;
next	1.130;
commitid	vxB7jE0kh7BvdUsx;

1.130
date	2013.10.26.09.16.20;	author nonaka;	state Exp;
branches;
next	1.129;
commitid	uPfYDvXaCOZlEMax;

1.129
date	2013.05.28.12.03.26;	author kiyohara;	state Exp;
branches
	1.129.2.1;
next	1.128;
commitid	6d0VwmFyU9YyqoRw;

1.128
date	2013.03.30.02.37.18;	author christos;	state Exp;
branches;
next	1.127;

1.127
date	2013.01.13.01.15.02;	author jakllsch;	state Exp;
branches;
next	1.126;

1.126
date	2013.01.09.23.02.59;	author skrll;	state Exp;
branches;
next	1.125;

1.125
date	2012.09.01.18.17.51;	author jakllsch;	state Exp;
branches
	1.125.2.1;
next	1.124;

1.124
date	2012.08.04.04.34.54;	author riastradh;	state Exp;
branches;
next	1.123;

1.123
date	2012.05.30.14.30.35;	author nonaka;	state Exp;
branches;
next	1.122;

1.122
date	2012.05.29.14.06.23;	author christos;	state Exp;
branches;
next	1.121;

1.121
date	2012.03.25.00.11.16;	author nonaka;	state Exp;
branches;
next	1.120;

1.120
date	2012.02.13.14.36.39;	author wiz;	state Exp;
branches
	1.120.2.1;
next	1.119;

1.119
date	2012.01.17.03.49.20;	author christos;	state Exp;
branches;
next	1.118;

1.118
date	2012.01.14.21.06.01;	author jakllsch;	state Exp;
branches;
next	1.117;

1.117
date	2011.12.31.00.08.48;	author christos;	state Exp;
branches;
next	1.116;

1.116
date	2011.11.03.02.41.29;	author macallan;	state Exp;
branches
	1.116.4.1;
next	1.115;

1.115
date	2011.10.02.16.30.58;	author jmcneill;	state Exp;
branches
	1.115.2.1;
next	1.114;

1.114
date	2011.08.23.16.16.43;	author christos;	state Exp;
branches;
next	1.113;

1.113
date	2011.07.30.12.19.12;	author jmcneill;	state Exp;
branches;
next	1.112;

1.112
date	2011.07.23.20.52.15;	author jakllsch;	state Exp;
branches;
next	1.111;

1.111
date	2011.07.23.20.45.15;	author jakllsch;	state Exp;
branches;
next	1.110;

1.110
date	2011.07.20.20.00.29;	author jakllsch;	state Exp;
branches;
next	1.109;

1.109
date	2011.07.19.12.23.04;	author jmcneill;	state Exp;
branches;
next	1.108;

1.108
date	2011.07.11.18.02.04;	author jmcneill;	state Exp;
branches;
next	1.107;

1.107
date	2011.07.10.02.25.52;	author jmcneill;	state Exp;
branches;
next	1.106;

1.106
date	2011.06.09.19.08.31;	author matt;	state Exp;
branches;
next	1.105;

1.105
date	2011.03.20.17.54.03;	author tsutsui;	state Exp;
branches
	1.105.2.1;
next	1.104;

1.104
date	2010.12.27.20.42.51;	author jmcneill;	state Exp;
branches
	1.104.2.1;
next	1.103;

1.103
date	2010.12.15.23.38.15;	author matt;	state Exp;
branches;
next	1.102;

1.102
date	2010.11.03.19.59.34;	author christos;	state Exp;
branches;
next	1.101;

1.101
date	2010.08.01.07.29.03;	author kiyohara;	state Exp;
branches;
next	1.100;

1.100
date	2010.07.04.15.21.58;	author tsutsui;	state Exp;
branches;
next	1.99;

1.99
date	2010.05.29.17.39.41;	author martin;	state Exp;
branches;
next	1.98;

1.98
date	2010.05.29.01.14.29;	author pgoyette;	state Exp;
branches;
next	1.97;

1.97
date	2010.03.11.10.38.37;	author enami;	state Exp;
branches
	1.97.2.1;
next	1.96;

1.96
date	2010.03.06.21.05.37;	author plunky;	state Exp;
branches;
next	1.95;

1.95
date	2010.02.06.11.17.17;	author tonio;	state Exp;
branches
	1.95.2.1;
next	1.94;

1.94
date	2010.01.07.00.15.20;	author martin;	state Exp;
branches;
next	1.93;

1.93
date	2009.12.23.01.04.45;	author pooka;	state Exp;
branches;
next	1.92;

1.92
date	2009.11.30.16.18.34;	author tsutsui;	state Exp;
branches;
next	1.91;

1.91
date	2009.06.19.01.16.23;	author mrg;	state Exp;
branches;
next	1.90;

1.90
date	2008.10.10.16.37.16;	author joerg;	state Exp;
branches
	1.90.4.1
	1.90.8.1
	1.90.12.1
	1.90.16.1;
next	1.89;

1.89
date	2008.09.19.11.29.35;	author jmcneill;	state Exp;
branches;
next	1.88;

1.88
date	2008.09.18.16.40.37;	author jmcneill;	state Exp;
branches;
next	1.87;

1.87
date	2008.09.09.01.13.42;	author jmcneill;	state Exp;
branches;
next	1.86;

1.86
date	2008.09.06.19.37.21;	author jmcneill;	state Exp;
branches;
next	1.85;

1.85
date	2008.07.31.22.01.15;	author drochner;	state Exp;
branches;
next	1.84;

1.84
date	2008.05.26.00.23.05;	author christos;	state Exp;
branches
	1.84.4.1;
next	1.83;

1.83
date	2008.05.25.21.41.35;	author drochner;	state Exp;
branches;
next	1.82;

1.82
date	2008.01.21.11.36.46;	author ichiro;	state Exp;
branches
	1.82.6.1
	1.82.8.1
	1.82.10.1
	1.82.12.1;
next	1.81;

1.81
date	2007.09.07.20.17.38;	author plunky;	state Exp;
branches
	1.81.6.1
	1.81.12.1;
next	1.80;

1.80
date	2007.09.03.17.57.36;	author tshiozak;	state Exp;
branches;
next	1.79;

1.79
date	2007.06.12.07.06.48;	author kiyohara;	state Exp;
branches
	1.79.2.1
	1.79.6.1
	1.79.8.1;
next	1.78;

1.78
date	2007.06.09.11.20.55;	author kiyohara;	state Exp;
branches;
next	1.77;

1.77
date	2007.05.20.05.08.17;	author dogcow;	state Exp;
branches;
next	1.76;

1.76
date	2007.05.11.13.12.14;	author is;	state Exp;
branches;
next	1.75;

1.75
date	2007.05.06.22.54.20;	author jnemeth;	state Exp;
branches;
next	1.74;

1.74
date	2007.03.13.13.51.53;	author drochner;	state Exp;
branches;
next	1.73;

1.73
date	2007.01.05.17.16.22;	author jmcneill;	state Exp;
branches
	1.73.2.1
	1.73.6.1
	1.73.8.1
	1.73.10.1;
next	1.72;

1.72
date	2006.10.31.22.21.17;	author joerg;	state Exp;
branches
	1.72.2.1;
next	1.71;

1.71
date	2006.10.24.21.03.30;	author drochner;	state Exp;
branches;
next	1.70;

1.70
date	2006.09.10.15.45.56;	author plunky;	state Exp;
branches
	1.70.2.1;
next	1.69;

1.69
date	2006.08.19.16.35.03;	author plunky;	state Exp;
branches
	1.69.2.1;
next	1.68;

1.68
date	2006.07.24.14.24.50;	author gdt;	state Exp;
branches
	1.68.2.1;
next	1.67;

1.67
date	2006.06.19.15.44.45;	author gdamore;	state Exp;
branches;
next	1.66;

1.66
date	2006.04.03.08.15.48;	author scw;	state Exp;
branches
	1.66.2.1
	1.66.4.1;
next	1.65;

1.65
date	2005.12.11.12.24.00;	author christos;	state Exp;
branches
	1.65.4.1
	1.65.6.1
	1.65.8.1
	1.65.10.1
	1.65.12.1;
next	1.64;

1.64
date	2005.07.30.06.14.50;	author skrll;	state Exp;
branches;
next	1.63;

1.63
date	2005.07.18.11.42.28;	author augustss;	state Exp;
branches;
next	1.62;

1.62
date	2005.07.01.20.11.20;	author drochner;	state Exp;
branches
	1.62.2.1;
next	1.61;

1.61
date	2005.06.13.16.41.44;	author cube;	state Exp;
branches;
next	1.60;

1.60
date	2005.04.15.17.18.18;	author itohy;	state Exp;
branches;
next	1.59;

1.59
date	2005.04.15.14.14.09;	author itohy;	state Exp;
branches;
next	1.58;

1.58
date	2005.01.24.01.36.07;	author joff;	state Exp;
branches
	1.58.6.1;
next	1.57;

1.57
date	2005.01.23.01.25.04;	author elric;	state Exp;
branches;
next	1.56;

1.56
date	2004.10.23.13.38.26;	author augustss;	state Exp;
branches
	1.56.4.1;
next	1.55;

1.55
date	2004.10.22.13.08.23;	author augustss;	state Exp;
branches;
next	1.54;

1.54
date	2004.06.12.17.52.41;	author tsarna;	state Exp;
branches;
next	1.53;

1.53
date	2004.05.24.23.48.36;	author tsarna;	state Exp;
branches;
next	1.52;

1.52
date	2003.10.08.20.58.00;	author bouyer;	state Exp;
branches
	1.52.4.1;
next	1.51;

1.51
date	2003.08.22.05.13.29;	author itojun;	state Exp;
branches;
next	1.50;

1.50
date	2003.02.15.18.33.29;	author augustss;	state Exp;
branches
	1.50.2.1;
next	1.49;

1.49
date	2002.10.08.13.08.03;	author augustss;	state Exp;
branches;
next	1.48;

1.48
date	2002.08.24.17.31.19;	author augustss;	state Exp;
branches;
next	1.47;

1.47
date	2002.08.24.17.27.53;	author augustss;	state Exp;
branches;
next	1.46;

1.46
date	2002.08.23.00.55.20;	author augustss;	state Exp;
branches;
next	1.45;

1.45
date	2002.08.22.10.15.57;	author augustss;	state Exp;
branches;
next	1.44;

1.44
date	2002.04.22.09.41.23;	author augustss;	state Exp;
branches
	1.44.2.1
	1.44.4.1;
next	1.43;

1.43
date	2002.03.28.21.09.10;	author ichiro;	state Exp;
branches;
next	1.42;

1.42
date	2002.03.19.15.08.42;	author augustss;	state Exp;
branches;
next	1.41;

1.41
date	2002.03.09.20.30.44;	author kent;	state Exp;
branches;
next	1.40;

1.40
date	2002.01.07.17.44.45;	author drochner;	state Exp;
branches;
next	1.39;

1.39
date	2002.01.03.18.54.32;	author augustss;	state Exp;
branches;
next	1.38;

1.38
date	2002.01.02.03.21.36;	author augustss;	state Exp;
branches;
next	1.37;

1.37
date	2001.12.29.10.50.55;	author augustss;	state Exp;
branches;
next	1.36;

1.36
date	2001.12.28.17.32.36;	author augustss;	state Exp;
branches;
next	1.35;

1.35
date	2001.12.24.13.43.25;	author augustss;	state Exp;
branches;
next	1.34;

1.34
date	2001.12.24.13.25.53;	author augustss;	state Exp;
branches;
next	1.33;

1.33
date	2001.12.17.12.16.14;	author gehenna;	state Exp;
branches;
next	1.32;

1.32
date	2001.12.12.15.27.24;	author augustss;	state Exp;
branches;
next	1.31;

1.31
date	2001.11.28.10.21.25;	author lukem;	state Exp;
branches;
next	1.30;

1.30
date	2001.04.13.12.24.10;	author augustss;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2001.03.28.18.42.13;	author ichiro;	state Exp;
branches;
next	1.28;

1.28
date	2001.02.24.02.13.34;	author lukem;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2001.01.30.23.26.47;	author tshiozak;	state Exp;
branches;
next	1.26;

1.26
date	2001.01.23.01.24.10;	author ichiro;	state Exp;
branches;
next	1.25;

1.25
date	2001.01.11.06.00.31;	author augustss;	state Exp;
branches;
next	1.24;

1.24
date	2001.01.02.18.52.44;	author augustss;	state Exp;
branches;
next	1.23;

1.23
date	2001.01.02.18.49.56;	author augustss;	state Exp;
branches;
next	1.22;

1.22
date	2000.09.23.04.32.23;	author augustss;	state Exp;
branches;
next	1.21;

1.21
date	2000.04.14.14.51.22;	author augustss;	state Exp;
branches;
next	1.20;

1.20
date	2000.04.14.14.20.02;	author augustss;	state Exp;
branches;
next	1.19;

1.19
date	2000.04.09.18.23.23;	author augustss;	state Exp;
branches;
next	1.18;

1.18
date	2000.04.02.23.40.41;	author augustss;	state Exp;
branches;
next	1.17;

1.17
date	2000.03.30.16.56.19;	author augustss;	state Exp;
branches;
next	1.16;

1.16
date	2000.02.14.20.29.54;	author augustss;	state Exp;
branches;
next	1.15;

1.15
date	2000.01.25.13.56.23;	author augustss;	state Exp;
branches;
next	1.14;

1.14
date	2000.01.25.08.12.58;	author augustss;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.16.09.40.07;	author augustss;	state Exp;
branches;
next	1.12;

1.12
date	99.09.12.17.40.57;	author augustss;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	99.09.09.12.26.43;	author augustss;	state Exp;
branches;
next	1.10;

1.10
date	99.08.23.07.07.47;	author augustss;	state Exp;
branches;
next	1.9;

1.9
date	99.08.16.20.26.53;	author augustss;	state Exp;
branches;
next	1.8;

1.8
date	99.06.30.06.44.22;	author augustss;	state Exp;
branches;
next	1.7;

1.7
date	99.05.16.13.51.05;	author augustss;	state Exp;
branches;
next	1.6;

1.6
date	99.05.06.00.42.16;	author thorpej;	state Exp;
branches;
next	1.5;

1.5
date	99.01.10.11.09.02;	author augustss;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	98.12.03.19.58.09;	author augustss;	state Exp;
branches;
next	1.3;

1.3
date	98.12.02.22.47.20;	author augustss;	state Exp;
branches;
next	1.2;

1.2
date	98.07.25.15.36.30;	author augustss;	state Exp;
branches;
next	1.1;

1.1
date	98.07.12.19.51.59;	author augustss;	state Exp;
branches;
next	;

1.182.2.1
date	2025.12.12.18.35.58;	author martin;	state Exp;
branches;
next	1.182.2.2;
commitid	S4U6y1W7QKFVl9mG;

1.182.2.2
date	2025.12.14.11.18.30;	author martin;	state Exp;
branches;
next	;
commitid	5IYiaD1ll8TjRmmG;

1.179.6.1
date	2025.08.02.05.57.05;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.176.6.1
date	2021.08.01.22.42.31;	author thorpej;	state Exp;
branches;
next	;
commitid	NihqK3haIgTUWj3D;

1.172.4.1
date	2020.04.20.11.29.08;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.168.2.1
date	2020.01.17.21.47.32;	author ad;	state Exp;
branches;
next	1.168.2.2;
commitid	T9pwLWote7xbI5TB;

1.168.2.2
date	2020.02.29.20.19.16;	author ad;	state Exp;
branches;
next	;
commitid	KXaq8b9IAm4cQBYB;

1.156.2.1
date	2019.09.01.13.00.37;	author martin;	state Exp;
branches;
next	1.156.2.2;
commitid	pvddZlfI42mzejBB;

1.156.2.2
date	2020.04.12.08.44.42;	author martin;	state Exp;
branches;
next	;
commitid	0SasYWshaVZnC44C;

1.154.2.1
date	2019.05.05.02.31.42;	author isaki;	state Exp;
branches;
next	;
commitid	P6qg5pdPOH2RzXlB;

1.150.2.1
date	2018.09.06.06.56.04;	author pgoyette;	state Exp;
branches;
next	1.150.2.2;
commitid	HCi1bXD317XIK0RA;

1.150.2.2
date	2018.09.23.07.27.34;	author pgoyette;	state Exp;
branches;
next	1.150.2.3;
commitid	3JNXcKTms6JJpcTA;

1.150.2.3
date	2018.09.23.07.37.14;	author pgoyette;	state Exp;
branches;
next	1.150.2.4;
commitid	BNP35QeenAyatcTA;

1.150.2.4
date	2018.11.26.01.52.47;	author pgoyette;	state Exp;
branches;
next	;
commitid	Zj4q5SspGdKXto1B;

1.150.4.1
date	2019.06.10.22.07.33;	author christos;	state Exp;
branches;
next	1.150.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.150.4.2
date	2020.04.08.14.08.13;	author martin;	state Exp;
branches;
next	1.150.4.3;
commitid	Qli2aW9E74UFuA3C;

1.150.4.3
date	2020.04.13.08.04.49;	author martin;	state Exp;
branches;
next	1.150.4.4;
commitid	X01YhRUPVUDaec4C;

1.150.4.4
date	2020.04.21.18.42.38;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.145.2.1
date	2018.10.31.09.30.10;	author martin;	state Exp;
branches;
next	;
commitid	SAkoMMTm28LZR5YA;

1.142.2.1
date	2017.04.21.16.53.53;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.141.2.1
date	2017.01.07.08.56.41;	author pgoyette;	state Exp;
branches;
next	1.141.2.2;
commitid	uEL0C1YuiJrlV0Bz;

1.141.2.2
date	2017.04.26.02.53.23;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.135.2.1
date	2014.12.02.09.00.33;	author skrll;	state Exp;
branches;
next	1.135.2.2;
commitid	6Yzi3GLMavitDr0y;

1.135.2.2
date	2014.12.05.14.55.14;	author skrll;	state Exp;
branches;
next	1.135.2.3;
commitid	Eu2pklSEwUAuvR0y;

1.135.2.3
date	2015.12.27.12.09.59;	author skrll;	state Exp;
branches;
next	1.135.2.4;
commitid	BTSqUD4SdJ5k7AOy;

1.135.2.4
date	2016.05.29.08.44.31;	author skrll;	state Exp;
branches;
next	1.135.2.5;
commitid	8mlnPW6uSaJU1m8z;

1.135.2.5
date	2016.07.09.20.25.15;	author skrll;	state Exp;
branches;
next	1.135.2.6;
commitid	6Uo6zNa4c5W4AGdz;

1.135.2.6
date	2016.12.05.10.55.18;	author skrll;	state Exp;
branches;
next	1.135.2.7;
commitid	4H3tiQVJXN6oEMwz;

1.135.2.7
date	2017.08.28.17.52.27;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.132.2.1
date	2014.08.13.21.50.39;	author riz;	state Exp;
branches
	1.132.2.1.4.1;
next	1.132.2.2;
commitid	IxmbFO5ca8AktfMx;

1.132.2.2
date	2017.04.05.19.54.19;	author snj;	state Exp;
branches;
next	1.132.2.3;
commitid	WGkDlkAJ2Mi4MnMz;

1.132.2.3
date	2017.06.03.17.03.02;	author snj;	state Exp;
branches;
next	;
commitid	WDQS3CwQc35VVWTz;

1.132.2.1.4.1
date	2016.09.06.20.33.08;	author skrll;	state Exp;
branches;
next	1.132.2.1.4.2;
commitid	CX54FkJY7PJHKglz;

1.132.2.1.4.2
date	2017.01.26.21.54.24;	author skrll;	state Exp;
branches;
next	;
commitid	NYgLam7imcWDEwDz;

1.131.2.1
date	2014.08.10.06.54.58;	author tls;	state Exp;
branches;
next	;
commitid	evvdUIM09cnWBMLx;

1.129.2.1
date	2014.05.18.17.45.47;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.125.2.1
date	2013.02.25.00.29.33;	author tls;	state Exp;
branches;
next	1.125.2.2;

1.125.2.2
date	2013.06.23.06.20.22;	author tls;	state Exp;
branches;
next	1.125.2.3;
commitid	eVjr9caYRQbRGHUw;

1.125.2.3
date	2014.08.20.00.03.51;	author tls;	state Exp;
branches;
next	1.125.2.4;
commitid	jTnpym9Qu0o4R1Nx;

1.125.2.4
date	2017.12.03.11.37.33;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.120.2.1
date	2012.06.14.09.48.47;	author sborrill;	state Exp;
branches;
next	1.120.2.2;

1.120.2.2
date	2012.06.15.08.48.46;	author sborrill;	state Exp;
branches;
next	1.120.2.3;

1.120.2.3
date	2013.02.13.01.36.16;	author riz;	state Exp;
branches;
next	;

1.116.4.1
date	2012.02.18.07.35.04;	author mrg;	state Exp;
branches;
next	1.116.4.2;

1.116.4.2
date	2012.04.05.21.33.33;	author mrg;	state Exp;
branches;
next	1.116.4.3;

1.116.4.3
date	2012.06.02.11.09.29;	author mrg;	state Exp;
branches;
next	;

1.115.2.1
date	2011.11.10.14.31.47;	author yamt;	state Exp;
branches;
next	1.115.2.2;

1.115.2.2
date	2012.04.17.00.08.05;	author yamt;	state Exp;
branches;
next	1.115.2.3;

1.115.2.3
date	2012.10.30.17.22.04;	author yamt;	state Exp;
branches;
next	1.115.2.4;

1.115.2.4
date	2013.01.23.00.06.11;	author yamt;	state Exp;
branches;
next	1.115.2.5;

1.115.2.5
date	2014.05.22.11.40.36;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.105.2.1
date	2011.06.23.14.20.09;	author cherry;	state Exp;
branches;
next	;

1.104.2.1
date	2011.06.06.09.08.40;	author jruoho;	state Exp;
branches;
next	;

1.97.2.1
date	2010.05.30.05.17.44;	author rmind;	state Exp;
branches;
next	1.97.2.2;

1.97.2.2
date	2011.03.05.20.54.10;	author rmind;	state Exp;
branches;
next	1.97.2.3;

1.97.2.3
date	2011.04.21.01.42.02;	author rmind;	state Exp;
branches;
next	1.97.2.4;

1.97.2.4
date	2011.06.12.00.24.26;	author rmind;	state Exp;
branches;
next	;

1.95.2.1
date	2010.04.30.14.43.51;	author uebayasi;	state Exp;
branches;
next	1.95.2.2;

1.95.2.2
date	2010.08.17.06.46.42;	author uebayasi;	state Exp;
branches;
next	1.95.2.3;

1.95.2.3
date	2010.11.06.08.08.35;	author uebayasi;	state Exp;
branches;
next	;

1.90.4.1
date	2012.09.28.10.58.16;	author sborrill;	state Exp;
branches;
next	;

1.90.8.1
date	2009.07.23.23.32.21;	author jym;	state Exp;
branches;
next	;

1.90.12.1
date	2012.01.04.00.11.13;	author matt;	state Exp;
branches;
next	;

1.90.16.1
date	2011.01.07.02.49.58;	author matt;	state Exp;
branches;
next	;

1.84.4.1
date	2008.10.19.22.17.09;	author haad;	state Exp;
branches;
next	;

1.82.6.1
date	2008.06.02.13.23.53;	author mjf;	state Exp;
branches;
next	1.82.6.2;

1.82.6.2
date	2008.09.28.10.40.33;	author mjf;	state Exp;
branches;
next	1.82.6.3;

1.82.6.3
date	2009.01.17.13.29.09;	author mjf;	state Exp;
branches;
next	;

1.82.8.1
date	2008.06.04.02.05.19;	author yamt;	state Exp;
branches;
next	;

1.82.10.1
date	2009.05.04.08.13.20;	author yamt;	state Exp;
branches;
next	1.82.10.2;

1.82.10.2
date	2009.07.18.14.53.11;	author yamt;	state Exp;
branches;
next	1.82.10.3;

1.82.10.3
date	2010.03.11.15.04.04;	author yamt;	state Exp;
branches;
next	1.82.10.4;

1.82.10.4
date	2010.08.11.22.54.13;	author yamt;	state Exp;
branches;
next	;

1.82.12.1
date	2008.06.23.04.31.36;	author wrstuden;	state Exp;
branches;
next	1.82.12.2;

1.82.12.2
date	2008.09.18.04.35.11;	author wrstuden;	state Exp;
branches;
next	1.82.12.3;

1.82.12.3
date	2008.09.24.16.38.55;	author wrstuden;	state Exp;
branches;
next	1.82.12.4;

1.82.12.4
date	2008.10.10.22.33.10;	author skrll;	state Exp;
branches;
next	;

1.81.6.1
date	2008.02.18.21.06.25;	author mjf;	state Exp;
branches;
next	;

1.81.12.1
date	2008.01.23.19.27.35;	author bouyer;	state Exp;
branches;
next	;

1.79.2.1
date	2007.09.10.10.55.25;	author skrll;	state Exp;
branches;
next	;

1.79.6.1
date	2007.10.02.18.28.42;	author joerg;	state Exp;
branches;
next	;

1.79.8.1
date	2007.11.06.23.30.30;	author matt;	state Exp;
branches;
next	1.79.8.2;

1.79.8.2
date	2008.03.23.02.04.53;	author matt;	state Exp;
branches;
next	;

1.73.2.1
date	2007.03.24.14.55.47;	author yamt;	state Exp;
branches;
next	1.73.2.2;

1.73.2.2
date	2007.05.07.10.55.32;	author yamt;	state Exp;
branches;
next	1.73.2.3;

1.73.2.3
date	2007.05.17.13.41.34;	author yamt;	state Exp;
branches;
next	;

1.73.6.1
date	2007.03.13.16.50.31;	author ad;	state Exp;
branches;
next	1.73.6.2;

1.73.6.2
date	2007.05.27.14.30.29;	author ad;	state Exp;
branches;
next	1.73.6.3;

1.73.6.3
date	2007.07.15.13.21.46;	author ad;	state Exp;
branches;
next	1.73.6.4;

1.73.6.4
date	2007.10.09.13.42.07;	author ad;	state Exp;
branches;
next	;

1.73.8.1
date	2007.07.11.20.08.29;	author mjf;	state Exp;
branches;
next	;

1.73.10.1
date	2007.05.22.14.57.35;	author itohy;	state Exp;
branches;
next	1.73.10.2;

1.73.10.2
date	2007.06.12.13.58.24;	author itohy;	state Exp;
branches;
next	1.73.10.3;

1.73.10.3
date	2007.06.28.03.09.36;	author itohy;	state Exp;
branches;
next	;

1.72.2.1
date	2007.05.12.17.08.13;	author snj;	state Exp;
branches
	1.72.2.1.2.1;
next	1.72.2.2;

1.72.2.2
date	2007.09.27.22.04.26;	author xtraeme;	state Exp;
branches;
next	1.72.2.3;

1.72.2.3
date	2009.03.24.21.25.04;	author bouyer;	state Exp;
branches;
next	;

1.72.2.1.2.1
date	2007.09.30.03.39.07;	author wrstuden;	state Exp;
branches;
next	;

1.70.2.1
date	2006.12.10.07.18.16;	author yamt;	state Exp;
branches;
next	;

1.69.2.1
date	2006.11.18.21.34.50;	author ad;	state Exp;
branches;
next	1.69.2.2;

1.69.2.2
date	2007.01.12.00.57.48;	author ad;	state Exp;
branches;
next	;

1.68.2.1
date	2006.08.25.12.33.57;	author tron;	state Exp;
branches;
next	1.68.2.2;

1.68.2.2
date	2006.09.14.21.16.33;	author riz;	state Exp;
branches;
next	;

1.66.2.1
date	2006.06.22.03.39.49;	author chap;	state Exp;
branches;
next	;

1.66.4.1
date	2006.07.13.17.49.44;	author gdamore;	state Exp;
branches;
next	;

1.65.4.1
date	2006.09.09.02.55.33;	author rpaulo;	state Exp;
branches;
next	;

1.65.6.1
date	2006.04.22.11.39.37;	author simonb;	state Exp;
branches;
next	;

1.65.8.1
date	2006.04.11.11.55.18;	author yamt;	state Exp;
branches;
next	1.65.8.2;

1.65.8.2
date	2006.06.26.12.52.28;	author yamt;	state Exp;
branches;
next	1.65.8.3;

1.65.8.3
date	2006.08.11.15.45.20;	author yamt;	state Exp;
branches;
next	1.65.8.4;

1.65.8.4
date	2006.09.03.15.25.03;	author yamt;	state Exp;
branches;
next	1.65.8.5;

1.65.8.5
date	2006.09.14.12.31.40;	author yamt;	state Exp;
branches;
next	;

1.65.10.1
date	2006.04.19.03.26.29;	author elad;	state Exp;
branches;
next	;

1.65.12.1
date	2006.05.24.15.50.30;	author tron;	state Exp;
branches;
next	;

1.62.2.1
date	2006.06.21.15.07.43;	author yamt;	state Exp;
branches;
next	1.62.2.2;

1.62.2.2
date	2006.12.30.20.49.38;	author yamt;	state Exp;
branches;
next	1.62.2.3;

1.62.2.3
date	2007.02.26.09.10.43;	author yamt;	state Exp;
branches;
next	1.62.2.4;

1.62.2.4
date	2007.09.03.14.39.00;	author yamt;	state Exp;
branches;
next	1.62.2.5;

1.62.2.5
date	2007.10.27.11.34.30;	author yamt;	state Exp;
branches;
next	1.62.2.6;

1.62.2.6
date	2008.02.04.09.23.36;	author yamt;	state Exp;
branches;
next	;

1.58.6.1
date	2005.04.17.10.28.08;	author tron;	state Exp;
branches;
next	1.58.6.2;

1.58.6.2
date	2005.04.17.10.34.15;	author tron;	state Exp;
branches;
next	;

1.56.4.1
date	2005.04.29.11.29.18;	author kent;	state Exp;
branches;
next	;

1.52.4.1
date	2005.07.21.19.26.41;	author riz;	state Exp;
branches;
next	;

1.50.2.1
date	2004.08.03.10.51.32;	author skrll;	state Exp;
branches;
next	1.50.2.2;

1.50.2.2
date	2004.09.18.14.51.46;	author skrll;	state Exp;
branches;
next	1.50.2.3;

1.50.2.3
date	2004.09.21.13.33.43;	author skrll;	state Exp;
branches;
next	1.50.2.4;

1.50.2.4
date	2004.11.02.07.53.02;	author skrll;	state Exp;
branches;
next	1.50.2.5;

1.50.2.5
date	2005.01.24.08.35.36;	author skrll;	state Exp;
branches;
next	1.50.2.6;

1.50.2.6
date	2005.11.10.14.08.05;	author skrll;	state Exp;
branches;
next	;

1.44.2.1
date	2002.08.29.05.22.58;	author gehenna;	state Exp;
branches;
next	;

1.44.4.1
date	2005.10.26.22.16.27;	author jmc;	state Exp;
branches;
next	;

1.30.2.1
date	2002.01.10.19.58.48;	author thorpej;	state Exp;
branches;
next	1.30.2.2;

1.30.2.2
date	2002.03.16.16.01.35;	author jdolecek;	state Exp;
branches;
next	1.30.2.3;

1.30.2.3
date	2002.06.23.17.49.02;	author jdolecek;	state Exp;
branches;
next	1.30.2.4;

1.30.2.4
date	2002.09.06.08.46.39;	author jdolecek;	state Exp;
branches;
next	;

1.28.2.1
date	2001.04.09.01.57.30;	author nathanw;	state Exp;
branches;
next	1.28.2.2;

1.28.2.2
date	2001.06.21.20.06.17;	author nathanw;	state Exp;
branches;
next	1.28.2.3;

1.28.2.3
date	2002.01.08.00.32.03;	author nathanw;	state Exp;
branches;
next	1.28.2.4;

1.28.2.4
date	2002.01.11.22.09.05;	author nathanw;	state Exp;
branches;
next	1.28.2.5;

1.28.2.5
date	2002.04.01.07.47.29;	author nathanw;	state Exp;
branches;
next	1.28.2.6;

1.28.2.6
date	2002.06.20.03.46.51;	author nathanw;	state Exp;
branches;
next	1.28.2.7;

1.28.2.7
date	2002.08.27.23.47.11;	author nathanw;	state Exp;
branches;
next	1.28.2.8;

1.28.2.8
date	2002.10.18.02.44.28;	author nathanw;	state Exp;
branches;
next	;

1.12.2.1
date	2000.11.20.11.43.19;	author bouyer;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2001.01.05.17.36.29;	author bouyer;	state Exp;
branches;
next	1.12.2.3;

1.12.2.3
date	2001.01.18.09.23.38;	author bouyer;	state Exp;
branches;
next	1.12.2.4;

1.12.2.4
date	2001.02.11.19.16.21;	author bouyer;	state Exp;
branches;
next	1.12.2.5;

1.12.2.5
date	2001.03.12.13.31.27;	author bouyer;	state Exp;
branches;
next	1.12.2.6;

1.12.2.6
date	2001.04.21.17.49.51;	author bouyer;	state Exp;
branches;
next	;

1.5.2.1
date	99.05.06.02.09.47;	author perry;	state Exp;
branches
	1.5.2.1.2.1;
next	;

1.5.2.1.2.1
date	99.06.21.01.19.25;	author thorpej;	state Exp;
branches;
next	1.5.2.1.2.2;

1.5.2.1.2.2
date	99.07.01.23.40.21;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.186
log
@uhid: Move generic HID code to sys/dev/hid

This change introduces a bus agnostic HID interface (sys/dev/hid/hidev.h)
and splits the uhid driver into a shareable (sys/dev/hid/uhid_common.c) and
USB specific (sys/dev/usb/uhid.c) code.
@
text
@#	$NetBSD: files.usb,v 1.185 2025/12/01 06:26:06 skrll Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it.  Ports that use it must provide
# their own "major" declarations for the appropriate devices.

defflag	USBVERBOSE
defflag	opt_usb.h	USB_FRAG_DMA_WORKAROUND
defparam opt_usb.h	USB_DEBUG_DEFAULT: USB_DEBUG

# HC controllers
defflag	opt_usb.h	EHCI_DEBUG: USB_DEBUG
defparam opt_usb.h	EHCI_DEBUG_DEFAULT: EHCI_DEBUG
defflag	opt_usb.h	OHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	UHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	DWC2_DEBUG: USB_DEBUG
defflag	opt_usb.h	XHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	MOTG_DEBUG: USB_DEBUG
defflag	opt_usb.h	SLHCI_DEBUG: USB_DEBUG

# HUB driver
defflag opt_usb.h	UHUB_DEBUG: USB_DEBUG

# Device drivers

defflag opt_usb.h	ATU_DEBUG: USB_DEBUG
defflag opt_usb.h	AUE_DEBUG: USB_DEBUG
defflag opt_usb.h	AUVITEK_I2C_DEBUG: USB_DEBUG
defflag opt_usb.h	AXE_DEBUG: USB_DEBUG
defflag opt_usb.h	AXEN_DEBUG: USB_DEBUG
defflag opt_usb.h	CUE_DEBUG: USB_DEBUG
defflag opt_usb.h	KUE_DEBUG: USB_DEBUG
defflag opt_usb.h	OTUS_DEBUG: USB_DEBUG
defflag opt_usb.h	RUM_DEBUG: USB_DEBUG
defflag opt_usb.h	RUN_DEBUG: USB_DEBUG
defflag opt_usb.h	UARK_DEBUG: USB_DEBUG
defflag opt_usb.h	UATP_DEBUG: USB_DEBUG
defflag opt_usb.h	UAUDIO_DEBUG: USB_DEBUG
defflag opt_usb.h	UBERRY_DEBUG: USB_DEBUG
defflag opt_usb.h	UBSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UBT_DEBUG: USB_DEBUG
defflag opt_usb.h	UCHCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCYCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UDAV_DEBUG: USB_DEBUG
defflag opt_usb.h	UDL_DEBUG: USB_DEBUG
defflag opt_usb.h	UDSBR_DEBUG: USB_DEBUG
defflag opt_usb.h	UFTDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UGENSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UGEN_DEBUG: USB_DEBUG
defparam opt_usb.h	UGEN_DEBUG_DEFAULT: UGEN_DEBUG
defflag opt_usb.h	UHIDEV_DEBUG: USB_DEBUG
defflag opt_usb.h	UHMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UHSO_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAD_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAQ_DEBUG: USB_DEBUG
defflag opt_usb.h	UIRDA_DEBUG: USB_DEBUG
defflag opt_usb.h	UKBD_DEBUG: USB_DEBUG
defflag opt_usb.h	UKYOPON_DEBUG: USB_DEBUG
defflag opt_usb.h	ULPT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMASS_DEBUG: USB_DEBUG
defflag opt_usb.h	UMCT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDIQUIRK_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UMS_DEBUG: USB_DEBUG
defparam opt_usb.h	UMS_DEBUG_DEFAULT: UMS_DEBUG
defflag opt_usb.h	UPGT_DEBUG: USB_DEBUG
defflag opt_usb.h	UPLCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UPL_DEBUG: USB_DEBUG
defflag opt_usb.h	URAL_DEBUG: USB_DEBUG
defflag opt_usb.h	URL_DEBUG: USB_DEBUG
defflag opt_usb.h	URNDIS_DEBUG: USB_DEBUG
defflag opt_usb.h	URTWN_DEBUG: USB_DEBUG
defparam opt_usb.h	URTWN_DEBUG_DEFAULT: URTWN_DEBUG
defflag opt_usb.h	URTW_DEBUG: USB_DEBUG
defflag opt_usb.h	USBNET_DEBUG: USB_DEBUG
defflag opt_usb.h	USCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USLSA_DEBUG: USB_DEBUG
defflag opt_usb.h	USMSC_DEBUG: USB_DEBUG
defflag opt_usb.h	USSCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USTIR_DEBUG: USB_DEBUG
defflag opt_usb.h	UTHUM_DEBUG: USB_DEBUG
defflag opt_usb.h	UTOPPY_DEBUG: USB_DEBUG
defflag opt_usb.h	UTS_DEBUG: USB_DEBUG
defflag opt_usb.h	UVIDEO_DEBUG: USB_DEBUG
defflag opt_usb.h	UVISOR_DEBUG: USB_DEBUG
defflag opt_usb.h	UVSCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	ZYD_DEBUG: USB_DEBUG
defflag opt_usb.h	UMSCMIO_DEBUG: USB_DEBUG

define	usbroothubif { }
define	usbdevif { [port = -1], [configuration = -1], [interface = -1],
		   [vendor = -1], [product = -1], [release = -1] }
define	usbifif { [port = -1], [configuration = -1], [interface = -1],
		  [vendor = -1], [product = -1], [release = -1] }

device	usb: usbroothubif
attach	usb at usbus
file	dev/usb/usb.c			usb			needs-flag
file	dev/usb/usbdi.c			usb
file	dev/usb/usbdi_util.c		usb
file	dev/usb/usb_subr.c		usb
file	dev/usb/usb_quirks.c		usb

define	usb_dma: usb
file	dev/usb/usb_mem.c		usb_dma			needs-flag

define	usbnet: usb
file	dev/usb/usbnet.c		usbnet

file	dev/usb/usb_verbose.c		usbverbose & usb

# Hub driver
device	uhub: usbdevif, usbifif
attach	uhub at usbroothubif with uroothub
attach	uhub at usbdevif
file	dev/usb/uhub.c			usb

# Modem and com serial port "bus"
define	ucombus {[ portno = -1 ]}

# Audio devices
device	uaudio: audiobus
attach	uaudio at usbifif
file	dev/usb/uaudio.c		uaudio

# MIDI devices
device	umidi: midibus
attach	umidi at usbifif
file	dev/usb/umidi.c			umidi
file	dev/usb/umidi_quirks.c		umidi

# Modem and com serial port
device	ucom
attach	ucom at ucombus
file	dev/usb/ucom.c			ucom | ucombus		needs-flag


# Generic devices
device	ugen
attach	ugen at usbdevif
device	ugenif
attach	ugenif at usbifif
file	dev/usb/ugen.c			ugen | ugenif		needs-flag


# HID
# HID "bus"
define	uhidbus {[ reportid = -1 ]}

# HID root device for multiple report IDs
device	uhidev: hid, uhidbus
attach	uhidev at usbifif
file	dev/usb/uhidev.c		uhidev

# Generic HID devices
attach	uhid at uhidbus with uhid_usb
file	dev/usb/uhid.c			uhid_usb		needs-flag

# Keyboards
defparam	UKBD_LAYOUT
# Gdium's Fn key needs software translation
defflag		opt_ukbd.h 	GDIUM_KEYBOARD_HACK
device	ukbd: hid, wskbddev
attach	ukbd at uhidbus
file	dev/usb/ukbd.c			ukbd			needs-flag

# Mice
device	ums: hid, hidms, wsmousedev
attach	ums at uhidbus
file	dev/usb/ums.c			ums

# USB Apple trackpad
device	uatp: hid, wsmousedev
attach	uatp at uhidbus
file	dev/usb/uatp.c			uatp

# Touchscreens
device	uts: hid, wsmousedev, tpcalib
attach	uts at uhidbus
file	dev/usb/uts.c			uts

# eGalax USB Touch Panel
device	uep: wsmousedev, tpcalib
attach	uep at usbdevif
file	dev/usb/uep.c			uep			needs-flag

# Wacom Intuos PTS Pen
device	uintuos: wsmousedev, tpcalib
attach	uintuos at uhidbus
file	dev/usb/uintuos.c			uintuos

# Cypress microcontroller based serial adapters
device	ucycom: hid
attach	ucycom at uhidbus
file	dev/usb/ucycom.c		ucycom			needs-flag

# Printers
device	ulpt
attach	ulpt at usbifif
file	dev/usb/ulpt.c			ulpt			needs-flag


# Mass storage
device	umass: scsi, atapi
attach	umass at usbifif
file	dev/usb/umass.c			umass
file	dev/usb/umass_quirks.c		umass
file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)


# IrDA bridges
device	uirda: irbus
attach	uirda at usbifif
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbifif
file	dev/usb/stuirda.c		stuirda

# SigmaTel IrDA bridge
device	ustir: irbus, irdasir
attach	ustir at usbdevif
file	dev/usb/ustir.c			ustir

# Windows Media Center IR transceivers
device	irmce: irbus
attach	irmce at usbifif
file	dev/usb/irmce.c			irmce


# Bluetooth controllers
device	ubt: btbus, bluetooth
attach	ubt at usbdevif
file	dev/usb/ubt.c			ubt

# Atheros USB Bluetooth firmware load
device	aubtfwl: firmload
attach	aubtfwl at usbdevif
file	dev/usb/aubtfwl.c		aubtfwl

#
# Capture devices
#

# Sony PLAYSTATION(R) Eye
device	pseye: videobus
attach	pseye at usbifif
file	dev/usb/pseye.c			pseye

# USB Video Class capture devices
device	uvideo: videobus
attach	uvideo at usbifif
file	dev/usb/uvideo.c		uvideo

# Auvitek AU0828
device	auvitek: videobus, dtvbus, i2cbus, i2cexec, usbifif, au8522, xc5k
attach	auvitek at usbdevif
file	dev/usb/auvitek.c		auvitek
file	dev/usb/auvitek_audio.c		auvitek
file	dev/usb/auvitek_board.c		auvitek
file	dev/usb/auvitek_dtv.c		auvitek
file	dev/usb/auvitek_i2c.c		auvitek
file	dev/usb/auvitek_video.c		auvitek

# Empia EM28xx
device	emdtv: dtvbus, irbus, i2cexec, lg3303, xc3028
attach	emdtv at usbdevif
file	dev/usb/emdtv.c			emdtv
file	dev/usb/emdtv_board.c		emdtv
file	dev/usb/emdtv_dtv.c		emdtv
file	dev/usb/emdtv_i2c.c		emdtv
file	dev/usb/emdtv_ir.c		emdtv

#
# Misc
#

# Mode switch usb driver
device	umodeswitch
attach	umodeswitch at usbdevif
file	dev/usb/umodeswitch.c		umodeswitch

# Apple iPad
device	uipad
attach	uipad at usbdevif
file	dev/usb/uipad.c				uipad

# BlackBerries
device	uberry
attach	uberry at usbdevif
file	dev/usb/uberry.c			uberry

# Handspring Visor
device	uvisor: ucombus
attach	uvisor at usbdevif
file	dev/usb/uvisor.c		uvisor

# Generic Serial Adapter
device	ugensa: ucombus
attach	ugensa at usbdevif
file	dev/usb/ugensa.c		ugensa

# 3G Modem
device	u3g: ucombus, umodeswitch
attach	u3g at usbifif
file	dev/usb/u3g.c			u3g

# D-Link DSB-R100 FM radio
device	udsbr: radiodev
attach	udsbr at usbdevif
file	dev/usb/udsbr.c			udsbr

# Silicon Labs USB radio module (FM)
device	slurm: radiodev
attach	slurm at usbifif
file	dev/usb/slurm.c			slurm

# TEMPerHUM HID
device	uthum: hid, sysmon_envsys
attach	uthum at uhidbus
file	dev/usb/uthum.c			uthum

# Ethernet adapters
# ADMtek AN986 Pegasus
device	aue: arp, ether, ifnet, mii, mii_phy, usbnet
attach	aue at usbdevif
file	dev/usb/if_aue.c		aue

# CDC Ethernet
device	cdce: arp, ether, ifnet, usbnet
attach	cdce at usbifif
file	dev/usb/if_cdce.c		cdce

# CATC USB-EL1201A
device	cue: arp, ether, ifnet, usbnet
attach	cue at usbdevif
file	dev/usb/if_cue.c		cue

# Kawasaki LSI KL5KUSB101B
device	kue: arp, ether, ifnet, usbnet
attach	kue at usbdevif
file	dev/usb/if_kue.c		kue

# Prolific PL2302 host-host
device	upl: ifnet, usbnet
attach	upl at usbdevif
file	dev/usb/if_upl.c		upl

# Realtek RTL8150L(M)
device	url: arp, ether, ifnet, mii, usbnet
attach	url at usbdevif
file	dev/usb/if_url.c		url

# ASIX AX88172
device	axe: arp, ether, ifnet, mii, mii_phy, usbnet
attach	axe at usbdevif
file	dev/usb/if_axe.c		axe

# ASIX AX88178a and AX88179
device	axen: arp, ether, ifnet, mii, usbnet
attach	axen at usbdevif
file	dev/usb/if_axen.c		axen

# Moscom MCS7730, MCS7830, and MCS7832
device	mos: arp, ether, ifnet, mii, mii_phy, usbnet
attach	mos at usbdevif
file	dev/usb/if_mos.c		mos

# Microchip LAN750x and LAN85xx
device	mue: arp, ether, ifnet, mii, mii_phy, usbnet
attach	mue at usbdevif
file	dev/usb/if_mue.c		mue

# Network Control Model
device ncm: arp, ether, ifnet, usbnet
attach ncm at usbifif
file	dev/usb/if_ncm.c		ncm

# Atheros AR9170
device	otus: arp, ether, firmload, ifnet, wlan
attach	otus at usbdevif
file	dev/usb/if_otus.c		otus

# DAVICOM DM9601
device	udav: arp, ether, ifnet, mii, mii_phy, usbnet
attach	udav at usbdevif
file	dev/usb/if_udav.c		udav

# Mobile Broadband Interface Model
device	umb: ifnet
attach	umb at usbifif
file	dev/usb/if_umb.c		umb

# RealTek RTL8152 and RTL8153
device	ure: arp, ether, ifnet, mii, mii_phy, usbnet
attach	ure at usbdevif
file	dev/usb/if_ure.c		ure

# Serial drivers
# Modems
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
attach	umodem at usbifif
file	dev/usb/umodem.c		umodem

# FTDI serial driver
device	uftdi: ucombus
attach	uftdi at usbifif
file	dev/usb/uftdi.c			uftdi

# Prolific PL2303 serial driver
device	uplcom: ucombus
attach	uplcom at usbdevif
file	dev/usb/uplcom.c		uplcom

# MCT USB-232 serial driver
device	umct: ucombus
attach	umct at usbdevif
file	dev/usb/umct.c			umct

# MOSCHIP MCS7xxx serial driver
device	umcs: ucombus
attach	umcs at usbdevif
file	dev/usb/umcs.c			umcs

# SUNTAC Slipper U VS-10U driver
device	uvscom: ucombus
attach	uvscom at usbdevif
file	dev/usb/uvscom.c		uvscom

# Exar XR21V141x serial driver (mostly CDC)
device	uxrcom: ucombus, umodem_common
attach	uxrcom at usbifif
file	dev/usb/uxrcom.c		uxrcom

# Belkin & other serial driver
define	ubsa_common
file	dev/usb/ubsa_common.c		ubsa_common
device	ubsa: ucombus, ubsa_common
attach	ubsa at usbdevif
file	dev/usb/ubsa.c			ubsa

# Huawei E220 3G/HSDPA modem (ubsa)
device	uhmodem: ucombus, ubsa_common
attach	uhmodem at usbifif
file	dev/usb/uhmodem.c		uhmodem

# iPAQ PDAs
device	uipaq: ucombus
attach	uipaq at usbdevif
file	dev/usb/uipaq.c			uipaq

# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at usbifif
file	dev/usb/ukyopon.c		ukyopon

# ArkMicroChips 3116 based serial (used with some Nokia USB cables too)
device	uark: ucombus
attach	uark at usbdevif
file	dev/usb/uark.c		uark

# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbifif
file	dev/usb/uslsa.c			uslsa

# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

# Avision SCSI over USB, HP5300
device	usscanner: scsi
attach	usscanner at usbdevif
file	dev/usb/usscanner.c		usscanner

# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @@ USB
device	atu: ether, ifnet, arp, wlan
attach	atu at usbdevif
file	dev/usb/if_atu.c		atu

# Intersil PrismGT
device	upgt: ether, ifnet, arp, wlan, firmload
attach	upgt at usbdevif
file	dev/usb/if_upgt.c		upgt

# SMSC LAN95xx
device	usmsc: arp, ether, ifnet, mii, mii_phy, usbnet
attach	usmsc at usbdevif
file	dev/usb/if_smsc.c		usmsc

# Ralink Technology RT2500USB
device	ural: arp, ether, ifnet, wlan, firmload
attach	ural at usbdevif
file	dev/usb/if_ural.c		ural

device	rum: ether, ifnet, arp, wlan, firmload
attach	rum at usbdevif
file	dev/usb/if_rum.c		rum

# Topfield digital PVRs
device	utoppy
attach	utoppy at usbdevif
file	dev/usb/utoppy.c		utoppy

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif
file	dev/usb/if_zyd.c		zyd

# Geschwister Schneider USB to CAN interface (and clones)
device gscan: ifnet
attach gscan at usbdevif
file	dev/usb/if_gscan.c		gscan

# DisplayLink DL-1x0/DL-1x5
device	udl: wsemuldisplaydev, rasops16, edid, firmload
attach	udl at usbdevif
file	dev/usb/udl.c			udl

# Wireless WAN modems from Option N.V.
device	uhso: ifnet
attach	uhso at usbdevif
file	dev/usb/uhso.c			uhso

# Microsoft RNDIS
device	urndis: arp, ether, ifnet, usbnet
attach	urndis at usbifif
file	dev/usb/if_urndis.c		urndis

# Realtek RTL8188CU/RTL8192CU
device	urtwn: ether, ifnet, arp, wlan, firmload
attach	urtwn at usbdevif
file	dev/usb/if_urtwn.c		urtwn

# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
device	urtw: ether, ifnet, arp, wlan
attach	urtw at usbdevif
file	dev/usb/if_urtw.c		urtw

# Ralink Technology RT2700U/RT2800U/RT3000U
device	run: ether, ifnet, arp, wlan, firmload
attach	run at usbdevif
file	dev/usb/if_run.c		run

# Atheros AR9002U
attach	athn at usbdevif with athn_usb: firmload
file	dev/usb/if_athn_usb.c		athn_usb		needs-flag

# Realtek RTL8188SU/RTL8191SU/RTL8192SU
device	rsu: arp, ether, firmload, ifnet, wlan
attach	rsu at usbdevif
file	dev/usb/if_rsu.c		rsu

# KingSun/DonShine IrDA adaptors
device	udsir: irbus, irdasir
attach	udsir at usbifif
file	dev/usb/udsir.c			udsir

# Araneus Alea II TRNG
device	ualea
attach	ualea at usbifif
file	dev/usb/ualea.c			ualea

# Broadcom FullMAC USB wireless adapter
attach	bwfm at usbdevif with bwfm_usb: firmload
file	dev/usb/if_bwfm_usb.c		bwfm_usb

# Microchip USB 2.0 to I2C/UART/SPI Protocol Converter with GPIO
device	umcpmio: hid, spibus, i2cbus, i2cexec, gpiobus
attach  umcpmio at uhidbus
file	dev/usb/umcpmio.c		umcpmio			needs-flag
file	dev/usb/umcpmio_transport.c	umcpmio
file	dev/usb/umcpmio_gpio.c		umcpmio
file	dev/usb/umcpmio_iic.c		umcpmio
file	dev/usb/umcpmio_spi.c		umcpmio
file	dev/usb/umcpmio_subr.c		umcpmio
@


1.185
log
@spaces -> tabs
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.184 2025/11/29 18:39:14 brad Exp $
a52 1
defflag opt_usb.h	UHID_DEBUG: USB_DEBUG
d158 2
a159 3
device	uhid: hid
attach	uhid at uhidbus
file	dev/usb/uhid.c			uhid			needs-flag
@


1.184
log
@

umcpmio(4) version 2

o This driver supports a number of different bus frameworks.
Reorganize the driver into specific files based on the bus and
function.

o Fix an error condtion in the HID transport that happens when the
device is removed.

o Add support to the driver for the MCP2210 USB to SPI bridge.  This
bridge chip is the companion to the MCP2221 / MCP2221A.  The MCP2210
provides a SPI bus to any system that has a USB bus.  It also provides
GPIO that is used with the gpio(4) framework and 256 bytes of EEPROM
that is exposed to a /dev/ device.  It is almost certain that the chip
is just one of Microchip's PICs and while not at all perfect, is
reasonably decent if your USB bus functions well.  Like the MCP2221 /
MCP2221A, umcpmioctl provides control over a number of functions to
the MCP2210.

Premade breakout boards are available from Microchip or Mikeroe, but
the MCP2210 is pretty inexpensive and it is not at all hard to roll
your own breakout for it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.183 2025/08/18 20:59:55 andvar Exp $
d541 1
a541 1
file	dev/usb/if_urtwn.c              urtwn
d579 2
a580 2
file    dev/usb/umcpmio.c		umcpmio			needs-flag
file    dev/usb/umcpmio_transport.c	umcpmio
@


1.183
log
@Fix various typos, mainly in comments:
s/invaid/invalid/
s/instad/instead/
s/wich/with/
s/tranform/transform/
s/tranmist/transmit/
s/tranceiver/transceiver/
s/Tranparent/Transparent/
s/tranlated/translated/
s/tranfer/transfer/
s/tranmissions/transmissions/
s/condtions/conditions/
s/Recient/Recent/
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.182 2025/04/03 16:33:48 bouyer Exp $
d576 2
a577 2
# Microchip USB 2.0 to I2C/UART Protocol Converter with GPIO
device	umcpmio: hid, i2cbus, i2cexec, gpiobus
d580 4
@


1.182
log
@Add gscan(4), a driver for USB to CAN bus adapters.
This driver supports the Geschwister Schneider USB to CAN adapter, and
clones supported by the open-source candleLight firmware.

Add gscan to evbarm GENERIC (which already supports CAN family and the
sunxican(4) driver by default), and to amd64 ALL.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.181 2025/01/20 13:54:55 maya Exp $
d230 1
a230 1
# Windows Media Center IR tranceivers
@


1.182.2.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #118):

	sys/dev/hid/hidev.h: revision 1.1
	sys/dev/hid/hidev.h: revision 1.2
	sys/dev/hid/hidev.c: revision 1.1
	sys/dev/hid/uhid.h: revision 1.1
	sys/dev/hid/hidev.c: revision 1.2
	sys/dev/hid/uhid.h: revision 1.2
	sys/dev/usb/uhid.c: revision 1.130
	sys/dev/usb/files.usb: revision 1.186
	sys/dev/hid/uhid_common.c: revision 1.1
	sys/dev/usb/uhidev.h: revision 1.28
	sys/dev/usb/uhidev.h: revision 1.29
	sys/dev/hid/files.hid: revision 1.4
	sys/dev/usb/uhidev.c: revision 1.96
	sys/dev/usb/uhidev.c: revision 1.97

uhid: Move generic HID code to sys/dev/hid

This change introduces a bus agnostic HID interface (sys/dev/hid/hidev.h)
and splits the uhid driver into a shareable (sys/dev/hid/uhid_common.c) and
USB specific (sys/dev/usb/uhid.c) code.

uhid: Fix uhidev attach bug and remove hidev_tag_t typedef
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.182 2025/04/03 16:33:48 bouyer Exp $
d53 1
d159 3
a161 2
attach	uhid at uhidbus with uhid_usb
file	dev/usb/uhid.c			uhid_usb		needs-flag
@


1.182.2.2
log
@Backout ticket #118:
	uhid: Move generic HID code to sys/dev/hid

This requires a kernel version bump (as-is, struct uhiddev_attach_arg
changed) and can not be pulled up.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.182.2.1 2025/12/12 18:35:58 martin Exp $
a52 1
defflag opt_usb.h	UHID_DEBUG: USB_DEBUG
d158 2
a159 3
device	uhid: hid
attach	uhid at uhidbus
file	dev/usb/uhid.c			uhid			needs-flag
@


1.181
log
@Add ncm(4) a driver for USB Network Control Model

Seen on my Google Pixel 8, which implements ncm instead of urndis.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.180 2024/12/16 16:37:38 brad Exp $
d518 5
@


1.180
log
@


A driver for the MCP-2221 / 2221A multi-io chip.  This is a USB to
UART / GPIO / I2C multi-io chip probably based upon a programmed PIC.
The end result is that simple gpio and i2c can exist on any system
that provides a USB port.  This is everything from a RPI to a
Virtualbox VM.


o The UART presents itself as a umodem(4) device and pretty much works
as one would expect.

o There are 4 simple GPIO pins with multiple functions that attach to
gpio(4).  Support for basic GPIO input and output exists with gpioctl,
the ADC, DAC and clock pulse functions exist as ALT functions.  For
the ADC and DAC /dev/ devices are provided such that simple reads and
writes interact with the ADC and DAC.  The IRQ function on pin GP1 and
bit banging the GPIO with gpiopps(4) and gpioow(4) are not really
supported.  The short answer is that a spin lock is held while trying
to do USB transfers and that isn't allowed.

o There is a simple I2C engine that attaches to iic(4).  This mostly
works as expected, except that a READ without STOP is not supported by
the engine which causes problems for some drivers.  Most drivers do
not seem to use READ without STOP and seem to work as expected.
Support for changing the I2C speed is not supported, but nothing much
really does that.

o A userland utility called umcpmioctl(8) is provided that allows the
query of the status of the chip and allows for the query of the flash
memory and the setting of some of the flash memory parameters mostly
related to gpio.  This utility interacts with a control device in
/dev/.  The flash memory contents is copied to the sram on boot up of
the chip and can be used to adjust how the chip sets up the gpio pins,
among other things.  Support for setting or entering the chip password
is not provided.

o A number of sysctls are provided to mess with various settings.
These are detailed in the man page.


While not perfect, the chip is reasonable, cheap, and has at least one
vendor making a breakout board.  It is also one of the only ones in
this space that has enough documentation to write a driver.

Support for a related chip, the MCP-2210, which provides SPI and GPIO
may exist some day as the programming interface is very simular.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.179 2023/07/20 20:00:34 mrg Exp $
d379 5
@


1.179
log
@various debug updates for some usb drivers

- several new *_DEBUG_DEFAULT options that allow usb debug values to
  be set to a default that is non-zero:
  EHCI_DEBUG_DEFAULT, UGEN_DEBUG_DEFAULT, URTWN_DEBUG_DEFAULT,
  UMS_DEBUG_DEFAULT, and USB_DEBUG_DEFAULT
- ugen debug uses fewer usbhist lines for the same info
- ums.c converted from printf() to usbhist
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.178 2022/06/30 06:30:44 macallan Exp $
d91 1
d565 6
@


1.179.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.182 2025/04/03 16:33:48 bouyer Exp $
a90 1
defflag opt_usb.h	UMSCMIO_DEBUG: USB_DEBUG
a377 5
# Network Control Model
device ncm: arp, ether, ifnet, usbnet
attach ncm at usbifif
file	dev/usb/if_ncm.c		ncm

a511 5
# Geschwister Schneider USB to CAN interface (and clones)
device gscan: ifnet
attach gscan at usbdevif
file	dev/usb/if_gscan.c		gscan

a563 6

# Microchip USB 2.0 to I2C/UART Protocol Converter with GPIO
device	umcpmio: hid, i2cbus, i2cexec, gpiobus
attach  umcpmio at uhidbus
file    dev/usb/umcpmio.c		umcpmio			needs-flag
file	dev/usb/umcpmio_subr.c		umcpmio
@


1.178
log
@a driver for Wacom Intuos drawing tablets, from Yorick Hardy
this has been sitting in my tree long enough and works fine with the hardware
I have access to
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.177 2021/06/29 10:22:37 nia Exp $
d9 1
d13 1
d51 1
d68 1
d76 1
@


1.177
log
@Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.176 2020/07/13 04:44:03 mrg Exp $
d185 5
@


1.176
log
@mark USBNET_DEBUG as a defflag that depends on USB_DEBUG.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.175 2020/05/16 13:46:12 maya Exp $
a462 6
# Scanners
# Generic scanner support
device	uscanner
attach	uscanner at usbdevif
file	dev/usb/uscanner.c		uscanner		needs-flag

@


1.176.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.177 2021/06/29 10:22:37 nia Exp $
d463 6
@


1.175
log
@Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.174 2020/04/13 09:26:43 jdolecek Exp $
d73 1
@


1.174
log
@remove obsolete support for ISD-ATA umass(4) adapters
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.173 2020/04/12 01:10:54 simonb Exp $
a29 1
defflag opt_usb.h	EZLOAD_DEBUG: USB_DEBUG
a116 4
# EZ-USB firmware loader
define	ezload
file	dev/usb/ezload.c		ezload

a300 5
# YAP phone firmware loader
device	uyap: ezload
attach	uyap at usbdevif
file	dev/usb/uyap.c			uyap

@


1.173
log
@Add uxrcom driver for Exar XR21V141x USB serial adapters.  Based in part
on the OpenBSD single-port XR21V1410 uxrcom driver, but adds support
for multi-port chipsets and uses the common umodem framework instead of
being a standalone driver.

Thanks to skrll@@ for much USB clue and mrg@@ for financing the
development of this driver.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.172 2020/02/09 15:46:15 maya Exp $
a56 1
defflag opt_usb.h	UISDATA_DEBUG: USB_DEBUG
d201 1
a201 1
device	umass: scsi, atapi, ata_hl
a203 1
file	dev/usb/umass_isdata.c		umass & wd & atabus
@


1.172
log
@Remove trace of uyurex. Pointed out by maxv, thanks!
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.171 2020/02/03 19:37:42 maya Exp $
d432 5
@


1.172.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.174 2020/04/13 09:26:43 jdolecek Exp $
d57 1
d202 1
a202 1
device	umass: scsi, atapi
d205 1
a431 5
# Exar XR21V141x serial driver (mostly CDC)
device	uxrcom: ucombus, umodem_common
attach	uxrcom at usbifif
file	dev/usb/uxrcom.c		uxrcom

@


1.171
log
@Remove more urio(4) traces.

Pointed out by maxv, thanks.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.170 2020/02/03 12:56:26 kre Exp $
a85 1
defflag opt_usb.h	UYUREX_DEBUG: USB_DEBUG
@


1.170
log
@
urio(4) has gone - remove it from here as well, so any kernel config
files that reference it will fail to configure, rather than later
failing to build.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.169 2020/01/17 15:00:20 maya Exp $
a70 1
defflag opt_usb.h	URIO_DEBUG: USB_DEBUG
@


1.169
log
@Remove uyurex(4).

This is a driver for a "nonsense machine" made by the art group Maywa-Denki
in 2008. It was disabled by default.

Unfortunately even so it draws development attention (flaws found in the
code, MP-ification needs) and it is best not to continue to maintain this
driver.

Proposed without objections on tech-kern.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.168 2019/09/20 10:34:54 mrg Exp $
a284 5
# Diamond Multimedia Rio 500
device	urio
attach	urio at usbdevif
file	dev/usb/urio.c			urio			needs-flag

@


1.168
log
@add mos(4) driver for Moschip MCS7730/MCS7830/MCS7832 usb ethernet.
ported from openbsd.  usbnet version loses about 40% of code.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.167 2019/08/23 08:45:25 mrg Exp $
a530 5
# Maywa-denki/Kayac YUREX
device	uyurex: hid
attach	uyurex at uhidbus
file	dev/usb/uyurex.c		uyurex

@


1.168.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.169 2020/01/17 15:00:20 maya Exp $
d531 5
@


1.168.2.2
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.172 2020/02/09 15:46:15 maya Exp $
d71 1
d87 1
d285 5
@


1.167
log
@aue depends upon usbnet
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.166 2019/08/18 09:29:38 mrg Exp $
d376 5
d386 5
a395 5
# Atheros AR9170
device	otus: arp, ether, firmload, ifnet, wlan
attach	otus at usbdevif
file	dev/usb/if_otus.c		otus

@


1.166
log
@update usbnet slight:
- drivers that want to use if_input() will also set _if_input.  for
  now, avoid attaching a per-cpu queue for them.  use if_initialize()
  and if_register().
- when stopping pipes, don't give up after the first failure, but
  keep the first failure error for return and keep going
- if 0 a KASSERT() in usbnet_init_rx_tx().  there's a path via
  if_mcast_op() that can have the ifnet unlocked today..
- in usbnet_watchdog(), abort the pipe instead of faking tx
  completion.  avoids issues with devices with more than one tx
  descriptor, as well as avoiding triggering usb asserts.

with these, upl(4) port to usbnet(9) now works.  (would be a version
bump, but upl(4) and the unported umb(4) are the only consumers that
would care.)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.165 2019/08/16 08:52:46 mrg Exp $
d337 1
a337 1
device	aue: arp, ether, ifnet, mii, mii_phy
@


1.165
log
@kue now depends upon usbnet.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.164 2019/08/15 08:02:32 mrg Exp $
d357 1
a357 1
device	upl: ifnet
@


1.164
log
@port cue(4), mue(4) and url(4) to usbnet(9).  diffstat says:

8 files changed, 911 insertions(+), 3087 deletions(-)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.163 2019/08/11 11:17:35 skrll Exp $
d352 1
a352 1
device	kue: arp, ether, ifnet
@


1.163
log
@Convert smsc_dbg_printf to usbhist
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.162 2019/08/09 06:38:39 mrg Exp $
d347 1
a347 1
device	cue: arp, ether, ifnet
d362 1
a362 1
device	url: arp, ether, ifnet, mii
d377 1
a377 1
device	mue: arp, ether, ifnet, mii, mii_phy
@


1.162
log
@switch urndis(4) to usbnet.  thanks to maya@@ for testing and helping
fix the few issues in the conversion.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.161 2019/08/07 19:21:48 skrll Exp $
d78 1
@


1.161
log
@Convert udav(4) to usbnet.  Based on a diff from mrg@@
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.160 2019/08/07 07:25:09 skrll Exp $
d531 1
a531 1
device	urndis: arp, ether, ifnet
@


1.160
log
@usmsc needs usbnet
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.159 2019/08/06 01:44:24 mrg Exp $
d381 1
a381 1
device	udav: arp, ether, ifnet, mii, mii_phy
@


1.159
log
@mark axe(4) and ure(4) as needing usbnet
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.158 2019/07/31 10:19:55 martin Exp $
d492 1
a492 1
device	usmsc: arp, ether, ifnet, mii, mii_phy
@


1.158
log
@Make cdce depend on usbnet too
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.157 2019/07/31 09:13:16 mrg Exp $
d366 1
a366 1
device	axe: arp, ether, ifnet, mii, mii_phy
d396 1
a396 1
device	ure: arp, ether, ifnet, mii, mii_phy
@


1.157
log
@introduce a library of common code / backends to share code between
USB ethernet drivers.

usbnet.h introduces a new set of APIs to provide common solutions
for these driver features:
 - USB endpoint pipe handling
 - rx and tx chain handling
 - generic handlers or support for several struct ifnet callbacks
 - MII bus locking
 - interrupt handling
 - partial autoconf handling: much of attach, and detach/activate
   can use common versions directly.

currently, only axen(4) and cdce(4) are converted.  the reductions
in these drivers are quite significant:  if_cdce.c is reduced from
1000 lines to 320 lines, and if_axen is reduced from 1902 lines
to 1021 lines.

add a "usbnet" module and make the if_axen module depend upon it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.156 2019/05/08 13:40:19 isaki Exp $
d341 1
a341 1
device	cdce: arp, ether, ifnet
@


1.156
log
@Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.155 2019/05/07 22:00:10 mrg Exp $
d106 3
d371 1
a371 1
device	axen: arp, ether, ifnet, mii
@


1.156.2.1
log
@Pull up following revision(s) (requested by mrg in ticket #135):

	distrib/sets/lists/comp/mi			1.2279
	distrib/sets/lists/modules/mi			1.123
	share/man/man9/Makefile				1.438
	share/man/man9/usbnet.9				1.1-1.9
	sys/dev/ic/rndisreg.h				1.3
	sys/dev/usb/TODO				1.47-1.52
	sys/dev/usb/TODO.usbmp				1.15,1.16
	sys/dev/usb/files.usb				1.157-1.167
	sys/dev/usb/if_aue.c				1.155-1.161
	sys/dev/usb/if_auereg.h				1.30-1.32
	sys/dev/usb/if_axe.c				1.103-1.119
	sys/dev/usb/if_axen.c				1.51-1.53,1.55-1.67
	sys/dev/usb/if_axenreg.h			1.15
	sys/dev/usb/if_cdce.c				1.54-1.67
	sys/dev/usb/if_cue.c				1.85,1.86
	sys/dev/usb/if_cuereg.h				1.23
	sys/dev/usb/if_kue.c				1.97-1.100
	sys/dev/usb/if_kuereg.h				1.23,1.24
	sys/dev/usb/if_mue.c				1.51-1.55
	sys/dev/usb/if_muereg.h				1.6
	sys/dev/usb/if_muevar.h				1.9
	sys/dev/usb/if_smsc.c				1.46-1.61
	sys/dev/usb/if_smscreg.h			1.6
	sys/dev/usb/if_smscvar.h			delete
	sys/dev/usb/if_udav.c				1.60-1.71
	sys/dev/usb/if_udavreg.h			1.14,1.15
	sys/dev/usb/if_upl.c				1.65,1.66
	sys/dev/usb/if_ure.c				1.15-1.31
	sys/dev/usb/if_urevar.h				1.4,1.5
	sys/dev/usb/if_url.c				1.67-1.70
	sys/dev/usb/if_urlreg.h				1.14
	sys/dev/usb/if_urndis.c				1.22-1.33
	sys/dev/usb/if_urtwn.c				1.72
	sys/dev/usb/ohci.c				1.290
	sys/dev/usb/uhub.c				1.143
	sys/dev/usb/usb.c				1.180
	sys/dev/usb/usb.h				1.118
	sys/dev/usb/usb_mem.c				1.71
	sys/dev/usb/usb_subr.c				1.238,1.239
	sys/dev/usb/usbdevs				1.772
	sys/dev/usb/usbdi.c				1.183,1.186
	sys/dev/usb/usbdi.h				1.97
	sys/dev/usb/usbdi_util.c			1.75
	sys/dev/usb/usbhist.h				1.5,1.6
	sys/dev/usb/usbnet.c				1.1-1.24
	sys/dev/usb/usbnet.h				1.1-1.14
	sys/dev/usb/usbroothub.c			1.9
	sys/dev/usb/xhci.c				1.109,1.110
	sys/modules/Makefile				1.223
	sys/modules/usbnet/Makefile			1.1

usbnet(9): Add common framework for USB network devices.
This bring various safety fixes to all updated drivers,
and includes locking clean up, detach safety when being
used or not, separate rx/tx locks to improve performance,
porting to NET_MPSAFE, many edge/error case bugs in
drivers fixed, as well as resovling PRs 54303 and 54308.
These drivers are converted: axe(4), axen(4), aue(4),
cdce(4), cue(4), kue(4), mue(4), smsc(4), udav(4),
upl(4), ure(4), url(4), and urndis(4).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.156 2019/05/08 13:40:19 isaki Exp $
a77 1
defflag opt_usb.h	USMSC_DEBUG: USB_DEBUG
a105 3
define	usbnet: usb
file	dev/usb/usbnet.c		usbnet

d333 1
a333 1
device	aue: arp, ether, ifnet, mii, mii_phy, usbnet
d338 1
a338 1
device	cdce: arp, ether, ifnet, usbnet
d343 1
a343 1
device	cue: arp, ether, ifnet, usbnet
d348 1
a348 1
device	kue: arp, ether, ifnet, usbnet
d353 1
a353 1
device	upl: ifnet, usbnet
d358 1
a358 1
device	url: arp, ether, ifnet, mii, usbnet
d363 1
a363 1
device	axe: arp, ether, ifnet, mii, mii_phy, usbnet
d368 1
a368 1
device	axen: arp, ether, ifnet, mii, usbnet
d373 1
a373 1
device	mue: arp, ether, ifnet, mii, mii_phy, usbnet
d378 1
a378 1
device	udav: arp, ether, ifnet, mii, mii_phy, usbnet
d393 1
a393 1
device	ure: arp, ether, ifnet, mii, mii_phy, usbnet
d489 1
a489 1
device	usmsc: arp, ether, ifnet, mii, mii_phy, usbnet
d528 1
a528 1
device	urndis: arp, ether, ifnet, usbnet
@


1.156.2.2
log
@Pull up following revision(s) (requested by simonb in ticket #828):

	share/man/man4/uxrcom.4: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1687
	share/man/man4/uxrcom.4: revision 1.2
	share/man/man4/ucom.4: revision 1.28
	sys/dev/usb/uxrcom.c: revision 1.1
	sys/dev/usb/umodem.c: revision 1.74
	sys/dev/usb/umodem_common.c: revision 1.33
	sys/dev/usb/ukyopon.c: revision 1.26
	sys/dev/usb/files.usb: revision 1.173
	share/man/man4/Makefile: revision 1.704
	sys/dev/usb/usbdevs: revision 1.781
	sys/dev/usb/usbdevices.config: revision 1.38

Add uxrcom driver for Exar XR21V141x USB serial adapters.  Based in part
on the OpenBSD single-port XR21V1410 uxrcom driver, but adds support
for multi-port chipsets and uses the common umodem framework instead of
being a standalone driver.

Thanks to skrll@@ for much USB clue and mrg@@ for financing the
development of this driver.

Add NetBSD CVS tag.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.156.2.1 2019/09/01 13:00:37 martin Exp $
a433 5
# Exar XR21V141x serial driver (mostly CDC)
device	uxrcom: ucombus, umodem_common
attach	uxrcom at usbifif
file	dev/usb/uxrcom.c		uxrcom

@


1.155
log
@obsolete moscom(4).  it was never in any default configs, did
not work for some cases.

umcs(4) supports everything it does plus one additional chipset,
has been in default configurations since netbsd 7.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.154 2019/02/06 11:55:06 rin Exp $
d122 1
a122 1
device	uaudio: audiobus, auconv, mulaw, aurateconv
@


1.154
log
@Add ure(4): RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device.
Ported from OpenBSD. Support for RX/TX checksum offload added by myself.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.153 2018/10/24 07:42:12 jdolecek Exp $
a420 5
device	moscom: ucombus
attach	moscom at usbdevif
file	dev/usb/moscom.c		moscom

# andother driver for the same chip
@


1.154.2.1
log
@Remove obsoleted au{,rate,vol}conv and mulaw attributes.
audio provides the equivalent of them inseparably.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.154 2019/02/06 11:55:06 rin Exp $
d122 1
a122 1
device	uaudio: audiobus
@


1.153
log
@only include umass_isdata.c if atabus present, and likewise ata_subr.c
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.152 2018/08/25 20:12:22 rin Exp $
d392 5
@


1.152
log
@Add mue(4), driver for Microchip LAN75xx/LAN78xx known as internal NIC of
Raspberry Pi 3 B+, from OpenBSD.

Tested on Raspberry Pi 3 B+ (LAN7800) and Z-TEK ZE582 (LAN7500).

* BUGS/TODO

- If the media type is set to something other than 1000baseT-FDX, data
  transmission becomes quite unstable. Also, ukphy(4) recognize 1000baseT as
  a supported media type, but it is not in fact.

- Catch up with changes made to usmsc(4) in nick-nhusb branch, i.e.,
  make the driver MP-safe.

- Support RX/VLAN/TX chekcsum offloading.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.151 2018/07/31 16:44:29 khorben Exp $
d203 1
a203 1
file	dev/usb/umass_isdata.c		umass & wd
@


1.151
log
@Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.150 2018/03/05 09:35:01 ws Exp $
d372 5
@


1.150
log
@Fix last:

Since config(1) could not distinguish between device and
interface attachments, it was generating only the latter.
Thus devices without their own driver wouldn't match the
ugen driver anymore.

Fix this by using a different device name for interface attachments.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.149 2018/02/20 15:48:37 ws Exp $
d382 5
@


1.150.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.156 2019/05/08 13:40:19 isaki Exp $
d122 1
a122 1
device	uaudio: audiobus
d203 1
a203 1
file	dev/usb/umass_isdata.c		umass & wd & atabus
a371 5
# Microchip LAN750x and LAN85xx
device	mue: arp, ether, ifnet, mii, mii_phy
attach	mue at usbdevif
file	dev/usb/if_mue.c		mue

a381 10
# Mobile Broadband Interface Model
device	umb: ifnet
attach	umb at usbifif
file	dev/usb/if_umb.c		umb

# RealTek RTL8152 and RTL8153
device	ure: arp, ether, ifnet, mii, mii_phy
attach	ure at usbdevif
file	dev/usb/if_ure.c		ure

d406 5
@


1.150.4.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d71 1
d86 1
d281 5
d522 5
@


1.150.4.3
log
@Mostly merge changes from HEAD upto 20200411
@
text
@a76 1
defflag opt_usb.h	USMSC_DEBUG: USB_DEBUG
a103 3
define	usbnet: usb
file	dev/usb/usbnet.c		usbnet

d326 1
a326 1
device	aue: arp, ether, ifnet, mii, mii_phy, usbnet
d331 1
a331 1
device	cdce: arp, ether, ifnet, usbnet
d336 1
a336 1
device	cue: arp, ether, ifnet, usbnet
d341 1
a341 1
device	kue: arp, ether, ifnet, usbnet
d346 1
a346 1
device	upl: ifnet, usbnet
d351 1
a351 1
device	url: arp, ether, ifnet, mii, usbnet
d356 1
a356 1
device	axe: arp, ether, ifnet, mii, mii_phy, usbnet
d361 1
a361 1
device	axen: arp, ether, ifnet, mii, usbnet
a364 5
# Moscom MCS7730, MCS7830, and MCS7832
device	mos: arp, ether, ifnet, mii, mii_phy, usbnet
attach	mos at usbdevif
file	dev/usb/if_mos.c		mos

d366 1
a366 1
device	mue: arp, ether, ifnet, mii, mii_phy, usbnet
d370 5
a379 5
# DAVICOM DM9601
device	udav: arp, ether, ifnet, mii, mii_phy, usbnet
attach	udav at usbdevif
file	dev/usb/if_udav.c		udav

d386 1
a386 1
device	ure: arp, ether, ifnet, mii, mii_phy, usbnet
d482 1
a482 1
device	usmsc: arp, ether, ifnet, mii, mii_phy, usbnet
d516 1
a516 1
device	urndis: arp, ether, ifnet, usbnet
@


1.150.4.4
log
@Sync with HEAD
@
text
@d57 1
d202 1
a202 1
device	umass: scsi, atapi
d205 1
a431 5
# Exar XR21V141x serial driver (mostly CDC)
device	uxrcom: ucombus, umodem_common
attach	uxrcom at usbifif
file	dev/usb/uxrcom.c		uxrcom

@


1.150.2.1
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.152 2018/08/25 20:12:22 rin Exp $
a371 5
# Microchip LAN750x and LAN85xx
device	mue: arp, ether, ifnet, mii, mii_phy
attach	mue at usbdevif
file	dev/usb/if_mue.c		mue

a381 5
# Mobile Broadband Interface Model
device	umb: ifnet
attach	umb at usbifif
file	dev/usb/if_umb.c		umb

@


1.150.2.2
log
@Put the USBVERBOSE option into a header file so it can be found by
modules.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.150.2.1 2018/09/06 06:56:04 pgoyette Exp $
d7 1
a7 1
defflag	opt_usbverbose.h USBVERBOSE
@


1.150.2.3
log
@Revert previous - not appropriate
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.150.2.2 2018/09/23 07:27:34 pgoyette Exp $
d7 1
a7 1
defflag	USBVERBOSE
@


1.150.2.4
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.153 2018/10/24 07:42:12 jdolecek Exp $
d203 1
a203 1
file	dev/usb/umass_isdata.c		umass & wd & atabus
@


1.149
log
@Attach uftdi to each interface found in the device separately.
This allows for other drivers (e.g. ugen) to attach to some of
the other interfaces.

Allow ugen to attach only to some of the interfaces found in a device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.148 2017/12/10 17:03:07 bouyer Exp $
d141 3
a143 2
attach	ugen at usbifif with ugenif
file	dev/usb/ugen.c			ugen			needs-flag
@


1.148
log
@Factor out bus-independant HID code so that it can be shared by USB, bluetooth
and i2c.
dev/usb/ukbdmap.c is renamed to dev/hid/hidkbdmap.c
dev/usb/hid.[ch] moved to dev/hid/
usage pages moved from dev/usb/usbhid.h moved to dev/hid/hid.h,
and updated with OpenBSD entries.
bus-independant code moved from dev/usb/ums.c to dev/hid/hidms.c
(the same should be done for keyboard and touchpad drivers)

Needed for the upcoming HID over I2C support, proposed on tech-kern@@
on Dec, 1.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.147 2017/10/19 23:58:41 jmcneill Exp $
d141 1
d391 1
a391 1
attach	uftdi at usbdevif
@


1.147
log
@Add driver for Broadcom 802.11a/b/g/n/ac USB wireless devices, based on
the OpenBSD bwfm(4) driver.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.146 2017/08/31 19:55:43 jmcneill Exp $
a164 1
file	dev/usb/ukbdmap.c		ukbd | btkbd | linux_keymap
d167 1
a167 1
device	ums: hid, wsmousedev
@


1.146
log
@Instead of a Linux keymap, convert Linux event codes to USB scan codes and
use the ukbd keymaps instead.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.145 2017/05/24 20:23:58 christos Exp $
d554 4
@


1.145
log
@split the mode switch part of the u3g driver into a separate file so that
others can use it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.144 2017/05/20 00:56:32 pgoyette Exp $
d165 1
a165 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
@


1.145.2.1
log
@Add bwfm config glue, requested by maya in ticket #1072.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.145 2017/05/24 20:23:58 christos Exp $
a553 4

# Broadcom FullMAC USB wireless adapter
attach	bwfm at usbdevif with bwfm_usb: firmload
file	dev/usb/if_bwfm_usb.c		bwfm_usb
@


1.144
log
@Fix the USBVERBOSE stuff so it does not get included in the build if
there are no USB devices or controllers.

Without this change, a kernel with no USB devices but with USBVERBOSE
defined in the configuration file will include the usb_verbose.c file,
but will fail to link due to undefined symbols.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.143 2017/04/17 08:59:37 riastradh Exp $
d275 5
d306 1
a306 1
device	u3g: ucombus
d308 1
a308 3
device	u3ginit
attach	u3ginit at usbdevif
file	dev/usb/u3g.c			u3g | u3ginit
@


1.143
log
@New rndsource driver for Araneus Alea II TRNG USB devices.

Disabled by default in x86/GENERIC and usbdevices.config pending
review and testing without rump ugenhc in the way, but enabled in
x86/ALL for compile-testing.

(Hi gson!  Finally found a round tuit in my pocket, next to a certain
rectangular one.)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.142 2016/11/25 12:45:28 skrll Exp $
d106 1
a106 2
define	usbverbose: usb
file	dev/usb/usb_verbose.c		usbverbose
@


1.142
log
@Remove UZCOM_DEBUG
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.141 2016/06/30 17:38:47 christos Exp $
d547 5
@


1.142.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.143 2017/04/17 08:59:37 riastradh Exp $
a546 5

# Araneus Alea II TRNG
device	ualea
attach	ualea at usbifif
file	dev/usb/ualea.c			ualea
@


1.141
log
@remove XXX
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.140 2016/06/23 07:32:12 skrll Exp $
a86 1
defflag opt_usb.h	UZCOM_DEBUG: USB_DEBUG
@


1.141.2.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.142 2016/11/25 12:45:28 skrll Exp $
d87 1
@


1.141.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.143 2017/04/17 08:59:37 riastradh Exp $
a546 5

# Araneus Alea II TRNG
device	ualea
attach	ualea at usbifif
file	dev/usb/ualea.c			ualea
@


1.140
log
@Fix UVMHIST builds for kernels that don't include usb
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.139 2016/04/26 10:38:43 skrll Exp $
a538 1
# XXX: ljt
@


1.139
log
@First pass at adapting SLHCI_DEBUG to USBHIST
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.138 2016/04/23 10:15:31 skrll Exp $
a7 1
defparam opt_usb.h	USBHIST_SIZE
a9 3
# top level usb debug defines
defflag	opt_usb.h	USB_DEBUG: KERNHIST

@


1.138
log
@Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
    - kern/48308
    - uhub status notification improvements
    - umass(4) probe fix (applied to HEAD already)
    - ohci(4) short transfer fix
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.3 2015/12/27 12:09:59 skrll Exp $
d21 1
@


1.137
log
@eliminate USBHIST as a define/option.  it was entangled with USB_DEBUG
and only referenced a handful of times.  rename any usage in configs.

fixes recent build problems i introduced with the previous files.usb
change.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.136 2015/10/27 22:25:23 mrg Exp $
d108 1
a108 1
file	dev/usb/usb_mem.c		usb_dma
@


1.136
log
@update some dependancies:

	USB_DEBUG doesn't depend upon other options.
	USBHIST depends upon USB_DEBUG and KERNHIST.

now i can build a kernel with just one of either USB_DEBUG or USBHIST
and the right thing happens.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135 2014/10/10 17:31:12 uebayasi Exp $
d12 1
a12 2
defflag	opt_usb.h	USB_DEBUG
defflag	opt_usb.h	USBHIST: KERNHIST, USB_DEBUG
@


1.135
log
@Make usb_dma & usbverbose independent attributes.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 2
a13 2
defflag	opt_usb.h	USBHIST: KERNHIST
defflag	opt_usb.h	USB_DEBUG: USBHIST
@


1.135.2.1
log
@Step #1 of memory allocation re-organisation.

Centralised the buffer allocation routine which now supports DMA
and non-DMA capable host controllers.  Remove the
ubm_{alloc,free}m methods from usbd_bus_methods.

The buffer allocation is only allowed in thread context and,
therefore, negates the usefulness of the reserve dma code which
is removed in this change.

USBD_NO_COPY is also no longer required as usbd_transfer and
usbd_transfer_complete now track buffer usage and handle any
copying.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135 2014/10/10 17:31:12 uebayasi Exp $
d109 1
a109 1
file	dev/usb/usb_mem.c		usb_dma			needs-flag
@


1.135.2.2
log
@Remove unnecessary needs-flags against the usb attribute.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.1 2014/12/02 09:00:33 skrll Exp $
d102 1
a102 1
file	dev/usb/usb.c			usb
@


1.135.2.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.2 2014/12/05 14:55:14 skrll Exp $
d12 2
a13 1
defflag	opt_usb.h	USB_DEBUG: KERNHIST
d102 1
a102 1
file	dev/usb/usb.c			usb			needs-flag
@


1.135.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.3 2015/12/27 12:09:59 skrll Exp $
a20 1
defflag	opt_usb.h	SLHCI_DEBUG: USB_DEBUG
@


1.135.2.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.4 2016/05/29 08:44:31 skrll Exp $
d8 1
d11 3
d543 1
@


1.135.2.6
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.5 2016/07/09 20:25:15 skrll Exp $
d87 1
@


1.135.2.7
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.135.2.6 2016/12/05 10:55:18 skrll Exp $
d106 2
a107 1
file	dev/usb/usb_verbose.c		usbverbose & usb
a275 5
# Mode switch usb driver
device	umodeswitch
attach	umodeswitch at usbdevif
file	dev/usb/umodeswitch.c		umodeswitch

d302 1
a302 1
device	u3g: ucombus, umodeswitch
d304 3
a306 1
file	dev/usb/u3g.c			u3g
a546 5

# Araneus Alea II TRNG
device	ualea
attach	ualea at usbifif
file	dev/usb/ualea.c			ualea
@


1.134
log
@Improve USB debugging with USBHIST based on KERNHIST.

Convert some DPRINTFs to USBHIST_LOG and allow usbdebug, ehcidebug and
umassdebug to be changed via sysctl.

Remove the #define mess in usb.h.

This was started by mrg@@ and updated by reinoud@@
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.133 2014/08/12 13:28:44 skrll Exp $
a104 1
file	dev/usb/usb_mem.c		usb & usb_dma
d107 6
a112 1
file	dev/usb/usb_verbose.c		usb & usbverbose
@


1.133
log
@Add XHCI_DEBUG.  From Takahiro HAYASHI with tweaks from me.

One day someone(tm) will tidyup USB debug stuff.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132 2014/04/05 23:47:26 khorben Exp $
d8 1
a9 2
defflag	opt_usb.h	UHUB_DEBUG USB_DEBUG
defflag	opt_usb.h	EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG XHCI_DEBUG
d11 82
a92 4
defflag	opt_umodem.h	UMODEM_DEBUG
defflag	opt_uvideo.h	UVIDEO_DEBUG
defflag	opt_umass.h	UMASS_DEBUG
defflag	opt_uatp.h	UATP_DEBUG
@


1.132
log
@Fixed a typo
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.131 2014/03/16 09:34:45 martin Exp $
d9 2
a10 1
defflag	opt_usb.h	EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG UHUB_DEBUG USB_DEBUG
@


1.132.2.1
log
@Pull up following revision(s) (requested by skrll in ticket #12):
	sys/dev/usb/files.usb: revision 1.133
	sys/dev/usb/usb.h: revision 1.108
Add XHCI_DEBUG.  From Takahiro HAYASHI with tweaks from me.
One day someone(tm) will tidyup USB debug stuff.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132 2014/04/05 23:47:26 khorben Exp $
d9 1
a9 2
defflag	opt_usb.h	UHUB_DEBUG USB_DEBUG
defflag	opt_usb.h	EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG XHCI_DEBUG
@


1.132.2.2
log
@Pull up following revision(s) (requested by skrll in ticket #1395):
	share/man/man4/axe.4: netbsd-7-nhusb
	share/man/man4/axen.4: netbsd-7-nhusb
	share/man/man4/cdce.4: netbsd-7-nhusb
	share/man/man4/uaudio.4: netbsd-7-nhusb
	share/man/man4/ucom.4: netbsd-7-nhusb
	share/man/man4/uep.4: netbsd-7-nhusb
	share/man/man4/urtw.4: netbsd-7-nhusb
	share/man/man4/usb.4: netbsd-7-nhusb
	share/man/man4/uyap.4: netbsd-7-nhusb
	share/man/man4/xhci.4: netbsd-7-nhusb
	share/man/man9/usbdi.9: netbsd-7-nhusb
	sys/arch/amd64/conf/ALL: netbsd-7-nhusb
	sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
	sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
	sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
	sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
	sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
	sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
	sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
	sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
	sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
	sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
	sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
	sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
	sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
	sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
	sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
	sys/arch/i386/conf/ALL: netbsd-7-nhusb
	sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
	sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
	sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
	sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
	sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
	sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
	sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
	sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
	sys/conf/files: netbsd-7-nhusb
	sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
	sys/dev/ic/sl811hs.c: netbsd-7-nhusb
	sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
	sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
	sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
	sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
	sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
	sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
	sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
	sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
	sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
	sys/dev/usb/TODO: netbsd-7-nhusb
	sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
	sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
	sys/dev/usb/auvitek.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
	sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
	sys/dev/usb/ehci.c: netbsd-7-nhusb
	sys/dev/usb/ehcireg.h: netbsd-7-nhusb
	sys/dev/usb/ehcivar.h: netbsd-7-nhusb
	sys/dev/usb/emdtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
	sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
	sys/dev/usb/ezload.c: netbsd-7-nhusb
	sys/dev/usb/ezload.h: netbsd-7-nhusb
	sys/dev/usb/files.usb: netbsd-7-nhusb
	sys/dev/usb/hid.c: netbsd-7-nhusb
	sys/dev/usb/hid.h: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
	sys/dev/usb/if_atu.c: netbsd-7-nhusb
	sys/dev/usb/if_atureg.h: netbsd-7-nhusb
	sys/dev/usb/if_aue.c: netbsd-7-nhusb
	sys/dev/usb/if_auereg.h: netbsd-7-nhusb
	sys/dev/usb/if_axe.c: netbsd-7-nhusb
	sys/dev/usb/if_axen.c: netbsd-7-nhusb
	sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
	sys/dev/usb/if_axereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cdce.c: netbsd-7-nhusb
	sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cue.c: netbsd-7-nhusb
	sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_kue.c: netbsd-7-nhusb
	sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_otus.c: netbsd-7-nhusb
	sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
	sys/dev/usb/if_rum.c: netbsd-7-nhusb
	sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
	sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
	sys/dev/usb/if_run.c: netbsd-7-nhusb
	sys/dev/usb/if_runvar.h: netbsd-7-nhusb
	sys/dev/usb/if_smsc.c: netbsd-7-nhusb
	sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
	sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
	sys/dev/usb/if_udav.c: netbsd-7-nhusb
	sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
	sys/dev/usb/if_upgt.c: netbsd-7-nhusb
	sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
	sys/dev/usb/if_upl.c: netbsd-7-nhusb
	sys/dev/usb/if_ural.c: netbsd-7-nhusb
	sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
	sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
	sys/dev/usb/if_url.c: netbsd-7-nhusb
	sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urndis.c: netbsd-7-nhusb
	sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtw.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
	sys/dev/usb/if_zyd.c: netbsd-7-nhusb
	sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
	sys/dev/usb/irmce.c: netbsd-7-nhusb
	sys/dev/usb/moscom.c: netbsd-7-nhusb
	sys/dev/usb/motg.c: netbsd-7-nhusb
	sys/dev/usb/motgvar.h: netbsd-7-nhusb
	sys/dev/usb/ohci.c: netbsd-7-nhusb
	sys/dev/usb/ohcireg.h: netbsd-7-nhusb
	sys/dev/usb/ohcivar.h: netbsd-7-nhusb
	sys/dev/usb/pseye.c: netbsd-7-nhusb
	sys/dev/usb/slurm.c: netbsd-7-nhusb
	sys/dev/usb/stuirda.c: netbsd-7-nhusb
	sys/dev/usb/u3g.c: netbsd-7-nhusb
	sys/dev/usb/uark.c: netbsd-7-nhusb
	sys/dev/usb/uatp.c: netbsd-7-nhusb
	sys/dev/usb/uaudio.c: netbsd-7-nhusb
	sys/dev/usb/uberry.c: netbsd-7-nhusb
	sys/dev/usb/ubsa.c: netbsd-7-nhusb
	sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
	sys/dev/usb/ubsavar.h: netbsd-7-nhusb
	sys/dev/usb/ubt.c: netbsd-7-nhusb
	sys/dev/usb/uchcom.c: netbsd-7-nhusb
	sys/dev/usb/ucom.c: netbsd-7-nhusb
	sys/dev/usb/ucomvar.h: netbsd-7-nhusb
	sys/dev/usb/ucycom.c: netbsd-7-nhusb
	sys/dev/usb/udl.c: netbsd-7-nhusb
	sys/dev/usb/udl.h: netbsd-7-nhusb
	sys/dev/usb/udsbr.c: netbsd-7-nhusb
	sys/dev/usb/udsir.c: netbsd-7-nhusb
	sys/dev/usb/uep.c: netbsd-7-nhusb
	sys/dev/usb/uftdi.c: netbsd-7-nhusb
	sys/dev/usb/uftdireg.h: netbsd-7-nhusb
	sys/dev/usb/ugen.c: netbsd-7-nhusb
	sys/dev/usb/ugensa.c: netbsd-7-nhusb
	sys/dev/usb/uhci.c: netbsd-7-nhusb
	sys/dev/usb/uhcireg.h: netbsd-7-nhusb
	sys/dev/usb/uhcivar.h: netbsd-7-nhusb
	sys/dev/usb/uhid.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.h: netbsd-7-nhusb
	sys/dev/usb/uhmodem.c: netbsd-7-nhusb
	sys/dev/usb/uhso.c: netbsd-7-nhusb
	sys/dev/usb/uhub.c: netbsd-7-nhusb
	sys/dev/usb/uipad.c: netbsd-7-nhusb
	sys/dev/usb/uipaq.c: netbsd-7-nhusb
	sys/dev/usb/uirda.c: netbsd-7-nhusb
	sys/dev/usb/uirdavar.h: netbsd-7-nhusb
	sys/dev/usb/ukbd.c: netbsd-7-nhusb
	sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.h: netbsd-7-nhusb
	sys/dev/usb/ulpt.c: netbsd-7-nhusb
	sys/dev/usb/umass.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
	sys/dev/usb/umassvar.h: netbsd-7-nhusb
	sys/dev/usb/umcs.c: netbsd-7-nhusb
	sys/dev/usb/umct.c: netbsd-7-nhusb
	sys/dev/usb/umidi.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umodem.c: netbsd-7-nhusb
	sys/dev/usb/umodem_common.c: netbsd-7-nhusb
	sys/dev/usb/umodemvar.h: netbsd-7-nhusb
	sys/dev/usb/ums.c: netbsd-7-nhusb
	sys/dev/usb/uplcom.c: netbsd-7-nhusb
	sys/dev/usb/urio.c: netbsd-7-nhusb
	sys/dev/usb/urio.h: netbsd-7-nhusb
	sys/dev/usb/usb.c: netbsd-7-nhusb
	sys/dev/usb/usb.h: netbsd-7-nhusb
	sys/dev/usb/usb_mem.c: netbsd-7-nhusb
	sys/dev/usb/usb_mem.h: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
	sys/dev/usb/usb_subr.c: netbsd-7-nhusb
	sys/dev/usb/usbdevices.config: netbsd-7-nhusb
	sys/dev/usb/usbdevs: netbsd-7-nhusb
	sys/dev/usb/usbdevs.h: netbsd-7-nhusb
	sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
	sys/dev/usb/usbdi.c: netbsd-7-nhusb
	sys/dev/usb/usbdi.h: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
	sys/dev/usb/usbdivar.h: netbsd-7-nhusb
	sys/dev/usb/usbhid.h: netbsd-7-nhusb
	sys/dev/usb/usbhist.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub.c: netbsd-7-nhusb
	sys/dev/usb/usbroothub.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub_subr.c: delete
	sys/dev/usb/usbroothub_subr.h: delete
	sys/dev/usb/uscanner.c: netbsd-7-nhusb
	sys/dev/usb/uslsa.c: netbsd-7-nhusb
	sys/dev/usb/usscanner.c: netbsd-7-nhusb
	sys/dev/usb/ustir.c: netbsd-7-nhusb
	sys/dev/usb/uthum.c: netbsd-7-nhusb
	sys/dev/usb/utoppy.c: netbsd-7-nhusb
	sys/dev/usb/uts.c: netbsd-7-nhusb
	sys/dev/usb/uvideo.c: netbsd-7-nhusb
	sys/dev/usb/uvisor.c: netbsd-7-nhusb
	sys/dev/usb/uvscom.c: netbsd-7-nhusb
	sys/dev/usb/uyap.c: netbsd-7-nhusb
	sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
	sys/dev/usb/uyurex.c: netbsd-7-nhusb
	sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
	sys/dev/usb/xhci.c: netbsd-7-nhusb
	sys/dev/usb/xhcireg.h: netbsd-7-nhusb
	sys/dev/usb/xhcivar.h: netbsd-7-nhusb
	sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
	sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
	sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/include/linux/err.h: delete
	sys/external/bsd/drm2/include/linux/workqueue.h: delete
	sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
	sys/external/bsd/drm2/linux/linux_work.c: delete
	sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
	sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
	sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
	sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
	sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
	sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
	sys/sys/mbuf.h: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-nhusb:
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
     - kern/48308
     - uhub status notification improvements
     - umass(4) probe fix (applied to HEAD already)
     - ohci(4) short transfer fix
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
  This gives the callback a chance of running when another softint handler
  at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
  the network stack.
     - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
       softnet_lock held across usb xfr
     - kern/50491 - unkillable wait in usbd_transfer while using usmsc0
       on raspberry pi 2
     - kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132.2.1 2014/08/13 21:50:39 riz Exp $
d9 2
d12 4
a15 78
# HC controllers
defflag	opt_usb.h	EHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	OHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	UHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	DWC2_DEBUG: USB_DEBUG
defflag	opt_usb.h	XHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	MOTG_DEBUG: USB_DEBUG
defflag	opt_usb.h	SLHCI_DEBUG: USB_DEBUG

# HUB driver
defflag opt_usb.h	UHUB_DEBUG: USB_DEBUG

# Device drivers

defflag opt_usb.h	ATU_DEBUG: USB_DEBUG
defflag opt_usb.h	AUE_DEBUG: USB_DEBUG
defflag opt_usb.h	AUVITEK_I2C_DEBUG: USB_DEBUG
defflag opt_usb.h	AXE_DEBUG: USB_DEBUG
defflag opt_usb.h	AXEN_DEBUG: USB_DEBUG
defflag opt_usb.h	CUE_DEBUG: USB_DEBUG
defflag opt_usb.h	EZLOAD_DEBUG: USB_DEBUG
defflag opt_usb.h	KUE_DEBUG: USB_DEBUG
defflag opt_usb.h	OTUS_DEBUG: USB_DEBUG
defflag opt_usb.h	RUM_DEBUG: USB_DEBUG
defflag opt_usb.h	RUN_DEBUG: USB_DEBUG
defflag opt_usb.h	UARK_DEBUG: USB_DEBUG
defflag opt_usb.h	UATP_DEBUG: USB_DEBUG
defflag opt_usb.h	UAUDIO_DEBUG: USB_DEBUG
defflag opt_usb.h	UBERRY_DEBUG: USB_DEBUG
defflag opt_usb.h	UBSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UBT_DEBUG: USB_DEBUG
defflag opt_usb.h	UCHCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCYCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UDAV_DEBUG: USB_DEBUG
defflag opt_usb.h	UDL_DEBUG: USB_DEBUG
defflag opt_usb.h	UDSBR_DEBUG: USB_DEBUG
defflag opt_usb.h	UFTDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UGENSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UGEN_DEBUG: USB_DEBUG
defflag opt_usb.h	UHIDEV_DEBUG: USB_DEBUG
defflag opt_usb.h	UHID_DEBUG: USB_DEBUG
defflag opt_usb.h	UHMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UHSO_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAD_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAQ_DEBUG: USB_DEBUG
defflag opt_usb.h	UIRDA_DEBUG: USB_DEBUG
defflag opt_usb.h	UISDATA_DEBUG: USB_DEBUG
defflag opt_usb.h	UKBD_DEBUG: USB_DEBUG
defflag opt_usb.h	UKYOPON_DEBUG: USB_DEBUG
defflag opt_usb.h	ULPT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMASS_DEBUG: USB_DEBUG
defflag opt_usb.h	UMCT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDIQUIRK_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UMS_DEBUG: USB_DEBUG
defflag opt_usb.h	UPGT_DEBUG: USB_DEBUG
defflag opt_usb.h	UPLCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UPL_DEBUG: USB_DEBUG
defflag opt_usb.h	URAL_DEBUG: USB_DEBUG
defflag opt_usb.h	URIO_DEBUG: USB_DEBUG
defflag opt_usb.h	URL_DEBUG: USB_DEBUG
defflag opt_usb.h	URNDIS_DEBUG: USB_DEBUG
defflag opt_usb.h	URTWN_DEBUG: USB_DEBUG
defflag opt_usb.h	URTW_DEBUG: USB_DEBUG
defflag opt_usb.h	USCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USLSA_DEBUG: USB_DEBUG
defflag opt_usb.h	USSCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USTIR_DEBUG: USB_DEBUG
defflag opt_usb.h	UTHUM_DEBUG: USB_DEBUG
defflag opt_usb.h	UTOPPY_DEBUG: USB_DEBUG
defflag opt_usb.h	UTS_DEBUG: USB_DEBUG
defflag opt_usb.h	UVIDEO_DEBUG: USB_DEBUG
defflag opt_usb.h	UVISOR_DEBUG: USB_DEBUG
defflag opt_usb.h	UVSCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UYUREX_DEBUG: USB_DEBUG
defflag opt_usb.h	ZYD_DEBUG: USB_DEBUG
d28 1
d31 1
a31 6

define	usb_dma: usb
file	dev/usb/usb_mem.c		usb_dma			needs-flag

define	usbverbose: usb
file	dev/usb/usb_verbose.c		usbverbose
d462 1
@


1.132.2.3
log
@Pull up following revision(s) (requested by pgoyette in ticket #1421):
	sys/dev/usb/files.usb: revision 1.144
Fix the USBVERBOSE stuff so it does not get included in the build if
there are no USB devices or controllers.
Without this change, a kernel with no USB devices but with USBVERBOSE
defined in the configuration file will include the usb_verbose.c file,
but will fail to link due to undefined symbols.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132.2.2 2017/04/05 19:54:19 snj Exp $
d106 2
a107 1
file	dev/usb/usb_verbose.c		usbverbose & usb
@


1.132.2.1.4.1
log
@First pass at netbsd-7 updated with USB code from HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132.2.1 2014/08/13 21:50:39 riz Exp $
d9 2
d12 4
a15 79
# HC controllers
defflag	opt_usb.h	EHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	OHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	UHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	DWC2_DEBUG: USB_DEBUG
defflag	opt_usb.h	XHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	MOTG_DEBUG: USB_DEBUG
defflag	opt_usb.h	SLHCI_DEBUG: USB_DEBUG

# HUB driver
defflag opt_usb.h	UHUB_DEBUG: USB_DEBUG

# Device drivers

defflag opt_usb.h	ATU_DEBUG: USB_DEBUG
defflag opt_usb.h	AUE_DEBUG: USB_DEBUG
defflag opt_usb.h	AUVITEK_I2C_DEBUG: USB_DEBUG
defflag opt_usb.h	AXE_DEBUG: USB_DEBUG
defflag opt_usb.h	AXEN_DEBUG: USB_DEBUG
defflag opt_usb.h	CUE_DEBUG: USB_DEBUG
defflag opt_usb.h	EZLOAD_DEBUG: USB_DEBUG
defflag opt_usb.h	KUE_DEBUG: USB_DEBUG
defflag opt_usb.h	OTUS_DEBUG: USB_DEBUG
defflag opt_usb.h	RUM_DEBUG: USB_DEBUG
defflag opt_usb.h	RUN_DEBUG: USB_DEBUG
defflag opt_usb.h	UARK_DEBUG: USB_DEBUG
defflag opt_usb.h	UATP_DEBUG: USB_DEBUG
defflag opt_usb.h	UAUDIO_DEBUG: USB_DEBUG
defflag opt_usb.h	UBERRY_DEBUG: USB_DEBUG
defflag opt_usb.h	UBSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UBT_DEBUG: USB_DEBUG
defflag opt_usb.h	UCHCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCYCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UDAV_DEBUG: USB_DEBUG
defflag opt_usb.h	UDL_DEBUG: USB_DEBUG
defflag opt_usb.h	UDSBR_DEBUG: USB_DEBUG
defflag opt_usb.h	UFTDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UGENSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UGEN_DEBUG: USB_DEBUG
defflag opt_usb.h	UHIDEV_DEBUG: USB_DEBUG
defflag opt_usb.h	UHID_DEBUG: USB_DEBUG
defflag opt_usb.h	UHMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UHSO_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAD_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAQ_DEBUG: USB_DEBUG
defflag opt_usb.h	UIRDA_DEBUG: USB_DEBUG
defflag opt_usb.h	UISDATA_DEBUG: USB_DEBUG
defflag opt_usb.h	UKBD_DEBUG: USB_DEBUG
defflag opt_usb.h	UKYOPON_DEBUG: USB_DEBUG
defflag opt_usb.h	ULPT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMASS_DEBUG: USB_DEBUG
defflag opt_usb.h	UMCT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDIQUIRK_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UMS_DEBUG: USB_DEBUG
defflag opt_usb.h	UPGT_DEBUG: USB_DEBUG
defflag opt_usb.h	UPLCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UPL_DEBUG: USB_DEBUG
defflag opt_usb.h	URAL_DEBUG: USB_DEBUG
defflag opt_usb.h	URIO_DEBUG: USB_DEBUG
defflag opt_usb.h	URL_DEBUG: USB_DEBUG
defflag opt_usb.h	URNDIS_DEBUG: USB_DEBUG
defflag opt_usb.h	URTWN_DEBUG: USB_DEBUG
defflag opt_usb.h	URTW_DEBUG: USB_DEBUG
defflag opt_usb.h	USCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USLSA_DEBUG: USB_DEBUG
defflag opt_usb.h	USSCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USTIR_DEBUG: USB_DEBUG
defflag opt_usb.h	UTHUM_DEBUG: USB_DEBUG
defflag opt_usb.h	UTOPPY_DEBUG: USB_DEBUG
defflag opt_usb.h	UTS_DEBUG: USB_DEBUG
defflag opt_usb.h	UVIDEO_DEBUG: USB_DEBUG
defflag opt_usb.h	UVISOR_DEBUG: USB_DEBUG
defflag opt_usb.h	UVSCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UYUREX_DEBUG: USB_DEBUG
defflag opt_usb.h	UZCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	ZYD_DEBUG: USB_DEBUG
d28 1
d31 1
a31 6

define	usb_dma: usb
file	dev/usb/usb_mem.c		usb_dma			needs-flag

define	usbverbose: usb
file	dev/usb/usb_verbose.c		usbverbose
d462 1
@


1.132.2.1.4.2
log
@Sync with HEAD/nhusb
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132.2.1.4.1 2016/09/06 20:33:08 skrll Exp $
d87 1
@


1.131
log
@Add umcs(4) - a driver for moschip 78{1,2,4}0 based multiport serial
adapters. Ported from FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.130 2013/10/26 09:16:20 nonaka Exp $
d111 1
a111 1
# Cypress microcontroller based serial adpaters
@


1.131.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.132 2014/04/05 23:47:26 khorben Exp $
d111 1
a111 1
# Cypress microcontroller based serial adapters
@


1.130
log
@Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.129 2013/05/28 12:03:26 kiyohara Exp $
d330 5
@


1.129
log
@Add KingSun/DonShine IRDA dongle.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.128 2013/03/30 02:37:18 christos Exp $
d287 5
@


1.129.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.129 2013/05/28 12:03:26 kiyohara Exp $
d111 1
a111 1
# Cypress microcontroller based serial adapters
a286 5
# ASIX AX88178a and AX88179
device	axen: arp, ether, ifnet, mii
attach	axen at usbdevif
file	dev/usb/if_axen.c		axen

a324 5
# andother driver for the same chip
device	umcs: ucombus
attach	umcs at usbdevif
file	dev/usb/umcs.c			umcs

@


1.128
log
@new devices
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.127 2013/01/13 01:15:02 jakllsch Exp $
d456 5
@


1.127
log
@Add slurm(4), a radio(4) driver for USB FM radio modules based on the
Silicon Labs reference design.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.126 2013/01/09 23:02:59 skrll Exp $
d11 1
d14 1
d446 10
@


1.126
log
@Add usmsc(4) - a driver for the SMSC95XX USB ethernet devices.

This is a port of the OpenBSD driver which itself was a port of the
FreeBSD driver.

sorry mrg. jared made me do it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.125 2012/09/01 18:17:51 jakllsch Exp $
d239 5
@


1.125
log
@Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.124 2012/08/04 04:34:54 riastradh Exp $
d381 5
@


1.125.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.125 2012/09/01 18:17:51 jakllsch Exp $
a238 5
# Silicon Labs USB radio module (FM)
device	slurm: radiodev
attach	slurm at usbifif
file	dev/usb/slurm.c			slurm

a380 5
# SMSC LAN95xx
device	usmsc: arp, ether, ifnet, mii, mii_phy
attach	usmsc at usbdevif
file	dev/usb/if_smsc.c		usmsc

@


1.125.2.2
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
defflag	opt_umodem.h	UMODEM_DEBUG
a12 1
defflag	opt_uatp.h	UATP_DEBUG
a443 15

# Atheros AR9002U
attach	athn at usbdevif with athn_usb: firmload
file	dev/usb/if_athn_usb.c		athn_usb		needs-flag

# XXX: ljt
# Realtek RTL8188SU/RTL8191SU/RTL8192SU
device	rsu: arp, ether, firmload, ifnet, wlan
attach	rsu at usbdevif
file	dev/usb/if_rsu.c		rsu

# KingSun/DonShine IrDA adaptors
device	udsir: irbus, irdasir
attach	udsir at usbifif
file	dev/usb/udsir.c			udsir
@


1.125.2.3
log
@Rebase to HEAD as of a few days ago.
@
text
@d111 1
a111 1
# Cypress microcontroller based serial adapters
a286 5
# ASIX AX88178a and AX88179
device	axen: arp, ether, ifnet, mii
attach	axen at usbdevif
file	dev/usb/if_axen.c		axen

a324 5
# andother driver for the same chip
device	umcs: ucombus
attach	umcs at usbdevif
file	dev/usb/umcs.c			umcs

@


1.125.2.4
log
@update from HEAD
@
text
@d9 1
d11 4
a14 78
# HC controllers
defflag	opt_usb.h	EHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	OHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	UHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	DWC2_DEBUG: USB_DEBUG
defflag	opt_usb.h	XHCI_DEBUG: USB_DEBUG
defflag	opt_usb.h	MOTG_DEBUG: USB_DEBUG
defflag	opt_usb.h	SLHCI_DEBUG: USB_DEBUG

# HUB driver
defflag opt_usb.h	UHUB_DEBUG: USB_DEBUG

# Device drivers

defflag opt_usb.h	ATU_DEBUG: USB_DEBUG
defflag opt_usb.h	AUE_DEBUG: USB_DEBUG
defflag opt_usb.h	AUVITEK_I2C_DEBUG: USB_DEBUG
defflag opt_usb.h	AXE_DEBUG: USB_DEBUG
defflag opt_usb.h	AXEN_DEBUG: USB_DEBUG
defflag opt_usb.h	CUE_DEBUG: USB_DEBUG
defflag opt_usb.h	EZLOAD_DEBUG: USB_DEBUG
defflag opt_usb.h	KUE_DEBUG: USB_DEBUG
defflag opt_usb.h	OTUS_DEBUG: USB_DEBUG
defflag opt_usb.h	RUM_DEBUG: USB_DEBUG
defflag opt_usb.h	RUN_DEBUG: USB_DEBUG
defflag opt_usb.h	UARK_DEBUG: USB_DEBUG
defflag opt_usb.h	UATP_DEBUG: USB_DEBUG
defflag opt_usb.h	UAUDIO_DEBUG: USB_DEBUG
defflag opt_usb.h	UBERRY_DEBUG: USB_DEBUG
defflag opt_usb.h	UBSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UBT_DEBUG: USB_DEBUG
defflag opt_usb.h	UCHCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UCYCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UDAV_DEBUG: USB_DEBUG
defflag opt_usb.h	UDL_DEBUG: USB_DEBUG
defflag opt_usb.h	UDSBR_DEBUG: USB_DEBUG
defflag opt_usb.h	UFTDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UGENSA_DEBUG: USB_DEBUG
defflag opt_usb.h	UGEN_DEBUG: USB_DEBUG
defflag opt_usb.h	UHIDEV_DEBUG: USB_DEBUG
defflag opt_usb.h	UHID_DEBUG: USB_DEBUG
defflag opt_usb.h	UHMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UHSO_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAD_DEBUG: USB_DEBUG
defflag opt_usb.h	UIPAQ_DEBUG: USB_DEBUG
defflag opt_usb.h	UIRDA_DEBUG: USB_DEBUG
defflag opt_usb.h	UISDATA_DEBUG: USB_DEBUG
defflag opt_usb.h	UKBD_DEBUG: USB_DEBUG
defflag opt_usb.h	UKYOPON_DEBUG: USB_DEBUG
defflag opt_usb.h	ULPT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMASS_DEBUG: USB_DEBUG
defflag opt_usb.h	UMCT_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDIQUIRK_DEBUG: USB_DEBUG
defflag opt_usb.h	UMIDI_DEBUG: USB_DEBUG
defflag opt_usb.h	UMODEM_DEBUG: USB_DEBUG
defflag opt_usb.h	UMS_DEBUG: USB_DEBUG
defflag opt_usb.h	UPGT_DEBUG: USB_DEBUG
defflag opt_usb.h	UPLCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UPL_DEBUG: USB_DEBUG
defflag opt_usb.h	URAL_DEBUG: USB_DEBUG
defflag opt_usb.h	URIO_DEBUG: USB_DEBUG
defflag opt_usb.h	URL_DEBUG: USB_DEBUG
defflag opt_usb.h	URNDIS_DEBUG: USB_DEBUG
defflag opt_usb.h	URTWN_DEBUG: USB_DEBUG
defflag opt_usb.h	URTW_DEBUG: USB_DEBUG
defflag opt_usb.h	USCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USLSA_DEBUG: USB_DEBUG
defflag opt_usb.h	USSCANNER_DEBUG: USB_DEBUG
defflag opt_usb.h	USTIR_DEBUG: USB_DEBUG
defflag opt_usb.h	UTHUM_DEBUG: USB_DEBUG
defflag opt_usb.h	UTOPPY_DEBUG: USB_DEBUG
defflag opt_usb.h	UTS_DEBUG: USB_DEBUG
defflag opt_usb.h	UVIDEO_DEBUG: USB_DEBUG
defflag opt_usb.h	UVISOR_DEBUG: USB_DEBUG
defflag opt_usb.h	UVSCOM_DEBUG: USB_DEBUG
defflag opt_usb.h	UYUREX_DEBUG: USB_DEBUG
defflag opt_usb.h	ZYD_DEBUG: USB_DEBUG
d27 1
d30 1
a30 5

define	usb_dma: usb
file	dev/usb/usb_mem.c		usb_dma			needs-flag

file	dev/usb/usb_verbose.c		usbverbose & usb
d89 1
a89 1
file	dev/usb/ukbdmap.c		ukbd | btkbd | linux_keymap
a198 5
# Mode switch usb driver
device	umodeswitch
attach	umodeswitch at usbdevif
file	dev/usb/umodeswitch.c		umodeswitch

d225 1
a225 1
device	u3g: ucombus, umodeswitch
d227 3
a229 1
file	dev/usb/u3g.c			u3g
d461 1
a470 9

# Araneus Alea II TRNG
device	ualea
attach	ualea at usbifif
file	dev/usb/ualea.c			ualea

# Broadcom FullMAC USB wireless adapter
attach	bwfm at usbdevif with bwfm_usb: firmload
file	dev/usb/if_bwfm_usb.c		bwfm_usb
@


1.124
log
@Add uatp(4), a driver for USB Apple trackpads.

This is a work-in-progress driver for USB trackpads found in Apple
laptops since 2005, theoretically covering more models than pbms(4)
and supporting more features.  However, the motion smoothing and
acceleration formulae are still pretty sketchy, and I have tested
this only on one model of MacBook from 2006.  Feedback welcome.

Should the smooting, acceleration, tapping, &c., be done in userland?
Probably, but we don't have the necessary interface for that to work
well yet -- wsmouse isn't enough as is.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.123 2012/05/30 14:30:35 nonaka Exp $
d382 2
a383 1
attach	ral at usbdevif with ural
@


1.123
log
@Add a driver for Ralink Technology RT2700U/RT2800U/RT3000U USB IEEE
802.11a/b/g/n wireless network devices, ported from OpenBSD by FUKAUMI Naoki,
arranged by me.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.122 2012/05/29 14:06:23 christos Exp $
d94 5
@


1.122
log
@Driver for Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter, from
OpenBSD by jmcneill.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.121 2012/03/25 00:11:16 nonaka Exp $
d423 5
@


1.121
log
@Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.120 2012/02/13 14:36:39 wiz Exp $
d418 5
@


1.120
log
@Add missing dependency for uts.
From Pierre Pronchery <khorben@@defora.org> in PR 45872.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.119 2012/01/17 03:49:20 christos Exp $
d413 5
@


1.120.2.1
log
@Pull up the following revisions(s) (requested by riz in ticket #326):
	distrib/sets/lists/base/mi:		1.989
	distrib/sets/lists/man/mi:		1.1385
	etc/mtree/NetBSD.dist.base:		1.99
	share/man/man4/Makefile:		1.583
	share/man/man4/urtwn.4:			1.1
	share/man/man4/usb.4:			1.97
	sys/arch/amd64/conf/GENERIC:		1.351
	sys/arch/i386/conf/GENERIC:		1.1068
	sys/dev/usb/files.usb:			1.121
	sys/dev/usb/if_urtwn.c:			1.1-1.4
	sys/dev/usb/if_urtwn_data.h:		1.1
	sys/dev/usb/if_urtwnreg.h:		1.1
	sys/dev/usb/if_urtwnvar.h:		1.1
	sys/dev/usb/usbdevices.config:		1.13
	sys/dev/usb/usbdevs:			1.621 via patch
	sys/dev/usb/usbdevs.h:			regen
	sys/dev/usb/usbdevs_data.h:		regen
	sys/modules/if_urtwn/Makefile:		1.1
	sys/modules/if_urtwn/if_urtwn.ioconf:	1.1

Add support for urtwn(4) wireless. Ported from OpenBSD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.120 2012/02/13 14:36:39 wiz Exp $
a412 5

# Realtek RTL8188CU/RTL8192CU
device	urtwn: ether, ifnet, arp, wlan, firmload
attach	urtwn at usbdevif
file	dev/usb/if_urtwn.c              urtwn
@


1.120.2.2
log
@Pull up the following revisions(s) (requested by riz in ticket #343):
	sys/dev/usb/files.usb:		revision 1.122
	sys/dev/usb/if_urtw.c:		revision 1.1
	sys/dev/usb/if_urtwreg.h:	revision 1.1
	share/man/man4/Makefile:	revision 1.586
	share/man/man4/urtw.4:		revision 1.1
	distrib/sets/lists/man/mi:	revision 1.1393
	sys/dev/usb/usbdevs:		revision 1.617
	sys/arch/i386/conf/GENERIC:	revision 1.357
	sys/arch/amd64/conf/GENERIC:	revision 1.1075 via patch

Add urtw(4) driver for Realtek RTL8187/RTL8187B 802.11b/g USB wireless
adapter. From OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.120.2.1 2012/06/14 09:48:47 sborrill Exp $
a417 5

# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
device	urtw: ether, ifnet, arp, wlan
attach	urtw at usbdevif
file	dev/usb/if_urtw.c		urtw
@


1.120.2.3
log
@Pull up following revision(s) (requested by skrll in ticket #813):

etc/MAKEDEV.tmpl					1.160
etc/etc.evbarm/MAKEDEV.conf				1.9
external/broadcom/rpi-firmware/dist/LICENCE.broadcom	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.2
external/broadcom/rpi-firmware/dist/fixup.dat		1.1
external/broadcom/rpi-firmware/dist/fixup.dat		1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.1
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.2
external/broadcom/rpi-firmware/dist/start.elf		1.1
external/broadcom/rpi-firmware/dist/start.elf		1.2
external/broadcom/rpi-firmware/dist/start_cd.elf	1.1
external/broadcom/rpi-firmware/dist/start_cd.elf	1.2
sys/arch/arm/broadcom/bcm2835_bsc.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_bscreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_dotg.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_emmc.c			1.7 via patch
sys/arch/arm/broadcom/bcm2835_genfb.c			1.4 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.c		1.2 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.h		1.1 via patch
sys/arch/arm/broadcom/bcm2835_gpioreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_intr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_mbox.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_mbox.h			1.4 via patch
sys/arch/arm/broadcom/bcm2835_obio.c			1.17 via patch
sys/arch/arm/broadcom/bcm2835_pm.c			1.2 via patch
sys/arch/arm/broadcom/bcm2835_rng.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_space.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_spi.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_spireg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_tmr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835reg.h			1.10 via patch
sys/arch/arm/broadcom/files.bcm2835			1.14 via patch
sys/arch/evbarm/conf/RPI				1.23 via patch
sys/arch/evbarm/conf/files.rpi				1.3 via patch
sys/arch/evbarm/conf/mk.rpi				1.2 via patch
sys/arch/evbarm/conf/std.rpi				1.4 via patch
sys/arch/evbarm/rpi/rpi_machdep.c			1.34 via patch
sys/arch/evbarm/rpi/rpi_start.S				1.7 via patch
sys/arch/evbarm/rpi/rpi_vcmbox.c			1.2 via patch
sys/arch/evbarm/rpi/vcio.h				1.1 via patch
sys/arch/evbarm/rpi/vcprop.h				1.7 via patch
sys/conf/files						patch
sys/dev/sdmmc/sdhc.c					1.43
sys/dev/sdmmc/sdhcvar.h					1.13
sys/dev/usb/dwc_otg.c					1.45 via patch
sys/dev/usb/dwc_otgreg.h				1.5 via patch
sys/dev/usb/dwc_otgvar.h				1.11 via patch
sys/dev/usb/files.usb					1.126 via patch
sys/dev/usb/if_smsc.c					1.7 via patch
sys/dev/usb/if_smscreg.h				1.1 via patch
sys/dev/usb/if_smscvar.h				1.1 via patch
sys/dev/usb/usbdevices.config				patch
sys/dev/usb/usbdevs					1.633 via patch
sys/dev/usb/usbdevs.h					regen
sys/dev/usb/usbdevs_data.h				regen
sys/dev/wscons/wsconsio.h				1.105,1.107 via patch
sys/dev/wscons/wsdisplayvar.h				1.50
sys/dev/wscons/wsdisplay_util.c				1.2
sys/dev/videomode/edid.c				1.12 via patch

	Greatly improved Raspberry Pi support.  USB and onboard
	Ethernet should work.
	[skrll, ticket #813]
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.120.2.2 2012/06/15 08:48:46 sborrill Exp $
a375 5
# SMSC LAN95xx
device	usmsc: arp, ether, ifnet, mii, mii_phy
attach	usmsc at usbdevif
file	dev/usb/if_smsc.c		usmsc

@


1.119
log
@PR/45850: Pierre Pronchery: USB multi-touch panels are not supported
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.118 2012/01/14 21:06:01 jakllsch Exp $
d95 1
a95 1
device	uts: hid, wsmousedev
@


1.118
log
@Rework uslsa(4) based on publicly-available Silicon Labs AN571 document.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.117 2011/12/31 00:08:48 christos Exp $
d94 5
@


1.117
log
@Add a tiny driver that sends the magic command to an ipad instructing it
to charge.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.116 2011/11/03 02:41:29 macallan Exp $
d342 1
a342 1
attach	uslsa at usbdevif
@


1.116
log
@only build gdium Fn support with options GDIUM_KEYBOARD_HACK
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.115 2011/10/02 16:30:58 jmcneill Exp $
d192 5
@


1.116.4.1
log
@merge to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.120 2012/02/13 14:36:39 wiz Exp $
a93 5
# Touchscreens
device	uts: hid, wsmousedev, tpcalib
attach	uts at uhidbus
file	dev/usb/uts.c			uts

a191 5
# Apple iPad
device	uipad
attach	uipad at usbdevif
file	dev/usb/uipad.c				uipad

d337 1
a337 1
attach	uslsa at usbifif
@


1.116.4.2
log
@sync to latest -current.
@
text
@d1 1
a1 1
#	$NetBSD$
a412 5

# Realtek RTL8188CU/RTL8192CU
device	urtwn: ether, ifnet, arp, wlan, firmload
attach	urtwn at usbdevif
file	dev/usb/if_urtwn.c              urtwn
@


1.116.4.3
log
@sync to latest -current.
@
text
@a417 10

# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
device	urtw: ether, ifnet, arp, wlan
attach	urtw at usbdevif
file	dev/usb/if_urtw.c		urtw

# Ralink Technology RT2700U/RT2800U/RT3000U
device	run: ether, ifnet, arp, wlan, firmload
attach	run at usbdevif
file	dev/usb/if_run.c		run
@


1.115
log
@allow attaching an iic to auvitek if AUVITEK_I2C_DEBUG is defined, and
change the auvitek i2c lock from IPL_VM to IPL_NONE
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.114 2011/08/23 16:16:43 christos Exp $
d82 2
@


1.115.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.115 2011/10/02 16:30:58 jmcneill Exp $
a81 2
# Gdium's Fn key needs software translation
defflag		opt_ukbd.h 	GDIUM_KEYBOARD_HACK
@


1.115.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.115.2.1 2011/11/10 14:31:47 yamt Exp $
a93 5
# Touchscreens
device	uts: hid, wsmousedev, tpcalib
attach	uts at uhidbus
file	dev/usb/uts.c			uts

a191 5
# Apple iPad
device	uipad
attach	uipad at usbdevif
file	dev/usb/uipad.c				uipad

d337 1
a337 1
attach	uslsa at usbifif
a402 5

# Realtek RTL8188CU/RTL8192CU
device	urtwn: ether, ifnet, arp, wlan, firmload
attach	urtwn at usbdevif
file	dev/usb/if_urtwn.c              urtwn
@


1.115.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.115.2.2 2012/04/17 00:08:05 yamt Exp $
a93 5
# USB Apple trackpad
device	uatp: hid, wsmousedev
attach	uatp at uhidbus
file	dev/usb/uatp.c			uatp

d377 1
a377 2
device	ural: arp, ether, ifnet, wlan, firmload
attach	ural at usbdevif
a417 10

# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
device	urtw: ether, ifnet, arp, wlan
attach	urtw at usbdevif
file	dev/usb/if_urtw.c		urtw

# Ralink Technology RT2700U/RT2800U/RT3000U
device	run: ether, ifnet, arp, wlan, firmload
attach	run at usbdevif
file	dev/usb/if_run.c		run
@


1.115.2.4
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.115.2.3 2012/10/30 17:22:04 yamt Exp $
a238 5
# Silicon Labs USB radio module (FM)
device	slurm: radiodev
attach	slurm at usbifif
file	dev/usb/slurm.c			slurm

a380 5
# SMSC LAN95xx
device	usmsc: arp, ether, ifnet, mii, mii_phy
attach	usmsc at usbdevif
file	dev/usb/if_smsc.c		usmsc

@


1.115.2.5
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.usb,v 1.115.2.4 2013/01/23 00:06:11 yamt Exp $
a10 1
defflag	opt_umodem.h	UMODEM_DEBUG
a12 1
defflag	opt_uatp.h	UATP_DEBUG
d109 1
a109 1
# Cypress microcontroller based serial adapters
a284 5
# ASIX AX88178a and AX88179
device	axen: arp, ether, ifnet, mii
attach	axen at usbdevif
file	dev/usb/if_axen.c		axen

a322 5
# andother driver for the same chip
device	umcs: ucombus
attach	umcs at usbdevif
file	dev/usb/umcs.c			umcs

a443 15

# Atheros AR9002U
attach	athn at usbdevif with athn_usb: firmload
file	dev/usb/if_athn_usb.c		athn_usb		needs-flag

# XXX: ljt
# Realtek RTL8188SU/RTL8191SU/RTL8192SU
device	rsu: arp, ether, firmload, ifnet, wlan
attach	rsu at usbdevif
file	dev/usb/if_rsu.c		rsu

# KingSun/DonShine IrDA adaptors
device	udsir: irbus, irdasir
attach	udsir at usbifif
file	dev/usb/udsir.c			udsir
@


1.114
log
@defopt UMASS_DEBUG
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.113 2011/07/30 12:19:12 jmcneill Exp $
d163 1
a163 1
device	auvitek: videobus, dtvbus, i2cexec, usbifif, au8522, xc5k
@


1.113
log
@remove xboxcontroller; use the uhidev driver instead
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.112 2011/07/23 20:52:15 jakllsch Exp $
d12 1
@


1.112
log
@Add driver to load Atheros AR3011 USB Bluetooth interface firmware.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.111 2011/07/23 20:45:15 jakllsch Exp $
a375 5
# Microsoft Xbox controller (gamepad)
device	xboxcontroller: wsmousedev
attach	xboxcontroller at usbdevif
file	dev/usb/xboxcontroller.c	xboxcontroller

@


1.111
log
@Replace spaces with tabs, to be more consistent.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.110 2011/07/20 20:00:29 jakllsch Exp $
d142 5
@


1.110
log
@Add urndis(4).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.109 2011/07/19 12:23:04 jmcneill Exp $
d228 3
a230 3
device  cdce: arp, ether, ifnet
attach  cdce at usbifif
file    dev/usb/if_cdce.c                cdce
d313 3
a315 3
device  uipaq: ucombus
attach  uipaq at usbdevif
file    dev/usb/uipaq.c			uipaq
@


1.109
log
@add driver for SMK eHome Infrared Transceiver
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.108 2011/07/11 18:02:04 jmcneill Exp $
d395 5
@


1.108
log
@add emdtv(4), a dtv(4) driver for Empia Technology EM28XX DTV devices
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.107 2011/07/10 02:25:52 jmcneill Exp $
d131 5
@


1.107
log
@add auvitek_dtv.c
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.106 2011/06/09 19:08:31 matt Exp $
d161 9
@


1.106
log
@Move EHCI_DEBUG, OHCI_DEBUG, UHCI_DEBUG, USB_DEBUG, UHUB_DEBUG to opt_usb.h
(ya dependencies).
Cleanup usb_mem.c a little more and add block tracking code.  Help find
corruption problems.
Comment out the SPEED check for ETTF.  XXX why doesn't that work right?
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.105 2011/03/20 17:54:03 tsutsui Exp $
d152 1
a152 1
device	auvitek: videobus, i2cexec, usbifif, au8522, xc5k
d157 1
@


1.105
log
@Add usb_dma attribute for DMA capable USB host controllers
and specify that usb_dma attribute to dev/usb/usb_mem.c.

usb_mem.c uses bus_dma(9) for DMA memory allocation,
but non-DMA capable USB host controllers like slhci(4)
doesn't need them at all, and some ports don't bother to
prepare MD bus_dma(9) implementation (yet).

Discussed on current-users
 http://mail-index.NetBSD.org/current-users/2011/03/13/msg015995.html
and usb_dma attribute is suggested by bouyer@@.
Tested by kiyohara@@ on mmeye with slhci at pcmcia.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.104 2010/12/27 20:42:51 jmcneill Exp $
d9 1
@


1.105.2.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.106 2011/06/09 19:08:31 matt Exp $
a8 1
defflag	opt_usb.h	EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG UHUB_DEBUG USB_DEBUG
@


1.104
log
@add au8522, xc5k, auvitek config glue
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.103 2010/12/15 23:38:15 matt Exp $
d23 1
a23 1
file	dev/usb/usb_mem.c		usb
@


1.104.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.105 2011/03/20 17:54:03 tsutsui Exp $
d23 1
a23 1
file	dev/usb/usb_mem.c		usb & usb_dma
@


1.103
log
@Add a workaround (hopefully temporary) for corrupted usb fragments on powerpc.
With this in effect, USB is now usable on some powerpc platforms again.
Basically this prevents the DMA portion of the fragment ever overlapping the
usb_frag_hdr which is enough to solve the problem.  To enable this, add

options 	USB_FRAG_DMA_WORKAROUND

to your config file.
Switch from malloc to kmem.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.102 2010/11/03 19:59:34 christos Exp $
d150 9
@


1.102
log
@add otus
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.101 2010/08/01 07:29:03 kiyohara Exp $
d8 1
@


1.101
log
@Add attribute sysmon_envsys to device uthum.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.100 2010/07/04 15:21:58 tsutsui Exp $
d236 4
@


1.100
log
@Add upgt(4), a driver for Conexant/Intersil PrismGT SoftMAC USB
IEEE 802.11b/g WLAN device, ported from OpenBSD by FUKAUMI Naoki:
http://mail-index.NetBSD.org/current-users/2010/05/28/msg013570.html
Slightly modified by me to use recently added config_mountroot(9)
to defer some device initialization until mountroot for firmload(9).

Tested on Sharp W-ZERO3 WS003SH with internal WLAN.

Note currently we cannot redistribute firmware files for upgt(4) so
they have to be downloaded and copied into /libdata/firmware/upgt manually.
See upgt(4) man page about firmware details.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.99 2010/05/29 17:39:41 martin Exp $
d191 1
a191 1
device	uthum: hid
@


1.99
log
@Add a driver for ArkMicroChips 3116 serial devices, used in some Nokia
phone cables and in cheap stand alone usb<->serial devices. From OpenBSD.

The hardware is crap, avoid it if possible. There is no documentation and
even the vendor supllied win32 driver gets it wrong.

This driver mostly works, but you can't send a break.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.98 2010/05/29 01:14:29 pgoyette Exp $
d323 5
@


1.98
log
@Extract USBVERBOSE into a kernel module.  The module can be builtin
by defining 'options USBVERBOSE' 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.

The module is built for all architectures, whether or not USB support
exists.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.97 2010/03/11 10:38:37 enami Exp $
d292 5
@


1.97
log
@Port uyurex(4) from OpenBSD.  There is some XXX but works enough to
play with it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.96 2010/03/06 21:05:37 plunky Exp $
d25 1
@


1.97.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.97 2010/03/11 10:38:37 enami Exp $
a24 1
file	dev/usb/usb_verbose.c		usb & usbverbose
a290 5
# ArkMicroChips 3116 based serial (used with some Nokia USB cables too)
device	uark: ucombus
attach	uark at usbdevif
file	dev/usb/uark.c		uark

@


1.97.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a7 1
defflag	opt_usb.h	USB_FRAG_DMA_WORKAROUND
a148 9
# Auvitek AU0828
device	auvitek: videobus, i2cexec, usbifif, au8522, xc5k
attach	auvitek at usbdevif
file	dev/usb/auvitek.c		auvitek
file	dev/usb/auvitek_audio.c		auvitek
file	dev/usb/auvitek_board.c		auvitek
file	dev/usb/auvitek_i2c.c		auvitek
file	dev/usb/auvitek_video.c		auvitek

d191 1
a191 1
device	uthum: hid, sysmon_envsys
a235 4
# Atheros AR9170
device	otus: arp, ether, firmload, ifnet, wlan
attach	otus at usbdevif
file	dev/usb/if_otus.c		otus
a322 5
# Intersil PrismGT
device	upgt: ether, ifnet, arp, wlan, firmload
attach	upgt at usbdevif
file	dev/usb/if_upgt.c		upgt

@


1.97.2.3
log
@sync with head
@
text
@d23 1
a23 1
file	dev/usb/usb_mem.c		usb & usb_dma
@


1.97.2.4
log
@sync with head
@
text
@a8 1
defflag	opt_usb.h	EHCI_DEBUG OHCI_DEBUG UHCI_DEBUG UHUB_DEBUG USB_DEBUG
@


1.96
log
@Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.95 2010/02/06 11:17:17 tonio Exp $
d349 5
@


1.95
log
@Add uthum(4) driver from openbsd, adapted to handle both
TEMPerHUM and TEMPer devices
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.94 2010/01/07 00:15:20 martin Exp $
d344 5
@


1.95.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a343 10

# Wireless WAN modems from Option N.V.
device	uhso: ifnet
attach	uhso at usbdevif
file	dev/usb/uhso.c			uhso

# Maywa-denki/Kayac YUREX
device	uyurex: hid
attach	uyurex at uhidbus
file	dev/usb/uyurex.c		uyurex
@


1.95.2.2
log
@Sync with HEAD.
@
text
@a24 1
file	dev/usb/usb_verbose.c		usb & usbverbose
d190 1
a190 1
device	uthum: hid, sysmon_envsys
a290 5
# ArkMicroChips 3116 based serial (used with some Nokia USB cables too)
device	uark: ucombus
attach	uark at usbdevif
file	dev/usb/uark.c		uark

a316 5
# Intersil PrismGT
device	upgt: ether, ifnet, arp, wlan, firmload
attach	upgt at usbdevif
file	dev/usb/if_upgt.c		upgt

@


1.95.2.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.95.2.2 2010/08/17 06:46:42 uebayasi Exp $
a235 4
# Atheros AR9170
device	otus: arp, ether, firmload, ifnet, wlan
attach	otus at usbdevif
file	dev/usb/if_otus.c		otus
@


1.94
log
@Split the u3g driver into two parts: u3ginit attaches to those devices
that only come as a umass device in the default configuration and
forces them to reinitialize in 3D mode and detach.
The u3g part attaches to individual interfaces for the 3G functionality,
leaving the umass interface(s) for that driver.
With this change I can use the MMC card in my Huawey stick (as well as
the integrated windows driver CD, which of course is pretty useless) and
the 3G modem at the same time.
Fixes PR 42577.
Code contributed anonymously, minor tweaks (and all bugs) by me.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.93 2009/12/23 01:04:45 pooka Exp $
d189 4
@


1.93
log
@unifdef -D UGEN_BULK_RA_WB

Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.92 2009/11/30 16:18:34 tsutsui Exp $
d172 1
a172 1
# Generic Serial Adapter
d174 4
a177 2
attach	u3g at usbdevif
file	dev/usb/u3g.c			u3g
@


1.92
log
@Add a driver for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Ported by FUKAUMI Naoki from OpenBSD with many modification.
No particular comments (except from me) on tech-kern@@.

There are still many TODO even in MI wscons(4) API to handle this device:

 * No detach function for wsdisplay(9).
   Unpluging a device causes a panic. (should be trivial?)

 * ioctl() for X server support is currently commented out. ("notyet")
   OpenBSD allows device depedent ioctl()s and they introduced
   UDLIO_DAMAGE ioctl for the damage extension ops of X servers for udl(4).
   Before blindly pulling such ioctl(), probably we should discuss
   how such specific operations should be handled in MI wscons(4) API.

 * Screen text of wsemul tty could be mangled during large scroll ops.
   All tty output operations are invoked via ttstart() with the giant
   tty_lock mutex held, so we can't call cv_wait(9) to wait resources
   for data xfers via usbdi(9).h, then text output is silently discarded
   on resource shortage. To handle this without tty_lock reorganization,
   we have to change wsdisplay(9) APIs (especially wsdisplaystart()) to
   return a number of actually handled characters as OpenBSD does, but
   it may require whole API changes around child rasops(9) etc.

 * No MI API definition to convert mmap(9) cookie to physical address.
   The conversion is required to create a cookie which will be passed to
   pmap_phys_address(9) in uvm/uvm_device.c:udv_fault(). Most other
   drivers use bus_dmamem_mmap(9) or bus_space_mmap(9), but udl(4) uses
   kmem_alloc(9)'ed memory for bitmap data.
   Furthermore, pmap(9) man page says about pmap_phys_address(9):

     "This function is provided to accommodate systems which have
      physical address spaces larger than can be directly addressed
      by the platform's paddr_t type. The existence of this function is
      highly dubious, and it is expected that this function will be
      removed from the pmap API in a future release of NetBSD."

   As the man page says we have already had split paddr_t and vaddr_t,
   so it's time to remove such old ugly cookie and change all mmap(4)
   functions (mostly in MD bus_dma(9) and bus_space(9) APIs) to return
   simple physical address in paddr_t?

 * We need proper device names for wsdisplay1 (and more devices).
   Currently wsdisplay0 uses ttyE0 through ttyE253 (minor 0 to 253)
   for screens, ttyEstat (254) for status, and ttyEcfg (255) for config.
   The next wsdisplay1 will use 256 through 509 for screens, 510 for stat,
   and 511 for config but what names should we use for them? ttyFxxx?

 * How to handle multiple sets of wskbd/wsdisplay on a single machine.
   rc.d/wscons doesn't provide method to specify wscons control devices.
   There is no proper interface to specify which keyboard should be connected
   to which wsdisplay, etc.

 * And maybe more...
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.91 2009/06/19 01:16:23 mrg Exp $
a56 1
defflag UGEN_BULK_RA_WB
@


1.91
log
@port the MOSCHIP MCS7703 driver from openbsd, based on changes between
openbsd uvscom and netbsd uvscom as a guide.

XXX: it only attaches one of the two ucom's on this device currently.

XXX: needs moscom.4.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.90 2008/10/10 16:37:16 joerg Exp $
d334 5
@


1.90
log
@Add u3g(4) driver from FreeBSD. This driver provides better support for
3G datacards than ugensa and will replace the latter for the supported
devices.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.89 2008/09/19 11:29:35 jmcneill Exp $
d254 5
@


1.90.4.1
log
@Pull up the following revisions(s) (requested by liamjfoy in ticket #1797):
	lib/libusbhid/usb_hid_usages:	revision 1.5 via patch
	share/man/man4/Makefile:	revision 1.578 via patch
	share/man/man4/uts.4:		revision 1.1
	share/man/man4/wsmouse.4:	revision 1.19 via patch
	sys/arch/amd64/conf/GENERIC:	revision 1.346-1.347 via patch
	sys/arch/i386/conf/GENERIC:	revision 1.1078 via patch
	sys/dev/usb/FILES:		revision 1.12 via patch
	sys/dev/usb/usbdevices.config:	revision 1.12 via patch
	sys/dev/usb/files.usb:		revision 1.119-1.120 via patch
	sys/dev/usb/usbhid.h:		revision 1.14 via patch
	sys/dev/usb/uts.c:		revision 1.1
	distrib/sets/lists/man/mi:	revision 1.1370 via patch

Add uts(4) driver for USB touchscreens.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.90 2008/10/10 16:37:16 joerg Exp $
a88 5
# Touchscreens
device 	uts: hid, wsmousedev, tpcalib
attach 	uts at uhidbus
file 	dev/usb/uts.c	 		uts

@


1.90.12.1
log
@Merge USB_FRAG_DMA_WORKAROUND from matt-nb5-pq3 branch.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.90.16.1 2011/01/07 02:49:58 matt Exp $
a7 1
defflag opt_usb.h	USB_FRAG_DMA_WORKAROUND
@


1.90.16.1
log
@Add USB_FRAG_DMA_WORKAROUND kludge
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.90 2008/10/10 16:37:16 joerg Exp $
a7 1
defflag opt_usb.h	USB_FRAG_DMA_WORKAROUND
@


1.90.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.91 2009/06/19 01:16:23 mrg Exp $
a253 5
# MOSCHIP MCS7xxx serial driver
device	moscom: ucombus
attach	moscom at usbdevif
file	dev/usb/moscom.c		moscom

@


1.89
log
@Remove qcm driver definition that slipped in accidentally on the previous
commit, pointed out by cegger
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.88 2008/09/18 16:40:37 jmcneill Exp $
d173 5
@


1.88
log
@defflag UVIDEO_DEBUG
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.87 2008/09/09 01:13:42 jmcneill Exp $
a143 5
# Logitech QuickCam Messenger
device	qcm: videobus
attach	qcm at usbifif
file	dev/usb/qcm.c			qcm

@


1.87
log
@USB Video Class capture device driver, part of Patrick Mahoney's Google
Summer of Code 2008 project.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.86 2008/09/06 19:37:21 jmcneill Exp $
d9 2
d144 5
@


1.86
log
@Add driver for the Sony PLAYSTATION(R) Eye USB webcam.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.85 2008/07/31 22:01:15 drochner Exp $
d142 5
@


1.85
log
@-ubsa needs to be attached as whole device on USB, because it sets
 the configuration. The match/attach code was assuming whole-device
 attach args all the time.
-Use the first (ie index 0) configuration for ubsa -- it makes the
 code work in at least one case (PR kern/39211 by Frank Wille), and
 there is no indication that an alternative configuration would
 be needed. (I've admittedly never seen a usb device with more than
 one configuration.)
This fixes mistakes when uhmodem support was added, and the changes were
not tested with a Huawei device yet. So please test if you can.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.84 2008/05/26 00:23:05 christos Exp $
d133 8
d142 1
d144 2
@


1.84
log
@Add uberry, a stub driver for RIM BlackBerry devices that can only be used
to charge a BlackBerry on a USB port.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.83 2008/05/25 21:41:35 drochner Exp $
d240 1
a240 2
#attach	ubsa at usbdevif
attach	ubsa at usbifif
@


1.84.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.90 2008/10/10 16:37:16 joerg Exp $
a8 2
defflag	opt_uvideo.h	UVIDEO_DEBUG

a132 3
#
# Capture devices
#
a133 11
# Sony PLAYSTATION(R) Eye
device	pseye: videobus
attach	pseye at usbifif
file	dev/usb/pseye.c			pseye

# USB Video Class capture devices
device	uvideo: videobus
attach	uvideo at usbifif
file	dev/usb/uvideo.c		uvideo

#
a134 2
#

a154 5
# Generic Serial Adapter
device	u3g: ucombus
attach	u3g at usbdevif
file	dev/usb/u3g.c			u3g

d240 2
a241 1
attach	ubsa at usbdevif
@


1.83
log
@-make the list of USB child devices a (possibly sparse) array rather
 than a zero-terminated list; this makes the code simpler and also
 hopefully fixes the recent "childdet" botch, see PR kern/38528
-handle the root hub specially a bit earlier, this allows to kick out
 the "submatch" functions completely which needed to second-guess
 from the port number (where "0" meant root hub")
 (we could handle the root hub specially even earlier, but as done
 now big parts of the hub emulation code are exercised regularely,
 this would bitrot otherwise)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82 2008/01/21 11:36:46 ichiro Exp $
d140 5
@


1.82
log
@add full support device driver for Huawei E220 wireless modem

PR/37692 from Yojiro UO
---
uhmodem: device driver for huawei 3G wireless modem

* what it is?

A device driver for huawei 3G wireless modem, E220 and its valiations.

The devices are very simuler to ubsa device, but they need special care
to use as modem device.
This patch introduce "uhmodem (USB Huawei modem)" for the devices.
A uhmodem device has two com devices and one USB mass strage device.
The driver enable to use all of them.

* dmesg:
uhmodem0 at uhub0 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
uhmodem0: mass storage only mode, reattach to enable modem
uhmodem0: at uhub0 port 1 (addr 2) disconnected
uhmodem0 detached
uhmodem0 at uhub0 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at uhmodem0 portno 0: modem
ucom1 at uhmodem0 portno 1: monitor
umass0 at uhub0 port 1 configuration 1 interface 2
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
cd0 at scsibus0 target 0 lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.81 2007/09/07 20:17:38 plunky Exp $
d9 1
d15 1
a15 1
device	usb: usbdevif
d26 1
@


1.82.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82 2008/01/21 11:36:46 ichiro Exp $
a8 3
defflag	opt_uvideo.h	UVIDEO_DEBUG

define	usbroothubif { }
d14 1
a14 1
device	usb: usbroothubif
a24 1
attach	uhub at usbroothubif with uroothub
a130 3
#
# Capture devices
#
a131 11
# Sony PLAYSTATION(R) Eye
device	pseye: videobus
attach	pseye at usbifif
file	dev/usb/pseye.c			pseye

# USB Video Class capture devices
device	uvideo: videobus
attach	uvideo at usbifif
file	dev/usb/uvideo.c		uvideo

#
a132 2
#

a137 5
# BlackBerries
device	uberry
attach	uberry at usbdevif
file	dev/usb/uberry.c			uberry

a147 5
# Generic Serial Adapter
device	u3g: ucombus
attach	u3g at usbdevif
file	dev/usb/u3g.c			u3g

d233 2
a234 1
attach	ubsa at usbdevif
@


1.82.10.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.10.1 2009/05/04 08:13:20 yamt Exp $
a253 5
# MOSCHIP MCS7xxx serial driver
device	moscom: ucombus
attach	moscom at usbdevif
file	dev/usb/moscom.c		moscom

@


1.82.10.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.10.2 2009/07/18 14:53:11 yamt Exp $
d57 1
d173 1
a173 1
# 3G Modem
d175 2
a176 4
attach	u3g at usbifif
device	u3ginit
attach	u3ginit at usbdevif
file	dev/usb/u3g.c			u3g | u3ginit
a187 4
# TEMPerHUM HID
device	uthum: hid
attach	uthum at uhidbus
file	dev/usb/uthum.c			uthum
a333 10

# DisplayLink DL-1x0/DL-1x5
device	udl: wsemuldisplaydev, rasops16, edid, firmload
attach	udl at usbdevif
file	dev/usb/udl.c			udl

# Wireless WAN modems from Option N.V.
device	uhso: ifnet
attach	uhso at usbdevif
file	dev/usb/uhso.c			uhso
@


1.82.10.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.10.3 2010/03/11 15:04:04 yamt Exp $
a24 1
file	dev/usb/usb_verbose.c		usb & usbverbose
d190 1
a190 1
device	uthum: hid, sysmon_envsys
a290 5
# ArkMicroChips 3116 based serial (used with some Nokia USB cables too)
device	uark: ucombus
attach	uark at usbdevif
file	dev/usb/uark.c		uark

a316 5
# Intersil PrismGT
device	upgt: ether, ifnet, arp, wlan, firmload
attach	upgt at usbdevif
file	dev/usb/if_upgt.c		upgt

a348 5

# Maywa-denki/Kayac YUREX
device	uyurex: hid
attach	uyurex at uhidbus
file	dev/usb/uyurex.c		uyurex
@


1.82.12.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82 2008/01/21 11:36:46 ichiro Exp $
a8 1
define	usbroothubif { }
d14 1
a14 1
device	usb: usbroothubif
a24 1
attach	uhub at usbroothubif with uroothub
a137 5
# BlackBerries
device	uberry
attach	uberry at usbdevif
file	dev/usb/uberry.c			uberry

@


1.82.12.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.12.1 2008/06/23 04:31:36 wrstuden Exp $
a132 8
#
# Capture devices
#

# Sony PLAYSTATION(R) Eye
device	pseye: videobus
attach	pseye at usbifif
file	dev/usb/pseye.c			pseye
a133 1
#
a134 2
#

d240 2
a241 1
attach	ubsa at usbdevif
@


1.82.12.3
log
@Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.12.2 2008/09/18 04:35:11 wrstuden Exp $
a8 2
defflag	opt_uvideo.h	UVIDEO_DEBUG

a141 10
# Logitech QuickCam Messenger
device	qcm: videobus
attach	qcm at usbifif
file	dev/usb/qcm.c			qcm

# USB Video Class capture devices
device	uvideo: videobus
attach	uvideo at usbifif
file	dev/usb/uvideo.c		uvideo

@


1.82.12.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82.12.3 2008/09/24 16:38:55 wrstuden Exp $
d144 5
a177 5
# Generic Serial Adapter
device	u3g: ucombus
attach	u3g at usbdevif
file	dev/usb/u3g.c			u3g

@


1.82.8.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82 2008/01/21 11:36:46 ichiro Exp $
a8 1
define	usbroothubif { }
d14 1
a14 1
device	usb: usbroothubif
a24 1
attach	uhub at usbroothubif with uroothub
a137 5
# BlackBerries
device	uberry
attach	uberry at usbdevif
file	dev/usb/uberry.c			uberry

@


1.82.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a8 1
define	usbroothubif { }
d14 1
a14 1
device	usb: usbroothubif
a24 1
attach	uhub at usbroothubif with uroothub
a137 5
# BlackBerries
device	uberry
attach	uberry at usbdevif
file	dev/usb/uberry.c			uberry

@


1.82.6.2
log
@Sync with HEAD.
@
text
@a8 2
defflag	opt_uvideo.h	UVIDEO_DEBUG

a132 13
#
# Capture devices
#

# Sony PLAYSTATION(R) Eye
device	pseye: videobus
attach	pseye at usbifif
file	dev/usb/pseye.c			pseye

# USB Video Class capture devices
device	uvideo: videobus
attach	uvideo at usbifif
file	dev/usb/uvideo.c		uvideo
a133 1
#
a134 2
#

d240 2
a241 1
attach	ubsa at usbdevif
@


1.82.6.3
log
@Sync with HEAD.
@
text
@a172 5
# Generic Serial Adapter
device	u3g: ucombus
attach	u3g at usbdevif
file	dev/usb/u3g.c			u3g

@


1.81
log
@move the HID processing defs to a higher context, since it is used by
bluetooth and USB code.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.80 2007/09/03 17:57:36 tshiozak Exp $
d230 5
a234 2
device	ubsa: ucombus
attach	ubsa at usbdevif
d237 5
@


1.81.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.82 2008/01/21 11:36:46 ichiro Exp $
d230 2
a231 5
define	ubsa_common
file	dev/usb/ubsa_common.c		ubsa_common
device	ubsa: ucombus, ubsa_common
#attach	ubsa at usbdevif
attach	ubsa at usbifif
a233 5
# Huawei E220 3G/HSDPA modem (ubsa)
device	uhmodem: ucombus, ubsa_common
attach	uhmodem at usbifif
file	dev/usb/uhmodem.c		uhmodem

@


1.81.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d230 2
a231 5
define	ubsa_common
file	dev/usb/ubsa_common.c		ubsa_common
device	ubsa: ucombus, ubsa_common
#attach	ubsa at usbdevif
attach	ubsa at usbifif
a233 5
# Huawei E220 3G/HSDPA modem (ubsa)
device	uhmodem: ucombus, ubsa_common
attach	uhmodem at usbifif
file	dev/usb/uhmodem.c		uhmodem

@


1.80
log
@add support for WinChipHead CH341/340 USB-Serial bridge.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.79 2007/06/12 07:06:48 kiyohara Exp $
a62 4
# HID processing
define	hid
file	dev/usb/hid.c			hid

@


1.79
log
@Oops.
  It mistook to commit.
  uath(4) not inport yet.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.78 2007/06/09 11:20:55 kiyohara Exp $
d253 5
@


1.79.8.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.81 2007/09/07 20:17:38 plunky Exp $
d63 4
a252 5
# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

@


1.79.8.2
log
@sync with HEAD
@
text
@d1 1
a1 1
#	files.usb,v 1.79.8.1 2007/11/06 23:30:30 matt Exp
d230 2
a231 5
define	ubsa_common
file	dev/usb/ubsa_common.c		ubsa_common
device	ubsa: ucombus, ubsa_common
#attach	ubsa at usbdevif
attach	ubsa at usbifif
a233 5
# Huawei E220 3G/HSDPA modem (ubsa)
device	uhmodem: ucombus, ubsa_common
attach	uhmodem at usbifif
file	dev/usb/uhmodem.c		uhmodem

@


1.79.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.81 2007/09/07 20:17:38 plunky Exp $
d63 4
a252 5
# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

@


1.79.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.81 2007/09/07 20:17:38 plunky Exp $
d63 4
a252 5
# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

@


1.78
log
@Added OpenBSD's zyd(4) driver.
  Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.77 2007/05/20 05:08:17 dogcow Exp $
a290 5

# Atheros AR5005UG/AR5005UX
device	uath: ether, ifnet, arp, wlan, firmload
attach	uath at usbdevif
file	dev/usb/if_uath.c		uath
@


1.77
log
@From PR kern/33496 - add uslsa(4), a CP210x USB-RS232 ucom driver.
After minor hacks, it compiles without problems; however, it's not been tested
with an actual device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.76 2007/05/11 13:12:14 is Exp $
d286 10
@


1.76
log
@SigmaTels not-quite-UIRDA devices: STIr4116, STIr4220
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.75 2007/05/06 22:54:20 jnemeth Exp $
d248 4
@


1.75
log
@add firmload attribute to rum, thanks to Paul Goyette on current-users
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.74 2007/03/13 13:51:53 drochner Exp $
d117 6
a122 1
file	dev/usb/uirda.c			uirda
@


1.74
log
@Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
 stage, but did configuration again. I've converted them to match
 in the device stage.
ustir, utoppy: matched in the interface stage, but only against
 vendor/device information, and used any configuration/interface
 without checking. Changed to match in device stage, and added
 some simple code to configure and use the first interface.
If you have one of those devices, please test!
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73 2007/01/05 17:16:22 jmcneill Exp $
d264 1
a264 1
device	rum: ether, ifnet, arp, wlan
@


1.73
log
@Add device driver for Microsoft Xbox controller. Exposes itself as a
wsmouse device for now; easy enough to make it a joystick driver in the
future.

Mappings:
 Left analog stick: Mouse movement
 Right analog stick: Scroll wheel (4 directions)
 A button: Left click
 B button: Right click
 X button: Middle click
 Y button: injected to wsmouse as a fourth mouse button click
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.72 2006/10/31 22:21:17 joerg Exp $
d11 2
d24 1
a24 1
device	uhub: usbdevif
d37 1
a37 1
attach	uaudio at usbdevif
d42 1
a42 1
attach	umidi at usbdevif
d69 1
a69 1
attach	uhidev at usbdevif
d101 1
a101 1
attach	ulpt at usbdevif
d107 1
a107 1
attach	umass at usbdevif
d116 1
a116 1
attach	uirda at usbdevif
d166 1
a166 1
attach  cdce at usbdevif
d205 1
a205 1
attach	umodem at usbdevif
d240 1
a240 1
attach	ukyopon at usbdevif
@


1.73.8.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.79 2007/06/12 07:06:48 kiyohara Exp $
a10 2
define	usbifif { [port = -1], [configuration = -1], [interface = -1],
		  [vendor = -1], [product = -1], [release = -1] }
d22 1
a22 1
device	uhub: usbdevif, usbifif
d35 1
a35 1
attach	uaudio at usbifif
d40 1
a40 1
attach	umidi at usbifif
d67 1
a67 1
attach	uhidev at usbifif
d99 1
a99 1
attach	ulpt at usbifif
d105 1
a105 1
attach	umass at usbifif
d114 2
a115 7
attach	uirda at usbifif
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbifif
file	dev/usb/stuirda.c		stuirda
d164 1
a164 1
attach  cdce at usbifif
d203 1
a203 1
attach	umodem at usbifif
d238 1
a238 1
attach	ukyopon at usbifif
a240 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
d262 1
a262 1
device	rum: ether, ifnet, arp, wlan, firmload
a274 5

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif
file	dev/usb/if_zyd.c		zyd
@


1.73.10.1
log
@Overhaul of USB stack, mostly DMA related

This applies to NetBSD 4.99.13 (March 1, 2007)

usbdi(9) interface is based on FreeBSD version, excluding
 - removal of portability code

Patch most NetBSD changes, excluding
 - DMA memory "reserve", since we don't need contiguous buffers any longer
 - volatiles in DMA structure, since it should not be needed
   with proper bus_dmamap_sync(9)s

DMA/non-DMA memory management overhaul
 - Move all DMA related code to usb_mem.[ch]
   (add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.).
   XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ?
 - Add corresponding non-DMA code to usb_mem_nodma.[ch] .
   Currently just use malloc(9).
 - Above files are conditionally used by config framework (added
   attributes to conf/files and dev/usb/files.usb).
 - Add diagnostic panics when resource allocation is requested
   on interrupt context.
 - Change memory allocations (that require context) from NOWAIT to WAITOK.

Allocate DMA/non-DMA buffer per host interface, not globally.
 advantage:	Buffers can be freed on detaching host interface.
		Activity of a host interface does not affect others.
 disadvantages:	It possibly consumes more memory.

API changes
 - usbd_alloc_xfer() is changed:
    old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev);
    new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev,
		usbd_pipe_handle pipe);
 - pipe argument of usbd_setup_*xfer() are now unused
   XXX the pipe argument should be removed?
 - add mapping APIs
 - async request will be processed as a task (kernel thread context),
   and delayed to some extent
 - usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer"
   (mapped/allocated/refered buffer for HCI driver)
 - usb_port.h: change usb_proc_ptr from  struct ptoc *  to struct lwp *
 - usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *)
 - usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0

changes to USB device drivers
 - atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url,
   uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio,
   uscanner, ustir, utoppy:
    * catch up API change of usbd_alloc_xfer()
 - umass, usscanner:
    * catch up API change of usbd_alloc_xfer()
    * eliminate memory copy for large transfer

ohci
 - free resources on detach
 - add lots of bus_dmamap_sync() operations
 - simplify the code of loading std chain
 - rewrite code of looking up TD/ITD from DMA addr by using allocation chunk
 - add workaround for CMD Tech 670 and 673 chipsets
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

slhci
 - allocate xfer and slhci_xfer at once, and simplify relevant code
 - add slhci_detach()
 - remove second arg of slhci_attach() since it is the same as the first arg.
 - add support for "mapping" (no, it doesn't map since it doesn't do DMA)
   buffer and mbuf
 - add pcmcia frontend
 - NOT TESTED, missing hardware

ehci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf
 - done only simple test

uhci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

To do
 - review, test, debug
 - rewrite network drivers to utilize usbd_map_buffer_mbuf()
 - rewrite uaudio(4) to eliminate memcpy
 - "pipe" argument of usbd_setup_*xfer() should eventually be removed
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73 2007/01/05 17:16:22 jmcneill Exp $
d17 1
a17 2
file	dev/usb/usb_mem.c		usb & usb_mem_dma
file	dev/usb/usb_mem_nodma.c		usb & usb_mem_nodma
@


1.73.10.2
log
@Move commonly used code in USB Ethernet drivers to usb_ethersubr.[ch],
from FreeBSD.  The interface is modified to fit our new code.

(Note FreeBSD passes packets to different kernel thread, which I did NOT
adopt or now.  That is because I'm not sure it is really necessary,
and it enforces more context switchings per packet and probably causes
large latency and poor performace.)
@
text
@a157 3
define	usb_ether
file	dev/usb/usb_ethersubr.c		usb_ether

d160 1
a160 1
attach	aue at usbdevif: usb_ether
d165 1
a165 1
attach  cdce at usbdevif: usb_ether
d170 1
a170 1
attach	cue at usbdevif: usb_ether
d175 1
a175 1
attach	kue at usbdevif: usb_ether
d180 1
a180 1
attach	upl at usbdevif: usb_ether
d185 1
a185 1
attach	url at usbdevif: usb_ether
d190 1
a190 1
attach	axe at usbdevif: usb_ether
d195 1
a195 1
attach	udav at usbdevif: usb_ether
d256 1
a256 1
attach	atu at usbdevif: usb_ether
d260 1
a260 1
attach	ral at usbdevif with ural: usb_ether
d264 1
a264 1
attach	rum at usbdevif: usb_ether
@


1.73.10.3
log
@Pullup 1.75-1.78
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.78 2007/06/09 11:20:55 kiyohara Exp $
d116 1
a116 6
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbdevif
file	dev/usb/stuirda.c		stuirda
a244 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
d266 1
a266 1
device	rum: ether, ifnet, arp, wlan, firmload
a278 10

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif: usb_ether
file	dev/usb/if_zyd.c		zyd

# Atheros AR5005UG/AR5005UX
device	uath: ether, ifnet, arp, wlan, firmload
attach	uath at usbdevif: usb_ether
file	dev/usb/if_uath.c		uath
@


1.73.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73 2007/01/05 17:16:22 jmcneill Exp $
a10 2
define	usbifif { [port = -1], [configuration = -1], [interface = -1],
		  [vendor = -1], [product = -1], [release = -1] }
d22 1
a22 1
device	uhub: usbdevif, usbifif
d35 1
a35 1
attach	uaudio at usbifif
d40 1
a40 1
attach	umidi at usbifif
d67 1
a67 1
attach	uhidev at usbifif
d99 1
a99 1
attach	ulpt at usbifif
d105 1
a105 1
attach	umass at usbifif
d114 1
a114 1
attach	uirda at usbifif
d164 1
a164 1
attach  cdce at usbifif
d203 1
a203 1
attach	umodem at usbifif
d238 1
a238 1
attach	ukyopon at usbifif
@


1.73.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73.2.1 2007/03/24 14:55:47 yamt Exp $
d264 1
a264 1
device	rum: ether, ifnet, arp, wlan, firmload
@


1.73.2.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73.2.2 2007/05/07 10:55:32 yamt Exp $
d117 1
a117 6
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbifif
file	dev/usb/stuirda.c		stuirda
@


1.73.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73 2007/01/05 17:16:22 jmcneill Exp $
a10 2
define	usbifif { [port = -1], [configuration = -1], [interface = -1],
		  [vendor = -1], [product = -1], [release = -1] }
d22 1
a22 1
device	uhub: usbdevif, usbifif
d35 1
a35 1
attach	uaudio at usbifif
d40 1
a40 1
attach	umidi at usbifif
d67 1
a67 1
attach	uhidev at usbifif
d99 1
a99 1
attach	ulpt at usbifif
d105 1
a105 1
attach	umass at usbifif
d114 1
a114 1
attach	uirda at usbifif
d164 1
a164 1
attach  cdce at usbifif
d203 1
a203 1
attach	umodem at usbifif
d238 1
a238 1
attach	ukyopon at usbifif
@


1.73.6.2
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73.6.1 2007/03/13 16:50:31 ad Exp $
d117 1
a117 6
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbifif
file	dev/usb/stuirda.c		stuirda
a242 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
d264 1
a264 1
device	rum: ether, ifnet, arp, wlan, firmload
@


1.73.6.3
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73.6.2 2007/05/27 14:30:29 ad Exp $
a285 5

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif
file	dev/usb/if_zyd.c		zyd
@


1.73.6.4
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73.6.3 2007/07/15 13:21:46 ad Exp $
d63 4
a252 5
# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

@


1.72
log
@Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.71 2006/10/24 21:03:30 drochner Exp $
d270 5
@


1.72.2.1
log
@Pull up following revision(s) (requested by xtraeme in ticket #617):
	sys/dev/usb/usbdevs: revision 1.463
	sys/dev/usb/if_rum.c: revision 1.10
	sys/dev/usb/files.usb: revision 1.75
Add support for ASUS WL-167g ver 2, from PR kern/35113 (Dave Huang).

add firmload attribute to rum, thanks to Paul Goyette on current-users
@
text
@d1 1
a1 1
#	$NetBSD$
d262 1
a262 1
device	rum: ether, ifnet, arp, wlan, firmload
@


1.72.2.1.2.1
log
@Catch up on netbsd-4 as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.72.2.2 2007/09/27 22:04:26 xtraeme Exp $
a240 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
@


1.72.2.2
log
@Pull up following revision(s) (requested by mlelstv in ticket #895):
	sys/dev/usb/uslsa.c: revision 1.1
	sys/dev/usb/uslsa.c: revision 1.2
	sys/dev/usb/uslsa.c: revision 1.3
	sys/dev/usb/usbdevs: revision 1.466 (via patch)
	share/man/man4/uslsa.4: revision 1.1
	share/man/man4/Makefile: revision 1.429
	sys/arch/i386/conf/GENERIC: revision 1.828
	distrib/sets/lists/man/mi: revision 1.1002
	sys/dev/usb/files.usb: revision 1.77
	sys/arch/i386/conf/ALL: revision 1.99

From PR kern/33496 - add uslsa(4), a CP210x USB-RS232 ucom driver.
@
text
@a240 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
@


1.72.2.3
log
@Pullup the following revisions (requested by msaitoh in ticket #1284):
	distrib/sets/lists/base/mi		1.706-707,1.797
	distrib/sets/lists/man/mi		1.1006
	etc/mtree/NetBSD.dist			1.340
	share/man/man4/Makefile			1.432
	sys/arch/amd64/conf/GENERIC		1.149 via patch
	sys/arch/i386/conf/ALL			1.103
	sys/arch/i386/conf/GENERIC		1.832
	sys/arch/i386/conf/GENERIC_LAPTOP	1.237
	sys/arch/macppc/conf/GENERIC		1.257
	sys/arch/sparc64/conf/GENERIC		1.86
	sys/dev/usb/usbdevs			1.468,1.479-480 via patch
	sys/dev/usb/usbdevs.h			regen
	sys/dev/usb/usbdevs_data.h		regen
	sys/dev/microcode/Makefile		1.7
	sys/dev/usb/files.usb			patch
	share/man/man4/zyd.4			1.1 via patch
	sys/dev/microcode/zyd/Makefile		1.1-1.2
	sys/dev/microcode/zyd/build.c		1.1
	sys/dev/microcode/zyd/microcode.h	1.1
	sys/dev/microcode/zyd/zd1211-license	1.1
	sys/dev/microcode/zyd/zyd-zd1211	1.1
	sys/dev/microcode/zyd/zyd-zd1211b	1.1
	sys/dev/usb/if_zyd.c			patch
	sys/dev/usb/if_zydreg.h			1.1-1.2

Add ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device support
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.72.2.2 2007/09/27 22:04:26 xtraeme Exp $
a273 5

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif
file	dev/usb/if_zyd.c		zyd
@


1.71
log
@clean up the USB attachment stuff a bit: use a dedicated interface
attribute ("usbdevif") to attach USB devices, be it a plain device or
a hub, and remove some strangeness caused by the former usb/uhub mess
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.70 2006/09/10 15:45:56 plunky Exp $
d262 4
@


1.70
log
@update to bluetooth device attachment:

remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.69 2006/08/19 16:35:03 plunky Exp $
d9 4
a12 1
device	usb { }
d22 2
a23 3
device	uhub { [port = -1], [configuration = -1], [interface = -1],
               [vendor = -1], [product = -1], [release = -1] }
attach	uhub at usb
a25 2
attach	uhub at uhub with uhub_uhub

d35 1
a35 1
attach	uaudio at uhub
d40 1
a40 1
attach	umidi at uhub
d53 1
a53 1
attach	ugen at uhub
d67 1
a67 1
attach	uhidev at uhub
d89 1
a89 1
attach	uep at uhub
d99 1
a99 1
attach	ulpt at uhub
d105 1
a105 1
attach	umass at uhub
d114 1
a114 1
attach	uirda at uhub
d119 1
a119 1
attach	ustir at uhub
d125 1
a125 1
attach	ubt at uhub
d132 1
a132 1
attach	urio at uhub
d137 1
a137 1
attach	uvisor at uhub
d142 1
a142 1
attach	ugensa at uhub
d147 1
a147 1
attach	uyap at uhub
d152 1
a152 1
attach	udsbr at uhub
d159 1
a159 1
attach	aue at uhub
d164 1
a164 1
attach  cdce at uhub
d169 1
a169 1
attach	cue at uhub
d174 1
a174 1
attach	kue at uhub
d179 1
a179 1
attach	upl at uhub
d184 1
a184 1
attach	url at uhub
d189 1
a189 1
attach	axe at uhub
d194 1
a194 1
attach	udav at uhub
d203 1
a203 1
attach	umodem at uhub
d208 1
a208 1
attach	uftdi at uhub
d213 1
a213 1
attach	uplcom at uhub
d218 1
a218 1
attach	umct at uhub
d223 1
a223 1
attach	uvscom at uhub
d228 1
a228 1
attach	ubsa at uhub
d233 1
a233 1
attach  uipaq at uhub
d238 1
a238 1
attach	ukyopon at uhub
d245 1
a245 1
attach	uscanner at uhub
d250 1
a250 1
attach	usscanner at uhub
d255 1
a255 1
attach	atu at uhub
d259 1
a259 1
attach	ral at uhub with ural
d264 1
a264 1
attach	utoppy at uhub
@


1.70.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.70 2006/09/10 15:45:56 plunky Exp $
d9 1
a9 4
define	usbdevif { [port = -1], [configuration = -1], [interface = -1],
		   [vendor = -1], [product = -1], [release = -1] }

device	usb: usbdevif
d19 3
a21 2
device	uhub: usbdevif
attach	uhub at usbdevif
d24 2
d35 1
a35 1
attach	uaudio at usbdevif
d40 1
a40 1
attach	umidi at usbdevif
d53 1
a53 1
attach	ugen at usbdevif
d67 1
a67 1
attach	uhidev at usbdevif
d89 1
a89 1
attach	uep at usbdevif
d99 1
a99 1
attach	ulpt at usbdevif
d105 1
a105 1
attach	umass at usbdevif
d114 1
a114 1
attach	uirda at usbdevif
d119 1
a119 1
attach	ustir at usbdevif
d125 1
a125 1
attach	ubt at usbdevif
d132 1
a132 1
attach	urio at usbdevif
d137 1
a137 1
attach	uvisor at usbdevif
d142 1
a142 1
attach	ugensa at usbdevif
d147 1
a147 1
attach	uyap at usbdevif
d152 1
a152 1
attach	udsbr at usbdevif
d159 1
a159 1
attach	aue at usbdevif
d164 1
a164 1
attach  cdce at usbdevif
d169 1
a169 1
attach	cue at usbdevif
d174 1
a174 1
attach	kue at usbdevif
d179 1
a179 1
attach	upl at usbdevif
d184 1
a184 1
attach	url at usbdevif
d189 1
a189 1
attach	axe at usbdevif
d194 1
a194 1
attach	udav at usbdevif
d203 1
a203 1
attach	umodem at usbdevif
d208 1
a208 1
attach	uftdi at usbdevif
d213 1
a213 1
attach	uplcom at usbdevif
d218 1
a218 1
attach	umct at usbdevif
d223 1
a223 1
attach	uvscom at usbdevif
d228 1
a228 1
attach	ubsa at usbdevif
d233 1
a233 1
attach  uipaq at usbdevif
d238 1
a238 1
attach	ukyopon at usbdevif
d245 1
a245 1
attach	uscanner at usbdevif
d250 1
a250 1
attach	usscanner at usbdevif
d255 1
a255 1
attach	atu at usbdevif
d259 1
a259 1
attach	ral at usbdevif with ural
a261 4
device	rum: ether, ifnet, arp, wlan
attach	rum at usbdevif
file	dev/usb/if_rum.c		rum

d264 1
a264 1
attach	utoppy at usbdevif
@


1.69
log
@The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.

While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.68 2006/07/24 14:24:50 gdt Exp $
d124 1
a124 1
device	ubt: bluetooth
@


1.69.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.72 2006/10/31 22:21:17 joerg Exp $
d9 1
a9 4
define	usbdevif { [port = -1], [configuration = -1], [interface = -1],
		   [vendor = -1], [product = -1], [release = -1] }

device	usb: usbdevif
d19 3
a21 2
device	uhub: usbdevif
attach	uhub at usbdevif
d24 2
d35 1
a35 1
attach	uaudio at usbdevif
d40 1
a40 1
attach	umidi at usbdevif
d53 1
a53 1
attach	ugen at usbdevif
d67 1
a67 1
attach	uhidev at usbdevif
d89 1
a89 1
attach	uep at usbdevif
d99 1
a99 1
attach	ulpt at usbdevif
d105 1
a105 1
attach	umass at usbdevif
d114 1
a114 1
attach	uirda at usbdevif
d119 1
a119 1
attach	ustir at usbdevif
d124 2
a125 2
device	ubt: btbus, bluetooth
attach	ubt at usbdevif
d132 1
a132 1
attach	urio at usbdevif
d137 1
a137 1
attach	uvisor at usbdevif
d142 1
a142 1
attach	ugensa at usbdevif
d147 1
a147 1
attach	uyap at usbdevif
d152 1
a152 1
attach	udsbr at usbdevif
d159 1
a159 1
attach	aue at usbdevif
d164 1
a164 1
attach  cdce at usbdevif
d169 1
a169 1
attach	cue at usbdevif
d174 1
a174 1
attach	kue at usbdevif
d179 1
a179 1
attach	upl at usbdevif
d184 1
a184 1
attach	url at usbdevif
d189 1
a189 1
attach	axe at usbdevif
d194 1
a194 1
attach	udav at usbdevif
d203 1
a203 1
attach	umodem at usbdevif
d208 1
a208 1
attach	uftdi at usbdevif
d213 1
a213 1
attach	uplcom at usbdevif
d218 1
a218 1
attach	umct at usbdevif
d223 1
a223 1
attach	uvscom at usbdevif
d228 1
a228 1
attach	ubsa at usbdevif
d233 1
a233 1
attach  uipaq at usbdevif
d238 1
a238 1
attach	ukyopon at usbdevif
d245 1
a245 1
attach	uscanner at usbdevif
d250 1
a250 1
attach	usscanner at usbdevif
d255 1
a255 1
attach	atu at usbdevif
d259 1
a259 1
attach	ral at usbdevif with ural
a261 4
device	rum: ether, ifnet, arp, wlan
attach	rum at usbdevif
file	dev/usb/if_rum.c		rum

d264 1
a264 1
attach	utoppy at usbdevif
@


1.69.2.2
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.73 2007/01/05 17:16:22 jmcneill Exp $
a269 5

# Microsoft Xbox controller (gamepad)
device	xboxcontroller: wsmousedev
attach	xboxcontroller at usbdevif
file	dev/usb/xboxcontroller.c	xboxcontroller
@


1.68
log
@Add UGEN_BULK_RA_WB, which allows users of ugen(4) to request read
ahead and write behind, improving performance for the Universal
Software Radio Peripheral (USRP) used with GNU Radio.

Enable UGEN_BULK_RA_WB in GENERIC and GENERIC_LAPTOP; behavior is
unchanged unless the new ioctl is called.

This code was written by Joanne Mikkelson under funding from DARPA's
ACERT program.

ok'd by christos@@, tested by Berndt Josef Wulf
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.67 2006/06/19 15:44:45 gdamore Exp $
a127 5
# BCM2033 firmware download
device	ubtbcmfw
attach	ubtbcmfw at uhub
file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag

@


1.68.2.1
log
@Pull up following revision(s) (requested by plunky in ticket #49):
	share/man/man4/Makefile: revision 1.400
	sys/dev/usb/FILES: revision 1.10
	sys/dev/usb/files.usb: revision 1.69
	share/man/man4/ubt.4: revision 1.2
	sys/dev/usb/ubt.c: revision 1.15
	share/man/man4/ubtbcmfw.4: file removal
	distrib/sets/lists/man/mi: revision 1.922
	sys/dev/DEVNAMES: revision 1.210
	sys/dev/usb/ubtbcmfw.c: file removal
The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.
So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.
This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.
This fixes kern/34219
@
text
@d1 1
a1 1
#	$NetBSD$
d128 5
@


1.68.2.2
log
@Pull up following revision(s) (requested by plunky in ticket #161):
	sys/dev/bluetooth/btdev.h: revision 1.4
	distrib/sets/lists/comp/mi: revision 1.922
	usr.sbin/postinstall/postinstall: revision 1.25
	sys/netbt/hci_unit.c: revision 1.3
	sys/netbt/hci_ioctl.c: revision 1.4
	usr.sbin/sdpd/profile.c: revision 1.2
	usr.sbin/btdevctl/btdevctl.c: revision 1.2
	share/man/man4/Makefile: revision 1.405
	distrib/sets/lists/man/mi: revision 1.930
	distrib/sets/lists/etc/mi: revision 1.176
	usr.sbin/sdpd/profile.c: revision 1.3
	usr.sbin/btdevctl/btdevctl.c: revision 1.3
	etc/MAKEDEV.tmpl: revision 1.62
	distrib/sets/lists/base/mi: revision 1.650
	usr.sbin/btdevctl/btdevctl.h: revision 1.2
	usr.bin/sdpquery/sdpquery.1: revision 1.4
	sys/netbt/rfcomm_session.c: revision 1.2
	usr.sbin/btdevctl/btdevctl.8: revision 1.3
	usr.bin/sdpquery/search.c: revision 1.2
	usr.sbin/sdpd/Makefile: revision 1.2
	sys/dev/bluetooth/Makefile: revision 1.3
	usr.sbin/btdevctl/cfg.c: file removal
	sys/netbt/files.netbt: revision 1.4
	usr.sbin/btdevctl/sdp.c: revision 1.1
	sys/dev/bluetooth/bthidev.c: revision 1.3
	etc/bluetooth/Makefile: revision 1.3
	sys/dev/pcmcia/files.pcmcia: revision 1.51
	sys/dev/bluetooth/bthidev.c: revision 1.4
	sys/dev/bluetooth/bthidev.h: revision 1.3
	usr.sbin/btdevctl/dev.c: file removal
	sys/dev/bluetooth/files.bluetooth: revision 1.10
	sys/arch/i386/conf/GENERIC: revision 1.777
	share/man/man4/ubt.4: revision 1.6
	share/man/man4/bthub.4: revision 1.3
	sys/netbt/hci.h: revision 1.5
	sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.202
	lib/libsdp/sdp.h: revision 1.2
	usr.sbin/btdevctl/print.c: revision 1.1
	share/man/man4/bthidev.4: revision 1.5
	share/man/man4/btdev.4: file removal
	usr.sbin/btdevctl/print.c: revision 1.2
	sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.205
	usr.sbin/btdevctl/Makefile: revision 1.2
	sys/dev/usb/files.usb: revision 1.70
	sys/netbt/l2cap_signal.c: revision 1.2
	sys/netbt/hci_link.c: revision 1.4
	sys/dev/bluetooth/bthub.c: revision 1.3
	share/man/man4/btsco.4: revision 1.5
	sys/netbt/hci_link.c: revision 1.5
	share/man/man4/btdev.4: revision 1.4
	sys/dev/bluetooth/btkbd.c: revision 1.3
	sys/dev/bluetooth/btdev.c: file removal
	sys/netbt/hci_event.c: revision 1.2
	sys/dev/bluetooth/btsco.h: revision 1.2
	etc/mtree/special: revision 1.101
	sys/dev/bluetooth/btsco.c: revision 1.3
	sys/conf/majors: revision 1.27
	usr.sbin/sdpd/hf.c: revision 1.1
	sys/dev/bluetooth/btsco.c: revision 1.4
	share/man/man5/rc.conf.5: revision 1.107
	sys/dev/bluetooth/btdev.c: revision 1.2
	etc/rc.d/btdevctl: revision 1.2
	usr.sbin/btdevctl/db.c: revision 1.1
	etc/rc.d/btdevctl: revision 1.3
	etc/bluetooth/btdevctl.conf: revision 1.1
	usr.sbin/btdevctl/hid.c: file removal
	sys/arch/i386/conf/GENERIC: revision 1.781
	sys/dev/bluetooth/btdev.h: revision 1.3
Make btdev default count explicit
Fix typo in variable name
update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations
add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.
btdevctl(8) and its cache is updated to handle new semantics
etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
also include service name in dictionary being sent to kernel.
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
clarify the CAVEAT section somewhat
Add service discovery support for the Handsfree profile
Replace static 'FreeBSD' string with operating system name gleaned
from uname(3)
Halt the callout on detach
btsco.c:
 - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t,
   not an int. So change sc_mtu's type to uint16_t.
 - Try a little harder to ensure btsco_round_blocksize() does not
   return zero. Prevents a subsequent panic in audio_init_ringbuffer().
	from scw@@
Endian issues:
hci_event.c:
 - Convert memo->response.clock_offset to host-endian.
hci_ioctl.c:
 - printf format tweak (size_t)
hci_link.c:
 - Convert memo->response.clock_offset from host-endian.
 - Tweak a DIAGNOSTIC message.
l2cap_signal.c:
 - In l2cap_recv_config_req(), rp->scid is little-endian so make sure
   we convert from host-endian.
	from scw@@
hci_link.c:
 - In hci_link_free(), do not unlink items from a LIST queue within
   a LIST_FOREACH() iterator.
rfcomm_session.c:
 - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST
   queue within a LIST_FOREACH() iterator.
	from scw@@
guard against a possible situation where the list of l2cap channels is changed
when the bluetooth code is not expecting it to be. During a disconnect, we can
detach the channel that is being disconnected, but its not really safe to detach
any others.
Print explicit 64-bit types using the format macros from int_fmtio.h.
Unbreaks the build for our LP64 ports, where "long long" typically is
not 64 bits.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.68.2.1 2006/08/25 12:33:57 tron Exp $
d124 1
a124 1
device	ubt: btbus, bluetooth
@


1.67
log
@Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.66 2006/04/03 08:15:48 scw Exp $
d51 1
@


1.66
log
@Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65 2005/12/11 12:24:00 christos Exp $
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd
d122 2
a123 2
# Bluetooth bridges
device	ubt: btbus
@


1.66.4.1
log
@Merge from HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.67 2006/06/19 15:44:45 gdamore Exp $
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
d122 2
a123 2
# Bluetooth controllers
device	ubt: bluetooth
@


1.66.2.1
log
@Complete a sync sys/ with head.
@
text
@d1 1
a1 1
#	$NetBSD$
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
d122 2
a123 2
# Bluetooth controllers
device	ubt: bluetooth
@


1.65
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50.2.6 2005/11/10 14:08:05 skrll Exp $
d265 5
@


1.65.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.69 2006/08/19 16:35:03 plunky Exp $
a50 1
defflag UGEN_BULK_RA_WB
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
d122 2
a123 2
# Bluetooth controllers
device	ubt: bluetooth
d127 5
a264 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.65.12.1
log
@Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
@
text
@d1 1
a1 1
#	$NetBSD$
a264 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.65.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.66 2006/04/03 08:15:48 scw Exp $
a264 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.65.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.66 2006/04/03 08:15:48 scw Exp $
a264 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.65.8.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65 2005/12/11 12:24:00 christos Exp $
a264 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.65.8.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65.8.1 2006/04/11 11:55:18 yamt Exp $
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
d122 2
a123 2
# Bluetooth controllers
device	ubt: bluetooth
@


1.65.8.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65.8.2 2006/06/26 12:52:28 yamt Exp $
a50 1
defflag UGEN_BULK_RA_WB
@


1.65.8.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65.8.3 2006/08/11 15:45:20 yamt Exp $
d128 5
@


1.65.8.5
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.65.8.4 2006/09/03 15:25:03 yamt Exp $
d124 1
a124 1
device	ubt: btbus, bluetooth
@


1.64
log
@Add a driver for Cypress microcontroller based USB serial adapters.

XXX hw flow control is not supported.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.63 2005/07/18 11:42:28 augustss Exp $
@


1.63
log
@Add uipaq(4).  From OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62 2005/07/01 20:11:20 drochner Exp $
d91 5
@


1.62
log
@add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.61 2005/06/13 16:41:44 cube Exp $
d230 5
@


1.62.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62 2005/07/01 20:11:20 drochner Exp $
d79 1
a79 1
file	dev/usb/ukbdmap.c		ukbd | btkbd
a90 5
# Cypress microcontroller based serial adpaters
device	ucycom: hid
attach	ucycom at uhidbus
file	dev/usb/ucycom.c		ucycom			needs-flag

d117 2
a118 2
# Bluetooth controllers
device	ubt: bluetooth
a229 5
# iPAQ PDAs
device  uipaq: ucombus
attach  uipaq at uhub
file    dev/usb/uipaq.c			uipaq

a254 5

# Topfield digital PVRs
device	utoppy
attach	utoppy at uhub
file	dev/usb/utoppy.c		utoppy
@


1.62.2.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62.2.1 2006/06/21 15:07:43 yamt Exp $
d9 1
a9 4
define	usbdevif { [port = -1], [configuration = -1], [interface = -1],
		   [vendor = -1], [product = -1], [release = -1] }

device	usb: usbdevif
d19 3
a21 2
device	uhub: usbdevif
attach	uhub at usbdevif
d24 2
d35 1
a35 1
attach	uaudio at usbdevif
d40 1
a40 1
attach	umidi at usbdevif
a50 1
defflag UGEN_BULK_RA_WB
d52 1
a52 1
attach	ugen at usbdevif
d66 1
a66 1
attach	uhidev at usbdevif
d88 1
a88 1
attach	uep at usbdevif
d98 1
a98 1
attach	ulpt at usbdevif
d104 1
a104 1
attach	umass at usbdevif
d113 1
a113 1
attach	uirda at usbdevif
d118 1
a118 1
attach	ustir at usbdevif
d123 2
a124 2
device	ubt: btbus, bluetooth
attach	ubt at usbdevif
d127 5
d136 1
a136 1
attach	urio at usbdevif
d141 1
a141 1
attach	uvisor at usbdevif
d146 1
a146 1
attach	ugensa at usbdevif
d151 1
a151 1
attach	uyap at usbdevif
d156 1
a156 1
attach	udsbr at usbdevif
d163 1
a163 1
attach	aue at usbdevif
d168 1
a168 1
attach  cdce at usbdevif
d173 1
a173 1
attach	cue at usbdevif
d178 1
a178 1
attach	kue at usbdevif
d183 1
a183 1
attach	upl at usbdevif
d188 1
a188 1
attach	url at usbdevif
d193 1
a193 1
attach	axe at usbdevif
d198 1
a198 1
attach	udav at usbdevif
d207 1
a207 1
attach	umodem at usbdevif
d212 1
a212 1
attach	uftdi at usbdevif
d217 1
a217 1
attach	uplcom at usbdevif
d222 1
a222 1
attach	umct at usbdevif
d227 1
a227 1
attach	uvscom at usbdevif
d232 1
a232 1
attach	ubsa at usbdevif
d237 1
a237 1
attach  uipaq at usbdevif
d242 1
a242 1
attach	ukyopon at usbdevif
d249 1
a249 1
attach	uscanner at usbdevif
d254 1
a254 1
attach	usscanner at usbdevif
d259 1
a259 1
attach	atu at usbdevif
d263 1
a263 1
attach	ral at usbdevif with ural
a265 4
device	rum: ether, ifnet, arp, wlan
attach	rum at usbdevif
file	dev/usb/if_rum.c		rum

d268 1
a268 1
attach	utoppy at usbdevif
@


1.62.2.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62.2.2 2006/12/30 20:49:38 yamt Exp $
a269 5

# Microsoft Xbox controller (gamepad)
device	xboxcontroller: wsmousedev
attach	xboxcontroller at usbdevif
file	dev/usb/xboxcontroller.c	xboxcontroller
@


1.62.2.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62.2.3 2007/02/26 09:10:43 yamt Exp $
a10 2
define	usbifif { [port = -1], [configuration = -1], [interface = -1],
		  [vendor = -1], [product = -1], [release = -1] }
d22 1
a22 1
device	uhub: usbdevif, usbifif
d35 1
a35 1
attach	uaudio at usbifif
d40 1
a40 1
attach	umidi at usbifif
d67 1
a67 1
attach	uhidev at usbifif
d99 1
a99 1
attach	ulpt at usbifif
d105 1
a105 1
attach	umass at usbifif
d114 2
a115 7
attach	uirda at usbifif
file	dev/usb/uirda.c			uirda | stuirda

# SigmaTel not quite UIRDA IrDA bridge
device	stuirda: irbus,firmload
attach	stuirda at usbifif
file	dev/usb/stuirda.c		stuirda
d164 1
a164 1
attach  cdce at usbifif
d203 1
a203 1
attach	umodem at usbifif
d238 1
a238 1
attach	ukyopon at usbifif
a240 4
# Silicon Labs CP210x serial driver
device	uslsa: ucombus
attach	uslsa at usbdevif
file	dev/usb/uslsa.c			uslsa
d262 1
a262 1
device	rum: ether, ifnet, arp, wlan, firmload
a274 5

# Zydas ZD1211
device	zyd: ether, ifnet, arp, wlan, firmload
attach	zyd at usbdevif
file	dev/usb/if_zyd.c		zyd
@


1.62.2.5
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62.2.4 2007/09/03 14:39:00 yamt Exp $
d63 4
a252 5
# WinChipHead CH341/340 serial driver
device	uchcom: ucombus
attach	uchcom at usbdevif
file	dev/usb/uchcom.c		uchcom

@


1.62.2.6
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.62.2.5 2007/10/27 11:34:30 yamt Exp $
d230 2
a231 5
define	ubsa_common
file	dev/usb/ubsa_common.c		ubsa_common
device	ubsa: ucombus, ubsa_common
#attach	ubsa at usbdevif
attach	ubsa at usbifif
a233 5
# Huawei E220 3G/HSDPA modem (ubsa)
device	uhmodem: ucombus, ubsa_common
attach	uhmodem at usbifif
file	dev/usb/uhmodem.c		uhmodem

@


1.61
log
@Provide a header for UKBD_LAYOUT.  It makes more sense, and it avoids
quoting issues during the build process.

Reported and checked by spz@@.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.60 2005/04/15 17:18:18 itohy Exp $
d251 4
@


1.60
log
@ukyopon(4): Kyocera AIR-EDGE PHONE driver

Close NetBSD PR #25954 in a different way.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.59 2005/04/15 14:14:09 itohy Exp $
d75 1
@


1.59
log
@Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
to be shared with other umodem-like drivers.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.58 2005/01/24 01:36:07 joff Exp $
d229 5
@


1.58
log
@Add atu(4), Atmel 802.11b USB wifi dongle.  From OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.57 2005/01/23 01:25:04 elric Exp $
d198 3
a200 1
device	umodem: ucombus
@


1.58.6.1
log
@Pull up revision 1.59 (requested by itohy in ticket #160):
Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
to be shared with other umodem-like drivers.
@
text
@d1 1
a1 1
#	$NetBSD$
d198 1
a198 3
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
@


1.58.6.2
log
@Pull up revision 1.60 (requested by itohy in ticket #160):
ukyopon(4): Kyocera AIR-EDGE PHONE driver
Close NetBSD PR #25954 in a different way.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.58.6.1 2005/04/17 10:28:08 tron Exp $
a228 5
# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at uhub
file	dev/usb/ukyopon.c		ukyopon

@


1.57
log
@new driver: usb generic serial adapter.

approved by:	augustss@@netbsd.org	(code)
		christos@@netbsd.org	(driver name)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.56 2004/10/23 13:38:26 augustss Exp $
d238 5
@


1.56
log
@Both FreeBSD and OpenBSD use Bill Paul axe driver instead of my uax
driver.  Maybe because it actually works on with hardware besides mine? :)
So we switch to axe too.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.55 2004/10/22 13:08:23 augustss Exp $
d138 5
@


1.56.4.1
log
@sync with -current
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.60 2005/04/15 17:18:18 itohy Exp $
a137 5
# Generic Serial Adapter
device	ugensa: ucombus
attach	ugensa at uhub
file	dev/usb/ugensa.c		ugensa

d193 1
a193 3
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
a221 5
# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at uhub
file	dev/usb/ukyopon.c		ukyopon

a232 5

# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @@ USB
device	atu: ether, ifnet, arp, wlan
attach	atu at uhub
file	dev/usb/if_atu.c		atu
@


1.55
log
@Add a driver for Communication Data Class Ethernet devices.  From the very
prolific Bill Paul for FreeBSD, via OpenBSD.
XXX Untested, since I don't have any such devices.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.54 2004/06/12 17:52:41 tsarna Exp $
d181 3
a183 3
device	uax: arp, ether, ifnet, mii, mii_phy
attach	uax at uhub
file	dev/usb/if_uax.c		uax
@


1.54
log
@Add calibration support to uep driver.
Untested, still need a userland utility to calibrate with.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.53 2004/05/24 23:48:36 tsarna Exp $
d155 5
@


1.53
log
@"uep" a driver for USB eGalax touch-panels. These are commonly found on
Xenarc, Liliput, etc. small touchpanel LCD displays.

TODO:
- manpage
- calibration support (make hpc's tpcalib stuff more MI?)
- On i386 and other xfree-ish xservers, (currently-uncomitted) patches
  are needed for X to honor wscons absolute mouse position events.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.52 2003/10/08 20:58:00 bouyer Exp $
d86 1
a86 1
device	uep: wsmousedev
@


1.52
log
@Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.51 2003/08/22 05:13:29 itojun Exp $
d85 4
@


1.52.4.1
log
@Pull up revisions 1.59-1.60 (requested by itohy in ticket #1430):
1.59:
Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
to be shared with other umodem-like drivers.

1.60:
ukyopon(4): Kyocera AIR-EDGE PHONE driver
Close NetBSD PR #25954 in a different way.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.60 2005/04/15 17:18:18 itohy Exp $
d184 1
a184 3
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
a212 5
# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at uhub
file	dev/usb/ukyopon.c		ukyopon

@


1.51
log
@udav*, for ether w/ Davicom DM9601 chipset.  Shingo WATANABE
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50 2003/02/15 18:33:29 augustss Exp $
d93 1
a93 1
device	umass: scsi, atapi, ata
@


1.50
log
@Check in some work-in-progress (not yet operational).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.49 2002/10/08 13:08:03 augustss Exp $
d175 5
@


1.50.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.54 2004/06/12 17:52:41 tsarna Exp $
a84 4
# eGalax USB Touch Panel
device	uep: wsmousedev, tpcalib
attach	uep at uhub
file	dev/usb/uep.c			uep			needs-flag
d93 1
a93 1
device	umass: scsi, atapi, ata_hl
a175 5
# DAVICOM DM9601
device	udav: arp, ether, ifnet, mii, mii_phy
attach	udav at uhub
file	dev/usb/if_udav.c		udav

@


1.50.2.2
log
@Sync with HEAD.
@
text
@@


1.50.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50.2.1 2004/08/03 10:51:32 skrll Exp $
@


1.50.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50.2.3 2004/09/21 13:33:43 skrll Exp $
a154 5
# CDC Ethernet
device  cdce: arp, ether, ifnet
attach  cdce at uhub
file    dev/usb/if_cdce.c                cdce

d176 3
a178 3
device	axe: arp, ether, ifnet, mii, mii_phy
attach	axe at uhub
file	dev/usb/if_axe.c		axe
@


1.50.2.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50.2.4 2004/11/02 07:53:02 skrll Exp $
a137 5
# Generic Serial Adapter
device	ugensa: ucombus
attach	ugensa at uhub
file	dev/usb/ugensa.c		ugensa

a232 5

# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @@ USB
device	atu: ether, ifnet, arp, wlan
attach	atu at uhub
file	dev/usb/if_atu.c		atu
@


1.50.2.6
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.50.2.5 2005/01/24 08:35:36 skrll Exp $
a74 1
defparam	UKBD_LAYOUT
a89 5
# Cypress microcontroller based serial adpaters
device	ucycom: hid
attach	ucycom at uhidbus
file	dev/usb/ucycom.c		ucycom			needs-flag

d198 1
a198 3
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
a226 10
# iPAQ PDAs
device  uipaq: ucombus
attach  uipaq at uhub
file    dev/usb/uipaq.c			uipaq

# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at uhub
file	dev/usb/ukyopon.c		ukyopon

a242 4

# Ralink Technology RT2500USB
attach	ral at uhub with ural
file	dev/usb/if_ural.c		ural
@


1.49
log
@Add driver for Belkin (and other) serial adapter.
From FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.48 2002/08/24 17:31:19 augustss Exp $
d170 5
@


1.48
log
@Attach Bluetooth host controller driver (which has not been written) to
ubt device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.47 2002/08/24 17:27:53 augustss Exp $
d197 5
@


1.47
log
@Add needs-flag for ubtbcmfw.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.46 2002/08/23 00:55:20 augustss Exp $
d113 1
a113 1
device	ubt
@


1.46
log
@Add firmware downloader for BCM2033 (no firmware yet; waiting for OK
from Broadcom).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.45 2002/08/22 10:15:57 augustss Exp $
d120 1
a120 1
file	dev/usb/ubtbcmfw.c		ubtbcmfw
@


1.45
log
@A placeholder until we have a real Bluetooth driver.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.44 2002/04/22 09:41:23 augustss Exp $
d116 5
@


1.44
log
@Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.43 2002/03/28 21:09:10 ichiro Exp $
a105 1

d110 6
@


1.44.4.1
log
@Pullup (via patch) requested in ticket #5754 by itohy

  Provide a backport for ukyopon(4) and pullup umodem(4) updates.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.44 2002/04/22 09:41:23 augustss Exp $
d164 1
a164 3
define	umodem_common
file	dev/usb/umodem_common.c		umodem_common
device	umodem: ucombus, umodem_common
a187 5
# Kyocera AIR-EDGE PHONE
device	ukyopon: ucombus, umodem_common
attach	ukyopon at uhub
file	dev/usb/ukyopon.c		ukyopon

@


1.44.2.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.48 2002/08/24 17:31:19 augustss Exp $
d106 1
a110 11


# Bluetooth bridges
device	ubt: btbus
attach	ubt at uhub
file	dev/usb/ubt.c			ubt

# BCM2033 firmware download
device	ubtbcmfw
attach	ubtbcmfw at uhub
file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag
@


1.43
log
@add driver for Realtek RL8150L USB ethernet adapter

distribute from Shingo WATANABE <nabe@@nabechan.org>
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.42 2002/03/19 15:08:42 augustss Exp $
d34 1
a34 1
device	uaudio: audio, auconv, mulaw, aurateconv
@


1.42
log
@Add driver for SUNTAC Slipper U VS-10U serial devices.
Written by Shunsuke Akiyama <akiyama@@jp.FreeBSD.org>.  From FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.41 2002/03/09 20:30:44 kent Exp $
d155 5
@


1.41
log
@Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.40 2002/01/07 17:44:45 drochner Exp $
d177 5
@


1.40
log
@"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.39 2002/01/03 18:54:32 augustss Exp $
d34 1
a34 1
device	uaudio: audio, auconv, mulaw
@


1.39
log
@Add the ustir driver, for SigmaTel STIr4200 USB/IrDA Bridge.
Written by David Sainty <David.Sainty@@dtsp.co.nz>.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.38 2002/01/02 03:21:36 augustss Exp $
d130 1
a130 1
device	udsbr: radio
@


1.38
log
@Add udsbr(4), a D-Link DSB-R100 FM radio (untested).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.37 2001/12/29 10:50:55 augustss Exp $
d105 6
@


1.37
log
@Only pull in HID processing if a driver needs it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.36 2001/12/28 17:32:36 augustss Exp $
d122 5
@


1.36
log
@Introduce an extra driver level for HID devices, uhidev.  This uhidev driver
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev.  The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers.  The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.35 2001/12/24 13:43:25 augustss Exp $
a10 1
file	dev/usb/hid.c			usb
a28 3
# HID "bus"
define	uhidbus {[ reportid = -1 ]}

d57 7
d65 1
a65 1
device	uhidev: uhidbus
d70 1
a70 1
device	uhid
d75 1
a75 1
device	ukbd: wskbddev
d81 1
a81 1
device	ums: wsmousedev
@


1.35
log
@Add a preliminary version of a driver for In-System Designs non-standard
ATA-over-BulkOnly protocol.  The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.34 2001/12/24 13:25:53 augustss Exp $
d30 3
d61 5
d68 1
a68 1
attach	uhid at uhub
d73 1
a73 1
attach	ukbd at uhub
d79 1
a79 1
attach	ums at uhub
d163 1
@


1.34
log
@Make the separation between wire protocol (umass.c) and command protocol
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.33 2001/12/17 12:16:14 gehenna Exp $
d82 1
a82 1
device	umass: scsi, atapi
d85 1
@


1.33
log
@Introduce the new umass quirk table.

Discussed with augustss.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.32 2001/12/12 15:27:24 augustss Exp $
a84 1
file	dev/usb/umassbus.c		umass
d86 1
@


1.32
log
@Add USB-IrDA bridge.
Needs more testing.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.31 2001/11/28 10:21:25 lukem Exp $
d86 1
@


1.31
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.usb,v 1.30 2001/04/13 12:24:10 augustss Exp $
d86 6
@


1.30
log
@Split the umass driver into the part that handles the X-over-USB protocol
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.29 2001/03/28 18:42:13 ichiro Exp $
d7 1
a7 1
defopt	USBVERBOSE
@


1.30.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.40 2002/01/07 17:44:45 drochner Exp $
d7 1
a7 1
defflag	USBVERBOSE
d11 1
a57 12
# HID "bus"
define	uhidbus {[ reportid = -1 ]}

# HID processing
define	hid
file	dev/usb/hid.c			hid

# HID root device for multiple report IDs
device	uhidev: hid, uhidbus
attach	uhidev at uhub
file	dev/usb/uhidev.c		uhidev

d59 2
a60 2
device	uhid: hid
attach	uhid at uhidbus
d64 2
a65 2
device	ukbd: hid, wskbddev
attach	ukbd at uhidbus
d70 2
a71 2
device	ums: hid, wsmousedev
attach	ums at uhidbus
d82 1
a82 1
device	umass: scsi, atapi, ata
d85 1
a85 15
file	dev/usb/umass_isdata.c		umass & wd
file	dev/usb/umass_quirks.c		umass
file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)


# IrDA bridges
device	uirda: irbus
attach	uirda at uhub
file	dev/usb/uirda.c			uirda


# SigmaTel IrDA bridge
device	ustir: irbus, irdasir
attach	ustir at uhub
file	dev/usb/ustir.c			ustir
a103 5
# D-Link DSB-R100 FM radio
device	udsbr: radiodev
attach	udsbr at uhub
file	dev/usb/udsbr.c			udsbr

a146 1

@


1.30.2.2
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.30.2.1 2002/01/10 19:58:48 thorpej Exp $
d34 1
a34 1
device	uaudio: audio, auconv, mulaw, aurateconv
@


1.30.2.3
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.30.2.2 2002/03/16 16:01:35 jdolecek Exp $
d34 1
a34 1
device	uaudio: audiobus, auconv, mulaw, aurateconv
a155 5
# Realtek RTL8150L(M)
device	url: arp, ether, ifnet, mii
attach	url at uhub
file	dev/usb/if_url.c		url

a176 5

# SUNTAC Slipper U VS-10U driver
device	uvscom: ucombus
attach	uvscom at uhub
file	dev/usb/uvscom.c		uvscom
@


1.30.2.4
log
@sync kqueue branch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.30.2.3 2002/06/23 17:49:02 jdolecek Exp $
d106 1
a110 11


# Bluetooth bridges
device	ubt: btbus
attach	ubt at uhub
file	dev/usb/ubt.c			ubt

# BCM2033 firmware download
device	ubtbcmfw
attach	ubtbcmfw at uhub
file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag
@


1.29
log
@support USB-RS232 Converter of Magic Control Technology Corp.
More information about this product found at http://www.mct.com.tw
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.28 2001/02/24 02:13:34 lukem Exp $
d85 1
@


1.28
log
@whitespace police
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.27 2001/01/30 23:26:47 tshiozak Exp $
d141 5
@


1.28.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.29 2001/03/28 18:42:13 ichiro Exp $
a140 5

# MCT USB-232 serial driver
device	umct: ucombus
attach	umct at uhub
file	dev/usb/umct.c			umct
@


1.28.2.2
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.28.2.1 2001/04/09 01:57:30 nathanw Exp $
a84 1
file	dev/usb/umassbus.c		umass
@


1.28.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.28.2.2 2001/06/21 20:06:17 nathanw Exp $
d7 1
a7 1
defflag	USBVERBOSE
d11 1
a57 12
# HID "bus"
define	uhidbus {[ reportid = -1 ]}

# HID processing
define	hid
file	dev/usb/hid.c			hid

# HID root device for multiple report IDs
device	uhidev: hid, uhidbus
attach	uhidev at uhub
file	dev/usb/uhidev.c		uhidev

d59 2
a60 2
device	uhid: hid
attach	uhid at uhidbus
d64 2
a65 2
device	ukbd: hid, wskbddev
attach	ukbd at uhidbus
d70 2
a71 2
device	ums: hid, wsmousedev
attach	ums at uhidbus
d82 1
a82 1
device	umass: scsi, atapi, ata
d85 1
a85 9
file	dev/usb/umass_isdata.c		umass & wd
file	dev/usb/umass_quirks.c		umass
file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)


# IrDA bridges
device	uirda: irbus
attach	uirda at uhub
file	dev/usb/uirda.c			uirda
a103 5
# D-Link DSB-R100 FM radio
device	udsbr: radio
attach	udsbr at uhub
file	dev/usb/udsbr.c			udsbr

a146 1

@


1.28.2.4
log
@More catchup.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.28.2.3 2002/01/08 00:32:03 nathanw Exp $
a106 6
# SigmaTel IrDA bridge
device	ustir: irbus, irdasir
attach	ustir at uhub
file	dev/usb/ustir.c			ustir


d124 1
a124 1
device	udsbr: radiodev
@


1.28.2.5
log
@Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
@
text
@d1 1
a1 1
#	$NetBSD$
d34 1
a34 1
device	uaudio: audio, auconv, mulaw, aurateconv
a155 5
# Realtek RTL8150L(M)
device	url: arp, ether, ifnet, mii
attach	url at uhub
file	dev/usb/if_url.c		url

a176 5

# SUNTAC Slipper U VS-10U driver
device	uvscom: ucombus
attach	uvscom at uhub
file	dev/usb/uvscom.c		uvscom
@


1.28.2.6
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.28.2.5 2002/04/01 07:47:29 nathanw Exp $
d34 1
a34 1
device	uaudio: audiobus, auconv, mulaw, aurateconv
@


1.28.2.7
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD$
d106 1
a110 11


# Bluetooth bridges
device	ubt: btbus
attach	ubt at uhub
file	dev/usb/ubt.c			ubt

# BCM2033 firmware download
device	ubtbcmfw
attach	ubtbcmfw at uhub
file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag
@


1.28.2.8
log
@Catch up to -current.
@
text
@a197 5
# Belkin & other serial driver
device	ubsa: ucombus
attach	ubsa at uhub
file	dev/usb/ubsa.c			ubsa

@


1.27
log
@initial commit of USB midi driver.
  - I tested only ROLAND UM-1 and YAMAHA UX256.
    These are not conforming to USB-MIDI spec, however these are
    similar to USB-MIDI.
  - Since I've not yet seen the "genuine" USB-MIDI device,
    I cannot test such devices although I wrote the codes for it.
TODO:
  - clean up the codes.
  - umidi(4) manpage.
  - /dev/rmidi? is working well, but /dev/music seems not working correctly.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.26 2001/01/23 01:24:10 ichiro Exp $
d12 1
a12 1
file	dev/usb/usb.c			usb		needs-flag
d48 1
a48 1
file	dev/usb/ucom.c			ucom | ucombus	needs-flag
d54 1
a54 1
file	dev/usb/ugen.c			ugen		needs-flag
d61 1
a61 1
file	dev/usb/uhid.c			uhid		needs-flag
d66 1
a66 1
file	dev/usb/ukbd.c			ukbd		needs-flag
d78 1
a78 1
file	dev/usb/ulpt.c			ulpt		needs-flag
d91 1
a91 1
file	dev/usb/urio.c			urio		needs-flag
d146 1
a146 1
file	dev/usb/uscanner.c		uscanner	needs-flag
@


1.26
log
@driver for Prolific PL2303 serial adapter.
I/O DATA USB-USAQ2 work.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.25 2001/01/11 06:00:31 augustss Exp $
d38 6
@


1.25
log
@Add a driver for HP5300 which uses a homebrew SCSI-over-USB protocol.
Furthermore, it uses Avisions scanner-over-SCSI protocol (but that's
not visible in the driver).
Thanks to Lloyd Parkes for testing and debugging and to Jukka Marin for
testing.
XXX This driver should be extended to handle Microtek scanners as well.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.24 2001/01/02 18:52:44 augustss Exp $
d131 4
@


1.24
log
@Add a transient driver for the YAP phone that downloads firmware into
the EZ-USB chip.  After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).

XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.23 2001/01/02 18:49:56 augustss Exp $
d44 1
d50 2
d63 6
d74 1
a79 9
# Modems
device	umodem: ucombus
attach	umodem at uhub
file	dev/usb/umodem.c		umodem

# Mice
device	ums: wsmousedev
attach	ums at uhub
file	dev/usb/ums.c			ums
d81 1
d92 6
d119 1
d121 5
d131 1
d133 1
d138 4
a141 4
# YAP phone firmware loader
device	uyap: ezload
attach	uyap at uhub
file	dev/usb/uyap.c			uyap
@


1.23
log
@Add subroutines to download firmware into Cypress (formerly Anchor)
EZ-USB chips.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.22 2000/09/23 04:32:23 augustss Exp $
d121 5
@


1.22
log
@Add USB scanner driver.

XXX Not tested yet.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.21 2000/04/14 14:51:22 augustss Exp $
d29 4
@


1.21
log
@Add driver for FTDI FT8U100AX serial adapter.
XXX This is still experimental and needs more work.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.20 2000/04/14 14:20:02 augustss Exp $
d112 5
@


1.20
log
@Add a driver for the Rio 500 MP3 player.
XXX This driver might go away again, since you can do it all with ugen.
XXX But this driver is compatible with the Linux driver so there are
XXX programs for it.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.19 2000/04/09 18:23:23 augustss Exp $
d106 6
@


1.19
log
@Add driver for Prolific PL2301/PL2302 host-to-host adapter.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.18 2000/04/02 23:40:41 augustss Exp $
d75 5
@


1.18
log
@Allow atapibus to be attached to umass.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.17 2000/03/30 16:56:19 augustss Exp $
d96 5
@


1.17
log
@Add driver for the Handspring Visor.

This code probably doesn't work, because it has not been tested.
Despite several pleas for testing there doesn't seem to be any Visor owners
out there.  Perhaps it will get tested if it's in -current?

Anyway, the code can at least serve as a template for how to make a USB driver
that shows up as a tty.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
d62 1
a62 1
device	umass: scsi
@


1.16
log
@Avoid linker error if no PHY is attached.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.15 2000/01/25 13:56:23 augustss Exp $
d75 5
@


1.15
log
@Make it compile even if you leave out the ucom attachment.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.14 2000/01/25 08:12:58 augustss Exp $
d78 1
a78 1
device	aue: arp, ether, ifnet, mii
@


1.14
log
@Split the umodem driver into two parts: the part that emulates a tty over
two bulk pipes, and the setup and status fiddling goo.
This allows the former part to be shared by other drivers that need to
look like a tty.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.13 2000/01/16 09:40:07 augustss Exp $
d38 1
a38 1
file	dev/usb/ucom.c			ucom		needs-flag
@


1.13
log
@Add some files for ethernet adapters (the files are not there yet).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.12 1999/09/12 17:40:57 augustss Exp $
d27 3
d35 5
d67 1
a67 1
device	umodem
d69 1
a69 1
file	dev/usb/umodem.c		umodem		needs-flag
@


1.12
log
@Add needs-flag to ukbd.  Fixes PR 8385 from Izumi Tsutsui
<tsutsui@@ceres.dti.ne.jp>.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.11 1999/09/09 12:26:43 augustss Exp $
d67 16
@


1.12.2.1
log
@Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.22 2000/09/23 04:32:23 augustss Exp $
a26 3
# Modem and com serial port "bus"
define	ucombus {[ portno = -1 ]}

a31 5
# Modem and com serial port
device	ucom
attach	ucom at ucombus
file	dev/usb/ucom.c			ucom | ucombus	needs-flag

d54 1
a54 1
device	umass: scsi, atapi
d59 1
a59 1
device	umodem: ucombus
d61 1
a61 1
file	dev/usb/umodem.c		umodem
a66 42

# Diamond Multimedia Rio 500
device	urio
attach	urio at uhub
file	dev/usb/urio.c			urio		needs-flag

# Handspring Visor
device	uvisor: ucombus
attach	uvisor at uhub
file	dev/usb/uvisor.c		uvisor

# Ethernet adapters
# ADMtek AN986 Pegasus
device	aue: arp, ether, ifnet, mii, mii_phy
attach	aue at uhub
file	dev/usb/if_aue.c		aue

# CATC USB-EL1201A
device	cue: arp, ether, ifnet
attach	cue at uhub
file	dev/usb/if_cue.c		cue

# Kawasaki LSI KL5KUSB101B
device	kue: arp, ether, ifnet
attach	kue at uhub
file	dev/usb/if_kue.c		kue

# Prolific PL2302 host-host
device	upl: ifnet
attach	upl at uhub
file	dev/usb/if_upl.c		upl

# Serial drivers
# FTDI serial driver
device	uftdi: ucombus
attach	uftdi at uhub
file	dev/usb/uftdi.c			uftdi

# Scanners
device	uscanner
attach	uscanner at uhub
file	dev/usb/uscanner.c		uscanner	needs-flag
@


1.12.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a29 4
# EZ-USB firmware loader
define	ezload
file	dev/usb/ezload.c		ezload

a116 5

# YAP phone firmware loader
device	uyap: ezload
attach	uyap at uhub
file	dev/usb/uyap.c			uyap
@


1.12.2.3
log
@Sync with head (for UBC+NFS fixes, mostly).
@
text
@a43 1

a48 2

# HID
a59 6
# Mice
device	ums: wsmousedev
attach	ums at uhub
file	dev/usb/ums.c			ums


a64 1

d70 9
a79 1
# Misc
a89 6
# YAP phone firmware loader
device	uyap: ezload
attach	uyap at uhub
file	dev/usb/uyap.c			uyap


a110 1

a111 5
# Modems
device	umodem: ucombus
attach	umodem at uhub
file	dev/usb/umodem.c		umodem

a116 1

a117 1
# Generic scanner support
d122 4
a125 4
# Avision SCSI over USB, HP5300
device	usscanner: scsi
attach	usscanner at uhub
file	dev/usb/usscanner.c		usscanner
@


1.12.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.12.2.3 2001/01/18 09:23:38 bouyer Exp $
a38 6
# MIDI devices
device	umidi: midibus
attach	umidi at uhub
file	dev/usb/umidi.c			umidi
file	dev/usb/umidi_quirks.c		umidi

a130 4
# Prolific PL2303 serial driver
device	uplcom: ucombus
attach	uplcom at uhub
file	dev/usb/uplcom.c		uplcom
@


1.12.2.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.12.2.4 2001/02/11 19:16:21 bouyer Exp $
d12 1
a12 1
file	dev/usb/usb.c			usb			needs-flag
d48 1
a48 1
file	dev/usb/ucom.c			ucom | ucombus		needs-flag
d54 1
a54 1
file	dev/usb/ugen.c			ugen			needs-flag
d61 1
a61 1
file	dev/usb/uhid.c			uhid			needs-flag
d66 1
a66 1
file	dev/usb/ukbd.c			ukbd			needs-flag
d78 1
a78 1
file	dev/usb/ulpt.c			ulpt			needs-flag
d91 1
a91 1
file	dev/usb/urio.c			urio			needs-flag
d146 1
a146 1
file	dev/usb/uscanner.c		uscanner		needs-flag
@


1.12.2.6
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.12.2.5 2001/03/12 13:31:27 bouyer Exp $
a84 1
file	dev/usb/umassbus.c		umass
a140 5

# MCT USB-232 serial driver
device	umct: ucombus
attach	umct at uhub
file	dev/usb/umct.c			umct
@


1.11
log
@Change the internal API to allow DMA buffers to be pre-allocated by
the device driver instead of happening automagically in the HC driver.
This affects both the HC-USBD interface as well as the USBD-device
interface.
This change will allow DMA buffers to be reused e.g. in isochronous
traffic.

Add isochronous support to the UHCI driver (not for OHCI yet).
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.10 1999/08/23 07:07:47 augustss Exp $
d45 1
a45 1
file	dev/usb/ukbd.c			ukbd
@


1.10
log
@Remove some unneeded needs-flag.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.9 1999/08/16 20:26:53 augustss Exp $
a66 2


@


1.9
log
@Implement a modem driver for the Abstract Control Model, i.e. AT commands.
It is accessible through the usual tty abstraction.
XXX The driver needs better error handling and a special call device.
XXX It also needs more testing.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.8 1999/06/30 06:44:22 augustss Exp $
d45 1
a45 1
file	dev/usb/ukbd.c			ukbd		needs-flag
d54 3
a56 3
#device	umass: scsi
#attach	umass at uhub
#file	dev/usb/umass.c			umass		needs-flag
d66 1
a66 1
file	dev/usb/ums.c			ums		needs-flag
@


1.8
log
@Totally redo the way device detach is done.  It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.7 1999/05/16 13:51:05 augustss Exp $
d59 3
a61 3
#device	umodem
#attach	umodem at uhub
#file	dev/usb/umodem.c		umodem		needs-flag
@


1.7
log
@Add vendor/product/release locators.  Added in frustration as my HID
devices appeared as different devices after some plugging and unplugging. :-)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.6 1999/05/06 00:42:16 thorpej Exp $
a31 5
# Com ports
#device	ucom
#attach	ucom at uhub
#file	dev/usb/ucom.c			ucom		needs-flag

d59 3
a61 3
device	umodem
attach	umodem at uhub
file	dev/usb/umodem.c		umodem		needs-flag
a67 6

#
# Inside Out Networks, Edgeport/4, 4 serial ports
#device	uep
#attach	uep at uhub
#file	dev/usb/uep.c			uep
@


1.6
log
@Add needs-flag to the ukbd device.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.5 1999/01/10 11:09:02 augustss Exp $
d20 2
a21 1
device	uhub { [port = -1], [configuration = -1], [interface = -1] }
d57 5
@


1.5
log
@Add ukbdmap.c.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.4 1998/12/03 19:58:09 augustss Exp $
d49 1
a49 1
file	dev/usb/ukbd.c			ukbd
@


1.5.2.1
log
@pullup 1.5->1.6 (thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.6 1999/05/06 00:42:16 thorpej Exp $
d49 1
a49 1
file	dev/usb/ukbd.c			ukbd		needs-flag
@


1.5.2.1.2.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.7 1999/05/16 13:51:05 augustss Exp $
d20 1
a20 2
device	uhub { [port = -1], [configuration = -1], [interface = -1],
               [vendor = -1], [product = -1], [release = -1] }
a55 5

# Mass storage
#device	umass: scsi
#attach	umass at uhub
#file	dev/usb/umass.c			umass		needs-flag
@


1.5.2.1.2.2
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.5.2.1.2.1 1999/06/21 01:19:25 thorpej Exp $
d32 5
d64 3
a66 3
#device	umodem
#attach	umodem at uhub
#file	dev/usb/umodem.c		umodem		needs-flag
d73 6
@


1.4
log
@Use umodem as the modem driver stub.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.3 1998/12/02 22:47:20 augustss Exp $
d50 1
@


1.3
log
@Add stub for a modem driver.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.2 1998/07/25 15:36:30 augustss Exp $
d31 4
a34 4
# Generic devices
device	ucom
attach	ucom at uhub
file	dev/usb/ucom.c			ucom		needs-flag
d55 5
@


1.2
log
@Add wscons attachments for USB keyboard.
@
text
@d1 1
a1 1
#	$NetBSD: files.usb,v 1.1 1998/07/12 19:51:59 augustss Exp $
d20 1
a20 1
device	uhub { [port = -1] }
d26 9
a34 4
# Mice
device	ums: wsmousedev
attach	ums at uhub
file	dev/usb/ums.c			ums		needs-flag
d36 4
a39 4
# Keyboards
device	ukbd: wskbddev
attach	ukbd at uhub
file	dev/usb/ukbd.c			ukbd
d46 5
d56 4
a59 4
# Audio devices
device	uaudio: audio, auconv, mulaw
attach	uaudio at uhub
file	dev/usb/uaudio.c		uaudio
a60 4
# Generic devices
device	ugen
attach	ugen at uhub
file	dev/usb/ugen.c			ugen		needs-flag
d62 1
@


1.1
log
@Add USB support.  Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
@
text
@d1 1
a1 1
#	$NetBSD: files.scsipi,v 1.13 1998/01/15 02:21:35 cgd Exp $
d15 1
d27 1
a27 1
device	ums { }
d32 1
a32 1
device	ukbd { }
d34 1
a34 1
file	dev/usb/ukbd.c			ukbd		needs-flag
d37 1
a37 1
device	uhid { }
d42 1
a42 1
device	ulpt { }
d52 1
a52 1
device	ugen { }
d57 1
a57 1
#device	uep { }
@
