]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Allow SRAB driver to specify platform data
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 8 Jul 2016 18:39:12 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jul 2016 19:52:03 +0000 (12:52 -0700)
commitec392d11e325edcadc7818db4721771a94b342e4
treef123c45f8e42d969acca66d2931efd7fec806223
parent7ada02d00bd41000500d51571cfb33e548c27cd4
net: dsa: b53: Allow SRAB driver to specify platform data

For Northstart Plus SoCs, we cannot detect the switch because only the
revision information is provied in the Management page, instead, rely on
Device Tree to tell us the chip id, and pass it down using the
b53_platform_data structure.

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