From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 29 Dec 2003 17:01:48 -0800 (PST) |
dillon 2003/12/29 17:01:48 PST DragonFly src repository Modified files: sys/conf files sys/bus/cam cam.c sys/bus/usb FILES Makefile.usbdevs devlist2h.awk dsbr100io.h hid.c hid.h kue_fw.h ohci.c ohcireg.h ohcivar.h rio500_usb.h uhci.c uhcireg.h uhcivar.h uhub.c usb.c usb.h usb_ethersubr.c usb_ethersubr.h usb_if.m usb_mem.h usb_port.h usb_quirks.c usb_quirks.h usb_subr.c usbcdc.h usbdevs usbdevs.h usbdevs_data.h usbdi.c usbdi.h usbdi_util.c usbdi_util.h usbdivar.h usbhid.h sys/dev/netif/aue if_aue.c if_auereg.h sys/dev/netif/cue if_cue.c if_cuereg.h sys/dev/netif/kue if_kue.c if_kuereg.h sys/dev/usbmisc/ubsa ubsa.c sys/dev/usbmisc/ucom ucom.c ucomvar.h sys/dev/usbmisc/ufm ufm.c sys/dev/usbmisc/uftdi uftdi.c uftdireg.h sys/dev/usbmisc/ugen ugen.c sys/dev/usbmisc/uhid uhid.c sys/dev/usbmisc/ukbd ukbd.c sys/dev/usbmisc/ulpt ulpt.c sys/dev/usbmisc/umass umass.c sys/dev/usbmisc/umodem umodem.c sys/dev/usbmisc/ums ums.c sys/dev/usbmisc/uplcom uplcom.c sys/dev/usbmisc/urio urio.c sys/dev/usbmisc/uscanner uscanner.c sys/dev/usbmisc/uvisor uvisor.c sys/dev/usbmisc/uvscom uvscom.c sys/net if.c if_var.h usr.sbin/usbd usbd.8 usbd.c usbd.conf.5 usr.sbin/usbdevs usbdevs.8 usbdevs.c Added files: sys/bus/usb ehci.c ehci_pci.c ehcireg.h ehcivar.h ohci_pci.c ugraphire_rdesc.h uhci_pci.c usb_mem.c sys/dev/netif/axe Makefile if_axe.c if_axereg.h sys/dev/usbmisc/udbp udbp.c udbp.h sys/dev/usbmisc/umct umct.c Log: Bring in the entire FreeBSD-5 USB infrastructure. As of this commit my USB camera, Hard Drive, Mouse, and Sony memory key all work and I can even unplug and replug them in without crashing the port. Not all drivers and subsystems compile as of this commit, but the ones that do not are very close. Revision Changes Path 1.37 +8 -2 src/sys/conf/files 1.5 +15 -0 src/sys/bus/cam/cam.c 1.3 +16 -4 src/sys/bus/usb/FILES 1.2 +1 -0 src/sys/bus/usb/Makefile.usbdevs 1.4 +5 -4 src/sys/bus/usb/devlist2h.awk 1.3 +4 -2 src/sys/bus/usb/dsbr100io.h 1.4 +21 -19 src/sys/bus/usb/hid.c 1.3 +8 -6 src/sys/bus/usb/hid.h 1.3 +5 -5 src/sys/bus/usb/kue_fw.h 1.5 +1179 -504 src/sys/bus/usb/ohci.c 1.3 +17 -7 src/sys/bus/usb/ohcireg.h 1.3 +49 -9 src/sys/bus/usb/ohcivar.h 1.3 +4 -2 src/sys/bus/usb/rio500_usb.h 1.8 +1085 -582 src/sys/bus/usb/uhci.c 1.4 +20 -8 src/sys/bus/usb/uhcireg.h 1.3 +38 -24 src/sys/bus/usb/uhcivar.h 1.4 +100 -40 src/sys/bus/usb/uhub.c 1.9 +336 -129 src/sys/bus/usb/usb.c 1.4 +20 -22 src/sys/bus/usb/usb.h 1.6 +13 -9 src/sys/bus/usb/usb_ethersubr.c 1.4 +1 -1 src/sys/bus/usb/usb_ethersubr.h 1.3 +2 -2 src/sys/bus/usb/usb_if.m 1.3 +16 -37 src/sys/bus/usb/usb_mem.h 1.5 +372 -64 src/sys/bus/usb/usb_port.h 1.4 +28 -13 src/sys/bus/usb/usb_quirks.c 1.3 +9 -6 src/sys/bus/usb/usb_quirks.h 1.6 +228 -124 src/sys/bus/usb/usb_subr.c 1.3 +17 -3 src/sys/bus/usb/usbcdc.h 1.5 +1 -2 src/sys/bus/usb/usbdevs 1.5 +1 -2 src/sys/bus/usb/usbdevs.h 1.5 +2 -8 src/sys/bus/usb/usbdevs_data.h 1.6 +212 -88 src/sys/bus/usb/usbdi.c 1.3 +115 -100 src/sys/bus/usb/usbdi.h 1.5 +81 -54 src/sys/bus/usb/usbdi_util.c 1.3 +43 -50 src/sys/bus/usb/usbdi_util.h 1.3 +59 -32 src/sys/bus/usb/usbdivar.h 1.3 +5 -7 src/sys/bus/usb/usbhid.h 1.6 +357 -344 src/sys/dev/netif/aue/if_aue.c 1.3 +26 -24 src/sys/dev/netif/aue/if_auereg.h 1.5 +159 -141 src/sys/dev/netif/cue/if_cue.c 1.3 +15 -4 src/sys/dev/netif/cue/if_cuereg.h 1.5 +111 -71 src/sys/dev/netif/kue/if_kue.c 1.3 +16 -4 src/sys/dev/netif/kue/if_kuereg.h 1.5 +37 -3 src/sys/dev/usbmisc/ubsa/ubsa.c 1.12 +9 -9 src/sys/dev/usbmisc/ucom/ucom.c 1.3 +5 -3 src/sys/dev/usbmisc/ucom/ucomvar.h 1.5 +20 -17 src/sys/dev/usbmisc/ufm/ufm.c 1.5 +8 -9 src/sys/dev/usbmisc/uftdi/uftdi.c 1.3 +5 -3 src/sys/dev/usbmisc/uftdi/uftdireg.h 1.8 +240 -144 src/sys/dev/usbmisc/ugen/ugen.c 1.7 +74 -45 src/sys/dev/usbmisc/uhid/uhid.c 1.4 +55 -42 src/sys/dev/usbmisc/ukbd/ukbd.c 1.7 +241 -65 src/sys/dev/usbmisc/ulpt/ulpt.c 1.6 +541 -544 src/sys/dev/usbmisc/umass/umass.c 1.8 +415 -816 src/sys/dev/usbmisc/umodem/umodem.c 1.6 +41 -35 src/sys/dev/usbmisc/ums/ums.c 1.5 +12 -12 src/sys/dev/usbmisc/uplcom/uplcom.c 1.7 +44 -64 src/sys/dev/usbmisc/urio/urio.c 1.6 +26 -23 src/sys/dev/usbmisc/uscanner/uscanner.c 1.5 +26 -17 src/sys/dev/usbmisc/uvisor/uvisor.c 1.5 +4 -4 src/sys/dev/usbmisc/uvscom/uvscom.c 1.10 +17 -0 src/sys/net/if.c 1.6 +7 -1 src/sys/net/if_var.h 1.3 +3 -3 src/usr.sbin/usbd/usbd.8 1.5 +19 -16 src/usr.sbin/usbd/usbd.c 1.3 +2 -2 src/usr.sbin/usbd/usbd.conf.5 1.3 +3 -3 src/usr.sbin/usbdevs/usbdevs.8 1.4 +12 -6 src/usr.sbin/usbdevs/usbdevs.c http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.36&r2=1.37&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/FILES.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/Makefile.usbdevs.diff?r1=1.1&r2=1.2&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/devlist2h.awk.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/dsbr100io.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/hid.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/hid.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/kue_fw.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohci.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohcireg.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohcivar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/rio500_usb.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhci.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhcireg.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhcivar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhub.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_ethersubr.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_ethersubr.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_if.m.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_mem.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_port.h.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_quirks.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_quirks.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_subr.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbcdc.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdevs.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdevs.h.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdevs_data.h.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi_util.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi_util.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdivar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbhid.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/aue/if_aue.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/aue/if_auereg.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cue/if_cue.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cue/if_cuereg.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/kue/if_kue.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/kue/if_kuereg.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ubsa/ubsa.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ucom/ucom.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ucom/ucomvar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ufm/ufm.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uftdi/uftdi.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uftdi/uftdireg.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ugen/ugen.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uhid/uhid.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ukbd/ukbd.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ulpt/ulpt.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umass/umass.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umodem/umodem.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ums/ums.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uplcom/uplcom.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/urio/urio.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uscanner/uscanner.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uvisor/uvisor.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uvscom/uvscom.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/usbd/usbd.8.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/usbd/usbd.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/usbd/usbd.conf.5.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/usbdevs/usbdevs.8.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/usbdevs/usbdevs.c.diff?r1=1.3&r2=1.4&f=h