]> 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)
commitd30e901ca6cb44b7b65424c2e63e0b4848b70eec
tree1a7dec0925f6507531e1d06a4492f3c31048da33
parent0edee8c549aa49abb5157a7131fd12ec17b22b09
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