cvs commit: src/sys/bus/usb ehci.c ohci.c uhci.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Apr 29 15:09:45 PDT 2006
dillon 2006/04/29 15:05:21 PDT
DragonFly src repository
Modified files:
sys/bus/usb ehci.c ohci.c uhci.c
Log:
Bring in some fixes from NetBSD:
- Avoid NULL pointer dereference (ehci.c)
- Abort quickly if we don't have a buffer in all the cases. (uhci.c)
- Only do the software reset if we are dying, like we do in ohci and
ehci (uhci.c)
Submitted-by: Gary <gary at xxxxxxxxxxxxxxxxxxxx>
Taken-from: NetBSD
Revision Changes Path
1.19 +4 -2 src/sys/bus/usb/ehci.c
1.13 +1 -0 src/sys/bus/usb/ohci.c
1.13 +7 -4 src/sys/bus/usb/uhci.c
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohci.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhci.c.diff?r1=1.12&r2=1.13&f=u
More information about the Commits
mailing list