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>
此提交包含在:
Bryan O'Sullivan
2006-08-25 11:24:36 -07:00
提交者 Roland Dreier
父節點 32c0a26c8f
當前提交 98341f2618
共有 4 個檔案被更改,包括 176 行新增0 行删除

查看文件

@@ -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