[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180629134343.GE11285@lunn.ch>
Date: Fri, 29 Jun 2018 15:43:43 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net,
Russell King - ARM Linux <linux@...linux.org.uk>,
Florian Fainelli <f.fainelli@...il.com>,
netdev <netdev@...r.kernel.org>,
Antoine Tenart <antoine.tenart@...tlin.com>,
"thomas.petazzoni@...tlin.com" <thomas.petazzoni@...tlin.com>,
Gregory CLEMENT <gregory.clement@...tlin.com>,
Miquel Raynal <miquel.raynal@...tlin.com>
Subject: Re: Link modes representation in phylib
> Thanks for the suggestion. I see how this can be done with
> phydrv->supported and phydev->lp_advertising, however I'm not sure how
> we should deal with the fact that ethernet drivers directly access
> fields such as "advertising" or "supported".
Hi Maxime
I started cleaning up some of the MAC drivers. Take a look at
https://github.com/lunn/linux.git v4.18-rc1-net-next-phy-cleanup
That moved a lot of the MAC code into helpers, making it easier to
update. It might make sense to add a couple of more helpers, for what
remains.
Andrew
Powered by blists - more mailing lists