[PATCH] IB/ipath - program intconfig register using new HT irq hook
Eric's changes to the htirq infrastructure require corresponding modifications to the ipath HT driver code so that interrupts are still delivered properly. Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Roland Dreier <rdreier@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

کامیت شده توسط
Linus Torvalds

والد
43539c38cd
کامیت
51f65ebccf
@@ -710,14 +710,14 @@ static void ipath_bad_intr(struct ipath_devdata *dd, u32 * unexpectp)
|
||||
* linuxbios development work, and it may happen in
|
||||
* the future again.
|
||||
*/
|
||||
if (dd->pcidev && dd->pcidev->irq) {
|
||||
if (dd->pcidev && dd->ipath_irq) {
|
||||
ipath_dev_err(dd, "Now %u unexpected "
|
||||
"interrupts, unregistering "
|
||||
"interrupt handler\n",
|
||||
*unexpectp);
|
||||
ipath_dbg("free_irq of irq %x\n",
|
||||
dd->pcidev->irq);
|
||||
free_irq(dd->pcidev->irq, dd);
|
||||
ipath_dbg("free_irq of irq %d\n",
|
||||
dd->ipath_irq);
|
||||
dd->ipath_f_free_irq(dd);
|
||||
}
|
||||
}
|
||||
if (ipath_read_kreg32(dd, dd->ipath_kregs->kr_intmask)) {
|
||||
@@ -753,7 +753,7 @@ static void ipath_bad_regread(struct ipath_devdata *dd)
|
||||
if (allbits == 2) {
|
||||
ipath_dev_err(dd, "Still bad interrupt status, "
|
||||
"unregistering interrupt\n");
|
||||
free_irq(dd->pcidev->irq, dd);
|
||||
dd->ipath_f_free_irq(dd);
|
||||
} else if (allbits > 2) {
|
||||
if ((allbits % 10000) == 0)
|
||||
printk(".");
|
||||
|
مرجع در شماره جدید
Block a user