diff options
author | Arputham Benjamin <abenjamin@sgi.com> | 2009-09-06 07:36:15 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 07:36:15 +0400 |
commit | d94a86890137fabcc97eaa324bfef3f1827744c8 (patch) | |
tree | 12502d24775a2e7b2a153b5c8145516a622138d1 /drivers/infiniband/hw/mthca/mthca_provider.h | |
parent | ffe063f32bacad7d5111ae9c2b3e31addb47ce39 (diff) | |
download | linux-d94a86890137fabcc97eaa324bfef3f1827744c8.tar.xz |
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.h | 1 |
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; |