diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2017-02-08 07:05:56 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2017-02-08 07:05:56 +0000 |
commit | 00da819945009bb97c3eb57254b9e53817fdd818 (patch) | |
tree | 9c5351ec4b72b803fccea90730f540acaf14f899 /sys/dev/iwm | |
parent | 8aee6787012d852c8987dc5c9613a250ae9f88d9 (diff) | |
download | src-00da819945009bb97c3eb57254b9e53817fdd818.tar.gz src-00da819945009bb97c3eb57254b9e53817fdd818.zip |
[iwm] Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type.
* Will be needed for loading version 22 of 7265D firmware.
Obtained from: DragonflyBSD commit 1d244c8133cf15d00d46836bc48958188cf9f510
Notes
Notes:
svn path=/head/; revision=313427
Diffstat (limited to 'sys/dev/iwm')
-rw-r--r-- | sys/dev/iwm/if_iwm.c | 3 | ||||
-rw-r--r-- | sys/dev/iwm/if_iwmreg.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c index c7fb70822370..374d51e6c7a5 100644 --- a/sys/dev/iwm/if_iwm.c +++ b/sys/dev/iwm/if_iwm.c @@ -892,6 +892,9 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode_type ucode_type) 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", diff --git a/sys/dev/iwm/if_iwmreg.h b/sys/dev/iwm/if_iwmreg.h index aa9e08436580..df9b6d238293 100644 --- a/sys/dev/iwm/if_iwmreg.h +++ b/sys/dev/iwm/if_iwmreg.h @@ -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 { |