Dear sir, Okay,got it.Thanks! 2009/5/6 David Brownell <david-b@xxxxxxxxxxx>: > On Tuesday 05 May 2009, Wan ZongShun wrote: >> My ehci driver rely on closely some header files such as regs-usb.h >> located in directory "arch/arm/mach-w90x900/include/mach/", > > Are those registers used by anything other than EHCI? > > The normal approach is to couple register declarations > to the driver that needs them, and keep the <mach/...> > headers simpler. > > >> Can I >> integrate this header file in my ehci patch and submit them to USB >> patches?or Must I submit this header file patch to ARM patches only? > > You should submit arch/arm/... patches through Russell's > patch thing -- with *very* few exceptions. > > That's another reason to keep register declarations as > part of the driver that needs them. When they need to > be tweaked, you shouldn't need to modify arch code. > > - Dave > -- embedded forum http://mcuos.com -- 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