aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-08-25 14:24:36 -0400
committerRoland Dreier <rolandd@cisco.com>2006-09-22 18:22:34 -0400
commit98341f261893acd7bc5abee5ddc35337ef49e457 (patch)
tree44393b654275fbb4324da3b6622808e36f6c3dbd /drivers/infiniband/hw/ipath/ipath_kernel.h
parent32c0a26c8f91dbc2797175c2bdff42b54f66c71d (diff)
IB/ipath: add new minor device to allow sending of diag packets
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index 0ae2729c7ea2..f8accc79b92f 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -789,6 +789,9 @@ int ipath_device_create_group(struct device *, struct ipath_devdata *);
789void ipath_device_remove_group(struct device *, struct ipath_devdata *); 789void ipath_device_remove_group(struct device *, struct ipath_devdata *);
790int ipath_expose_reset(struct device *); 790int ipath_expose_reset(struct device *);
791 791
792int ipath_diagpkt_add(void);
793void ipath_diagpkt_remove(void);
794
792int ipath_init_ipathfs(void); 795int ipath_init_ipathfs(void);
793void ipath_exit_ipathfs(void); 796void ipath_exit_ipathfs(void);
794int ipathfs_add_device(struct ipath_devdata *); 797int ipathfs_add_device(struct ipath_devdata *);
@@ -813,6 +816,7 @@ extern struct mutex ipath_mutex;
813#define IPATH_DRV_NAME "ib_ipath" 816#define IPATH_DRV_NAME "ib_ipath"
814#define IPATH_MAJOR 233 817#define IPATH_MAJOR 233
815#define IPATH_USER_MINOR_BASE 0 818#define IPATH_USER_MINOR_BASE 0
819#define IPATH_DIAGPKT_MINOR 127
816#define IPATH_DIAG_MINOR_BASE 129 820#define IPATH_DIAG_MINOR_BASE 129
817#define IPATH_NMINORS 255 821#define IPATH_NMINORS 255
818 822