diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-11-14 05:32:50 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-19 09:00:27 -0500 |
commit | b55e57f53f8740a2d1432e4963372d303b798530 (patch) | |
tree | 5183bd43828c92a38fcc64e83ac1dc853d39007d /drivers | |
parent | 9f904b382ff61b8ec1f81f8afe76f12a5ac8b4cf (diff) |
iwlwifi: add comments for the PCIe transport statuses
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/internal.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/internal.h b/drivers/net/wireless/iwlwifi/pcie/internal.h index 1f065c630d43..ebf3aa0fedf2 100644 --- a/drivers/net/wireless/iwlwifi/pcie/internal.h +++ b/drivers/net/wireless/iwlwifi/pcie/internal.h | |||
@@ -287,10 +287,16 @@ struct iwl_trans_pcie { | |||
287 | unsigned long wd_timeout; | 287 | unsigned long wd_timeout; |
288 | }; | 288 | }; |
289 | 289 | ||
290 | /***************************************************** | 290 | /** |
291 | * DRIVER STATUS FUNCTIONS | 291 | * enum iwl_pcie_status: status of the PCIe transport |
292 | ******************************************************/ | 292 | * @STATUS_HCMD_ACTIVE: a SYNC command is being processed |
293 | enum { | 293 | * @STATUS_DEVICE_ENABLED: APM is enabled |
294 | * @STATUS_TPOWER_PMI: the device might be asleep (need to wake it up) | ||
295 | * @STATUS_INT_ENABLED: interrupts are enabled | ||
296 | * @STATUS_RFKILL: the HW RFkill switch is in KILL position | ||
297 | * @STATUS_FW_ERROR: the fw is in error state | ||
298 | */ | ||
299 | enum iwl_pcie_status { | ||
294 | STATUS_HCMD_ACTIVE, | 300 | STATUS_HCMD_ACTIVE, |
295 | STATUS_DEVICE_ENABLED, | 301 | STATUS_DEVICE_ENABLED, |
296 | STATUS_TPOWER_PMI, | 302 | STATUS_TPOWER_PMI, |