Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: [PATCH] i386: export memory more than 4G through /proc/iomem [PATCH] 64bit Resource: finally enable 64bit resource sizes [PATCH] 64bit Resource: convert a few remaining drivers to use resource_size_t where needed [PATCH] 64bit resource: change pnp core to use resource_size_t [PATCH] 64bit resource: change pci core and arch code to use resource_size_t [PATCH] 64bit resource: change resource core to use resource_size_t [PATCH] 64bit resource: introduce resource_size_t for the start and end of struct resource [PATCH] 64bit resource: fix up printks for resources in misc drivers [PATCH] 64bit resource: fix up printks for resources in arch and core code [PATCH] 64bit resource: fix up printks for resources in pcmcia drivers [PATCH] 64bit resource: fix up printks for resources in video drivers [PATCH] 64bit resource: fix up printks for resources in ide drivers [PATCH] 64bit resource: fix up printks for resources in mtd drivers [PATCH] 64bit resource: fix up printks for resources in pci core and hotplug drivers [PATCH] 64bit resource: fix up printks for resources in networks drivers [PATCH] 64bit resource: fix up printks for resources in sound drivers [PATCH] 64bit resource: C99 changes for struct resource declarations Fixed up trivial conflict in drivers/ide/pci/cmd64x.c (the printk that was changed by the 64-bit resources had been deleted in the meantime ;)
This commit is contained in:
@@ -2007,8 +2007,8 @@ static int __init de_init_one (struct pci_dev *pdev,
|
||||
}
|
||||
if (pci_resource_len(pdev, 1) < DE_REGS_SIZE) {
|
||||
rc = -EIO;
|
||||
printk(KERN_ERR PFX "MMIO resource (%lx) too small on pci dev %s\n",
|
||||
pci_resource_len(pdev, 1), pci_name(pdev));
|
||||
printk(KERN_ERR PFX "MMIO resource (%llx) too small on pci dev %s\n",
|
||||
(unsigned long long)pci_resource_len(pdev, 1), pci_name(pdev));
|
||||
goto err_out_res;
|
||||
}
|
||||
|
||||
@@ -2016,8 +2016,9 @@ static int __init de_init_one (struct pci_dev *pdev,
|
||||
regs = ioremap_nocache(pciaddr, DE_REGS_SIZE);
|
||||
if (!regs) {
|
||||
rc = -EIO;
|
||||
printk(KERN_ERR PFX "Cannot map PCI MMIO (%lx@%lx) on pci dev %s\n",
|
||||
pci_resource_len(pdev, 1), pciaddr, pci_name(pdev));
|
||||
printk(KERN_ERR PFX "Cannot map PCI MMIO (%llx@%lx) on pci dev %s\n",
|
||||
(unsigned long long)pci_resource_len(pdev, 1),
|
||||
pciaddr, pci_name(pdev));
|
||||
goto err_out_res;
|
||||
}
|
||||
dev->base_addr = (unsigned long) regs;
|
||||
|
@@ -1350,10 +1350,10 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
|
||||
SET_MODULE_OWNER(dev);
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) {
|
||||
printk (KERN_ERR PFX "%s: I/O region (0x%lx@0x%lx) too small, "
|
||||
printk (KERN_ERR PFX "%s: I/O region (0x%llx@0x%llx) too small, "
|
||||
"aborting\n", pci_name(pdev),
|
||||
pci_resource_len (pdev, 0),
|
||||
pci_resource_start (pdev, 0));
|
||||
(unsigned long long)pci_resource_len (pdev, 0),
|
||||
(unsigned long long)pci_resource_start (pdev, 0));
|
||||
goto err_out_free_netdev;
|
||||
}
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user