]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: dsa: ocelot: document why reset procedure is different for felix/seville
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 18 Sep 2020 10:57:46 +0000 (13:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 00:52:40 +0000 (17:52 -0700)
commitc129fc55fec59ab744f5e1fb9eb5bb0e68c789fd
tree5afcd82eaeb766b8d451cb3cee055d9855978288
parent9a73f0b580ff0b6d027298681737bec07d603fb4
net: dsa: ocelot: document why reset procedure is different for felix/seville

The overall idea (issue soft reset, enable memories, initialize
memories, enable core) is the same, so it would make sense that an
attempt is made to unify the procedures.

It is not immediately obvious that the fields are not part of the same
register targets, though. So add a comment.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix_vsc9959.c
drivers/net/dsa/ocelot/seville_vsc9953.c