linux-kernel-test/drivers/net/wireless/iwlwifi
Evgeni Golov 8fcbd4dc7a iwlagn: fix *_UCODE_API_MAX output in the firmware field
Currently (3.0-rc2), modinfo iwlagn shows:
    firmware:       iwlwifi-5150-IWL5150_UCODE_API_MAX.ucode
    firmware:       iwlwifi-5000-IWL5000_UCODE_API_MAX.ucode
    firmware:       iwlwifi-6000g2b-IWL6000G2_UCODE_API_MAX.ucode
    firmware:       iwlwifi-6000g2a-IWL6000G2_UCODE_API_MAX.ucode
    firmware:       iwlwifi-6050-IWL6050_UCODE_API_MAX.ucode
    firmware:       iwlwifi-6000-IWL6000_UCODE_API_MAX.ucode
    firmware:       iwlwifi-100-IWL100_UCODE_API_MAX.ucode
    firmware:       iwlwifi-1000-IWL1000_UCODE_API_MAX.ucode
    firmware:       iwlwifi-105-IWL105_UCODE_API_MAX.ucode
    firmware:       iwlwifi-2030-IWL2030_UCODE_API_MAX.ucode
    firmware:       iwlwifi-2000-IWL2000_UCODE_API_MAX.ucode

which is obviously wrong, the user should not see the *_UCODE_API_MAX
macros but the actual ucode API versions here.

The problem are the
    #define *_MODULE_FIRMWARE(api) *_FW_PRE #api ".ucode"
which do not expand api correctly (because this is a macro itself).

Fixed by using __stringify() from linux/stringify.h.

Further information about macro stringification can be found here:
    http://gcc.gnu.org/onlinedocs/cpp/Stringification.html

Signed-off-by: Evgeni Golov <sargentd@die-welt.net>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-06-27 14:33:14 -04:00
..
iwl-1000.c iwlagn: fix *_UCODE_API_MAX output in the firmware field 2011-06-27 14:33:14 -04:00
iwl-2000.c iwlagn: fix *_UCODE_API_MAX output in the firmware field 2011-06-27 14:33:14 -04:00
iwl-5000-hw.h
iwl-5000.c iwlagn: fix *_UCODE_API_MAX output in the firmware field 2011-06-27 14:33:14 -04:00
iwl-6000-hw.h
iwl-6000.c iwlagn: fix *_UCODE_API_MAX output in the firmware field 2011-06-27 14:33:14 -04:00
iwl-agn-calib.c Merge branch 'for-davem' of ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2011-05-25 13:28:55 -04:00
iwl-agn-calib.h
iwl-agn-eeprom.c iwlagn: semaphore and calib cleanup 2011-04-30 08:56:59 -07:00
iwl-agn-hcmd.c iwlagn: use cts-to-self protection on 5000 adapters series 2011-06-06 15:24:17 -04:00
iwl-agn-hw.h
iwl-agn-ict.c
iwl-agn-lib.c iwlagn: support multiple TBs per command 2011-05-13 12:00:41 -07:00
iwl-agn-rs.c iwlagn: dbg_fixed_rate only used when CONFIG_MAC80211_DEBUGFS enabled 2011-05-24 15:39:30 -04:00
iwl-agn-rs.h
iwl-agn-rxon.c iwlagn: send tx power command if defer cause by RXON not match 2011-06-08 14:17:27 -04:00
iwl-agn-sta.c iwlagn: prepare for multi-TB commands 2011-05-13 10:31:52 -07:00
iwl-agn-tt.c
iwl-agn-tt.h
iwl-agn-tx.c Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
iwl-agn-ucode.c iwlagn: clean up TXQ indirection 2011-05-13 10:32:04 -07:00
iwl-agn.c iwlagn: fix channel switch locking 2011-06-03 14:22:06 -04:00
iwl-agn.h iwlagn: fix incorrect PCI subsystem id for 6150 devices 2011-05-31 14:51:53 -04:00
iwl-commands.h iwlagn: support multiple TBs per command 2011-05-13 12:00:41 -07:00
iwl-core.c iwlagn: fix change_interface for P2P types 2011-06-24 11:21:24 -07:00
iwl-core.h iwlagn: fix channel switch locking 2011-06-03 14:22:06 -04:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c iwlagn: remove un-necessary debugfs callback 2011-04-30 09:10:53 -07:00
iwl-dev.h iwlagn: fix channel switch locking 2011-06-03 14:22:06 -04:00
iwl-devtrace.c
iwl-devtrace.h iwlagn: more ucode error log info 2011-05-13 12:01:50 -07:00
iwl-eeprom.c iwlagn: remove set but unused vars 2011-05-13 12:02:59 -07:00
iwl-eeprom.h iwlagn: semaphore and calib cleanup 2011-04-30 08:56:59 -07:00
iwl-fh.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-04-25 14:34:25 -04:00
iwl-hcmd.c iwlagn: clear STATUS_HCMD_ACTIVE bit if fail enqueue 2011-05-13 12:02:40 -07:00
iwl-helpers.h iwlagn: combine firmware code/data 2011-04-22 10:21:18 -07:00
iwl-io.c iwlagn: introduce silent grabbing of NIC access 2011-04-30 08:39:22 -07:00
iwl-io.h iwlagn: introduce silent grabbing of NIC access 2011-04-30 08:39:22 -07:00
iwl-led.c iwlagn: prepare for multi-TB commands 2011-05-13 10:31:52 -07:00
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c iwlagn: fix channel switch locking 2011-06-03 14:22:06 -04:00
iwl-scan.c
iwl-sta.c iwlagn: prepare for multi-TB commands 2011-05-13 10:31:52 -07:00
iwl-sta.h
iwl-sv-open.c iwlagn: add testmode set fixed rate command 2011-05-13 12:02:20 -07:00
iwl-testmode.h iwlagn: add testmode set fixed rate command 2011-05-13 12:02:20 -07:00
iwl-tx.c iwlagn: map command buffers BIDI 2011-06-27 07:56:41 -07:00
Kconfig iwlwifi: support the svtool messages interactions through nl80211 test mode 2011-05-06 10:44:46 -07:00
Makefile iwlwifi: support the svtool messages interactions through nl80211 test mode 2011-05-06 10:44:46 -07:00