Message ID | 20100422062110.11523.24354.sendpatchset@t400s (mailing list archive) |
---|---|
State | Accepted |
Commit | e3a4317e1d9970c56ba19d29393e4289809a1aa5 |
Headers | show |
--- 0001/arch/sh/drivers/pci/pci-sh7751.c +++ work/arch/sh/drivers/pci/pci-sh7751.c 2010-04-22 13:15:00.000000000 +0900 @@ -17,6 +17,7 @@ #include <linux/io.h> #include "pci-sh4.h" #include <asm/addrspace.h> +#include <asm/sizes.h> static int __init __area_sdram_check(struct pci_channel *chan, unsigned int area) @@ -47,8 +48,8 @@ static int __init __area_sdram_check(str static struct resource sh7751_pci_resources[] = { { .name = "SH7751_IO", - .start = SH7751_PCI_IO_BASE, - .end = SH7751_PCI_IO_BASE + SH7751_PCI_IO_SIZE - 1, + .start = 0x1000, + .end = SZ_4M - 1, .flags = IORESOURCE_IO }, { .name = "SH7751_mem",