Author: arybchik
Date: Mon Jan 18 06:33:15 2016
New Revision: 294254
URL: https://svnweb.freebsd.org/changeset/base/294254

Log:
  sfxge: support RFID-selectable segments of dynamic configuration
  
  tlv_partition_header has field *preset* to support RFID-selectable
  segments of dynamic configuration
  
  Submitted by:   Mateusz Wrzesinski <mwrzesinski at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

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 Mon Jan 18 06:19:28 2016        
(r294253)
+++ head/sys/dev/sfxge/common/ef10_tlv_layout.h Mon Jan 18 06:33:15 2016        
(r294254)
@@ -113,7 +113,11 @@ struct tlv_partition_header {
   uint32_t tag;
   uint32_t length;
   uint16_t type_id;
-  uint16_t reserved;
+/* 0 indicates the default segment (always located at offset 0), while other 
values
+ * are for RFID-selectable presets that should immediately follow the default 
segment.
+ * The default segment may also have preset > 0, which means that it is a 
preset
+ * selected through an RFID command and copied by FW to the location at offset 
0. */
+  uint16_t preset;
   uint32_t generation;
   uint32_t total_length;
 };
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to