]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Make SF2_IO64_MACRO() utilize 32-bit macro
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 20 Jan 2017 20:36:28 +0000 (12:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:58:31 +0000 (16:58 -0500)
commitcc17c17b9c68c34245de8df9a88fec50d4aacabd
treefaf4371acd2395cbdd3b08ec101fb568c21ea9bb
parentdd13b9457cdc55fe2e1dd61f0cad55f1d1a86371
net: dsa: bcm_sf2: Make SF2_IO64_MACRO() utilize 32-bit macro

There is no point inlining the 32-bit direct register read/write part,
just infer it from the existing macro. This will make it easier to
centralize the address rewriting that we are going to introduce later
on.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.h