iwlwifi: add GNSS differentiation to the device tables
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 9 Mar 2020 07:16:10 +0000 (09:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 17 Mar 2020 19:10:45 +0000 (21:10 +0200)
commit95939551e28c9bf9267d63d0ae12a019de75483f
treedaab032c03994562bc7192e686b36083f2dea4fa
parentd6f2134a383168bfb28ac458f7e4311e58482439
iwlwifi: add GNSS differentiation to the device tables

Devices that also include a GNSS module have different names, so add a
new device option to differentiate them, according to the values we
have in the modules section of the subsystem device ID.

Additionally, convert the two applicable devices to use this value
instead of hardcoded subsystem IDs.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200309091348.1f958e558d05.I45492bb57cbbeb4cc0ec84313bade4def7377a27@changeid
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c