X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fscsi%2Fscsi_transport.h;h=0dfef752f0e27c7c9009a2dbe378522322d453a4;hb=c2778357234f84668eab5558b54ad28478439d0b;hp=cca1d4926d2aa47333749967577087df93b9ec52;hpb=875999c5539999f61a45620aae0c3e5fb1d2b035;p=powerpc.git diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index cca1d4926d..0dfef752f0 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h @@ -22,6 +22,7 @@ #include #include +#include struct scsi_transport_template { /* the attribute containers */ @@ -64,6 +65,18 @@ struct scsi_transport_template { * EH_NOT_HANDLED Begin normal error recovery */ enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *); + + /* + * Used as callback for the completion of i_t_nexus request + * for target drivers. + */ + int (* it_nexus_response)(struct Scsi_Host *, u64, int); + + /* + * Used as callback for the completion of task management + * request for target drivers. + */ + int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); }; #define transport_class_to_shost(tc) \