lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220628171329.25503-1-arun.ramadoss@microchip.com>
Date:   Tue, 28 Jun 2022 22:43:22 +0530
From:   Arun Ramadoss <arun.ramadoss@...rochip.com>
To:     <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC:     Woojung Huh <woojung.huh@...rochip.com>,
        <UNGLinuxDriver@...rochip.com>, Andrew Lunn <andrew@...n.ch>,
        Vivien Didelot <vivien.didelot@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        Vladimir Oltean <olteanv@...il.com>,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        "Russell King" <linux@...linux.org.uk>
Subject: [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
-- 
2.36.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ