[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180520.185951.2147212615548538271.davem@davemloft.net>
Date: Sun, 20 May 2018 18:59:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: dsa: b53: Extend platform data to
include DSA ports
From: Florian Fainelli <f.fainelli@...il.com>
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 a dsa_chip_data structure at the beginning of b53_platform_data for
> dsa_register_switch() to access it. This does not require modifications to
> b53_common.c which will pass platform_data trough.
>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied, thanks.
Powered by blists - more mailing lists