diff options
author | John Crispin <john@openwrt.org> | 2011-03-14 07:33:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-03-14 07:33:23 +0000 |
commit | ba3251a90d93e7b5d30a95a30f250ec6a7b08cf1 (patch) | |
tree | 3173b13d5d271ed712e228a86d25ed71f52b8b5b /target/linux/lantiq/patches/260-pci.patch | |
parent | 9d0b7371e8507a8c65a0ae528e230bc3e26191ca (diff) | |
download | upstream-ba3251a90d93e7b5d30a95a30f250ec6a7b08cf1.tar.gz upstream-ba3251a90d93e7b5d30a95a30f250ec6a7b08cf1.tar.bz2 upstream-ba3251a90d93e7b5d30a95a30f250ec6a7b08cf1.zip |
* fixes arv4510 board support * fixes nor swizzle hack * fixes gpio .can_sleep * fixes compile warning inside pci driver
SVN-Revision: 26157
Diffstat (limited to 'target/linux/lantiq/patches/260-pci.patch')
-rw-r--r-- | target/linux/lantiq/patches/260-pci.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches/260-pci.patch b/target/linux/lantiq/patches/260-pci.patch index 6c0ca47cbc..462ce6e879 100644 --- a/target/linux/lantiq/patches/260-pci.patch +++ b/target/linux/lantiq/patches/260-pci.patch @@ -140,7 +140,7 @@ +} --- /dev/null +++ b/arch/mips/pci/pci-lantiq.c -@@ -0,0 +1,302 @@ +@@ -0,0 +1,303 @@ +/* + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published @@ -394,15 +394,16 @@ + lq_w32(lq_r32(LQ_EBU_PCC_IEN) | 0x10, LQ_EBU_PCC_IEN); + + /* toggle reset pin */ -+ __gpio_set_value(21, 0); ++ gpio_set_value(21, 0); + wmb(); + mdelay(1); -+ __gpio_set_value(21, 1); ++ gpio_set_value(21, 1); + return 0; +} + +int __init +pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin){ ++ printk("%s:%s[%d]%d %d\n", __FILE__, __func__, __LINE__, slot, pin); + if(lq_pci_irq_map[slot]) + return lq_pci_irq_map[slot]; + printk("lq_pci: trying to map irq for unknown slot %d\n", slot); |