Author: arybchik
Date: Thu Jan 14 14:25:07 2016
New Revision: 293936
URL: https://svnweb.freebsd.org/changeset/base/293936

Log:
  MFC r291587
  
  sfxge: FPGA and FPGA backup (diagnostic) partitions added to hunt_parttbl
  
  It allows manftest to program them.
  
  Submitted by:   Paul Fox <pfox at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/hunt_nvram.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/hunt_nvram.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/hunt_nvram.c Thu Jan 14 14:24:25 2016        
(r293935)
+++ stable/10/sys/dev/sfxge/common/hunt_nvram.c Thu Jan 14 14:25:07 2016        
(r293936)
@@ -1490,7 +1490,15 @@ static hunt_parttbl_entry_t hunt_parttbl
        {NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,      1, EFX_NVRAM_DYNAMIC_CFG},
        {NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,      2, EFX_NVRAM_DYNAMIC_CFG},
        {NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,      3, EFX_NVRAM_DYNAMIC_CFG},
-       {NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,      4, EFX_NVRAM_DYNAMIC_CFG}
+       {NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG,      4, EFX_NVRAM_DYNAMIC_CFG},
+       {NVRAM_PARTITION_TYPE_FPGA,                1, EFX_NVRAM_FPGA},
+       {NVRAM_PARTITION_TYPE_FPGA,                2, EFX_NVRAM_FPGA},
+       {NVRAM_PARTITION_TYPE_FPGA,                3, EFX_NVRAM_FPGA},
+       {NVRAM_PARTITION_TYPE_FPGA,                4, EFX_NVRAM_FPGA},
+       {NVRAM_PARTITION_TYPE_FPGA_BACKUP,         1, EFX_NVRAM_FPGA_BACKUP},
+       {NVRAM_PARTITION_TYPE_FPGA_BACKUP,         2, EFX_NVRAM_FPGA_BACKUP},
+       {NVRAM_PARTITION_TYPE_FPGA_BACKUP,         3, EFX_NVRAM_FPGA_BACKUP},
+       {NVRAM_PARTITION_TYPE_FPGA_BACKUP,         4, EFX_NVRAM_FPGA_BACKUP}
 };
 
 static __checkReturn           hunt_parttbl_entry_t *
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to