diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h index b881bdc401f5..6b811e3e8bd1 100644 --- a/drivers/infiniband/hw/qib/qib.h +++ b/drivers/infiniband/hw/qib/qib.h | |||
@@ -427,6 +427,14 @@ struct qib_verbs_txreq { | |||
427 | /* how often we check for packet activity for "power on hours (in seconds) */ | 427 | /* how often we check for packet activity for "power on hours (in seconds) */ |
428 | #define ACTIVITY_TIMER 5 | 428 | #define ACTIVITY_TIMER 5 |
429 | 429 | ||
430 | #define MAX_NAME_SIZE 64 | ||
431 | struct qib_msix_entry { | ||
432 | struct msix_entry msix; | ||
433 | void *arg; | ||
434 | char name[MAX_NAME_SIZE]; | ||
435 | cpumask_var_t mask; | ||
436 | }; | ||
437 | |||
430 | /* Below is an opaque struct. Each chip (device) can maintain | 438 | /* Below is an opaque struct. Each chip (device) can maintain |
431 | * private data needed for its operation, but not germane to the | 439 | * private data needed for its operation, but not germane to the |
432 | * rest of the driver. For convenience, we define another that | 440 | * rest of the driver. For convenience, we define another that |
@@ -1355,7 +1363,7 @@ int qib_pcie_init(struct pci_dev *, const struct pci_device_id *); | |||
1355 | int qib_pcie_ddinit(struct qib_devdata *, struct pci_dev *, | 1363 | int qib_pcie_ddinit(struct qib_devdata *, struct pci_dev *, |
1356 | const struct pci_device_id *); | 1364 | const struct pci_device_id *); |
1357 | void qib_pcie_ddcleanup(struct qib_devdata *); | 1365 | void qib_pcie_ddcleanup(struct qib_devdata *); |
1358 | int qib_pcie_params(struct qib_devdata *, u32, u32 *, struct msix_entry *); | 1366 | int qib_pcie_params(struct qib_devdata *, u32, u32 *, struct qib_msix_entry *); |
1359 | int qib_reinit_intr(struct qib_devdata *); | 1367 | int qib_reinit_intr(struct qib_devdata *); |
1360 | void qib_enable_intx(struct pci_dev *); | 1368 | void qib_enable_intx(struct pci_dev *); |
1361 | void qib_nomsi(struct qib_devdata *); | 1369 | void qib_nomsi(struct qib_devdata *); |