]> 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)
commit1d71048608017b7bd3e0a696bffdf465a0a670e5
tree55fc90e958ff20e8e73468ad579b0c904beccdba
parent7c15b4067c27af7792a0b6a7d39cb72fba54511a
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