diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-30 09:53:59 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-30 09:53:59 +0000 |
commit | 982620a0aefbe649b7cbb6124115b35bcbd0f047 (patch) | |
tree | ccee3b1dd5b7f904d84c708cc1940fa45725e2c3 /target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch | |
parent | e5bc889b970903c715b18e516dfd0874d86e4e26 (diff) |
[rb532] cleanup old patches and kernel configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16204 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch')
-rw-r--r-- | target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch b/target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch deleted file mode 100644 index 49dea20c6..000000000 --- a/target/linux/rb532/patches-2.6.28/002-pci_io_map_base.patch +++ /dev/null @@ -1,36 +0,0 @@ -The code is rather based on trial-and-error than knowledge. Verified Via -Rhine functionality in PIO as well as MMIO mode. - -Signed-off-by: Phil Sutter <n0-1@freewrt.org> -Tested-by: Florian Fainelli <florian@openwrt.org> ---- - arch/mips/pci/pci-rc32434.c | 11 +++++++++++ - 1 files changed, 11 insertions(+), 0 deletions(-) - ---- a/arch/mips/pci/pci-rc32434.c -+++ b/arch/mips/pci/pci-rc32434.c -@@ -205,6 +205,8 @@ static int __init rc32434_pcibridge_init - - static int __init rc32434_pci_init(void) - { -+ void __iomem *io_map_base; -+ - pr_info("PCI: Initializing PCI\n"); - - ioport_resource.start = rc32434_res_pci_io1.start; -@@ -212,6 +214,15 @@ static int __init rc32434_pci_init(void) - - rc32434_pcibridge_init(); - -+ io_map_base = ioremap(rc32434_res_pci_io1.start, -+ rc32434_res_pci_io1.end - rc32434_res_pci_io1.start + 1); -+ -+ if (!io_map_base) -+ return -ENOMEM; -+ -+ rc32434_controller.io_map_base = -+ (unsigned long)io_map_base - rc32434_res_pci_io1.start; -+ - register_pci_controller(&rc32434_controller); - rc32434_sync(); - |