Re: how does usb do the port reset whtn PCD interrupt happen

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

 



On Fri, 9 Oct 2009, vichy wrote:

> > Thanks for your kind help :)
> > I did see what you mention in source code.
> > But the mechanism seems different in older version driver, which
> > ehci-irq doesn't set any flag but later time I can see someone wake up
> > hub driver to continue.
> sorry for not mentioning the version I saw, it is 2.6.20.

Yes, 2.6.20 worked differently from current kernels.  It relied on 
polling rather than interrupts.  Look at the end of 
usb_hcd_poll_rh_status() in hcd.c, and bear in mind that for ehci-hcd, 
hcd->uses_new_polling was false.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux