aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-13 00:18:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-13 00:18:16 +0000
commita8e2cc2534201d7aa7914f7b8c9be801114b086d (patch)
tree220d6caa68c3f49cf40ca04727db8a9bf05eacbf /target/linux/generic
parent782223d0ff99abc65b7a24a0123f6795bf6786eb (diff)
downloadupstream-a8e2cc2534201d7aa7914f7b8c9be801114b086d.tar.gz
upstream-a8e2cc2534201d7aa7914f7b8c9be801114b086d.tar.bz2
upstream-a8e2cc2534201d7aa7914f7b8c9be801114b086d.zip
ssb: give the PCI core more time to initialize, fixes PCI issues with Atheros cards on the Asus WL-500w and possibly others (#4710)
SVN-Revision: 22614
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-2.6.30/976-ssb_increase_pci_delay.patch11
-rw-r--r--target/linux/generic/patches-2.6.31/976-ssb_increase_pci_delay.patch11
-rw-r--r--target/linux/generic/patches-2.6.32/976-ssb_increase_pci_delay.patch11
-rw-r--r--target/linux/generic/patches-2.6.33/976-ssb_increase_pci_delay.patch11
-rw-r--r--target/linux/generic/patches-2.6.34/976-ssb_increase_pci_delay.patch11
-rw-r--r--target/linux/generic/patches-2.6.35/976-ssb_increase_pci_delay.patch11
6 files changed, 66 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.30/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.30/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..f51e3bc9a0
--- /dev/null
+++ b/target/linux/generic/patches-2.6.30/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -399,7 +399,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+
diff --git a/target/linux/generic/patches-2.6.31/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.31/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..f51e3bc9a0
--- /dev/null
+++ b/target/linux/generic/patches-2.6.31/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -399,7 +399,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+
diff --git a/target/linux/generic/patches-2.6.32/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.32/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..af67367b1d
--- /dev/null
+++ b/target/linux/generic/patches-2.6.32/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -370,7 +370,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+
diff --git a/target/linux/generic/patches-2.6.33/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.33/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..af67367b1d
--- /dev/null
+++ b/target/linux/generic/patches-2.6.33/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -370,7 +370,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+
diff --git a/target/linux/generic/patches-2.6.34/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.34/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..af67367b1d
--- /dev/null
+++ b/target/linux/generic/patches-2.6.34/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -370,7 +370,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+
diff --git a/target/linux/generic/patches-2.6.35/976-ssb_increase_pci_delay.patch b/target/linux/generic/patches-2.6.35/976-ssb_increase_pci_delay.patch
new file mode 100644
index 0000000000..af67367b1d
--- /dev/null
+++ b/target/linux/generic/patches-2.6.35/976-ssb_increase_pci_delay.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -370,7 +370,7 @@ static void ssb_pcicore_init_hostmode(st
+ set_io_port_base(ssb_pcicore_controller.io_map_base);
+ /* Give some time to the PCI controller to configure itself with the new
+ * values. Not waiting at this point causes crashes of the machine. */
+- mdelay(10);
++ mdelay(300);
+ register_pci_controller(&ssb_pcicore_controller);
+ }
+