define TOOL_templ
include $(1)/Makefile
$(1) $(1)%: BUILD_DIR := $(1)
$(1) $(1)%: CFLAGS += $$($(1)-eflags)
$(1)_prehook:
$(Q)echo "$(bold)$(WHAT) $(1):$(normal)"
$(1): $(1)_prehook $$($(1)-lex) $$($(1)-yaac) $$(patsubst %.o,$(1)/%.o,$$($(1)-objs))
$(1)_clean: $(1)_clean_custom
$(Q)$$(call RM,$(1)/*.o $(1)/$(1) $(1)/*.gz)
$(1)_do_install:
$(Q)$$(call INSTX,$(1)/$(1),$$(DESTDIR)$$(SBINDIR))
$(Q)$(GZIP) $(1).8 > $(1)/$(1).8.gz
$(Q)$$(call INST,$(1)/$(1).8.gz,$$(DESTDIR)$$(MAN8DIR))
$(Q)$$(foreach file,$$($(1)-confs),$$(call INST,$$(file),$$(DESTDIR)$$(ETCDIRE));)
$(1)_install: $(1)_do_install $(1)_post_install
$(1)_uninstall: $(1)_uninstall_custom
$(Q)$$(call RM,$$(DESTDIR)$$(SBINDIR)/$(1))
$(Q)$$(call RM,$$(DESTDIR)$$(MAN8DIR)/$(1).8.gz)
$(1)/%.yy.o: $(1)/%.yy.c
$$(CCQ) $$(CFLAGS) -o $$@ -c $$<
$(1)/%.tab.o: $(1)/%.tab.c
$$(CCQ) $$(CFLAGS) -o $$@ -c $$<
$(1)/%.o: %.c %.h
$$(CHECK) $$(CFLAGS) $$(CHECKFLAGS) $$<
$$(CCQ) $$(CFLAGS) -o $(1)/$$(shell basename $$@) -c $$<
$(1)/%.o: %.c
$$(CHECK) $$(CFLAGS) $$(CHECKFLAGS) $$<
$$(CCQ) $$(CFLAGS) -o $(1)/$$(shell basename $$@) -c $$<
endef
option value='nds-private-remove' selected='selected'>nds-private-remove
packet-loop-back
packet-rx-pump-back
iwlwifi: pcie: fix the set of DMA memory mask
Our 9000 device supports 64 bit DMA address for RX only, and
not for TX.
Setting DMA mask to 64 for the whole device is erroneous - we
can do it only for a000 devices where device is capable of
both RX & TX DMA with 64 bit address space.
Fixes: 96a6497bc3ed ("iwlwifi: pcie: add 9000 series multi queue rx DMA support")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c