Re: [PATCH net-next v2] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread David Miller
From: Florian Fainelli Date: Sun, 20 May 2018 08:56:30 -0700 > The b53 driver already defines and internally uses platform data to let the > glue drivers specify parameters such as the chip id. What we were missing was > a way to tell the core DSA layer about the ports and their type. > > Place

[PATCH net-next v2] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread Florian Fainelli
The b53 driver already defines and internally uses platform data to let the glue drivers specify parameters such as the chip id. What we were missing was a way to tell the core DSA layer about the ports and their type. Place a dsa_chip_data structure at the beginning of b53_platform_data for dsa_