Refactoring parts of the common USB OHCI code