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=8e56b1e742573e9554a160b5f0b1095f034aa3a9;p=openwrt%2Fstaging%2Fnbd.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++;