net: dsa: microchip: use ksz_chip_reg for
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: dsa: microchip: move ksz8->regs to ksz_commondrivers/ drivers/ drivers/ +2 more | +79 | 0 replies | Applied |
| 2/7 | net: dsa: microchip: move ksz8->masks to ksz_commondrivers/ drivers/ drivers/ +2 more | +81 | 0 replies | Applied |
| 3/7 | net: dsa: microchip: move ksz8->shifts to ksz_commondrivers/ drivers/ drivers/ +1 more | +46 | 0 replies | Applied |
| 4/7 | net: dsa: microchip: remove the struct ksz8drivers/ drivers/ drivers/ | +4 | 0 replies | Applied |
| 5/7 | net: dsa: microchip: change the size of reg from u8 to u16drivers/ drivers/ drivers/ | +14 | 0 replies | Applied |
| 6/7 | net: dsa: microchip: add P_STP_CTRL to ksz_chip_regdrivers/ drivers/ drivers/ +3 more | +35 | 0 replies | Applied |
| 7/7 | net: dsa: microchip: move remaining register offset to ksz_chip_regdrivers/ drivers/ | +18 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch net-next 0/7] net: dsa: microchip: use ksz_chip_reg for
This patch series tries to use the same approach as struct ksz8 for register which has different address for different switch family. It moves the struct ksz8 from ksz8.h to struct ksz_chip_reg. Based on the switch detect, the corresponding mask, reg and shifts are assigned.
Arun Ramadoss (7):
net: dsa: microchip: move ksz8->regs to ksz_common
net: dsa: microchip: move ksz8->masks to ksz_common
net: dsa: microchip: move ksz8->shifts to ksz_common
net: dsa: microchip: remove the struct ksz8
net: dsa: microchip: change the size of reg from u8 to u16
net: dsa: microchip: add P_STP_CTRL to ksz_chip_reg
net: dsa: microchip: move remaining register offset to ksz_chip_reg
drivers/net/dsa/microchip/ksz8.h | 58 ------- drivers/net/dsa/microchip/ksz8795.c | 221 ++++++------------------ drivers/net/dsa/microchip/ksz8795_reg.h | 1 - drivers/net/dsa/microchip/ksz8863_smi.c | 17 +- drivers/net/dsa/microchip/ksz9477.c | 7 +- drivers/net/dsa/microchip/ksz9477_reg.h | 6 - drivers/net/dsa/microchip/ksz_common.c | 206 +++++++++++++++------- drivers/net/dsa/microchip/ksz_common.h | 58 +++++++ drivers/net/dsa/microchip/ksz_spi.c | 10 +- 9 files changed, 267 insertions(+), 317 deletions(-)
base-commit: d521bc0a0f7cdd56b646e6283d5f7296eb16793d
Signature · 1 line
2.36.1