[OpenWrt-Devel] [PATCH 5/7] kernel: can: add Xilinx CAN IP kernel module package

Hauke Mehrtens hauke at hauke-m.de
Sat Apr 6 10:37:01 EDT 2019


On 4/6/19 2:37 PM, Hauke Mehrtens wrote:
> On 4/1/19 5:33 AM, Luis Araneda wrote:
>> This driver is required to use the CAN IP on devices
>> from the zynq target
>>
>> Signed-off-by: Luis Araneda <luaraneda at gmail.com>
>> ---
>>  package/kernel/linux/modules/can.mk | 14 +++++++++++++-
>>  1 file changed, 13 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
>> index b0d254511b..85700eabad 100644
>> --- a/package/kernel/linux/modules/can.mk
>> +++ b/package/kernel/linux/modules/can.mk
>> @@ -26,7 +26,6 @@ define KernelPackage/can
>>  	CONFIG_CAN_MSCAN=n \
>>  	CONFIG_CAN_SJA1000=n \
>>  	CONFIG_CAN_SOFTING=n \
>> -	CONFIG_CAN_XILINXCAN=n \
> 
> You will probably run into a problem when you only select kmod-can and
> not kmod-can-xilinx-can on this target.
> 
> I would suggest to add CONFIG_CAN_XILINXCAN to
> target/linux/generic/config4.*
> 
This looks good, I applied it to master.

Hauke


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list