[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200528215618.GA853774@lunn.ch>
Date: Thu, 28 May 2020 23:56:18 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Vladimir Oltean <olteanv@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
vivien.didelot@...il.com, f.fainelli@...il.com,
linux@...linux.org.uk, antoine.tenart@...tlin.com,
alexandre.belloni@...tlin.com, horatiu.vultur@...rochip.com,
allan.nielsen@...rochip.com, UNGLinuxDriver@...rochip.com,
alexandru.marginean@....com, claudiu.manoil@....com,
madalin.bucur@....nxp.com, radu-andrei.bulie@....com,
fido_max@...ox.ru
Subject: Re: [PATCH net-next 11/11] net: dsa: ocelot: introduce driver for
Seville VSC9953 switch
> Extending the Felix driver to probe a PCI as well as a platform device
> would have introduced unnecessary complexity. The 'meat' of both drivers
> is in drivers/net/ethernet/mscc/ocelot*.c anyway, so let's just
> duplicate the Felix driver, s/Felix/Seville/, and define the low-level
> bits in seville_vsc9953.c.
Hi Vladimir
That has resulted in a lot of duplicated code.
Is there an overall family name for these switch?
Could you add foo_set_ageing_time() with both felix and saville share?
Andrew
Powered by blists - more mailing lists