[PATCH] 64bit resource: fix up printks for resources in networks drivers
This is needed if we wish to change the size of the resource structures. Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -2568,9 +2568,10 @@ typhoon_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
|
||||
pci_set_drvdata(pdev, dev);
|
||||
|
||||
printk(KERN_INFO "%s: %s at %s 0x%lx, ",
|
||||
printk(KERN_INFO "%s: %s at %s 0x%llx, ",
|
||||
dev->name, typhoon_card_info[card_id].name,
|
||||
use_mmio ? "MMIO" : "IO", pci_resource_start(pdev, use_mmio));
|
||||
use_mmio ? "MMIO" : "IO",
|
||||
(unsigned long long)pci_resource_start(pdev, use_mmio));
|
||||
for(i = 0; i < 5; i++)
|
||||
printk("%2.2x:", dev->dev_addr[i]);
|
||||
printk("%2.2x\n", dev->dev_addr[i]);
|
||||
|
Reference in New Issue
Block a user