From 2d9312f664d56a24274f09958160391585c1abdf Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Sat, 14 May 2016 06:05:45 +0000 Subject: [PATCH] sfxge(4): import TLV layout from firmwaresrc Submitted by: Laurence Evans Sponsored by: Solarflare Communications, Inc. MFC after: 1 week --- sys/dev/sfxge/common/ef10_tlv_layout.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/sfxge/common/ef10_tlv_layout.h b/sys/dev/sfxge/common/ef10_tlv_layout.h index 80364ce3f0ff..e869316f2f16 100644 --- a/sys/dev/sfxge/common/ef10_tlv_layout.h +++ b/sys/dev/sfxge/common/ef10_tlv_layout.h @@ -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;