aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip
diff options
context:
space:
mode:
authorGrant Grundler <grundler@parisc-linux.org>2006-09-08 14:15:35 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-11 09:05:37 -0400
commitc69f412219855c9525c96052a65b60814531977c (patch)
tree21df55a4cd4848276a9fec2eaebb88a863ba43af /drivers/net/tulip
parent6b92801b43441f1f0280c332b966b75c74222060 (diff)
[PATCH] Print physical address in tulip_init_one
As the cookie returned by pci_iomap() is fairly useless... [Compile warning on pci_resource_start() format fixed up by Valerie Henson.] Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org> Signed-off-by: Valerie Henson <val_henson@linux.intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r--drivers/net/tulip/tulip_core.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index 6e111217e9cf..b333bea403d1 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -1644,8 +1644,14 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
1644 if (register_netdev(dev)) 1644 if (register_netdev(dev))
1645 goto err_out_free_ring; 1645 goto err_out_free_ring;
1646 1646
1647 printk(KERN_INFO "%s: %s rev %d at %p,", 1647 printk(KERN_INFO "%s: %s rev %d at "
1648 dev->name, chip_name, chip_rev, ioaddr); 1648#ifdef CONFIG_TULIP_MMIO
1649 "MMIO"
1650#else
1651 "Port"
1652#endif
1653 " %#llx,", dev->name, chip_name, chip_rev,
1654 (unsigned long long) pci_resource_start(pdev, TULIP_BAR));
1649 pci_set_drvdata(pdev, dev); 1655 pci_set_drvdata(pdev, dev);
1650 1656
1651 if (eeprom_missing) 1657 if (eeprom_missing)