From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Florian Fainelli" Subject: [PATCH 0/2 net-next v2] phy: allow flagging a device as internal Date: Tue, 21 May 2013 12:09:46 +0100 Message-ID: <1369134588-18339-1-git-send-email-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, afleming@freescale.com, jogo@openwrt.org, "Florian Fainelli" To: davem@davemloft.net Return-path: Received: from mms3.broadcom.com ([216.31.210.19]:3420 "EHLO mms3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737Ab3EULKC (ORCPT ); Tue, 21 May 2013 07:10:02 -0400 Sender: netdev-owner@vger.kernel.org List-ID: David, Andy, This small patch set updates libphy to allow PHY drivers to flag a specific PHY device as internal, which is then used to accurately report the transceiver type (internal vs external) in ethtool. As far as I can tell we only have one in-tree driver for the moment which is known to be for internal PHYs. Florian Fainelli (2): phy: allow drivers to flag a PHY device as internal phy: bcm63xx: report Broadcom BCM63xx PHYs as internal drivers/net/phy/bcm63xx.c | 4 ++-- drivers/net/phy/phy.c | 3 ++- drivers/net/phy/phy_device.c | 3 +++ include/linux/phy.h | 12 ++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) -- 1.8.1.2