diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h index 3593983df7ba..61de0654820e 100644 --- a/drivers/infiniband/hw/qib/qib.h +++ b/drivers/infiniband/hw/qib/qib.h | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |
46 | #include <linux/list.h> | 46 | #include <linux/list.h> |
47 | #include <linux/scatterlist.h> | 47 | #include <linux/scatterlist.h> |
48 | #include <linux/slab.h> | ||
48 | #include <linux/io.h> | 49 | #include <linux/io.h> |
49 | #include <linux/fs.h> | 50 | #include <linux/fs.h> |
50 | #include <linux/completion.h> | 51 | #include <linux/completion.h> |
@@ -326,6 +327,9 @@ struct qib_verbs_txreq { | |||
326 | 327 | ||
327 | #define QIB_DEFAULT_MTU 4096 | 328 | #define QIB_DEFAULT_MTU 4096 |
328 | 329 | ||
330 | /* max number of IB ports supported per HCA */ | ||
331 | #define QIB_MAX_IB_PORTS 2 | ||
332 | |||
329 | /* | 333 | /* |
330 | * Possible IB config parameters for f_get/set_ib_table() | 334 | * Possible IB config parameters for f_get/set_ib_table() |
331 | */ | 335 | */ |