Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6: PCI: Restore PCI expansion ROM P2P prefetch window creation
This commit is contained in:
commit
13ef7b69b5
@ -276,7 +276,8 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom)
|
|||||||
sz = pci_size(l, sz, (u32)PCI_ROM_ADDRESS_MASK);
|
sz = pci_size(l, sz, (u32)PCI_ROM_ADDRESS_MASK);
|
||||||
if (sz) {
|
if (sz) {
|
||||||
res->flags = (l & IORESOURCE_ROM_ENABLE) |
|
res->flags = (l & IORESOURCE_ROM_ENABLE) |
|
||||||
IORESOURCE_MEM | IORESOURCE_READONLY;
|
IORESOURCE_MEM | IORESOURCE_PREFETCH |
|
||||||
|
IORESOURCE_READONLY | IORESOURCE_CACHEABLE;
|
||||||
res->start = l & PCI_ROM_ADDRESS_MASK;
|
res->start = l & PCI_ROM_ADDRESS_MASK;
|
||||||
res->end = res->start + (unsigned long) sz;
|
res->end = res->start + (unsigned long) sz;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user