diff options
author | Marek Vasut <marex@denx.de> | 2019-06-26 01:43:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 11:00:32 -0700 |
commit | 255b59ad0db213d693028e52a4b69a98f2381db7 (patch) | |
tree | 9f6e925bd577c274be93c1eab95b0d5d5197b65e /drivers/net/dsa/microchip/ksz9477.c | |
parent | ee394fea6f0671fc2bb7e63161129a5d73d8d6e1 (diff) |
net: dsa: microchip: Factor out regmap config generation into common header
The regmap config tables are rather similar for various generations of
the KSZ8xxx/KSZ9xxx switches. Introduce a macro which allows generating
those tables without duplication. Note that $regalign parameter is not
used right now, but will be used in KSZ87xx series switches.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz9477.c')
0 files changed, 0 insertions, 0 deletions