[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADB-GoJMKJ_ed+K4_du5nXo54ZfGBy3s42uca1-vcQzm6Fdzyw@mail.gmail.com>
Date: Mon, 18 Mar 2013 18:06:18 +0800
From: Yuan-Hsin Chen <yuanlmm@...il.com>
To: balbi@...com
Cc: gregkh@...uxfoundation.org, stern@...land.harvard.edu,
sarah.a.sharp@...ux.intel.com, Julia.Lawall@...6.fr,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Yuan-Hsin Chen <yhchen@...aday-tech.com>,
john453@...aday-tech.com
Subject: Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.
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@...il.com> wrote:
> On Thu, Feb 7, 2013 at 12:38 AM, Felipe Balbi <balbi@...com> wrote:
>> On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote:
>>> From: Yuan-Hsin Chen <yhchen@...aday-tech.com>
>>>
>>> USB2.0 HCD driver for Faraday FUSBH200
>>>
>>> Signed-off-by: Yuan-Hsin Chen <yhchen@...aday-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists