[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:
@@ -3311,9 +3311,9 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
|
||||
if (err)
|
||||
goto err_out_iounmap;
|
||||
|
||||
printk(KERN_INFO PFX "v%s addr 0x%lx irq %d Yukon-%s (0x%x) rev %d\n",
|
||||
DRV_VERSION, pci_resource_start(pdev, 0), pdev->irq,
|
||||
yukon2_name[hw->chip_id - CHIP_ID_YUKON_XL],
|
||||
printk(KERN_INFO PFX "v%s addr 0x%llx irq %d Yukon-%s (0x%x) rev %d\n",
|
||||
DRV_VERSION, (unsigned long long)pci_resource_start(pdev, 0),
|
||||
pdev->irq, yukon2_name[hw->chip_id - CHIP_ID_YUKON_XL],
|
||||
hw->chip_id, hw->chip_rev);
|
||||
|
||||
dev = sky2_init_netdev(hw, 0, using_dac);
|
||||
|
Reference in New Issue
Block a user