Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: dsa: mv88e6xxx: prepare Wait Bit operation
@ 2019-08-09 22:47 Vivien Didelot
  2019-08-09 22:47 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: wait for 88E6185 PPU disabled Vivien Didelot
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Vivien Didelot @ 2019-08-09 22:47 UTC (permalink / raw)
  To: netdev; +Cc: davem, f.fainelli, andrew, Vivien Didelot

The Remote Management Interface has its own implementation of a Wait
Bit operation, which requires a bit number and a value to wait for.

In order to prepare the introduction of this implementation, rework the
code waiting for bits and masks in mv88e6xxx to match this signature.

This has the benefit to unify the implementation of wait routines while
removing obsolete wait and update functions and also reducing the code.

Vivien Didelot (7):
  net: dsa: mv88e6xxx: wait for 88E6185 PPU disabled
  net: dsa: mv88e6xxx: introduce wait mask routine
  net: dsa: mv88e6xxx: introduce wait bit routine
  net: dsa: mv88e6xxx: wait for AVB Busy bit
  net: dsa: mv88e6xxx: remove wait and update routines
  net: dsa: mv88e6xxx: fix SMI bit checking
  net: dsa: mv88e6xxx: add delay in direct SMI wait

 drivers/net/dsa/mv88e6xxx/chip.c            | 76 ++++++++---------
 drivers/net/dsa/mv88e6xxx/chip.h            |  7 +-
 drivers/net/dsa/mv88e6xxx/global1.c         | 95 ++++++---------------
 drivers/net/dsa/mv88e6xxx/global1.h         |  5 +-
 drivers/net/dsa/mv88e6xxx/global1_atu.c     |  7 +-
 drivers/net/dsa/mv88e6xxx/global1_vtu.c     |  6 +-
 drivers/net/dsa/mv88e6xxx/global2.c         | 72 +++++++++-------
 drivers/net/dsa/mv88e6xxx/global2.h         | 12 +--
 drivers/net/dsa/mv88e6xxx/global2_avb.c     | 29 ++++++-
 drivers/net/dsa/mv88e6xxx/global2_scratch.c |  3 +-
 drivers/net/dsa/mv88e6xxx/smi.c             |  4 +-
 11 files changed, 155 insertions(+), 161 deletions(-)

-- 
2.22.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-12  4:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-09 22:47 [PATCH net-next 0/7] net: dsa: mv88e6xxx: prepare Wait Bit operation Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: wait for 88E6185 PPU disabled Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 2/7] net: dsa: mv88e6xxx: introduce wait mask routine Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 3/7] net: dsa: mv88e6xxx: introduce wait bit routine Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 4/7] net: dsa: mv88e6xxx: wait for AVB Busy bit Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 5/7] net: dsa: mv88e6xxx: remove wait and update routines Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 6/7] net: dsa: mv88e6xxx: fix SMI bit checking Vivien Didelot
2019-08-09 22:47 ` [PATCH net-next 7/7] net: dsa: mv88e6xxx: add delay in direct SMI wait Vivien Didelot
2019-08-12  4:27 ` [PATCH net-next 0/7] net: dsa: mv88e6xxx: prepare Wait Bit operation David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox