diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:32:07 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 11:03:15 -0400 |
commit | fa2a1ce53d4b869b74da9a770770c79f9af64914 (patch) | |
tree | da350e79117d3177f51c2788c51aeba425afd4ca /drivers/scsi/qla2xxx/qla_sup.c | |
parent | ba5140b48e35aa4e4b57eb6db5cface63d7bd712 (diff) |
[SCSI] qla2xxx: Code scrubbing.
Code scrubbing.
- Remove trailing whitespace from driver files.
- Remove unused #defines and inlines.
- Standardize on C comments (// -> /* */)
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_sup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index c95ef2bb089a..9cfac8c184de 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -31,7 +31,7 @@ static void qla2x00_nv_write(scsi_qla_host_t *, uint16_t); | |||
31 | */ | 31 | */ |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * qla2x00_lock_nvram_access() - | 34 | * qla2x00_lock_nvram_access() - |
35 | * @ha: HA context | 35 | * @ha: HA context |
36 | */ | 36 | */ |
37 | void | 37 | void |
@@ -64,7 +64,7 @@ qla2x00_lock_nvram_access(scsi_qla_host_t *ha) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | /** | 66 | /** |
67 | * qla2x00_unlock_nvram_access() - | 67 | * qla2x00_unlock_nvram_access() - |
68 | * @ha: HA context | 68 | * @ha: HA context |
69 | */ | 69 | */ |
70 | void | 70 | void |
@@ -542,18 +542,18 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr, | |||
542 | 542 | ||
543 | conf_addr = flash_conf_to_access_addr(0x03d8); | 543 | conf_addr = flash_conf_to_access_addr(0x03d8); |
544 | switch (man_id) { | 544 | switch (man_id) { |
545 | case 0xbf: // STT flash | 545 | case 0xbf: /* STT flash. */ |
546 | rest_addr = 0x1fff; | 546 | rest_addr = 0x1fff; |
547 | sec_mask = 0x3e000; | 547 | sec_mask = 0x3e000; |
548 | if (flash_id == 0x80) | 548 | if (flash_id == 0x80) |
549 | conf_addr = flash_conf_to_access_addr(0x0352); | 549 | conf_addr = flash_conf_to_access_addr(0x0352); |
550 | break; | 550 | break; |
551 | case 0x13: // ST M25P80 | 551 | case 0x13: /* ST M25P80. */ |
552 | rest_addr = 0x3fff; | 552 | rest_addr = 0x3fff; |
553 | sec_mask = 0x3c000; | 553 | sec_mask = 0x3c000; |
554 | break; | 554 | break; |
555 | default: | 555 | default: |
556 | // Default to 64 kb sector size | 556 | /* Default to 64 kb sector size. */ |
557 | rest_addr = 0x3fff; | 557 | rest_addr = 0x3fff; |
558 | sec_mask = 0x3c000; | 558 | sec_mask = 0x3c000; |
559 | break; | 559 | break; |