netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11]  net: dsa: microchip: make ksz8795 driver more dynamic
@ 2020-11-18 22:03 Michael Grzeschik
  2020-11-18 22:03 ` [PATCH 01/11] net: dsa: microchip: ksz8795: remove unused last_port variable Michael Grzeschik
                   ` (10 more replies)
  0 siblings, 11 replies; 39+ messages in thread
From: Michael Grzeschik @ 2020-11-18 22:03 UTC (permalink / raw)
  To: netdev
  Cc: andrew, f.fainelli, davem, kernel, matthias.schiffer,
	woojung.huh, UNGLinuxDriver

This series changes the ksz8795 driver to use more dynamic variables
instead of static defines. The purpose is to prepare the driver to be
used with other microchip switches with a similar layout.

Michael Grzeschik (11):
  net: dsa: microchip: ksz8795: remove unused last_port variable
  net: dsa: microchip: ksz8795: remove superfluous port_cnt assignment
  net: dsa: microchip: ksz8795: move variable assignments from detect to init
  net: dsa: microchip: ksz8795: use reg_mib_cnt where possible
  net: dsa: microchip: ksz8795: use mib_cnt where possible
  net: dsa: microchip: ksz8795: use phy_port_cnt where possible
  net: dsa: microchip: remove superfluous num_ports asignment
  net: dsa: microchip: ksz8795: align port_cnt usage with other microchip drivers
  net: dsa: microchip: remove usage of mib_port_count
  net: dsa: microchip: ksz8795: dynamic allocate memory for flush_dyn_mac_table
  net: dsa: microchip: ksz8795: use num_vlans where possible

 drivers/net/dsa/microchip/ksz8795.c     | 74 ++++++++++++-------------
 drivers/net/dsa/microchip/ksz8795_reg.h | 10 ----
 drivers/net/dsa/microchip/ksz9477.c     | 14 ++---
 drivers/net/dsa/microchip/ksz_common.c  |  4 +-
 drivers/net/dsa/microchip/ksz_common.h  |  2 -
 5 files changed, 43 insertions(+), 61 deletions(-)

-- 
2.29.2


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

end of thread, other threads:[~2020-11-19 18:06 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 22:03 [PATCH 00/11] net: dsa: microchip: make ksz8795 driver more dynamic Michael Grzeschik
2020-11-18 22:03 ` [PATCH 01/11] net: dsa: microchip: ksz8795: remove unused last_port variable Michael Grzeschik
2020-11-19  0:05   ` Andrew Lunn
2020-11-19  3:06   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 02/11] net: dsa: microchip: ksz8795: remove superfluous port_cnt assignment Michael Grzeschik
2020-11-19  0:10   ` Andrew Lunn
2020-11-19  3:07   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 03/11] net: dsa: microchip: ksz8795: move variable assignments from detect to init Michael Grzeschik
2020-11-19  0:14   ` Andrew Lunn
2020-11-19  3:07   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 04/11] net: dsa: microchip: ksz8795: use reg_mib_cnt where possible Michael Grzeschik
2020-11-19  0:16   ` Andrew Lunn
2020-11-19  3:08   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 05/11] net: dsa: microchip: ksz8795: use mib_cnt " Michael Grzeschik
2020-11-19  0:20   ` Andrew Lunn
2020-11-19  7:36     ` Michael Grzeschik
2020-11-19  3:09   ` Florian Fainelli
2020-11-19  7:01   ` kernel test robot
2020-11-18 22:03 ` [PATCH 06/11] net: dsa: microchip: ksz8795: use phy_port_cnt " Michael Grzeschik
2020-11-19  0:29   ` Andrew Lunn
2020-11-19  8:40     ` Michael Grzeschik
2020-11-19 13:59       ` Andrew Lunn
2020-11-19  3:13   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 07/11] net: dsa: microchip: remove superfluous num_ports asignment Michael Grzeschik
2020-11-19  0:32   ` Andrew Lunn
2020-11-19  3:10   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 08/11] net: dsa: microchip: ksz8795: align port_cnt usage with other microchip drivers Michael Grzeschik
2020-11-19  0:35   ` Andrew Lunn
2020-11-19 18:06     ` Tristram.Ha
2020-11-19  3:13   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 09/11] net: dsa: microchip: remove usage of mib_port_count Michael Grzeschik
2020-11-19  1:13   ` Andrew Lunn
2020-11-19  3:12   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 10/11] net: dsa: microchip: ksz8795: dynamic allocate memory for flush_dyn_mac_table Michael Grzeschik
2020-11-19  1:21   ` Andrew Lunn
2020-11-19  3:12   ` Florian Fainelli
2020-11-18 22:03 ` [PATCH 11/11] net: dsa: microchip: ksz8795: use num_vlans where possible Michael Grzeschik
2020-11-19  1:22   ` Andrew Lunn
2020-11-19  3:11   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).