aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-30 16:25:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-05-30 16:25:14 +0000
commitd6f871012c9dadafbef233cdd7fb16ddf8eda0fd (patch)
tree530daa2974f913af791668f91e0d1a904cd12223 /target/linux/generic
parent4b28aa5b5c75db82337f85f606d62d297b486235 (diff)
downloadupstream-d6f871012c9dadafbef233cdd7fb16ddf8eda0fd.tar.gz
upstream-d6f871012c9dadafbef233cdd7fb16ddf8eda0fd.tar.bz2
upstream-d6f871012c9dadafbef233cdd7fb16ddf8eda0fd.zip
generic: ar8216: show chip revision in the kernel log
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36791 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index b6df6425ac..6f836d7920 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -2413,8 +2413,9 @@ ar8xxx_phy_probe(struct phy_device *phydev)
if (ret)
goto free_priv;
- pr_info("%s: %s switch registered on %s\n",
- swdev->devname, swdev->name, dev_name(&priv->mii_bus->dev));
+ pr_info("%s: %s rev. %u switch registered on %s\n",
+ swdev->devname, swdev->name, priv->chip_rev,
+ dev_name(&priv->mii_bus->dev));
found:
priv->use_count++;