From: Florian Fainelli Date: Thu, 23 May 2013 01:11:12 +0000 (+0000) Subject: phy: allow drivers to flag a PHY device as internal X-Git-Tag: v3.11-rc1~16^2~294 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4284b6a535a9aab33e5f3c37929143508dd2ee60;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed