]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Document phydev::dev_flags bits allocation
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 26 May 2021 18:46:17 +0000 (11:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 May 2021 20:15:55 +0000 (13:15 -0700)
commit62f3415db237b8d2aa9a804ff84ce2efa87df179
tree55fc90e958ff20e8e73468ad579b0c904beccdba
parentf5d287126f63f76bcf50cf0b085199cc34f07d74
net: phy: Document phydev::dev_flags bits allocation

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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20210526184617.3105012-1-f.fainelli@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h