Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   UBUNTU: ssb: Fix IRQ vectors enable for early cards. OriginalAuthor: Larry Finger OriginalLocation: http://launchpadlibrarian.net/14435341/0005-irqvecs_enable Bug: #197959 (http://www.linux-archive.org/ubuntu-kernel-team/86455-ubuntu-ssb-fix-irq-vectors-enable-early-cards-originalauthor-larry-finger-larry-finger-lwfinger-net-originallocation-http-launchpadlibrarian-net-14435341-0005-irqvecs_enable-bug-197959-a.html)

Tim Gardner 05-11-2008 12:16 AM

UBUNTU: ssb: Fix IRQ vectors enable for early cards. OriginalAuthor: Larry Finger OriginalLocation: http://launchpadlibrarian.net/14435341/0005-irqvecs_enable Bug: #197959
 
After the release of 2.6.24, an error was found in the setup for
IRQ vectors in the ssb driver. This error was fixed in the mainline
kernels with commit b63009b456c8d9abe684bdf8d4bd8f27eb040019, which
was authored by me. This bug prevents any data transmission by the
affected cards.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
drivers/ssb/driver_pcicore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c
index 2faaa90..d6cb3cc 100644
--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -517,7 +517,7 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
} else {
tmp = ssb_read32(dev, SSB_TPSFLAG);
tmp &= SSB_TPSFLAG_BPFLAG;
- intvec |= tmp;
+ intvec |= (1 << tmp);
}
ssb_write32(pdev, SSB_INTVEC, intvec);
}
--
1.5.4.3



--------------040705030006050706090801
Content-Type: text/x-diff;
name="0003-UBUNTU-ssb-Fix-TMS-low-bitmask-reject-code.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0003-UBUNTU-ssb-Fix-TMS-low-bitmask-reject-code.patch"


All times are GMT. The time now is 03:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.