Re: [PATCH v2] Renesas Ethernet AVB driver

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

 




From: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Apr 2015 01:36:56 +0300

> Ethernet AVB includes an Gigabit Ethernet controller (E-MAC) that is basically
> compatible with SuperH Gigabit Ethernet E-MAC). Ethernet AVB  has a dedicated
> direct memory access controller (AVB-DMAC) that is a new design compared to the
> SuperH E-DMAC. The AVB-DMAC is compliant with 3 standards formulated for IEEE
> 802.1BA: IEEE 802.1AS timing and synchronization protocol, IEEE 802.1Qav real-
> time transfer, and the IEEE 802.1Qat stream reservation protocol.
> 
> Not only the Ethernet driver is enclosed, there is also the PTP driver in
> the same file.  These drivers only support device tree probing, so the binding
> document is included in this patch.
> 
> Based on the original patches by Mitsuhiro Kimura (Ethernet driver) and Masaru
> Nagai (PTP driver).
> 
> Signed-off-by: Mitsuhiro Kimura <mitsuhiro.kimura.kc@xxxxxxxxxxx>
> Signed-off-by: Masaru Nagai <masaru.nagai.vx@xxxxxxxxxxx>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>

Doesn't build properly on x86-64:

  CC [M]  drivers/net/ethernet/renesas/ravb.o
drivers/net/ethernet/renesas/ravb.c: In function ʽravb_set_buffer_alignʼ:
drivers/net/ethernet/renesas/ravb.c:955:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  u32 reserve = (u32)skb->data & (RAVB_ALIGN - 1);
                ^
drivers/net/ethernet/renesas/ravb.c: At top level:
drivers/net/ethernet/renesas/ravb.c:2771:2: error: unknown field ʽgettimeʼ specified in initializer
  .gettime = ravb_ptp_gettime,
  ^
drivers/net/ethernet/renesas/ravb.c:2772:2: error: unknown field ʽsettimeʼ specified in initializer
  .settime = ravb_ptp_settime,
  ^

It is not acceptable to fix this by removing COMPILE_TEST from the Kconfig
dependencies or something like that.

Thanks.
?τθΊ{.nΗ+?·???­?+%?Λ?±ιέΆ??w?Ί{.nΗ+?·?zψ?zΪή{ψ§Ά?ʽά¨}©?²Ζ zΪ&j:+v?¨ώψ―ω?w?ώ?ΰ2?ή?¨θ­Ϊ&ʼ)ίʽ«aΆΪ??ϋΰzΏδzΉή?ϊ+?ω???έʼj??wθώf





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux