]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: add tm commands for indirect register access
authorHsu, Kenny <kenny.hsu@intel.com>
Wed, 16 Nov 2011 03:24:32 +0000 (19:24 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 25 Nov 2011 18:48:54 +0000 (10:48 -0800)
commit72bcacc2bd237423eea8c00c2794e67dc7eebca6
tree3ce5e175f023e80c7b729d86554a4aae9bd725d8
parent27f6cbecbf60e2dd2be49a945e9966ed6b20b2de
iwlwifi: add tm commands for indirect register access

Create new testmode commands to suppot indirect access
of peripheral register.
- IWL_TM_CMD_APP2DEV_INDIRECT_REG_READ32
- IWL_TM_CMD_APP2DEV_INDIRECT_REG_WRITE32

Meanwhile, add affix "DIRECT" into original register access
commands for better discrimination with new commands.
- IWL_TM_CMD_APP2DEV_DIRECT_REG_READ32
- IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE32
- IWL_TM_CMD_APP2DEV_DIRECT_REG_WRITE8

Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-sv-open.c
drivers/net/wireless/iwlwifi/iwl-testmode.h