[PATCH 04/17] Allow no-hw-checksum override in devicetree outside of NCSI mode.

Joel Stanley joel at jms.id.au
Fri Sep 23 16:57:05 AEST 2016


On Sat, Sep 17, 2016 at 6:05 AM, Timothy Pearson
<tpearson at raptorengineering.com> wrote:
> This is required for Firestone networking to function correctly.
>

This should not be required. Can you please test without this patch
and see if networking works?


> Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
> ---
>  drivers/net/ethernet/faraday/ftgmac100.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
> index 778c625..3a6367d 100644
> --- a/drivers/net/ethernet/faraday/ftgmac100.c
> +++ b/drivers/net/ethernet/faraday/ftgmac100.c
> @@ -1423,8 +1423,7 @@ static int ftgmac100_probe(struct platform_device *pdev)
>          * in that case.
>          */
>         netdev->features = NETIF_F_IP_CSUM | NETIF_F_GRO;
> -       if (priv->use_ncsi &&
> -           of_get_property(pdev->dev.of_node, "no-hw-checksum", NULL))
> +       if (of_get_property(pdev->dev.of_node, "no-hw-checksum", NULL))
>                 netdev->features &= ~NETIF_F_IP_CSUM;
>
>
> --
> 1.7.9.5
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list