aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/sungem_phy.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-08-17 07:55:04 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-19 00:04:33 -0700
commitc6c759884b05c7449a19d39c763a7482180e2def (patch)
treed1b30a1928143cad6d6e5f651ccaa2501979f009 /drivers/net/sungem_phy.c
parent0b29b894b17747f7fa0c5668281c68b8cde7647b (diff)
drivers/net/sungem: Use netdev_<level>, netif_<level> and pr_<level>
Use the current logging message styles. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem_phy.c')
-rw-r--r--drivers/net/sungem_phy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c
index 78f8cee5fd7..4a4fac63033 100644
--- a/drivers/net/sungem_phy.c
+++ b/drivers/net/sungem_phy.c
@@ -1175,7 +1175,8 @@ int mii_phy_probe(struct mii_phy *phy, int mii_id)
/* Read ID and find matching entry */
id = (phy_read(phy, MII_PHYSID1) << 16 | phy_read(phy, MII_PHYSID2));
- printk(KERN_DEBUG "PHY ID: %x, addr: %x\n", id, mii_id);
+ printk(KERN_DEBUG KBUILD_MODNAME ": " "PHY ID: %x, addr: %x\n",
+ id, mii_id);
for (i=0; (def = mii_phy_table[i]) != NULL; i++)
if ((id & def->phy_id_mask) == def->phy_id)
break;