diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-08-25 14:24:36 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 18:22:34 -0400 |
commit | 98341f261893acd7bc5abee5ddc35337ef49e457 (patch) | |
tree | 44393b654275fbb4324da3b6622808e36f6c3dbd /drivers/infiniband/hw/ipath/ipath_kernel.h | |
parent | 32c0a26c8f91dbc2797175c2bdff42b54f66c71d (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.h | 4 |
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 *); | |||
789 | void ipath_device_remove_group(struct device *, struct ipath_devdata *); | 789 | void ipath_device_remove_group(struct device *, struct ipath_devdata *); |
790 | int ipath_expose_reset(struct device *); | 790 | int ipath_expose_reset(struct device *); |
791 | 791 | ||
792 | int ipath_diagpkt_add(void); | ||
793 | void ipath_diagpkt_remove(void); | ||
794 | |||
792 | int ipath_init_ipathfs(void); | 795 | int ipath_init_ipathfs(void); |
793 | void ipath_exit_ipathfs(void); | 796 | void ipath_exit_ipathfs(void); |
794 | int ipathfs_add_device(struct ipath_devdata *); | 797 | int 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 | ||