Re: [PATCH] Add Ehci driver for W90P910

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

 



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
--
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