From: Gabor Juhos Date: Thu, 30 May 2013 16:25:14 +0000 (+0000) Subject: generic: ar8216: show chip revision in the kernel log X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a28e4d3beb5f2b2d286462daf10319fc427db9e6;p=openwrt%2Fsvn-archive%2Farchive.git generic: ar8216: show chip revision in the kernel log Signed-off-by: Gabor Juhos SVN-Revision: 36791 --- 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++;