Author: arybchik
Date: Wed Dec 28 17:52:24 2016
New Revision: 310716
URL: https://svnweb.freebsd.org/changeset/base/310716

Log:
  sfxge(4): add UEFI ROM support to the common code
  
  Submitted by:   Andrew Lee <alee at solarflare.com>
  Reviewed by:    gnn
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days
  Differential Revision:  https://reviews.freebsd.org/D8934

Modified:
  head/sys/dev/sfxge/common/ef10_nvram.c
  head/sys/dev/sfxge/common/efx.h

Modified: head/sys/dev/sfxge/common/ef10_nvram.c
==============================================================================
--- head/sys/dev/sfxge/common/ef10_nvram.c      Wed Dec 28 17:50:48 2016        
(r310715)
+++ head/sys/dev/sfxge/common/ef10_nvram.c      Wed Dec 28 17:52:24 2016        
(r310716)
@@ -2175,7 +2175,11 @@ static ef10_parttbl_entry_t medford_part
        {NVRAM_PARTITION_TYPE_LICENSE,             1, EFX_NVRAM_LICENSE},
        {NVRAM_PARTITION_TYPE_LICENSE,             2, EFX_NVRAM_LICENSE},
        {NVRAM_PARTITION_TYPE_LICENSE,             3, EFX_NVRAM_LICENSE},
-       {NVRAM_PARTITION_TYPE_LICENSE,             4, EFX_NVRAM_LICENSE}
+       {NVRAM_PARTITION_TYPE_LICENSE,             4, EFX_NVRAM_LICENSE},
+       {NVRAM_PARTITION_TYPE_EXPANSION_UEFI,      1, EFX_NVRAM_UEFIROM},
+       {NVRAM_PARTITION_TYPE_EXPANSION_UEFI,      2, EFX_NVRAM_UEFIROM},
+       {NVRAM_PARTITION_TYPE_EXPANSION_UEFI,      3, EFX_NVRAM_UEFIROM},
+       {NVRAM_PARTITION_TYPE_EXPANSION_UEFI,      4, EFX_NVRAM_UEFIROM}
 };
 
 static __checkReturn           efx_rc_t

Modified: head/sys/dev/sfxge/common/efx.h
==============================================================================
--- head/sys/dev/sfxge/common/efx.h     Wed Dec 28 17:50:48 2016        
(r310715)
+++ head/sys/dev/sfxge/common/efx.h     Wed Dec 28 17:52:24 2016        
(r310716)
@@ -1311,6 +1311,7 @@ typedef enum efx_nvram_type_e {
        EFX_NVRAM_FPGA_BACKUP,
        EFX_NVRAM_DYNAMIC_CFG,
        EFX_NVRAM_LICENSE,
+       EFX_NVRAM_UEFIROM,
        EFX_NVRAM_NTYPES,
 } efx_nvram_type_t;
 
_______________________________________________
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