summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.0/020-ssb_update.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-07-22 16:04:25 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-07-22 16:04:25 +0000
commit39f491e479eb74e6645ea6dce2219ff7d26570d1 (patch)
tree85bd63e501b1abf2d5ee1d46ff85b177570ffcd0 /target/linux/generic/patches-3.0/020-ssb_update.patch
parent365f76551af6786d9dda6cb20463a7c37321150e (diff)
downloadmtk-20170518-39f491e479eb74e6645ea6dce2219ff7d26570d1.zip
mtk-20170518-39f491e479eb74e6645ea6dce2219ff7d26570d1.tar.gz
mtk-20170518-39f491e479eb74e6645ea6dce2219ff7d26570d1.tar.bz2
kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch SVN-Revision: 27722
Diffstat (limited to 'target/linux/generic/patches-3.0/020-ssb_update.patch')
-rw-r--r--target/linux/generic/patches-3.0/020-ssb_update.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.0/020-ssb_update.patch b/target/linux/generic/patches-3.0/020-ssb_update.patch
index a310d90..817c4f4 100644
--- a/target/linux/generic/patches-3.0/020-ssb_update.patch
+++ b/target/linux/generic/patches-3.0/020-ssb_update.patch
@@ -77,15 +77,17 @@
{
u16 tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(0));
if (((tmp & 0xF000) >> 12) != pc->dev->core_index) {
-@@ -514,13 +514,13 @@ static void ssb_pcicore_pcie_setup_worka
+@@ -514,7 +514,7 @@ static void ssb_pcicore_pcie_setup_worka
* Generic and Clientmode operation code.
**************************************************/
-static void ssb_pcicore_init_clientmode(struct ssb_pcicore *pc)
+static void __devinit ssb_pcicore_init_clientmode(struct ssb_pcicore *pc)
{
- /* Disable PCI interrupts. */
- ssb_write32(pc->dev, SSB_INTVEC, 0);
+ ssb_pcicore_fix_sprom_core_index(pc);
+
+@@ -529,7 +529,7 @@ static void ssb_pcicore_init_clientmode(
+ }
}
-void ssb_pcicore_init(struct ssb_pcicore *pc)