diff options
Diffstat (limited to 'packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch')
-rw-r--r-- | packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch b/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch new file mode 100644 index 0000000000..89af49bd91 --- /dev/null +++ b/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch @@ -0,0 +1,21 @@ +diff -Nurd linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c linux-2.6.24/arch/arm/mach-oxnas/pci.c +--- linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c 2009-03-10 20:29:02.000000000 +0100 ++++ linux-2.6.24/arch/arm/mach-oxnas/pci.c 2009-03-10 21:10:47.000000000 +0100 +@@ -78,12 +78,14 @@ + static unsigned long pci_trhfa_timeout = 0; + #endif // CONFIG_OXNAS_PCI_RESET + ++// processor allows up to 8MB PCI address ranges maximum by design ++// we split this up to 4MB prefetchable and 4MB non-prefetchable ++ + #define PCI_BUS_NONMEM_START 0x00000000 +-#define PCI_BUS_NONMEM_SIZE 0x00080000 +- ++#define PCI_BUS_NONMEM_SIZE 0x00400000 + + #define PCI_BUS_PREMEM_START PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE +-#define PCI_BUS_PREMEM_SIZE 0x00080000 ++#define PCI_BUS_PREMEM_SIZE 0x00400000 + + #define SYNOPSYS_PCI_MEMORY_BASE_ADDRESS PCI_BASE_ADDRESS_0 + #define SYNOPSYS_PCI_DUAL_CYCLE_BASE_ADDRESS PCI_BASE_ADDRESS_2 |