aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_common.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_common.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_common.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_common.h b/drivers/infiniband/hw/ipath/ipath_common.h
index f8df3b771c26..f577905e3aca 100644
--- a/drivers/infiniband/hw/ipath/ipath_common.h
+++ b/drivers/infiniband/hw/ipath/ipath_common.h
@@ -463,6 +463,13 @@ struct __ipath_sendpkt {
463 struct ipath_iovec sps_iov[4]; 463 struct ipath_iovec sps_iov[4];
464}; 464};
465 465
466/* Passed into diag data special file's ->write method. */
467struct ipath_diag_pkt {
468 __u32 unit;
469 __u64 data;
470 __u32 len;
471};
472
466/* 473/*
467 * Data layout in I2C flash (for GUID, etc.) 474 * Data layout in I2C flash (for GUID, etc.)
468 * All fields are little-endian binary unless otherwise stated 475 * All fields are little-endian binary unless otherwise stated