]> 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)
commit3b11717ca29586dd43507baa816e1541d723a39a
treef123c45f8e42d969acca66d2931efd7fec806223
parentb1b3549a898da2b38ede5be03b81a3cd94cd077e
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