Author: eadler
Date: Thu Mar  1 05:59:58 2018
New Revision: 330179
URL: https://svnweb.freebsd.org/changeset/base/330179

Log:
  MFC r313427:
  
  [iwm] Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type.
  
  * Will be needed for loading version 22 of 7265D firmware.

Modified:
  stable/11/sys/dev/iwm/if_iwm.c
  stable/11/sys/dev/iwm/if_iwmreg.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/iwm/if_iwm.c
==============================================================================
--- stable/11/sys/dev/iwm/if_iwm.c      Thu Mar  1 05:58:53 2018        
(r330178)
+++ stable/11/sys/dev/iwm/if_iwm.c      Thu Mar  1 05:59:58 2018        
(r330179)
@@ -892,6 +892,9 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode
                            le32toh(((const uint32_t *)tlv_data)[2]));
                        break;
 
+               case IWM_UCODE_TLV_FW_MEM_SEG:
+                       break;
+
                default:
                        device_printf(sc->sc_dev,
                            "%s: unknown firmware section %d, abort\n",

Modified: stable/11/sys/dev/iwm/if_iwmreg.h
==============================================================================
--- stable/11/sys/dev/iwm/if_iwmreg.h   Thu Mar  1 05:58:53 2018        
(r330178)
+++ stable/11/sys/dev/iwm/if_iwmreg.h   Thu Mar  1 05:59:58 2018        
(r330179)
@@ -1006,6 +1006,7 @@ enum iwm_ucode_tlv_type {
        IWM_UCODE_TLV_FW_DBG_CONF       = 39,
        IWM_UCODE_TLV_FW_DBG_TRIGGER    = 40,
        IWM_UCODE_TLV_FW_GSCAN_CAPA     = 50,
+       IWM_UCODE_TLV_FW_MEM_SEG        = 51,
 };
 
 struct iwm_ucode_tlv {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to