diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 08:45:59 -0500 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 08:45:59 -0500 |
commit | e7392364fcd1004a5e495f15cf21b1e0ef874215 (patch) | |
tree | 5275a1aed29aedc11e09c6bcfff331b90f95686e /drivers/net/wireless/iwlegacy/prph.h | |
parent | f02579e3a81954c8f0944c7d2a95159ee48f052d (diff) |
iwlegacy: indentions and whitespaces
Process iwlegacy source files using:
indent -npro -l500 -nhnl
indent -npro -kr -i8 -ts8 -sob -l80 -nbbo -ss -ncs -cp1 -il0 -psl
Plus manual compilation fixes.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/prph.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/prph.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlegacy/prph.h b/drivers/net/wireless/iwlegacy/prph.h index 029ea8a83dff..ffec4b4a248a 100644 --- a/drivers/net/wireless/iwlegacy/prph.h +++ b/drivers/net/wireless/iwlegacy/prph.h | |||
@@ -91,9 +91,9 @@ | |||
91 | #define APMG_PS_CTRL_VAL_RESET_REQ (0x04000000) | 91 | #define APMG_PS_CTRL_VAL_RESET_REQ (0x04000000) |
92 | #define APMG_PS_CTRL_MSK_PWR_SRC (0x03000000) | 92 | #define APMG_PS_CTRL_MSK_PWR_SRC (0x03000000) |
93 | #define APMG_PS_CTRL_VAL_PWR_SRC_VMAIN (0x00000000) | 93 | #define APMG_PS_CTRL_VAL_PWR_SRC_VMAIN (0x00000000) |
94 | #define APMG_PS_CTRL_VAL_PWR_SRC_MAX (0x01000000) /* 3945 only */ | 94 | #define APMG_PS_CTRL_VAL_PWR_SRC_MAX (0x01000000) /* 3945 only */ |
95 | #define APMG_PS_CTRL_VAL_PWR_SRC_VAUX (0x02000000) | 95 | #define APMG_PS_CTRL_VAL_PWR_SRC_VAUX (0x02000000) |
96 | #define APMG_SVR_VOLTAGE_CONFIG_BIT_MSK (0x000001E0) /* bit 8:5 */ | 96 | #define APMG_SVR_VOLTAGE_CONFIG_BIT_MSK (0x000001E0) /* bit 8:5 */ |
97 | #define APMG_SVR_DIGITAL_VOLTAGE_1_32 (0x00000060) | 97 | #define APMG_SVR_DIGITAL_VOLTAGE_1_32 (0x00000060) |
98 | 98 | ||
99 | #define APMG_PCIDEV_STT_VAL_L1_ACT_DIS (0x00000800) | 99 | #define APMG_PCIDEV_STT_VAL_L1_ACT_DIS (0x00000800) |
@@ -202,19 +202,19 @@ | |||
202 | */ | 202 | */ |
203 | 203 | ||
204 | /* BSM bit fields */ | 204 | /* BSM bit fields */ |
205 | #define BSM_WR_CTRL_REG_BIT_START (0x80000000) /* start boot load now */ | 205 | #define BSM_WR_CTRL_REG_BIT_START (0x80000000) /* start boot load now */ |
206 | #define BSM_WR_CTRL_REG_BIT_START_EN (0x40000000) /* enable boot after pwrup*/ | 206 | #define BSM_WR_CTRL_REG_BIT_START_EN (0x40000000) /* enable boot after pwrup */ |
207 | #define BSM_DRAM_INST_LOAD (0x80000000) /* start program load now */ | 207 | #define BSM_DRAM_INST_LOAD (0x80000000) /* start program load now */ |
208 | 208 | ||
209 | /* BSM addresses */ | 209 | /* BSM addresses */ |
210 | #define BSM_BASE (PRPH_BASE + 0x3400) | 210 | #define BSM_BASE (PRPH_BASE + 0x3400) |
211 | #define BSM_END (PRPH_BASE + 0x3800) | 211 | #define BSM_END (PRPH_BASE + 0x3800) |
212 | 212 | ||
213 | #define BSM_WR_CTRL_REG (BSM_BASE + 0x000) /* ctl and status */ | 213 | #define BSM_WR_CTRL_REG (BSM_BASE + 0x000) /* ctl and status */ |
214 | #define BSM_WR_MEM_SRC_REG (BSM_BASE + 0x004) /* source in BSM mem */ | 214 | #define BSM_WR_MEM_SRC_REG (BSM_BASE + 0x004) /* source in BSM mem */ |
215 | #define BSM_WR_MEM_DST_REG (BSM_BASE + 0x008) /* dest in SRAM mem */ | 215 | #define BSM_WR_MEM_DST_REG (BSM_BASE + 0x008) /* dest in SRAM mem */ |
216 | #define BSM_WR_DWCOUNT_REG (BSM_BASE + 0x00C) /* bytes */ | 216 | #define BSM_WR_DWCOUNT_REG (BSM_BASE + 0x00C) /* bytes */ |
217 | #define BSM_WR_STATUS_REG (BSM_BASE + 0x010) /* bit 0: 1 == done */ | 217 | #define BSM_WR_STATUS_REG (BSM_BASE + 0x010) /* bit 0: 1 == done */ |
218 | 218 | ||
219 | /* | 219 | /* |
220 | * Pointers and size regs for bootstrap load and data SRAM save/restore. | 220 | * Pointers and size regs for bootstrap load and data SRAM save/restore. |
@@ -231,8 +231,7 @@ | |||
231 | * Read/write, address range from LOWER_BOUND to (LOWER_BOUND + SIZE -1) | 231 | * Read/write, address range from LOWER_BOUND to (LOWER_BOUND + SIZE -1) |
232 | */ | 232 | */ |
233 | #define BSM_SRAM_LOWER_BOUND (PRPH_BASE + 0x3800) | 233 | #define BSM_SRAM_LOWER_BOUND (PRPH_BASE + 0x3800) |
234 | #define BSM_SRAM_SIZE (1024) /* bytes */ | 234 | #define BSM_SRAM_SIZE (1024) /* bytes */ |
235 | |||
236 | 235 | ||
237 | /* 3945 Tx scheduler registers */ | 236 | /* 3945 Tx scheduler registers */ |
238 | #define ALM_SCD_BASE (PRPH_BASE + 0x2E00) | 237 | #define ALM_SCD_BASE (PRPH_BASE + 0x2E00) |
@@ -520,4 +519,4 @@ | |||
520 | 519 | ||
521 | /*********************** END TX SCHEDULER *************************************/ | 520 | /*********************** END TX SCHEDULER *************************************/ |
522 | 521 | ||
523 | #endif /* __il_prph_h__ */ | 522 | #endif /* __il_prph_h__ */ |