]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ae31e097b67323c23b1e7584c29760f9e001681
tree80d013395e37d04a2b1f745e0bad1c2ed3b29521
parent478f135ba99d9d8e56b1dbbf3d7ae668ac3e533f
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