Re: [PATCH] usb: add EHCI and OHCI support for SH7757

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

 



Hi David,

2011/02/26 3:41, David Daney wrote:
>> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
>> index 759a12f..257974e 100644
>> --- a/drivers/usb/host/ohci-hcd.c
>> +++ b/drivers/usb/host/ohci-hcd.c
>> @@ -1070,6 +1070,7 @@ MODULE_LICENSE ("GPL");
>>
>>   #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
>>       defined(CONFIG_CPU_SUBTYPE_SH7721) || \
>> +    defined(CONFIG_CPU_SUBTYPE_SH7757) || \
>>       defined(CONFIG_CPU_SUBTYPE_SH7763) || \
>>       defined(CONFIG_CPU_SUBTYPE_SH7786)
>>   #include "ohci-sh.c"
> 
> I wonder if all that #ifdefery could be moved into the arch/sh Kconfig.
> 
> Patching the core ehci/ohci code each time a new sh CPU variant is 
> released seems like the wrong approach.

Thank you very much for your comment. I think so.
So I will move it into the drivers/usb/host Kconfig because
the Kconfig has some configs for architecture dependency.

Best regards,
Yoshihiro Shimoda

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