]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: create opmode/device dependencies
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Jun 2013 14:12:52 +0000 (16:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Jun 2013 10:12:48 +0000 (12:12 +0200)
commit3648b66661bd1d5654d29990bb9e602f99c9b94b
tree1a7dec0925f6507531e1d06a4492f3c31048da33
parent76d95752a774d1556ccac79c3d13a91fb2d41ff5
iwlwifi: create opmode/device dependencies

The older devices (pre-7000/3000 series) all only work with the
DVM opmode due to firmware availability, while newer ones will
only work with the MVM opmode for the same reason.

When building a driver that only has one of MVM or DVM, there's
no reason to build the device support and have the PCIe IDs for
all devices since they can't be used anyway, so avoid that.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/Makefile
drivers/net/wireless/iwlwifi/iwl-config.h
drivers/net/wireless/iwlwifi/pcie/drv.c