Re: [PATCH net] net: dsa: bcm_sf2: Fix 64-bits register writes

2015-09-09 Thread David Miller
From: Florian Fainelli Date: Tue, 8 Sep 2015 20:06:41 -0700 > The macro to write 64-bits quantities to the 32-bits register swapped > the value and offsets arguments, we want to preserve the ordering of the > arguments with respect to how writel() is implemented for instance: > value first, offs

Re: [PATCH net] net: dsa: bcm_sf2: Fix 64-bits register writes

2015-09-08 Thread Vivien Didelot
On Sep. Tuesday 08 (37) 08:06 PM, Florian Fainelli wrote: > The macro to write 64-bits quantities to the 32-bits register swapped > the value and offsets arguments, we want to preserve the ordering of the > arguments with respect to how writel() is implemented for instance: > value first, offset/ba

[PATCH net] net: dsa: bcm_sf2: Fix 64-bits register writes

2015-09-08 Thread Florian Fainelli
The macro to write 64-bits quantities to the 32-bits register swapped the value and offsets arguments, we want to preserve the ordering of the arguments with respect to how writel() is implemented for instance: value first, offset/base second. Fixes: 246d7f773c13 ("net: dsa: add Broadcom SF2 switc