summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-18 20:24:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-18 20:24:51 +0000
commit37044cf01e5764164d34a4bfe14f9f00f7a2f6ea (patch)
treedb857f99d1b528f6f722bda21b589e60a7461598 /target/linux/generic-2.6/patches-2.6.23/930-ssb_fixes.patch
parent7d8b70a1ece7a0f5078688e2ccd4b11e4444d3fe (diff)
downloadmtk-20170518-37044cf01e5764164d34a4bfe14f9f00f7a2f6ea.zip
mtk-20170518-37044cf01e5764164d34a4bfe14f9f00f7a2f6ea.tar.gz
mtk-20170518-37044cf01e5764164d34a4bfe14f9f00f7a2f6ea.tar.bz2
refresh generic 2.6.23 patches
SVN-Revision: 11187
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.patch32
1 files changed, 16 insertions, 16 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 caec3bd..6658d2b 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,19 +1,19 @@
This patch ports ssb to the 2.6.23 kernel.
-Index: linux-2.6.23.16/drivers/ssb/driver_mipscore.c
+Index: linux-2.6.23.17/drivers/ssb/driver_mipscore.c
===================================================================
---- linux-2.6.23.16.orig/drivers/ssb/driver_mipscore.c 2008-03-21 17:33:28.000000000 +0100
-+++ linux-2.6.23.16/drivers/ssb/driver_mipscore.c 2008-03-21 17:33:34.000000000 +0100
-@@ -222,3 +222,5 @@ void ssb_mipscore_init(struct ssb_mipsco
+--- 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
ssb_mips_serial_init(mcore);
ssb_mips_flash_detect(mcore);
}
+
+EXPORT_SYMBOL(ssb_mips_irq);
-Index: linux-2.6.23.16/include/linux/mod_devicetable.h
+Index: linux-2.6.23.17/include/linux/mod_devicetable.h
===================================================================
---- linux-2.6.23.16.orig/include/linux/mod_devicetable.h 2008-03-21 17:33:28.000000000 +0100
-+++ linux-2.6.23.16/include/linux/mod_devicetable.h 2008-03-21 17:33:34.000000000 +0100
+--- 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 {
#define PA_HVERSION_ANY_ID 0xffff
#define PA_SVERSION_ANY_ID 0xffffffff
@@ -34,10 +34,10 @@ Index: linux-2.6.23.16/include/linux/mod_devicetable.h
+#define SSB_ANY_REV 0xFF
+
#endif /* LINUX_MOD_DEVICETABLE_H */
-Index: linux-2.6.23.16/drivers/ssb/main.c
+Index: linux-2.6.23.17/drivers/ssb/main.c
===================================================================
---- linux-2.6.23.16.orig/drivers/ssb/main.c 2008-03-21 17:33:28.000000000 +0100
-+++ linux-2.6.23.16/drivers/ssb/main.c 2008-03-21 17:33:34.000000000 +0100
+--- 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 *
return 0;
}
@@ -57,10 +57,10 @@ Index: linux-2.6.23.16/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.16/drivers/ssb/scan.c
+Index: linux-2.6.23.17/drivers/ssb/scan.c
===================================================================
---- linux-2.6.23.16.orig/drivers/ssb/scan.c 2008-03-21 17:33:28.000000000 +0100
-+++ linux-2.6.23.16/drivers/ssb/scan.c 2008-03-21 17:33:34.000000000 +0100
+--- 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,
if (bus->bustype == SSB_BUSTYPE_PCI) {
/* Ignore PCI cores on PCI-E cards.
@@ -80,10 +80,10 @@ Index: linux-2.6.23.16/drivers/ssb/scan.c
}
}
if (bus->pcicore.dev) {
-Index: linux-2.6.23.16/drivers/ssb/driver_pcicore.c
+Index: linux-2.6.23.17/drivers/ssb/driver_pcicore.c
===================================================================
---- linux-2.6.23.16.orig/drivers/ssb/driver_pcicore.c 2008-03-21 17:33:28.000000000 +0100
-+++ linux-2.6.23.16/drivers/ssb/driver_pcicore.c 2008-03-21 17:33:34.000000000 +0100
+--- 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
chipid_top != 0x5300)
return 0;