linux_dsm_epyc7002/drivers/net/ethernet/mediatek
Sean Wang 2d14ba7228 net-next: mediatek: cleanup unnecessary get chip id and its user
Since driver is devicetree-based, all device type and charateristic can be
determined by the compatible string and its data. It's unnecessary to
create another dependent function to check chip ID and then decide whether
the specific funciton is being supported on a certain device. It can be
totally replaced by the existing flag, so a cleanup is made by removing
the function and the only user, HWLRO.

MT2701 also have a missing HWLRO support in old code, so add it the same
patch.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-29 13:15:57 -07:00
..
Kconfig net-next: mediatek: add platform data to adapt into various hardware 2017-08-01 15:51:48 -07:00
Makefile net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
mtk_eth_soc.c net-next: mediatek: cleanup unnecessary get chip id and its user 2018-07-29 13:15:57 -07:00
mtk_eth_soc.h net-next: mediatek: cleanup unnecessary get chip id and its user 2018-07-29 13:15:57 -07:00