summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
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
commit8e56b1e742573e9554a160b5f0b1095f034aa3a9 (patch)
tree59a1e408d5d4aca411b6b5b8dd159cf3ae0bc005 /target/linux/generic/files
parentd19dae6e2d9f5f0f332b048443a0419b6238fa25 (diff)
downloadmtk-20170518-8e56b1e742573e9554a160b5f0b1095f034aa3a9.zip
mtk-20170518-8e56b1e742573e9554a160b5f0b1095f034aa3a9.tar.gz
mtk-20170518-8e56b1e742573e9554a160b5f0b1095f034aa3a9.tar.bz2
generic: ar8216: show chip revision in the kernel log
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36791
Diffstat (limited to 'target/linux/generic/files')
-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 b6df642..6f836d7 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++;