projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b92801
)
[PATCH] Print physical address in tulip_init_one
author
Grant Grundler
<grundler@parisc-linux.org>
Fri, 8 Sep 2006 18:15:35 +0000
(11:15 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 11 Sep 2006 13:05:37 +0000
(09:05 -0400)
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>
drivers/net/tulip/tulip_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/tulip/tulip_core.c
b/drivers/net/tulip/tulip_core.c
index
6e11121
..
b333bea
100644
(file)
--- 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,
if (register_netdev(dev))
goto err_out_free_ring;
- printk(KERN_INFO "%s: %s rev %d at %p,",
- dev->name, chip_name, chip_rev, ioaddr);
+ printk(KERN_INFO "%s: %s rev %d at "
+#ifdef CONFIG_TULIP_MMIO
+ "MMIO"
+#else
+ "Port"
+#endif
+ " %#llx,", dev->name, chip_name, chip_rev,
+ (unsigned long long) pci_resource_start(pdev, TULIP_BAR));
pci_set_drvdata(pdev, dev);
if (eeprom_missing)