summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek/mtk_eth_soc.h
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-11-13 00:16:41 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-14 15:11:17 -0800
commitabfb228ae64268991653a6e73eb203c759764075 (patch)
tree91483a7f8ab8efa82bdaf1f34db2beae7a0fb4df /drivers/net/ethernet/mediatek/mtk_eth_soc.h
parentccb689939280b9dfdedee8b8b45e616e42696609 (diff)
net: dsa: sja1105: Simplify reset handling
We don't really need 10k species of reset. Remove everything except cold reset which is what is actually used. Too bad the hardware designers couldn't agree to use the same bit field for rev 1 and rev 2, so the (*reset_cmd) function pointer is there to stay. However let's simplify the prototype and give it a struct dsa_switch (we want to avoid forward-declarations of structures, in this case struct sja1105_private, wherever we can). Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.h')
0 files changed, 0 insertions, 0 deletions