ssb: give the PCI core more time to initialize, fixes PCI issues with Atheros cards...
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Aug 2010 00:18:16 +0000 (00:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Aug 2010 00:18:16 +0000 (00:18 +0000)
SVN-Revision: 22614

target/linux/generic/patches-2.6.30/976-ssb_increase_pci_delay.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.31/976-ssb_increase_pci_delay.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.32/976-ssb_increase_pci_delay.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.33/976-ssb_increase_pci_delay.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.34/976-ssb_increase_pci_delay.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.35/976-ssb_increase_pci_delay.patch [new file with mode: 0644]

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 (file)
index 0000000..f51e3bc
--- /dev/null
@@ -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 (file)
index 0000000..f51e3bc
--- /dev/null
@@ -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 (file)
index 0000000..af67367
--- /dev/null
@@ -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 (file)
index 0000000..af67367
--- /dev/null
@@ -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 (file)
index 0000000..af67367
--- /dev/null
@@ -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 (file)
index 0000000..af67367
--- /dev/null
@@ -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);
+ }