diff options
-rw-r--r-- | drivers/net/dm9000.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 273e654adab0..7c49f336b440 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
@@ -525,7 +525,7 @@ dm9000_probe(struct platform_device *pdev) | |||
525 | 525 | ||
526 | SET_NETDEV_DEV(ndev, &pdev->dev); | 526 | SET_NETDEV_DEV(ndev, &pdev->dev); |
527 | 527 | ||
528 | dev_dbg(&pdev->dev, "dm9000_probe()"); | 528 | dev_dbg(&pdev->dev, "dm9000_probe()\n"); |
529 | 529 | ||
530 | /* setup board info structure */ | 530 | /* setup board info structure */ |
531 | db = (struct board_info *) ndev->priv; | 531 | db = (struct board_info *) ndev->priv; |
@@ -1288,6 +1288,8 @@ dm9000_phy_read(struct net_device *dev, int phy_reg_unused, int reg) | |||
1288 | spin_unlock_irqrestore(&db->lock,flags); | 1288 | spin_unlock_irqrestore(&db->lock,flags); |
1289 | 1289 | ||
1290 | mutex_unlock(&db->addr_lock); | 1290 | mutex_unlock(&db->addr_lock); |
1291 | |||
1292 | dm9000_dbg(db, 5, "phy_read[%02x] -> %04x\n", reg, ret); | ||
1291 | return ret; | 1293 | return ret; |
1292 | } | 1294 | } |
1293 | 1295 | ||
@@ -1301,6 +1303,7 @@ dm9000_phy_write(struct net_device *dev, int phyaddr_unused, int reg, int value) | |||
1301 | unsigned long flags; | 1303 | unsigned long flags; |
1302 | unsigned long reg_save; | 1304 | unsigned long reg_save; |
1303 | 1305 | ||
1306 | dm9000_dbg(db, 5, "phy_write[%02x] = %04x\n", reg, value); | ||
1304 | mutex_lock(&db->addr_lock); | 1307 | mutex_lock(&db->addr_lock); |
1305 | 1308 | ||
1306 | spin_lock_irqsave(&db->lock,flags); | 1309 | spin_lock_irqsave(&db->lock,flags); |