Messages in this thread | | | Date | Mon, 18 Mar 2013 18:06:18 +0800 | Subject | Re: [PATCH] usb host: Faraday FUSBH200 HCD driver. | From | Yuan-Hsin Chen <> |
| |
Hi,
I tried to modify fusbh200 hcd driver following ehci-platform.c. However, the register definition of fusbh200 is partially incompatible to ehci. For fusbh200, only the elements between "command" and "async_next" in struct ehci_regs are consistent with ehci which means it would cause copious modification and duplication of ehci hcd driver. For example, there is no "configured_flag" register in fusbh200 controller, yet, ehci hcd driver accesses "configured_flag" in function ehci_run which would cause compile errors. Therefore, maybe my first patch which refers to oxu210hp-hcd is a better solution?
Thanks for your time.
Yuan-Hsin
On Thu, Feb 7, 2013 at 11:03 AM, Yuan-Hsin Chen <yuanlmm@gmail.com> wrote: > On Thu, Feb 7, 2013 at 12:38 AM, Felipe Balbi <balbi@ti.com> wrote: >> On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote: >>> From: Yuan-Hsin Chen <yhchen@faraday-tech.com> >>> >>> USB2.0 HCD driver for Faraday FUSBH200 >>> >>> Signed-off-by: Yuan-Hsin Chen <yhchen@faraday-tech.com> >> >> just use ehci-platform.c and avoid the duplication >> >> -- >> balbi > > Thanks for your advice. I will modify and re-submit it later. > > Yuan-Hsin
| |