svn commit: r299723 - head/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat May 14 06:05:46 UTC 2016
Author: arybchik
Date: Sat May 14 06:05:45 2016
New Revision: 299723
URL: https://svnweb.freebsd.org/changeset/base/299723
Log:
sfxge(4): import TLV layout from firmwaresrc
Submitted by: Laurence Evans <levans at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
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 Sat May 14 06:04:29 2016 (r299722)
+++ head/sys/dev/sfxge/common/ef10_tlv_layout.h Sat May 14 06:05:45 2016 (r299723)
@@ -54,8 +54,10 @@
* where:
*
* - L is a location, indicating where this tag is expected to be found:
- * 0 for static configuration, or 1 for dynamic configuration. Other
- * values are reserved.
+ * 0: static configuration
+ * 1: dynamic configuration
+ * 2: firmware internal use
+ * 3: license partition
*
* - TTT is a type, which is just a unique value. The same type value
* might appear in both locations, indicating a relationship between
@@ -774,7 +776,7 @@ struct tlv_pcie_link_settings {
uint16_t width; /* Number of lanes */
};
-#define TLV_TAG_LICENSE (0x20800000)
+#define TLV_TAG_LICENSE (0x30800000)
typedef struct tlv_license {
uint32_t tag;
More information about the svn-src-head
mailing list