summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_transport_iscsi.h
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-02-13 18:30:46 +0530
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 09:33:32 -0600
commita11e25459558421ec5c4adc3fc46fe320ab74bd3 (patch)
treef1112f31c65b28337b9b25082a1c5a8246ceb1ad /include/scsi/scsi_transport_iscsi.h
parent46801ba698b3366cf8d293d9f3d4253b6fd5210b (diff)
downloadop-kernel-dev-a11e25459558421ec5c4adc3fc46fe320ab74bd3.zip
op-kernel-dev-a11e25459558421ec5c4adc3fc46fe320ab74bd3.tar.gz
[SCSI] scsi_transport_iscsi: added support for host event
Added support to post kernel host event to application using netlink interface. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r--include/scsi/scsi_transport_iscsi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index fa7ca4e..7f04731 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -166,6 +166,12 @@ extern int iscsi_offload_mesg(struct Scsi_Host *shost,
struct iscsi_transport *transport, uint32_t type,
char *data, uint16_t data_size);
+extern void iscsi_post_host_event(uint32_t host_no,
+ struct iscsi_transport *transport,
+ enum iscsi_host_event_code code,
+ uint32_t data_size,
+ uint8_t *data);
+
struct iscsi_cls_conn {
struct list_head conn_list; /* item in connlist */
void *dd_data; /* LLD private data */
OpenPOWER on IntegriCloud