diff options
Diffstat (limited to 'drivers/fc4/fcp_impl.h')
| -rw-r--r-- | drivers/fc4/fcp_impl.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/fc4/fcp_impl.h b/drivers/fc4/fcp_impl.h index c397c84bef63..1ac61330592e 100644 --- a/drivers/fc4/fcp_impl.h +++ b/drivers/fc4/fcp_impl.h | |||
| @@ -39,7 +39,7 @@ struct _fc_channel; | |||
| 39 | typedef struct fcp_cmnd { | 39 | typedef struct fcp_cmnd { |
| 40 | struct fcp_cmnd *next; | 40 | struct fcp_cmnd *next; |
| 41 | struct fcp_cmnd *prev; | 41 | struct fcp_cmnd *prev; |
| 42 | void (*done)(Scsi_Cmnd *); | 42 | void (*done)(struct scsi_cmnd *); |
| 43 | unsigned short proto; | 43 | unsigned short proto; |
| 44 | unsigned short token; | 44 | unsigned short token; |
| 45 | unsigned int did; | 45 | unsigned int did; |
| @@ -94,14 +94,14 @@ typedef struct _fc_channel { | |||
| 94 | long *scsi_bitmap; | 94 | long *scsi_bitmap; |
| 95 | long scsi_bitmap_end; | 95 | long scsi_bitmap_end; |
| 96 | int scsi_free; | 96 | int scsi_free; |
| 97 | int (*encode_addr)(Scsi_Cmnd *, u16 *, struct _fc_channel *, fcp_cmnd *); | 97 | int (*encode_addr)(struct scsi_cmnd *, u16 *, struct _fc_channel *, fcp_cmnd *); |
| 98 | fcp_cmnd *scsi_que; | 98 | fcp_cmnd *scsi_que; |
| 99 | char scsi_name[4]; | 99 | char scsi_name[4]; |
| 100 | fcp_cmnd **cmd_slots; | 100 | fcp_cmnd **cmd_slots; |
| 101 | int channels; | 101 | int channels; |
| 102 | int targets; | 102 | int targets; |
| 103 | long *ages; | 103 | long *ages; |
| 104 | Scsi_Cmnd *rst_pkt; | 104 | struct scsi_cmnd *rst_pkt; |
| 105 | fcp_posmap *posmap; | 105 | fcp_posmap *posmap; |
| 106 | /* LOGIN stuff */ | 106 | /* LOGIN stuff */ |
| 107 | fcp_cmnd *login; | 107 | fcp_cmnd *login; |
| @@ -155,9 +155,10 @@ int fc_do_prli(fc_channel *, unsigned char); | |||
| 155 | for_each_fc_channel(fc) \ | 155 | for_each_fc_channel(fc) \ |
| 156 | if (fc->state == FC_STATE_ONLINE) | 156 | if (fc->state == FC_STATE_ONLINE) |
| 157 | 157 | ||
| 158 | int fcp_scsi_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *)); | 158 | int fcp_scsi_queuecommand(struct scsi_cmnd *, |
| 159 | int fcp_scsi_abort(Scsi_Cmnd *); | 159 | void (* done) (struct scsi_cmnd *)); |
| 160 | int fcp_scsi_dev_reset(Scsi_Cmnd *); | 160 | int fcp_scsi_abort(struct scsi_cmnd *); |
| 161 | int fcp_scsi_host_reset(Scsi_Cmnd *); | 161 | int fcp_scsi_dev_reset(struct scsi_cmnd *); |
| 162 | int fcp_scsi_host_reset(struct scsi_cmnd *); | ||
| 162 | 163 | ||
| 163 | #endif /* !(_FCP_SCSI_H) */ | 164 | #endif /* !(_FCP_SCSI_H) */ |
