[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201201204506.13473-1-m.grzeschik@pengutronix.de>
Date: Tue, 1 Dec 2020 21:44:55 +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 v2 00/11] net: dsa: microchip: make ksz8795 driver more versatile
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: use port_cnt instead of TOTOAL_PORT_NUM
net: dsa: microchip: ksz8795: use num_vlans where possible
drivers/net/dsa/microchip/ksz8795.c | 71 ++++++++++++-------------
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, 40 insertions(+), 61 deletions(-)
--
2.29.2
Powered by blists - more mailing lists