aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRuslan Pisarev <ruslan@rpisarev.org.ua>2010-03-15 17:29:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 14:35:51 -0400
commit0a13dfdffcef1e72cd4edf9bb9b03d8a3f5fea70 (patch)
tree48dcf32560c03e92df58491df7dd7bbc20bd4e20 /drivers
parentb93634c4e38e3fbe476b53b1e68ec391ad0ecc86 (diff)
Staging: wlags49_h2: fix comments coding style issue in ap_h2.c
This is a patch to the ap_h2.c file that fixed up a TAB and spaces Errors found by the checkpatch.pl tools, like do not use C99 // comments Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wlags49_h2/ap_h2.c70
1 files changed, 35 insertions, 35 deletions
diff --git a/drivers/staging/wlags49_h2/ap_h2.c b/drivers/staging/wlags49_h2/ap_h2.c
index f5123d2cb4c..e3114981389 100644
--- a/drivers/staging/wlags49_h2/ap_h2.c
+++ b/drivers/staging/wlags49_h2/ap_h2.c
@@ -25,10 +25,10 @@
25 */ 25 */
26 26
27 27
28#include "hcfcfg.h" // to get hcf_16 etc defined as well as 28#include "hcfcfg.h" /* to get hcf_16 etc defined as well as */
29 // possible settings which inluence mdd.h or dhf.h 29 /* possible settings which inluence mdd.h or dhf.h */
30#include "mdd.h" //to get COMP_ID_STA etc defined 30#include "mdd.h" /* to get COMP_ID_STA etc defined */
31#include "dhf.h" //used to be "fhfmem.h", to get memblock,plugrecord, 31#include "dhf.h" /* used to be "fhfmem.h", to get memblock,plugrecord, */
32 32
33static const hcf_8 fw_image_1_data[] = { 33static const hcf_8 fw_image_1_data[] = {
34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -3241,56 +3241,56 @@ static const CFG_IDENTITY_STRCT fw_image_infoidentity[] = {
3241 sizeof( CFG_IDENTITY_STRCT ) / sizeof(hcf_16) - 1, 3241 sizeof( CFG_IDENTITY_STRCT ) / sizeof(hcf_16) - 1,
3242 CFG_FW_IDENTITY, 3242 CFG_FW_IDENTITY,
3243 COMP_ID_FW_AP, 3243 COMP_ID_FW_AP,
3244 2, //Variant 3244 2, /* Variant /
3245 2, //Major 3245 2, /* Major */
3246 36 //Minor 3246 36 /* Minor */
3247 }, 3247 },
3248 { 0000, 0000, 0000, 0000, 0000, 0000 } //endsentinel 3248 { 0000, 0000, 0000, 0000, 0000, 0000 } /* endsentinel */
3249}; 3249};
3250 3250
3251static const CFG_PROG_STRCT fw_image_code[] = { 3251static const CFG_PROG_STRCT fw_image_code[] = {
3252 { 3252 {
3253 8, 3253 8,
3254 CFG_PROG, 3254 CFG_PROG,
3255 CFG_PROG_VOLATILE, // mode 3255 CFG_PROG_VOLATILE, /* mode */
3256 0x0146, // sizeof(fw_image_1_data), 3256 0x0146, /* sizeof(fw_image_1_data), */
3257 0x00000060, // Target address in NIC Memory 3257 0x00000060, /* Target address in NIC Memory */
3258 0x0000, // CRC: yes/no TYPE: primary/station/tertiary 3258 0x0000, /* CRC: yes/no TYPE: primary/station/tertiary */
3259 (hcf_8 FAR *) fw_image_1_data 3259 (hcf_8 FAR *) fw_image_1_data
3260 }, 3260 },
3261 { 3261 {
3262 8, 3262 8,
3263 CFG_PROG, 3263 CFG_PROG,
3264 CFG_PROG_VOLATILE, // mode 3264 CFG_PROG_VOLATILE, /* mode */
3265 0x1918, // sizeof(fw_image_2_data), 3265 0x1918, /* sizeof(fw_image_2_data), */
3266 0x00000C16, // Target address in NIC Memory 3266 0x00000C16, /* Target address in NIC Memory */
3267 0x0000, // CRC: yes/no TYPE: primary/station/tertiary 3267 0x0000, /* CRC: yes/no TYPE: primary/station/tertiary */
3268 (hcf_8 FAR *) fw_image_2_data 3268 (hcf_8 FAR *) fw_image_2_data
3269 }, 3269 },
3270 { 3270 {
3271 8, 3271 8,
3272 CFG_PROG, 3272 CFG_PROG,
3273 CFG_PROG_VOLATILE, // mode 3273 CFG_PROG_VOLATILE, /* mode */
3274 0x01bc, // sizeof(fw_image_3_data), 3274 0x01bc, /* sizeof(fw_image_3_data), */
3275 0x001E252E, // Target address in NIC Memory 3275 0x001E252E, /* Target address in NIC Memory */
3276 0x0000, // CRC: yes/no TYPE: primary/station/tertiary 3276 0x0000, /* CRC: yes/no TYPE: primary/station/tertiary */
3277 (hcf_8 FAR *) fw_image_3_data 3277 (hcf_8 FAR *) fw_image_3_data
3278 }, 3278 },
3279 { 3279 {
3280 8, 3280 8,
3281 CFG_PROG, 3281 CFG_PROG,
3282 CFG_PROG_VOLATILE, // mode 3282 CFG_PROG_VOLATILE, /* mode */
3283 0xab28, // sizeof(fw_image_4_data), 3283 0xab28, /* sizeof(fw_image_4_data), */
3284 0x001F4000, // Target address in NIC Memory 3284 0x001F4000, /* Target address in NIC Memory */
3285 0x0000, // CRC: yes/no TYPE: primary/station/tertiary 3285 0x0000, /* CRC: yes/no TYPE: primary/station/tertiary */
3286 (hcf_8 FAR *) fw_image_4_data 3286 (hcf_8 FAR *) fw_image_4_data
3287 }, 3287 },
3288 { 3288 {
3289 5, 3289 5,
3290 CFG_PROG, 3290 CFG_PROG,
3291 CFG_PROG_STOP, // mode 3291 CFG_PROG_STOP, /* mode*/
3292 0000, 3292 0000,
3293 0x000F1297, // Start execution address 3293 0x000F1297, /* Start execution address */
3294 }, 3294 },
3295 { 0000, 0000, 0000, 0000, 00000000, 0000, 00000000} 3295 { 0000, 0000, 0000, 0000, 00000000, 0000, 00000000}
3296}; 3296};
@@ -3301,7 +3301,7 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
3301 COMP_ROLE_SUPL, 3301 COMP_ROLE_SUPL,
3302 COMP_ID_APF, 3302 COMP_ID_APF,
3303 { 3303 {
3304 { 2, 2, 4 } //variant, bottom, top 3304 { 2, 2, 4 } /* variant, bottom, top */
3305 } 3305 }
3306 }, 3306 },
3307 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)), 3307 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
@@ -3309,9 +3309,9 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
3309 COMP_ROLE_ACT, 3309 COMP_ROLE_ACT,
3310 COMP_ID_MFI, 3310 COMP_ID_MFI,
3311 { 3311 {
3312 { 4, 6, 7 }, //variant, bottom, top 3312 { 4, 6, 7 }, /* variant, bottom, top */
3313 { 5, 6, 7 }, //variant, bottom, top 3313 { 5, 6, 7 }, /* variant, bottom, top */
3314 { 6, 6, 7 } //variant, bottom, top 3314 { 6, 6, 7 } /* variant, bottom, top */
3315 } 3315 }
3316 }, 3316 },
3317 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)), 3317 { 3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
@@ -3319,18 +3319,18 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
3319 COMP_ROLE_ACT, 3319 COMP_ROLE_ACT,
3320 COMP_ID_CFI, 3320 COMP_ID_CFI,
3321 { 3321 {
3322 { 2, 1, 2 } //variant, bottom, top 3322 { 2, 1, 2 } /* variant, bottom, top */
3323 } 3323 }
3324 }, 3324 },
3325 { 0000, 0000, 0000, 0000, { { 0000, 0000, 0000 } } } //endsentinel 3325 { 0000, 0000, 0000, 0000, { { 0000, 0000, 0000 } } } /* endsentinel */
3326}; 3326};
3327 3327
3328memimage fw_image = { 3328memimage fw_image = {
3329 "FUPU7D37dhfwci\001C", //signature, <format number>, C/Bin type 3329 "FUPU7D37dhfwci\001C", /* signature, <format number>, C/Bin type */
3330 (CFG_PROG_STRCT *) fw_image_code, 3330 (CFG_PROG_STRCT *) fw_image_code,
3331 0x000F1297, 3331 0x000F1297,
3332 00000000, //(dummy) pdaplug 3332 00000000, /* (dummy) pdaplug */
3333 00000000, //(dummy) priplug 3333 00000000, /* (dummy) priplug */
3334 (CFG_RANGE20_STRCT *) fw_image_infocompat, 3334 (CFG_RANGE20_STRCT *) fw_image_infocompat,
3335 (CFG_IDENTITY_STRCT *) fw_image_infoidentity, 3335 (CFG_IDENTITY_STRCT *) fw_image_infoidentity,
3336}; 3336};