svn commit: r313427 - head/sys/dev/iwm
Adrian Chadd
adrian at FreeBSD.org
Wed Feb 8 07:05:57 UTC 2017
Author: adrian
Date: Wed Feb 8 07:05:56 2017
New Revision: 313427
URL: https://svnweb.freebsd.org/changeset/base/313427
Log:
[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
Modified:
head/sys/dev/iwm/if_iwm.c
head/sys/dev/iwm/if_iwmreg.h
Modified: head/sys/dev/iwm/if_iwm.c
==============================================================================
--- head/sys/dev/iwm/if_iwm.c Wed Feb 8 07:04:06 2017 (r313426)
+++ head/sys/dev/iwm/if_iwm.c Wed Feb 8 07:05:56 2017 (r313427)
@@ -892,6 +892,9 @@ iwm_read_firmware(struct iwm_softc *sc,
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: head/sys/dev/iwm/if_iwmreg.h
==============================================================================
--- head/sys/dev/iwm/if_iwmreg.h Wed Feb 8 07:04:06 2017 (r313426)
+++ head/sys/dev/iwm/if_iwmreg.h Wed Feb 8 07:05:56 2017 (r313427)
@@ -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 {
More information about the svn-src-all
mailing list