Skip to content

net: dsa: bcm_sf2: misc bugfixes

Florian Fainelli netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: bcm_sf2: fix unmapping registers in case of errorsdrivers/net/dsa/bcm_sf2.c+4 -20 replies
2/2net: dsa: bcm_sf2: reset switch prior to initializationdrivers/net/dsa/bcm_sf2.c+29 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] net: dsa: bcm_sf2: misc bugfixes

Hi David,

This patch series contains two bug fixes:

- first patch fixes an issue on the error path of the driver where we could have left some of our registers mapped

- second patch enforces the use of a software reset of the switch to guarantee the HW is in a consistent state prior to software initialization

Thanks!

Florian Fainelli (2):
net: dsa: bcm_sf2: fix unmapping registers in case of errors
net: dsa: bcm_sf2: reset switch prior to initialization

 drivers/net/dsa/bcm_sf2.c | 58 +++++++++++++++++++++++++++--------------------
 1 file changed, 33 insertions(+), 25 deletions(-)
Signature · 1 line
2.1.0