diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2021-04-27 10:09:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-28 00:13:23 +0300 |
commit | 9f73e11250fb3948a8599d72318951d5e93b1eaf (patch) | |
tree | 0faa44c606f75dd715917ce9dfb061d2fcc35b97 /drivers/net/netconsole.c | |
parent | c2ac4d2ac5347a0d2aaabf3eca5ba2478d0617a9 (diff) | |
download | linux-9f73e11250fb3948a8599d72318951d5e93b1eaf.tar.xz |
net: dsa: microchip: ksz8795: move register offsets and shifts to separate struct
In order to get this driver used with other switches the functions need
to use different offsets and register shifts. This patch changes the
direct use of the register defines to register description structures,
which can be set depending on the chips register layout.
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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions