tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Potential problem with reading data from usb devices with ugen(4)



On 27/12/2015 20:00, Brian Buhrow wrote:
	hello Nick.  I've been doing this work under NetBSD-5 and the ehci(4)
driver definitely doesn't behave well when sent a zero-length packet under
that branch.

Define "doesn't behave well"

  I also checked out your USB branch, as well as the -current
branch from cvs, and looking through the cvs logs, I don't see specific
notes about where the ehci(4) , uhci(4) or ohci(4) drivers were taught to
handle zero length packets.  Could you point me at the specific commits
that you  think address this issue?

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/ehci.c.diff?r1=1.101&r2=1.102&f=h
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/ehci.c?rev=1.154.4.3&content-type=text/x-cvsweb-markup&only_with_tag=netbsd-5


  I plan to port these changes to the
-current tree when I'm done, but I want to get things working with some
confidence before I do that.

-thanks
-Brian

Nick


Home | Main Index | Thread Index | Old Index