diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_iocb.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_iocb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_iocb.c b/drivers/scsi/qla4xxx/ql4_iocb.c index d41ce380eedc..a216a1781afb 100644 --- a/drivers/scsi/qla4xxx/ql4_iocb.c +++ b/drivers/scsi/qla4xxx/ql4_iocb.c | |||
@@ -19,8 +19,8 @@ | |||
19 | * - advances the request_in pointer | 19 | * - advances the request_in pointer |
20 | * - checks for queue full | 20 | * - checks for queue full |
21 | **/ | 21 | **/ |
22 | int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, | 22 | static int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, |
23 | struct queue_entry **queue_entry) | 23 | struct queue_entry **queue_entry) |
24 | { | 24 | { |
25 | uint16_t request_in; | 25 | uint16_t request_in; |
26 | uint8_t status = QLA_SUCCESS; | 26 | uint8_t status = QLA_SUCCESS; |
@@ -62,8 +62,8 @@ int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, | |||
62 | * | 62 | * |
63 | * This routine issues a marker IOCB. | 63 | * This routine issues a marker IOCB. |
64 | **/ | 64 | **/ |
65 | int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, | 65 | static int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, |
66 | struct ddb_entry *ddb_entry, int lun) | 66 | struct ddb_entry *ddb_entry, int lun) |
67 | { | 67 | { |
68 | struct marker_entry *marker_entry; | 68 | struct marker_entry *marker_entry; |
69 | unsigned long flags = 0; | 69 | unsigned long flags = 0; |
@@ -96,7 +96,7 @@ exit_send_marker: | |||
96 | return status; | 96 | return status; |
97 | } | 97 | } |
98 | 98 | ||
99 | struct continuation_t1_entry* qla4xxx_alloc_cont_entry( | 99 | static struct continuation_t1_entry* qla4xxx_alloc_cont_entry( |
100 | struct scsi_qla_host *ha) | 100 | struct scsi_qla_host *ha) |
101 | { | 101 | { |
102 | struct continuation_t1_entry *cont_entry; | 102 | struct continuation_t1_entry *cont_entry; |
@@ -120,7 +120,7 @@ struct continuation_t1_entry* qla4xxx_alloc_cont_entry( | |||
120 | return cont_entry; | 120 | return cont_entry; |
121 | } | 121 | } |
122 | 122 | ||
123 | uint16_t qla4xxx_calc_request_entries(uint16_t dsds) | 123 | static uint16_t qla4xxx_calc_request_entries(uint16_t dsds) |
124 | { | 124 | { |
125 | uint16_t iocbs; | 125 | uint16_t iocbs; |
126 | 126 | ||
@@ -133,9 +133,9 @@ uint16_t qla4xxx_calc_request_entries(uint16_t dsds) | |||
133 | return iocbs; | 133 | return iocbs; |
134 | } | 134 | } |
135 | 135 | ||
136 | void qla4xxx_build_scsi_iocbs(struct srb *srb, | 136 | static void qla4xxx_build_scsi_iocbs(struct srb *srb, |
137 | struct command_t3_entry *cmd_entry, | 137 | struct command_t3_entry *cmd_entry, |
138 | uint16_t tot_dsds) | 138 | uint16_t tot_dsds) |
139 | { | 139 | { |
140 | struct scsi_qla_host *ha; | 140 | struct scsi_qla_host *ha; |
141 | uint16_t avail_dsds; | 141 | uint16_t avail_dsds; |