net: fec: add interrupt coalesc quirk flag
authorFugang Duan <fugang.duan@nxp.com>
Wed, 22 Jun 2016 10:52:35 +0000 (18:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2016 08:01:48 +0000 (04:01 -0400)
commitff7566b8d71fd28123a152d05d0726b81e86ef06
tree9ed9df0fe1c1cd3842588ed26ff4153f5e1ae49d
parent2b7c4f7a0ee7deff599af7261bd04a1ef6fdbd12
net: fec: add interrupt coalesc quirk flag

Different i.MX SOC FEC support different features like :
- i.MX6Q/DL FEC does not support AVB and interrupt coalesc
- i.MX6SX/i.MX7D supports AVB and interrupt coalesc
- i.MX6UL/ULL does not support AVB, but support interrupt coalesc

So, add new quirk flag to judge the supported features.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c