[PATCH] Fix patch

From: Bryan O'Sullivan
Date: Wed Nov 08 2006 - 17:21:02 EST


diff -r b610f87d01e2 -r 5011f2a1dbc9 ipath-htirq.patch
--- a/ipath-htirq.patch Wed Nov 08 12:08:13 2006 -0800
+++ b/ipath-htirq.patch Wed Nov 08 14:20:04 2006 -0800
@@ -1,15 +1,16 @@ IB/ipath - program interrupt control reg
-IB/ipath - program interrupt control register using new htirq hook
+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@xxxxxxxxxx>
-Cc: Eric W. Biedermann <ebiederm@xxxxxxxxxxxx>
+Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
+Cc: Roland Dreier <rdreier@xxxxxxxxx>

-diff -r bb12c8d85f7c drivers/infiniband/hw/ipath/ipath_driver.c
---- a/drivers/infiniband/hw/ipath/ipath_driver.c Tue Nov 07 11:35:24 2006 -0800
-+++ b/drivers/infiniband/hw/ipath/ipath_driver.c Wed Nov 08 11:25:18 2006 -0800
+diff -r 69779e2890e3 drivers/infiniband/hw/ipath/ipath_driver.c
+--- a/drivers/infiniband/hw/ipath/ipath_driver.c Wed Nov 08 14:17:04 2006 -0800
++++ b/drivers/infiniband/hw/ipath/ipath_driver.c Wed Nov 08 14:17:04 2006 -0800
@@ -304,7 +304,7 @@ static int __devinit ipath_init_one(stru
}
addr = pci_resource_start(pdev, 0);
@@ -54,9 +55,9 @@ diff -r bb12c8d85f7c drivers/infiniband/
} else
ipath_dbg("irq is 0, not doing free_irq "
"for unit %u\n", dd->ipath_unit);
-diff -r bb12c8d85f7c drivers/infiniband/hw/ipath/ipath_iba6110.c
---- a/drivers/infiniband/hw/ipath/ipath_iba6110.c Tue Nov 07 11:35:24 2006 -0800
-+++ b/drivers/infiniband/hw/ipath/ipath_iba6110.c Wed Nov 08 11:57:00 2006 -0800
+diff -r 69779e2890e3 drivers/infiniband/hw/ipath/ipath_iba6110.c
+--- a/drivers/infiniband/hw/ipath/ipath_iba6110.c Wed Nov 08 14:17:04 2006 -0800
++++ b/drivers/infiniband/hw/ipath/ipath_iba6110.c Wed Nov 08 14:17:04 2006 -0800
@@ -38,6 +38,7 @@

#include <linux/pci.h>
@@ -241,9 +242,9 @@ diff -r bb12c8d85f7c drivers/infiniband/

/*
* initialize chip-specific variables
-diff -r bb12c8d85f7c drivers/infiniband/hw/ipath/ipath_iba6120.c
---- a/drivers/infiniband/hw/ipath/ipath_iba6120.c Tue Nov 07 11:35:24 2006 -0800
-+++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c Wed Nov 08 11:56:55 2006 -0800
+diff -r 69779e2890e3 drivers/infiniband/hw/ipath/ipath_iba6120.c
+--- a/drivers/infiniband/hw/ipath/ipath_iba6120.c Wed Nov 08 14:17:04 2006 -0800
++++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c Wed Nov 08 14:17:04 2006 -0800
@@ -851,6 +851,7 @@ static int ipath_setup_pe_config(struct
int pos, ret;

@@ -273,9 +274,9 @@ diff -r bb12c8d85f7c drivers/infiniband/

/* initialize chip-specific variables */
dd->ipath_f_tidtemplate = ipath_pe_tidtemplate;
-diff -r bb12c8d85f7c drivers/infiniband/hw/ipath/ipath_intr.c
---- a/drivers/infiniband/hw/ipath/ipath_intr.c Tue Nov 07 11:35:24 2006 -0800
-+++ b/drivers/infiniband/hw/ipath/ipath_intr.c Wed Nov 08 11:16:41 2006 -0800
+diff -r 69779e2890e3 drivers/infiniband/hw/ipath/ipath_intr.c
+--- a/drivers/infiniband/hw/ipath/ipath_intr.c Wed Nov 08 14:17:04 2006 -0800
++++ b/drivers/infiniband/hw/ipath/ipath_intr.c Wed Nov 08 14:17:04 2006 -0800
@@ -710,14 +710,14 @@ static void ipath_bad_intr(struct ipath_
* linuxbios development work, and it may happen in
* the future again.
@@ -304,9 +305,9 @@ diff -r bb12c8d85f7c drivers/infiniband/
} else if (allbits > 2) {
if ((allbits % 10000) == 0)
printk(".");
-diff -r bb12c8d85f7c drivers/infiniband/hw/ipath/ipath_kernel.h
---- a/drivers/infiniband/hw/ipath/ipath_kernel.h Tue Nov 07 11:35:24 2006 -0800
-+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h Wed Nov 08 12:07:03 2006 -0800
+diff -r 69779e2890e3 drivers/infiniband/hw/ipath/ipath_kernel.h
+--- a/drivers/infiniband/hw/ipath/ipath_kernel.h Wed Nov 08 14:17:04 2006 -0800
++++ b/drivers/infiniband/hw/ipath/ipath_kernel.h Wed Nov 08 14:17:04 2006 -0800
@@ -213,6 +213,8 @@ struct ipath_devdata {
void (*ipath_f_setextled)(struct ipath_devdata *, u64, u64);
/* fill out chip-specific fields */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/