summaryrefslogtreecommitdiff
path: root/drivers/net/cxgb3/cxgb3_ctl_defs.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2008-12-26 12:16:39 +0300
committerDavid S. Miller <davem@davemloft.net>2008-12-26 12:16:39 +0300
commit4d8cd002602987ddc9507b5390800343f820ac92 (patch)
tree8762b66347fe7fdecaedc7be50d8599fe763d768 /drivers/net/cxgb3/cxgb3_ctl_defs.h
parent6dd014808f91ad99d4d794cf7c7c69610c10f904 (diff)
downloadlinux-4d8cd002602987ddc9507b5390800343f820ac92.tar.xz
cxgb3: add control to access embedded images
Update contol path between cxgb3 and ULP modules (iWARP, iSCSI) to provide access to firware and protocol engine info. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_ctl_defs.h')
-rw-r--r--drivers/net/cxgb3/cxgb3_ctl_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_ctl_defs.h b/drivers/net/cxgb3/cxgb3_ctl_defs.h
index 55099eb3c70e..369fe711fd7f 100644
--- a/drivers/net/cxgb3/cxgb3_ctl_defs.h
+++ b/drivers/net/cxgb3/cxgb3_ctl_defs.h
@@ -58,6 +58,8 @@ enum {
GET_RX_PAGE_INFO = 50,
GET_ISCSI_IPV4ADDR = 51,
+
+ GET_EMBEDDED_INFO = 70,
};
/*
@@ -176,4 +178,12 @@ struct ofld_page_info {
unsigned int page_size; /* Page size, should be a power of 2 */
unsigned int num; /* Number of pages */
};
+
+/*
+ * Structure used to get firmware and protocol engine versions.
+ */
+struct ch_embedded_info {
+ u32 fw_vers;
+ u32 tp_vers;
+};
#endif /* _CXGB3_OFFLOAD_CTL_DEFS_H */