From 44e673647d0f137d779a3e91d5b11d5fe8f277a8 Mon Sep 17 00:00:00 2001 From: arybchik Date: Thu, 14 Jan 2016 16:25:45 +0000 Subject: MFC r293812 sfxge: add Medford firmware subtypes definitions Pulled firmware_ids.h from firmwaresrc and applied genfwdef script. Submitted by: Richard Houldsworth Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. --- sys/dev/sfxge/common/ef10_tlv_layout.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sys/dev/sfxge/common/ef10_tlv_layout.h') 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 */ -- cgit v1.1