Hi david, The ehci_irq() function in struct hc_driver is the irq handler for the EHCI host controller. The EHCI specification section 4.15 specifies the different types of interrupts. 1) Transaction based interrupts 2)Host controller events (Port change events, etc.), and 3) Host Controller error events
Do u think that ehci_irq() function handles the interrupt type 2.? PORT change events are due to the following port status bit changes as mentioned in section 4.15.2.1 of ehci specification. • Connect Status Change • Port Enable/Disable Change • Over-current Change • Force Port Resume Do u think , that these are being handled in the ehci_irq() . I am using 2.6.10 , i have seen the irq HANDLING IN 2.6.16. It is still the same. Please clarify whether the present IRQ handling works properly with that in the EHCI specification. I am using ARC USB HS controller , which has some extensions to EHCI. -------------------------------- PLEASE COMMENT ON THE BELOW DEVIATION After port enable bit is set following a connection and reset sequence, the device/hub is assumed to be HS in standard EHCI. For ARC controllers , After port enable bit is set following a connection and reset sequence, the device/hub speed is noted from a 2-bit field in PORTSCx. Where should i determine the speed following device connect.? Should i do it in IRQ ehci_irq() function, since thats where we handle port change detect PORT_PCD events. In which strucuture does the speed which i determine is to be stored. Please reply for the above Thanks rak ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel