summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-05 17:01:00 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-05 17:01:00 +0000
commit2ff1596a2249657e543c0cdd7ba3b05eb33e645c (patch)
treebfeb7a11889eb81e2e7f16bcd91b913b1a124ba6 /target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
parent04fd31f429a5450df483fa5178678b6de2b91e8c (diff)
downloadmtk-20170518-2ff1596a2249657e543c0cdd7ba3b05eb33e645c.zip
mtk-20170518-2ff1596a2249657e543c0cdd7ba3b05eb33e645c.tar.gz
mtk-20170518-2ff1596a2249657e543c0cdd7ba3b05eb33e645c.tar.bz2
refresh generic 2.6.23 patches in upstream style
SVN-Revision: 11366
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch40
1 files changed, 15 insertions, 25 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch b/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
index 6658d2b..d889a7a 100644
--- a/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
+++ b/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
@@ -1,20 +1,16 @@
This patch ports ssb to the 2.6.23 kernel.
-Index: linux-2.6.23.17/drivers/ssb/driver_mipscore.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/ssb/driver_mipscore.c
-+++ linux-2.6.23.17/drivers/ssb/driver_mipscore.c
-@@ -223,3 +223,5 @@ void ssb_mipscore_init(struct ssb_mipsco
+--- a/drivers/ssb/driver_mipscore.c
++++ b/drivers/ssb/driver_mipscore.c
+@@ -223,3 +223,5 @@
ssb_mips_serial_init(mcore);
ssb_mips_flash_detect(mcore);
}
+
+EXPORT_SYMBOL(ssb_mips_irq);
-Index: linux-2.6.23.17/include/linux/mod_devicetable.h
-===================================================================
---- linux-2.6.23.17.orig/include/linux/mod_devicetable.h
-+++ linux-2.6.23.17/include/linux/mod_devicetable.h
-@@ -352,4 +352,19 @@ struct parisc_device_id {
+--- a/include/linux/mod_devicetable.h
++++ b/include/linux/mod_devicetable.h
+@@ -352,4 +352,19 @@
#define PA_HVERSION_ANY_ID 0xffff
#define PA_SVERSION_ANY_ID 0xffffffff
@@ -34,11 +30,9 @@ Index: linux-2.6.23.17/include/linux/mod_devicetable.h
+#define SSB_ANY_REV 0xFF
+
#endif /* LINUX_MOD_DEVICETABLE_H */
-Index: linux-2.6.23.17/drivers/ssb/main.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/ssb/main.c
-+++ linux-2.6.23.17/drivers/ssb/main.c
-@@ -321,14 +321,16 @@ static int ssb_bus_match(struct device *
+--- a/drivers/ssb/main.c
++++ b/drivers/ssb/main.c
+@@ -321,14 +321,16 @@
return 0;
}
@@ -57,11 +51,9 @@ Index: linux-2.6.23.17/drivers/ssb/main.c
"MODALIAS=ssb:v%04Xid%04Xrev%02X",
ssb_dev->id.vendor, ssb_dev->id.coreid,
ssb_dev->id.revision);
-Index: linux-2.6.23.17/drivers/ssb/scan.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/ssb/scan.c
-+++ linux-2.6.23.17/drivers/ssb/scan.c
-@@ -391,12 +391,14 @@ int ssb_bus_scan(struct ssb_bus *bus,
+--- a/drivers/ssb/scan.c
++++ b/drivers/ssb/scan.c
+@@ -391,12 +391,14 @@
if (bus->bustype == SSB_BUSTYPE_PCI) {
/* Ignore PCI cores on PCI-E cards.
* Ignore PCI-E cores on PCI cards. */
@@ -80,11 +72,9 @@ Index: linux-2.6.23.17/drivers/ssb/scan.c
}
}
if (bus->pcicore.dev) {
-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
-@@ -362,7 +362,7 @@ static int pcicore_is_in_hostmode(struct
+--- a/drivers/ssb/driver_pcicore.c
++++ b/drivers/ssb/driver_pcicore.c
+@@ -362,7 +362,7 @@
chipid_top != 0x5300)
return 0;