net: ethernet: mediatek: get hw lro capability by the chip id instead of by the dtsi
authorNelson Chang <nelson.chang@mediatek.com>
Thu, 6 Oct 2016 11:44:02 +0000 (19:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2016 01:08:08 +0000 (21:08 -0400)
commit983e1a6c95abf8058d26149a928578b720c77bce
tree80d013395e37d04a2b1f745e0bad1c2ed3b29521
parentb95b6d99ce3673ca8d9f7c824d82ca7912d96b34
net: ethernet: mediatek: get hw lro capability by the chip id instead of by the dtsi

Because hw lro started to be supported from MT7623, the proper way to check if
the feature is capable is to judge by the chip id instead of by the dtsi.

Signed-off-by: Nelson Chang <nelson.chang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h