aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/iscsi_if.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-05-21 16:53:59 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:16 -0400
commit756135215ec743be6fdce2bdebe8cdb9f8a231f6 (patch)
tree7eb0a5a23731fcd974f9e5e5d136fe6944d4761c /include/scsi/iscsi_if.h
parent32c6e1b9a2e27076b7070a9ec56a9e5437ebd725 (diff)
[SCSI] iscsi: remove session and host binding in libiscsi
bnx2i allocates a host per netdevice but will use libiscsi, so this unbinds the session from the host in that code. This will also be useful for the iser parent device dma settings fixes. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/iscsi_if.h')
-rw-r--r--include/scsi/iscsi_if.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index 1883c85cd3ee..801a677777cc 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -310,13 +310,6 @@ enum iscsi_host_param {
310 310
311#define iscsi_ptr(_handle) ((void*)(unsigned long)_handle) 311#define iscsi_ptr(_handle) ((void*)(unsigned long)_handle)
312#define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) 312#define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr)
313#define hostdata_session(_hostdata) (iscsi_ptr(*(unsigned long *)_hostdata))
314
315/**
316 * iscsi_hostdata - get LLD hostdata from scsi_host
317 * @_hostdata: pointer to scsi host's hostdata
318 **/
319#define iscsi_hostdata(_hostdata) ((void*)_hostdata + sizeof(unsigned long))
320 313
321/* 314/*
322 * These flags presents iSCSI Data-Path capabilities. 315 * These flags presents iSCSI Data-Path capabilities.