aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r/kernel/module.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-09-19 13:07:50 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-19 16:27:07 -0400
commitbb7d93496f7ac203f7c3e9678000d1c83eb4e0ba (patch)
tree92c4b122b794311ead5d7877b011adeb79396316 /arch/m32r/kernel/module.c
parent2f63715138233db9f1c2afff33f7d8192a29ff91 (diff)
net: phy: broadcom: add helper for PHY revision and patch level
The Broadcom BCM7xxx internal PHYs do not contain any useful revision information in the low 4-bits of their MII_PHYSID2 (MII register 3) which could allow us to properly identify them. As a result, we need the actual hardware block integrating these PHYs: GENET or the SF2 switch to tell us what revision they are built with. To assist with that, add two helper macros for fetching the the PHY revision and patch level from the struct phy_device::dev_flags. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m32r/kernel/module.c')
0 files changed, 0 insertions, 0 deletions