mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
commit
1903ac54f8
114 changed files with 525 additions and 390 deletions
|
|
@ -551,11 +551,11 @@ static u32 fixup_pmc551 (struct pci_dev *dev)
|
|||
/*
|
||||
* Some screen fun
|
||||
*/
|
||||
printk(KERN_DEBUG "pmc551: %d%c (0x%x) of %sprefetchable memory at 0x%lx\n",
|
||||
printk(KERN_DEBUG "pmc551: %d%c (0x%x) of %sprefetchable memory at 0x%llx\n",
|
||||
(size<1024)?size:(size<1048576)?size>>10:size>>20,
|
||||
(size<1024)?'B':(size<1048576)?'K':'M',
|
||||
size, ((dcmd&(0x1<<3)) == 0)?"non-":"",
|
||||
(dev->resource[0].start)&PCI_BASE_ADDRESS_MEM_MASK );
|
||||
(unsigned long long)((dev->resource[0].start)&PCI_BASE_ADDRESS_MEM_MASK));
|
||||
|
||||
/*
|
||||
* Check to see the state of the memory
|
||||
|
|
@ -685,8 +685,8 @@ static int __init init_pmc551(void)
|
|||
break;
|
||||
}
|
||||
|
||||
printk(KERN_NOTICE "pmc551: Found PCI V370PDC at 0x%lX\n",
|
||||
PCI_Device->resource[0].start);
|
||||
printk(KERN_NOTICE "pmc551: Found PCI V370PDC at 0x%llx\n",
|
||||
(unsigned long long)PCI_Device->resource[0].start);
|
||||
|
||||
/*
|
||||
* The PMC551 device acts VERY weird if you don't init it
|
||||
|
|
|
|||
|
|
@ -123,9 +123,10 @@ static int __devinit amd76xrom_init_one (struct pci_dev *pdev,
|
|||
window->rsrc.parent = NULL;
|
||||
printk(KERN_ERR MOD_NAME
|
||||
" %s(): Unable to register resource"
|
||||
" 0x%.08lx-0x%.08lx - kernel bug?\n",
|
||||
" 0x%.16llx-0x%.16llx - kernel bug?\n",
|
||||
__func__,
|
||||
window->rsrc.start, window->rsrc.end);
|
||||
(unsigned long long)window->rsrc.start,
|
||||
(unsigned long long)window->rsrc.end);
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
|
|
@ -177,9 +177,10 @@ static int __devinit ichxrom_init_one (struct pci_dev *pdev,
|
|||
window->rsrc.parent = NULL;
|
||||
printk(KERN_DEBUG MOD_NAME
|
||||
": %s(): Unable to register resource"
|
||||
" 0x%.08lx-0x%.08lx - kernel bug?\n",
|
||||
" 0x%.16llx-0x%.16llx - kernel bug?\n",
|
||||
__func__,
|
||||
window->rsrc.start, window->rsrc.end);
|
||||
(unsigned long long)window->rsrc.start,
|
||||
(unsigned long long)window->rsrc.end);
|
||||
}
|
||||
|
||||
/* Map the firmware hub into my address space. */
|
||||
|
|
|
|||
|
|
@ -164,8 +164,9 @@ static int __init init_scx200_docflash(void)
|
|||
outl(pmr, scx200_cb_base + SCx200_PMR);
|
||||
}
|
||||
|
||||
printk(KERN_INFO NAME ": DOCCS mapped at 0x%lx-0x%lx, width %d\n",
|
||||
docmem.start, docmem.end, width);
|
||||
printk(KERN_INFO NAME ": DOCCS mapped at 0x%llx-0x%llx, width %d\n",
|
||||
(unsigned long long)docmem.start,
|
||||
(unsigned long long)docmem.end, width);
|
||||
|
||||
scx200_docflash_map.size = size;
|
||||
if (width == 8)
|
||||
|
|
|
|||
|
|
@ -62,9 +62,10 @@ int uflash_devinit(struct linux_ebus_device *edev, struct device_node *dp)
|
|||
/* Non-CFI userflash device-- once I find one we
|
||||
* can work on supporting it.
|
||||
*/
|
||||
printk("%s: unsupported device at 0x%lx (%d regs): " \
|
||||
printk("%s: unsupported device at 0x%llx (%d regs): " \
|
||||
"email [email protected]\n",
|
||||
dp->full_name, res->start, edev->num_addrs);
|
||||
dp->full_name, (unsigned long long)res->start,
|
||||
edev->num_addrs);
|
||||
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue