Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147965089
D18024.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18024.diff
View Options
Index: head/sys/dev/sfxge/common/ef10_nic.c
===================================================================
--- head/sys/dev/sfxge/common/ef10_nic.c
+++ head/sys/dev/sfxge/common/ef10_nic.c
@@ -1092,6 +1092,18 @@
CAP_FLAG2(flags2, INIT_EVQ_V2) ? B_TRUE : B_FALSE;
/*
+ * Check if firmware-verified NVRAM updates must be used.
+ *
+ * The firmware trusted installer requires all NVRAM updates to use
+ * version 2 of MC_CMD_NVRAM_UPDATE_START (to enable verified update)
+ * and version 2 of MC_CMD_NVRAM_UPDATE_FINISH (to verify the updated
+ * partition and report the result).
+ */
+ encp->enc_fw_verified_nvram_update_required =
+ CAP_FLAG2(flags2, NVRAM_UPDATE_REPORT_VERIFY_RESULT) ?
+ B_TRUE : B_FALSE;
+
+ /*
* Check if firmware provides packet memory and Rx datapath
* counters.
*/
@@ -1104,18 +1116,6 @@
*/
encp->enc_mac_stats_40g_tx_size_bins =
CAP_FLAG2(flags2, MAC_STATS_40G_TX_SIZE_BINS) ? B_TRUE : B_FALSE;
-
- /*
- * Check if firmware-verified NVRAM updates must be used.
- *
- * The firmware trusted installer requires all NVRAM updates to use
- * version 2 of MC_CMD_NVRAM_UPDATE_START (to enable verified update)
- * and version 2 of MC_CMD_NVRAM_UPDATE_FINISH (to verify the updated
- * partition and report the result).
- */
- encp->enc_fw_verified_nvram_update_required =
- CAP_FLAG2(flags2, NVRAM_UPDATE_REPORT_VERIFY_RESULT) ?
- B_TRUE : B_FALSE;
#undef CAP_FLAG
#undef CAP_FLAG2
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 15, 10:29 PM (12 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29738473
Default Alt Text
D18024.diff (1 KB)
Attached To
Mode
D18024: sfxge(4): cleanup: move into right place
Attached
Detach File
Event Timeline
Log In to Comment