[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201118220357.22292-1-m.grzeschik@pengutronix.de>
Date: Wed, 18 Nov 2020 23:03:46 +0100
From: Michael Grzeschik <m.grzeschik@...gutronix.de>
To: netdev@...r.kernel.org
Cc: andrew@...n.ch, f.fainelli@...il.com, davem@...emloft.net,
kernel@...gutronix.de, matthias.schiffer@...tq-group.com,
woojung.huh@...rochip.com, UNGLinuxDriver@...rochip.com
Subject: [PATCH 00/11] net: dsa: microchip: make ksz8795 driver more dynamic
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
Powered by blists - more mailing lists