Searched hist:"978 f1f72460cb2dc742a35bae4de50b6b9ac653f" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | lan937x_main.c | diff 978f1f72460cb2dc742a35bae4de50b6b9ac653f Thu Sep 22 02:10:23 CDT 2022 Arun Ramadoss <arun.ramadoss@microchip.com> net: dsa: microchip: determine number of port irq based on switch type
Currently the number of port irqs is hard coded for the lan937x switch as 6. In order to make the generic interrupt handler for ksz switches, number of port irq supported by the switch is added to the ksz_chip_data. It is 4 for ksz9477, 2 for ksz9897 and 3 for ksz9567.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | ksz_common.h | diff 978f1f72460cb2dc742a35bae4de50b6b9ac653f Thu Sep 22 02:10:23 CDT 2022 Arun Ramadoss <arun.ramadoss@microchip.com> net: dsa: microchip: determine number of port irq based on switch type
Currently the number of port irqs is hard coded for the lan937x switch as 6. In order to make the generic interrupt handler for ksz switches, number of port irq supported by the switch is added to the ksz_chip_data. It is 4 for ksz9477, 2 for ksz9897 and 3 for ksz9567.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | ksz_common.c | diff 978f1f72460cb2dc742a35bae4de50b6b9ac653f Thu Sep 22 02:10:23 CDT 2022 Arun Ramadoss <arun.ramadoss@microchip.com> net: dsa: microchip: determine number of port irq based on switch type
Currently the number of port irqs is hard coded for the lan937x switch as 6. In order to make the generic interrupt handler for ksz switches, number of port irq supported by the switch is added to the ksz_chip_data. It is 4 for ksz9477, 2 for ksz9897 and 3 for ksz9567.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|