Re: [PATCH net-next 06/12] net: dsa: mv88e6xxx: add number of Global 2 IRQs

2017-07-17 Thread Andrew Lunn
On Mon, Jul 17, 2017 at 01:03:40PM -0400, Vivien Didelot wrote: > Similarly to g1_irqs, add a g2_irqs member to the info structure to > indicates the presence of the Global 2 Interrupt Source and Mask > registers. > > At the same time, provide helpers and document the registers since they > differ

[PATCH net-next 06/12] net: dsa: mv88e6xxx: add number of Global 2 IRQs

2017-07-17 Thread Vivien Didelot
Similarly to g1_irqs, add a g2_irqs member to the info structure to indicates the presence of the Global 2 Interrupt Source and Mask registers. At the same time, provide helpers and document the registers since they differ a bit between 88E6352 and 88E6390 families. This allows us to get rid of t

[PATCH net-next 06/12] net: dsa: mv88e6xxx: add number of Global 2 IRQs

2017-07-04 Thread Vivien Didelot
Similarly to g1_irqs, add a g2_irqs member to the info structure to indicates the presence of the Global 2 Interrupt Source and Mask registers. At the same time, provide helpers and document the registers since they differ a bit between 88E6352 and 88E6390 families. This allows us to get rid of t