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:
parent
d19dae6e2d
commit
8e56b1e742
1 changed files with 3 additions and 2 deletions
|
@ -2413,8 +2413,9 @@ ar8xxx_phy_probe(struct phy_device *phydev)
|
||||||
if (ret)
|
if (ret)
|
||||||
goto free_priv;
|
goto free_priv;
|
||||||
|
|
||||||
pr_info("%s: %s switch registered on %s\n",
|
pr_info("%s: %s rev. %u switch registered on %s\n",
|
||||||
swdev->devname, swdev->name, dev_name(&priv->mii_bus->dev));
|
swdev->devname, swdev->name, priv->chip_rev,
|
||||||
|
dev_name(&priv->mii_bus->dev));
|
||||||
|
|
||||||
found:
|
found:
|
||||||
priv->use_count++;
|
priv->use_count++;
|
||||||
|
|
Loading…
Reference in a new issue