Re: [PATCH 1/2] USB: EHCI: Support controllers with big endian capability regs

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

 



On 30/04/11 02:24, Greg KH wrote:
> On Wed, Apr 20, 2011 at 03:41:07PM +0200, Jan Andersson wrote:
>> The two first HC capability registers (CAPLENGTH and HCIVERSION)
>> are defined as one 8-bit and one 16-bit register. Most HC
>> implementations have selected to treat these registers as part
>> of a 32-bit register, giving the same layout for both big and
>> small endian systems.
>>
>> This patch adds a new quirk, big_endian_capbase, to support
>> controllers with big endian register interfaces that treat
>> HCIVERSION and CAPLENGTH as individual registers.
>>
>> Signed-off-by: Jan Andersson <jan@xxxxxxxxxxx>
>> Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> 
> This patch caused the following build error:
> 
>   CC      drivers/usb/early/ehci-dbgp.o
> drivers/usb/early/ehci-dbgp.c: In function âearly_dbgp_initâ:
> drivers/usb/early/ehci-dbgp.c:895:65: error: macro "HC_LENGTH" requires 2 arguments, but only 1 given
> drivers/usb/early/ehci-dbgp.c:895:26: error: âHC_LENGTHâ undeclared (first use in this function)
> drivers/usb/early/ehci-dbgp.c:895:26: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [drivers/usb/early/ehci-dbgp.o] Error 1
> 
> care to fix it up and resend both of these?

Yes, resent. Apparently I failed to grep in the early directory. Sorry
about that. Thanks!

Best regards,
  Jan
--
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