net: ethernet: mediatek: get the chip id by ETHDMASYS registers
authorNelson Chang <nelson.chang@mediatek.com>
Thu, 6 Oct 2016 11:44:01 +0000 (19:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2016 01:08:07 +0000 (21:08 -0400)
commitb95b6d99ce3673ca8d9f7c824d82ca7912d96b34
treeb3c460829821a736a3293f4d0602e6f57b78deb7
parent0d818c288974e6f80923775dbf6225e3cb66659c
net: ethernet: mediatek: get the chip id by ETHDMASYS registers

The driver gets the chip id by ETHSYS_CHIPID0_3/ETHSYS_CHIPID4_7 registers
in mtk_probe().

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