]> git.karo-electronics.de Git - linux-beck.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)
commit4f25bbdb160e4317f5d0efac90357d0a899a4be1
tree1a7dec0925f6507531e1d06a4492f3c31048da33
parentbc888f4078d549792e7b10a886f98271d5ad432b
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