aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-14 18:05:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-14 18:05:37 +0000
commit0f18ecf43ef6c42d4be8253cd09f381ccfcb154d (patch)
tree0d03427f991068b8bb8cecac4b569ba8c3bb0197 /target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch
parent9379dc19b6b850617763d10cf545a5533c8e6f17 (diff)
downloadupstream-0f18ecf43ef6c42d4be8253cd09f381ccfcb154d.tar.gz
upstream-0f18ecf43ef6c42d4be8253cd09f381ccfcb154d.tar.bz2
upstream-0f18ecf43ef6c42d4be8253cd09f381ccfcb154d.zip
refresh 2.6.23 patches
SVN-Revision: 12311
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch b/target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch
index ee1358c082..bcc61ac957 100644
--- a/target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch
+++ b/target/linux/brcm47xx/patches-2.6.23/600-ssb-fix-pcidevices.patch
@@ -1,8 +1,6 @@
-Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/ssb/driver_pcicore.c
-+++ linux-2.6.23.17/drivers/ssb/driver_pcicore.c
-@@ -66,6 +66,7 @@ int pcibios_plat_dev_init(struct pci_dev
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -66,6 +66,7 @@
base = &ssb_pcicore_pcibus_iobase;
else
base = &ssb_pcicore_pcibus_membase;
@@ -10,7 +8,7 @@ Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
if (res->end) {
size = res->end - res->start + 1;
if (*base & (size - 1))
-@@ -88,10 +89,12 @@ int pcibios_plat_dev_init(struct pci_dev
+@@ -88,10 +89,12 @@
static void __init ssb_fixup_pcibridge(struct pci_dev *dev)
{
@@ -24,7 +22,7 @@ Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
/* Enable PCI bridge bus mastering and memory space */
pci_set_master(dev);
-@@ -101,7 +104,10 @@ static void __init ssb_fixup_pcibridge(s
+@@ -101,7 +104,10 @@
pci_write_config_dword(dev, SSB_BAR1_CONTROL, 3);
/* Make sure our latency is high enough to handle the devices behind us */
@@ -36,7 +34,7 @@ Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
}
DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, ssb_fixup_pcibridge);
-@@ -279,14 +285,14 @@ static struct resource ssb_pcicore_mem_r
+@@ -279,14 +285,14 @@
.name = "SSB PCIcore external memory",
.start = SSB_PCI_DMA,
.end = SSB_PCI_DMA + SSB_PCI_DMA_SZ - 1,
@@ -53,7 +51,7 @@ Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
};
static struct pci_controller ssb_pcicore_controller = {
-@@ -344,7 +350,8 @@ static void ssb_pcicore_init_hostmode(st
+@@ -344,7 +350,8 @@
/* Ok, ready to run, register it to the system.
* The following needs change, if we want to port hostmode
* to non-MIPS platform. */