diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-05-21 15:53:59 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 08:22:16 -0500 |
commit | 756135215ec743be6fdce2bdebe8cdb9f8a231f6 (patch) | |
tree | 7eb0a5a23731fcd974f9e5e5d136fe6944d4761c /include/scsi/iscsi_if.h | |
parent | 32c6e1b9a2e27076b7070a9ec56a9e5437ebd725 (diff) | |
download | linux-756135215ec743be6fdce2bdebe8cdb9f8a231f6.tar.gz linux-756135215ec743be6fdce2bdebe8cdb9f8a231f6.tar.bz2 linux-756135215ec743be6fdce2bdebe8cdb9f8a231f6.zip |
[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.h | 7 |
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 { #define iscsi_ptr(_handle) ((void*)(unsigned long)_handle) #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) -#define hostdata_session(_hostdata) (iscsi_ptr(*(unsigned long *)_hostdata)) - -/** - * iscsi_hostdata - get LLD hostdata from scsi_host - * @_hostdata: pointer to scsi host's hostdata - **/ -#define iscsi_hostdata(_hostdata) ((void*)_hostdata + sizeof(unsigned long)) /* * These flags presents iSCSI Data-Path capabilities. |