summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max8907.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-05-23 01:11:12 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-05-28 05:42:50 (GMT)
commit4284b6a535a9aab33e5f3c37929143508dd2ee60 (patch)
tree8535656632c49ece1d66d97c9e591d07f3eaff13 /drivers/rtc/rtc-max8907.c
parent7ec872114251b618adf5a2688de0ca00de63635d (diff)
downloadlinux-fsl-qoriq-4284b6a535a9aab33e5f3c37929143508dd2ee60.tar.xz
phy: allow drivers to flag a PHY device as internal
libphy currently always reports a PHY as an external transceiver from the ethtool output. This is inaccurate, because some drivers should be able to tell that a PHY device is an internal transceiver of an Ethernet MAC. Add a new flag (PHY_IS_INTERNAL) which can be set by PHY drivers just like other flags, and a corresponding helper: phy_is_internal() which can be used by networking drivers to query if a given PHY device is internal. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-max8907.c')
0 files changed, 0 insertions, 0 deletions