Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2016 06:47:48 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293812 - head/sys/dev/sfxge/common
Message-ID:  <201601130647.u0D6lmbo047705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Wed Jan 13 06:47:47 2016
New Revision: 293812
URL: https://svnweb.freebsd.org/changeset/base/293812

Log:
  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.
  MFC after:      2 days
  Differential Revision: https://reviews.freebsd.org/D4897

Modified:
  head/sys/dev/sfxge/common/ef10_tlv_layout.h

Modified: head/sys/dev/sfxge/common/ef10_tlv_layout.h
==============================================================================
--- head/sys/dev/sfxge/common/ef10_tlv_layout.h	Wed Jan 13 06:45:05 2016	(r293811)
+++ head/sys/dev/sfxge/common/ef10_tlv_layout.h	Wed Jan 13 06:47:47 2016	(r293812)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601130647.u0D6lmbo047705>