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>
This commit is contained in:
committed by
Roland Dreier
parent
32c0a26c8f
commit
98341f2618
@ -463,6 +463,13 @@ struct __ipath_sendpkt {
|
||||
struct ipath_iovec sps_iov[4];
|
||||
};
|
||||
|
||||
/* Passed into diag data special file's ->write method. */
|
||||
struct ipath_diag_pkt {
|
||||
__u32 unit;
|
||||
__u64 data;
|
||||
__u32 len;
|
||||
};
|
||||
|
||||
/*
|
||||
* Data layout in I2C flash (for GUID, etc.)
|
||||
* All fields are little-endian binary unless otherwise stated
|
||||
|
Reference in New Issue
Block a user