Current-Users archive

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

Re: CVS commit: src/sys/dev/usb



On Tue, Jul 27, 2010 at 12:09:25PM +0200, Matthias Drochner wrote:
> 
> jakllsch%netbsd.org@localhost said:
> > Bus activity shows that Windows will preform a device reset after
> > requesting the initial descriptor, and before setting the address.
> 
> Yes I know -- while I don't have a bus analyzer I've read it
> somewhere.
> 
> > As our code is now, we set the address immediately after getting the
> > initial descriptor.
> 
> It has been that way since Jun 22 2008. My change only modified
> the request size which was 8 bytes fixed length before and is 64
> bytes with shorter accepted now.
> Anyway, does the attached patch change anything for you?

Looks sufficiently like Windows on ohci(4) and ehci(4) for me.

> (The reset code in the uhci root hub emulation also doesn't
> look that correct btw.)
> 
> best regards
> Matthias

        Jonathan Kollasch


Home | Main Index | Thread Index | Old Index