Re: [PATCH net] net: phy: Document phydev::dev_flags bits allocation

From: Andrew Lunn
Date: Wed May 26 2021 - 14:53:48 EST


On Wed, May 26, 2021 at 11:46:17AM -0700, Florian Fainelli wrote:
> Document the phydev::dev_flags bit allocation to allow bits 15:0 to
> define PHY driver specific behavior, bits 23:16 to be reserved for now,
> and bits 31:24 to hold generic PHY driver flags.

Hi Florian

This is good as far as it goes. But do we want to give a hint that if
the MAC driver sets bits in [15:0] it should first verify the PHY has
the ID which is expected?

Andrew