aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_provider.h
diff options
context:
space:
mode:
authorArputham Benjamin <abenjamin@sgi.com>2009-09-05 20:36:15 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-05 20:36:15 -0700
commitd94a86890137fabcc97eaa324bfef3f1827744c8 (patch)
tree12502d24775a2e7b2a153b5c8145516a622138d1 /drivers/infiniband/hw/mthca/mthca_provider.h
parentIB/mthca: Annotate CQ locking (diff)
downloadlinux-dev-d94a86890137fabcc97eaa324bfef3f1827744c8.tar.xz
linux-dev-d94a86890137fabcc97eaa324bfef3f1827744c8.zip
IB/mthca: Distinguish multiple devices in /proc/interrupts
When the mthca driver uses the same name for interrupts for every device in the system. This can make it very confusing trying to work out exactly which device MSI-X interrupts are for. Change the driver to add the PCI name of the device to the interrupt name. Signed-off-by: Arputham Benjamin <abenjamin@sgi.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.h')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.h b/drivers/infiniband/hw/mthca/mthca_provider.h
index c621f8794b88..90f4c4d2e983 100644
--- a/drivers/infiniband/hw/mthca/mthca_provider.h
+++ b/drivers/infiniband/hw/mthca/mthca_provider.h
@@ -113,6 +113,7 @@ struct mthca_eq {
int nent;
struct mthca_buf_list *page_list;
struct mthca_mr mr;
+ char irq_name[IB_DEVICE_NAME_MAX];
};
struct mthca_av;