diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2008-01-14 20:46:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:10:03 -0500 |
commit | 8a1b02452862dd30980ad0ef493eed687bc81474 (patch) | |
tree | e4be8fd1dc67b6af1370c0a8dc9e640d0d72a7ae /drivers/net/wireless/iwlwifi/iwl-3945-hw.h | |
parent | e7a2827cbbdb11717877c44cbbdf0fb1d14e890c (diff) |
iwlwifi: style fixes to usage of << and >> operators
The << and >> operators need space on each side.
Cc: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-hw.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h index 2c955a6070f9..6e0187393af4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h | |||
@@ -369,17 +369,17 @@ struct iwl3945_eeprom { | |||
369 | 369 | ||
370 | /* interrupt flags in INTA, set by uCode or hardware (e.g. dma), | 370 | /* interrupt flags in INTA, set by uCode or hardware (e.g. dma), |
371 | * acknowledged (reset) by host writing "1" to flagged bits. */ | 371 | * acknowledged (reset) by host writing "1" to flagged bits. */ |
372 | #define CSR_INT_BIT_FH_RX (1<<31) /* Rx DMA, cmd responses, FH_INT[17:16] */ | 372 | #define CSR_INT_BIT_FH_RX (1 << 31) /* Rx DMA, cmd responses, FH_INT[17:16] */ |
373 | #define CSR_INT_BIT_HW_ERR (1<<29) /* DMA hardware error FH_INT[31] */ | 373 | #define CSR_INT_BIT_HW_ERR (1 << 29) /* DMA hardware error FH_INT[31] */ |
374 | #define CSR_INT_BIT_DNLD (1<<28) /* uCode Download */ | 374 | #define CSR_INT_BIT_DNLD (1 << 28) /* uCode Download */ |
375 | #define CSR_INT_BIT_FH_TX (1<<27) /* Tx DMA FH_INT[1:0] */ | 375 | #define CSR_INT_BIT_FH_TX (1 << 27) /* Tx DMA FH_INT[1:0] */ |
376 | #define CSR_INT_BIT_MAC_CLK_ACTV (1<<26) /* NIC controller's clock toggled on/off */ | 376 | #define CSR_INT_BIT_MAC_CLK_ACTV (1 << 26) /* NIC controller's clock toggled on/off */ |
377 | #define CSR_INT_BIT_SW_ERR (1<<25) /* uCode error */ | 377 | #define CSR_INT_BIT_SW_ERR (1 << 25) /* uCode error */ |
378 | #define CSR_INT_BIT_RF_KILL (1<<7) /* HW RFKILL switch GP_CNTRL[27] toggled */ | 378 | #define CSR_INT_BIT_RF_KILL (1 << 7) /* HW RFKILL switch GP_CNTRL[27] toggled */ |
379 | #define CSR_INT_BIT_CT_KILL (1<<6) /* Critical temp (chip too hot) rfkill */ | 379 | #define CSR_INT_BIT_CT_KILL (1 << 6) /* Critical temp (chip too hot) rfkill */ |
380 | #define CSR_INT_BIT_SW_RX (1<<3) /* Rx, command responses, 3945 */ | 380 | #define CSR_INT_BIT_SW_RX (1 << 3) /* Rx, command responses, 3945 */ |
381 | #define CSR_INT_BIT_WAKEUP (1<<1) /* NIC controller waking up (pwr mgmt) */ | 381 | #define CSR_INT_BIT_WAKEUP (1 << 1) /* NIC controller waking up (pwr mgmt) */ |
382 | #define CSR_INT_BIT_ALIVE (1<<0) /* uCode interrupts once it initializes */ | 382 | #define CSR_INT_BIT_ALIVE (1 << 0) /* uCode interrupts once it initializes */ |
383 | 383 | ||
384 | #define CSR_INI_SET_MASK (CSR_INT_BIT_FH_RX | \ | 384 | #define CSR_INI_SET_MASK (CSR_INT_BIT_FH_RX | \ |
385 | CSR_INT_BIT_HW_ERR | \ | 385 | CSR_INT_BIT_HW_ERR | \ |
@@ -391,14 +391,14 @@ struct iwl3945_eeprom { | |||
391 | CSR_INT_BIT_ALIVE) | 391 | CSR_INT_BIT_ALIVE) |
392 | 392 | ||
393 | /* interrupt flags in FH (flow handler) (PCI busmaster DMA) */ | 393 | /* interrupt flags in FH (flow handler) (PCI busmaster DMA) */ |
394 | #define CSR_FH_INT_BIT_ERR (1<<31) /* Error */ | 394 | #define CSR_FH_INT_BIT_ERR (1 << 31) /* Error */ |
395 | #define CSR_FH_INT_BIT_HI_PRIOR (1<<30) /* High priority Rx, bypass coalescing */ | 395 | #define CSR_FH_INT_BIT_HI_PRIOR (1 << 30) /* High priority Rx, bypass coalescing */ |
396 | #define CSR_FH_INT_BIT_RX_CHNL2 (1<<18) /* Rx channel 2 (3945 only) */ | 396 | #define CSR_FH_INT_BIT_RX_CHNL2 (1 << 18) /* Rx channel 2 (3945 only) */ |
397 | #define CSR_FH_INT_BIT_RX_CHNL1 (1<<17) /* Rx channel 1 */ | 397 | #define CSR_FH_INT_BIT_RX_CHNL1 (1 << 17) /* Rx channel 1 */ |
398 | #define CSR_FH_INT_BIT_RX_CHNL0 (1<<16) /* Rx channel 0 */ | 398 | #define CSR_FH_INT_BIT_RX_CHNL0 (1 << 16) /* Rx channel 0 */ |
399 | #define CSR_FH_INT_BIT_TX_CHNL6 (1<<6) /* Tx channel 6 (3945 only) */ | 399 | #define CSR_FH_INT_BIT_TX_CHNL6 (1 << 6) /* Tx channel 6 (3945 only) */ |
400 | #define CSR_FH_INT_BIT_TX_CHNL1 (1<<1) /* Tx channel 1 */ | 400 | #define CSR_FH_INT_BIT_TX_CHNL1 (1 << 1) /* Tx channel 1 */ |
401 | #define CSR_FH_INT_BIT_TX_CHNL0 (1<<0) /* Tx channel 0 */ | 401 | #define CSR_FH_INT_BIT_TX_CHNL0 (1 << 0) /* Tx channel 0 */ |
402 | 402 | ||
403 | #define CSR_FH_INT_RX_MASK (CSR_FH_INT_BIT_HI_PRIOR | \ | 403 | #define CSR_FH_INT_RX_MASK (CSR_FH_INT_BIT_HI_PRIOR | \ |
404 | CSR_FH_INT_BIT_RX_CHNL2 | \ | 404 | CSR_FH_INT_BIT_RX_CHNL2 | \ |
@@ -629,10 +629,10 @@ struct iwl3945_eeprom { | |||
629 | 629 | ||
630 | #define U32_PAD(n) ((4-(n))&0x3) | 630 | #define U32_PAD(n) ((4-(n))&0x3) |
631 | 631 | ||
632 | #define TFD_CTL_COUNT_SET(n) (n<<24) | 632 | #define TFD_CTL_COUNT_SET(n) (n << 24) |
633 | #define TFD_CTL_COUNT_GET(ctl) ((ctl>>24) & 7) | 633 | #define TFD_CTL_COUNT_GET(ctl) ((ctl >> 24) & 7) |
634 | #define TFD_CTL_PAD_SET(n) (n<<28) | 634 | #define TFD_CTL_PAD_SET(n) (n << 28) |
635 | #define TFD_CTL_PAD_GET(ctl) (ctl>>28) | 635 | #define TFD_CTL_PAD_GET(ctl) (ctl >> 28) |
636 | 636 | ||
637 | #define TFD_TX_CMD_SLOTS 256 | 637 | #define TFD_TX_CMD_SLOTS 256 |
638 | #define TFD_CMD_SLOTS 32 | 638 | #define TFD_CMD_SLOTS 32 |