DragonFly commits List (threaded) for 2006-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/bus/usb ehci.c ehci_pci.c ehcireg.h ehcivar.h hid.c ohci.c ohci_pci.c ohcireg.h ohcivar.h uhci.c uhci_pci.c uhcireg.h uhcivar.h uhub.c usb.c usb.h usb_ethersubr.c usb_quirks.c usb_quirks.h usb_subr.c usbdi.c usbdi.h usbdi_util.c ...
sephe 2006/12/09 18:03:57 PST
DragonFly src repository
Modified files:
sys/bus/usb ehci.c ehci_pci.c ehcireg.h ehcivar.h
hid.c ohci.c ohci_pci.c ohcireg.h
ohcivar.h uhci.c uhci_pci.c uhcireg.h
uhcivar.h uhub.c usb.c usb.h
usb_ethersubr.c usb_quirks.c usb_quirks.h
usb_subr.c usbdi.c usbdi.h usbdi_util.c
usbdi_util.h usbdivar.h
sys/dev/usbmisc/ugen ugen.c
Log:
Sync USB support (host controller part) with FreeBSD6.
Following changes on FreeBSD-CURRENT(by iedowse@freebsd.org) are merged:
ehci.c rev 1.52
ohci.c rev 1.167
uhci.c rev 1.172
usb.c rev 1.111
usbdi.h rev 1.61
"Use a different task queue for host controller and peripheral driver
tasks. Since the host controllers rely on tasks to process transfer
timeouts, if a synchronous transfer from a driver was invoked from
a task and timed out, it would never complete because the single
task thread was stuck performing the synchronous transfer so couldn't
process the timeout."
As of this commit, only following kernel APIs are changed:
- usbd_get_string_desc() takes one more argument which returns the actual
size of the string description.
- usb_add_task() takes one more argument. The extra arguemnt is used
to specify to which task queue the task should be added. There is
two task queues defined, one for peripheral driver (USB_TASKQ_DRIVER),
one for host controller (USB_TASKQ_HC).
ugen(4) is adapted according to the above kernel API changes.
Thank all of the folks for their work on the USB support.
Tested-by:
swildner@, vbd@, joerg@(1.6 backport), Max Herrgard <herrgard@gmail.com>
# Though VT6202 is supported by ehci(4), I still have problems with this
# chip, even with the updated ehci(4).
Revision Changes Path
1.26 +646 -244 src/sys/bus/usb/ehci.c
1.12 +131 -20 src/sys/bus/usb/ehci_pci.c
1.6 +16 -8 src/sys/bus/usb/ehcireg.h
1.8 +18 -10 src/sys/bus/usb/ehcivar.h
1.9 +3 -3 src/sys/bus/usb/hid.c
1.17 +186 -162 src/sys/bus/usb/ohci.c
1.6 +51 -27 src/sys/bus/usb/ohci_pci.c
1.4 +4 -6 src/sys/bus/usb/ohcireg.h
1.6 +11 -8 src/sys/bus/usb/ohcivar.h
1.18 +100 -73 src/sys/bus/usb/uhci.c
1.9 +28 -37 src/sys/bus/usb/uhci_pci.c
1.5 +3 -5 src/sys/bus/usb/uhcireg.h
1.6 +13 -7 src/sys/bus/usb/uhcivar.h
1.10 +208 -64 src/sys/bus/usb/uhub.c
1.23 +191 -76 src/sys/bus/usb/usb.c
1.5 +7 -7 src/sys/bus/usb/usb.h
1.17 +0 -1 src/sys/bus/usb/usb_ethersubr.c
1.5 +23 -20 src/sys/bus/usb/usb_quirks.c
1.4 +5 -5 src/sys/bus/usb/usb_quirks.h
1.15 +169 -128 src/sys/bus/usb/usb_subr.c
1.13 +136 -39 src/sys/bus/usb/usbdi.c
1.7 +107 -74 src/sys/bus/usb/usbdi.h
1.10 +51 -15 src/sys/bus/usb/usbdi_util.c
1.4 +10 -6 src/sys/bus/usb/usbdi_util.h
1.6 +11 -6 src/sys/bus/usb/usbdivar.h
1.22 +5 -1 src/sys/dev/usbmisc/ugen/ugen.c
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci_pci.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehcireg.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehcivar.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/hid.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohci.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohci_pci.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohcireg.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohcivar.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhci.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhci_pci.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhcireg.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhcivar.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhub.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_ethersubr.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_quirks.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_quirks.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_subr.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi_util.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi_util.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdivar.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ugen/ugen.c.diff?r1=1.21&r2=1.22&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]