summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/common/ef10_tlv_layout.h
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2016-01-14 16:25:45 +0000
committerarybchik <arybchik@FreeBSD.org>2016-01-14 16:25:45 +0000
commit44e673647d0f137d779a3e91d5b11d5fe8f277a8 (patch)
tree042bf133416fbc8ee8719594b51bae82b4ae02e3 /sys/dev/sfxge/common/ef10_tlv_layout.h
parentc6ce332549aaa21c1817b1a97624ff42164caa50 (diff)
downloadFreeBSD-src-44e673647d0f137d779a3e91d5b11d5fe8f277a8.zip
FreeBSD-src-44e673647d0f137d779a3e91d5b11d5fe8f277a8.tar.gz
MFC r293812
sfxge: add Medford firmware subtypes definitions Pulled firmware_ids.h from firmwaresrc and applied genfwdef script. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common/ef10_tlv_layout.h')
-rw-r--r--sys/dev/sfxge/common/ef10_tlv_layout.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/ef10_tlv_layout.h b/sys/dev/sfxge/common/ef10_tlv_layout.h
index e2c7082..4063165 100644
--- a/sys/dev/sfxge/common/ef10_tlv_layout.h
+++ b/sys/dev/sfxge/common/ef10_tlv_layout.h
@@ -764,4 +764,20 @@ struct tlv_rx_event_merging_config {
#define TLV_RX_EVENT_MERGING_MAX_EVENTS_DEFAULT 7
#define TLV_RX_EVENT_MERGING_TIMEOUT_NS_DEFAULT 8740
+#define TLV_TAG_PCIE_LINK_SETTINGS (0x101f0000)
+struct tlv_pcie_link_settings {
+ uint32_t tag;
+ uint32_t length;
+ uint16_t gen; /* Target PCIe generation: 1, 2, 3 */
+ uint16_t width; /* Number of lanes */
+};
+
+#define TLV_TAG_LICENSE (0x20800000)
+
+typedef struct tlv_license {
+ uint32_t tag;
+ uint32_t length;
+ uint8_t data[];
+} tlv_license_t;
+
#endif /* CI_MGMT_TLV_LAYOUT_H */
OpenPOWER on IntegriCloud