Re: [PATCH 04/11] net: dsa: microchip: ksz8795: use reg_mib_cnt where possible

2020-11-18 Thread Florian Fainelli
On 11/18/2020 2:03 PM, Michael Grzeschik wrote: > The extra define SWITCH_COUNTER_NUM is a copy of the KSZ8795_COUNTER_NUM > define. This patch initializes reg_mib_cnt with KSZ8795_COUNTER_NUM, > makes use of reg_mib_cnt everywhere instead and removes the extra > define. > > Signed-off-by: Mich

Re: [PATCH 04/11] net: dsa: microchip: ksz8795: use reg_mib_cnt where possible

2020-11-18 Thread Andrew Lunn
On Wed, Nov 18, 2020 at 11:03:50PM +0100, Michael Grzeschik wrote: > The extra define SWITCH_COUNTER_NUM is a copy of the KSZ8795_COUNTER_NUM > define. This patch initializes reg_mib_cnt with KSZ8795_COUNTER_NUM, > makes use of reg_mib_cnt everywhere instead and removes the extra > define. > > Sig

[PATCH 04/11] net: dsa: microchip: ksz8795: use reg_mib_cnt where possible

2020-11-18 Thread Michael Grzeschik
The extra define SWITCH_COUNTER_NUM is a copy of the KSZ8795_COUNTER_NUM define. This patch initializes reg_mib_cnt with KSZ8795_COUNTER_NUM, makes use of reg_mib_cnt everywhere instead and removes the extra define. Signed-off-by: Michael Grzeschik --- drivers/net/dsa/microchip/ksz8795.c | 6