generic: ar8216: show chip revision in the kernel log
authorGabor Juhos <juhosg@openwrt.org>
Thu, 30 May 2013 16:25:14 +0000 (16:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 30 May 2013 16:25:14 +0000 (16:25 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36791

target/linux/generic/files/drivers/net/phy/ar8216.c

index b6df6425acf20828770a6df066291e6cdcdea379..6f836d79200010cdbd3848eb2d6658e164484e64 100644 (file)
@@ -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++;