diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2021-04-27 09:09:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-27 14:13:24 -0700 |
commit | 4b20a07e103f0b38b376b4b45c7c082202a876ff (patch) | |
tree | 6d186c82d29448d104c8835079ad2919e4337fe5 /drivers/net/dsa/microchip/ksz_common.h | |
parent | 9f73e11250fb3948a8599d72318951d5e93b1eaf (diff) |
net: dsa: microchip: ksz8795: add support for ksz88xx chips
We add support for the ksz8863 and ksz8873 chips which are
using the same register patterns but other offsets as the
ksz8795.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h index f0681a891cca..e0bbdca64375 100644 --- a/drivers/net/dsa/microchip/ksz_common.h +++ b/drivers/net/dsa/microchip/ksz_common.h @@ -71,6 +71,7 @@ struct ksz_device { int port_cnt; int reg_mib_cnt; int mib_cnt; + const struct mib_names *mib_names; phy_interface_t compat_interface; u32 regs_size; bool phy_errata_9477; |