generic: ar8216: show chip revision in the kernel log

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36791
This commit is contained in:
Gabor Juhos 2013-05-30 16:25:14 +00:00
parent d19dae6e2d
commit 8e56b1e742

View 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++;