aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.0/020-ssb_update.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 18:17:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 18:17:47 +0000
commita7bea11085c99c96e55f06e425bd695948afa743 (patch)
tree049afc3b485c13c66171a376c5b3adeec7fd2597 /target/linux/generic/patches-4.0/020-ssb_update.patch
parent1bb873c7d5929eb0c60c5b611e880f443ed90f5f (diff)
downloadupstream-a7bea11085c99c96e55f06e425bd695948afa743.tar.gz
upstream-a7bea11085c99c96e55f06e425bd695948afa743.tar.bz2
upstream-a7bea11085c99c96e55f06e425bd695948afa743.zip
kernel: remove linux 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45975 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-4.0/020-ssb_update.patch')
-rw-r--r--target/linux/generic/patches-4.0/020-ssb_update.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/generic/patches-4.0/020-ssb_update.patch b/target/linux/generic/patches-4.0/020-ssb_update.patch
deleted file mode 100644
index d7e15aea42..0000000000
--- a/target/linux/generic/patches-4.0/020-ssb_update.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/drivers/ssb/driver_pcicore.c
-+++ b/drivers/ssb/driver_pcicore.c
-@@ -357,6 +357,16 @@ static void ssb_pcicore_init_hostmode(st
- pcicore_write32(pc, SSB_PCICORE_SBTOPCI2,
- SSB_PCICORE_SBTOPCI_MEM | SSB_PCI_DMA);
-
-+ /*
-+ * Accessing PCI config without a proper delay after devices reset (not
-+ * GPIO reset) was causing reboots on WRT300N v1.0 (BCM4704).
-+ * Tested delay 850 us lowered reboot chance to 50-80%, 1000 us fixed it
-+ * completely. Flushing all writes was also tested but with no luck.
-+ * The same problem was reported for WRT350N v1 (BCM4705), so we just
-+ * sleep here unconditionally.
-+ */
-+ usleep_range(1000, 2000);
-+
- /* Enable PCI bridge BAR0 prefetch and burst */
- val = PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY;
- ssb_extpci_write_config(pc, 0, 0, 0, PCI_COMMAND, &val, 2);
---- a/drivers/ssb/main.c
-+++ b/drivers/ssb/main.c
-@@ -1135,6 +1135,8 @@ static u32 ssb_tmslow_reject_bitmask(str
- case SSB_IDLOW_SSBREV_25: /* TODO - find the proper REJECT bit */
- case SSB_IDLOW_SSBREV_27: /* same here */
- return SSB_TMSLOW_REJECT; /* this is a guess */
-+ case SSB_IDLOW_SSBREV:
-+ break;
- default:
- WARN(1, KERN_INFO "ssb: Backplane Revision 0x%.8X\n", rev);
- }