aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2007-05-29 18:32:05 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-08 22:16:45 -0400
commit96b9709c9b47c1f9e8fd80e756e8eddcba68e818 (patch)
tree71b50a35c00763b456929beb89cbda76a53a32f9 /drivers/net/r8169.c
parent6cccd6e7a261263cdf06576bd1b241be575638b6 (diff)
r8169: display some extra debug information during startup
It does not cost much and it will ease the identification of (so far) unknown devices. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index f66ee3ba363b..dc8f369006d6 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -1646,15 +1646,17 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
1646 pci_set_drvdata(pdev, dev); 1646 pci_set_drvdata(pdev, dev);
1647 1647
1648 if (netif_msg_probe(tp)) { 1648 if (netif_msg_probe(tp)) {
1649 u32 xid = RTL_R32(TxConfig) & 0x7cf0f8ff;
1650
1649 printk(KERN_INFO "%s: %s at 0x%lx, " 1651 printk(KERN_INFO "%s: %s at 0x%lx, "
1650 "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x, " 1652 "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x, "
1651 "IRQ %d\n", 1653 "XID %08x IRQ %d\n",
1652 dev->name, 1654 dev->name,
1653 rtl_chip_info[tp->chipset].name, 1655 rtl_chip_info[tp->chipset].name,
1654 dev->base_addr, 1656 dev->base_addr,
1655 dev->dev_addr[0], dev->dev_addr[1], 1657 dev->dev_addr[0], dev->dev_addr[1],
1656 dev->dev_addr[2], dev->dev_addr[3], 1658 dev->dev_addr[2], dev->dev_addr[3],
1657 dev->dev_addr[4], dev->dev_addr[5], dev->irq); 1659 dev->dev_addr[4], dev->dev_addr[5], xid, dev->irq);
1658 } 1660 }
1659 1661
1660 rtl8169_init_phy(dev, tp); 1662 rtl8169_init_phy(dev, tp);