Searched hist:"9 f73e11250fb3948a8599d72318951d5e93b1eaf" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8.h | 9f73e11250fb3948a8599d72318951d5e93b1eaf Tue Apr 27 02:09:03 CDT 2021 Michael Grzeschik <m.grzeschik@pengutronix.de> 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>
|
H A D | ksz8795_reg.h | diff 9f73e11250fb3948a8599d72318951d5e93b1eaf Tue Apr 27 02:09:03 CDT 2021 Michael Grzeschik <m.grzeschik@pengutronix.de> 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>
|
H A D | ksz8795.c | diff 9f73e11250fb3948a8599d72318951d5e93b1eaf Tue Apr 27 02:09:03 CDT 2021 Michael Grzeschik <m.grzeschik@pengutronix.de> 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>
|