--- v1
+++ v2
@@ -4,7 +4,7 @@
PHY registers, thus must be disabled before access.
Newer chips (like 88E6352) have an indirect mechanism to access the PHY
-registers whenever, thus loose control over the PPU (alway enabled).
+registers whenever, thus loose control over the PPU (always enabled).
Here's a summary:
@@ -20,23 +20,23 @@
state to be active polling again before accessing the registers.
For that purpose, add new operations to the chips to enable/disable the
-PPU and check its polling state, and execute software reset. With these
-new ops in place, rework the switch reset code and finally get rid of
-the MV88E6XXX_FLAG_PPU* flags.
+PPU, and execute software reset. With these new ops in place, rework the
+switch reset code and finally get rid of the MV88E6XXX_FLAG_PPU* flags.
-Vivien Didelot (6):
+Changes in v2:
+ - wait in ppu/reset ops so that ppu_polling is not needed anymore.
+
+Vivien Didelot (4):
net: dsa: mv88e6xxx: add helper to disable ports
net: dsa: mv88e6xxx: add helper to hardware reset
- net: dsa: mv88e6xxx: add a software reset op
- net: dsa: mv88e6xxx: add a PPU polling op
- net: dsa: mv88e6xxx: add helper for switch ready
- net: dsa: mv88e6xxx: add PPU enable/disable ops
+ net: dsa: mv88e6xxx: add a soft reset operation
+ net: dsa: mv88e6xxx: add PPU operations
- drivers/net/dsa/mv88e6xxx/chip.c | 241 ++++++++++++++++++++++------------
- drivers/net/dsa/mv88e6xxx/global1.c | 111 ++++++++++++++++
- drivers/net/dsa/mv88e6xxx/global1.h | 10 ++
- drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 35 ++---
- 4 files changed, 292 insertions(+), 105 deletions(-)
+ drivers/net/dsa/mv88e6xxx/chip.c | 178 +++++++++++++++-------------------
+ drivers/net/dsa/mv88e6xxx/global1.c | 178 ++++++++++++++++++++++++++++++++++
+ drivers/net/dsa/mv88e6xxx/global1.h | 7 ++
+ drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 34 +++----
+ 4 files changed, 278 insertions(+), 119 deletions(-)
--
2.10.2