From 8e56b1e742573e9554a160b5f0b1095f034aa3a9 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 30 May 2013 16:25:14 +0000 Subject: [PATCH] generic: ar8216: show chip revision in the kernel log Signed-off-by: Gabor Juhos SVN-Revision: 36791 --- target/linux/generic/files/drivers/net/phy/ar8216.c | 5 +++-- 1 file 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++; -- 2.30.2