aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.0/020-ssb_update.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-01-13 14:10:44 +0000
committerJonas Gorski <jogo@openwrt.org>2012-01-13 14:10:44 +0000
commitb2e991c3b2f439c9fb76ba214046b71f75b63795 (patch)
tree667d36e004985d875d6d8fdf001980b997f9bc7a /target/linux/generic/patches-3.0/020-ssb_update.patch
parent15c833bfc42c03511e2400747b248e2df5542f3c (diff)
downloadupstream-b2e991c3b2f439c9fb76ba214046b71f75b63795.tar.gz
upstream-b2e991c3b2f439c9fb76ba214046b71f75b63795.tar.bz2
upstream-b2e991c3b2f439c9fb76ba214046b71f75b63795.zip
kernel: update linux 3.0 to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29725 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch26
1 files changed, 3 insertions, 23 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 32f5557673..74fb28c84e 100644
--- a/target/linux/generic/patches-3.0/020-ssb_update.patch
+++ b/target/linux/generic/patches-3.0/020-ssb_update.patch
@@ -154,35 +154,15 @@
{
u16 tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(0));
if (((tmp & 0xF000) >> 12) != pc->dev->core_index) {
-@@ -514,12 +514,16 @@ 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)
{
-- ssb_pcicore_fix_sprom_core_index(pc);
-+ struct ssb_device *pdev = pc->dev;
-+ struct ssb_bus *bus = pdev->bus;
-+
-+ if (bus->bustype == SSB_BUSTYPE_PCI)
-+ ssb_pcicore_fix_sprom_core_index(pc);
-
- /* Disable PCI interrupts. */
-- ssb_write32(pc->dev, SSB_INTVEC, 0);
-+ ssb_write32(pdev, SSB_INTVEC, 0);
-
- /* Additional PCIe always once-executed workarounds */
- if (pc->dev->id.coreid == SSB_DEV_PCIE) {
-@@ -529,7 +533,7 @@ static void ssb_pcicore_init_clientmode(
- }
- }
-
--void ssb_pcicore_init(struct ssb_pcicore *pc)
-+void __devinit ssb_pcicore_init(struct ssb_pcicore *pc)
- {
- struct ssb_device *dev = pc->dev;
-
+ struct ssb_device *pdev = pc->dev;
+ struct ssb_bus *bus = pdev->bus;
--- a/drivers/ssb/embedded.c
+++ b/drivers/ssb/embedded.c
@@ -3,7 +3,7 @@