On Thu, Jan 12, 2006 at 11:08:39PM -0600, Mike Christie wrote: > >From Mike Christie <michaelc@xxxxxxxxxxx>" > > HW iscsi LLDs like qla4xxx cannot use the iscsi class becuase > the scsi_host is tied to the interface and class code. This patch > just seperates the session and connection creation code from > the sysfs and netlink interface code so that HW iscsi can use > the class. > > This is also fixes a couple refcount bugs that can be triggered > when users have a sysfs file open, close the session, then > read or write to the file. > > > Signed-off-by: Alex Aizman <itn780@xxxxxxxxx> > Signed-off-by: Dmitry Yusupov <dmitry_yus@xxxxxxxxx> > Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx> > > > diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile > index b9d2bb8..1261a4f 100644 > --- a/drivers/scsi/Makefile > +++ b/drivers/scsi/Makefile > @@ -164,6 +164,7 @@ CFLAGS_ncr53c8xx.o := $(ncr53c8xx-flags- > zalon7xx-objs := zalon.o ncr53c8xx.o > NCR_Q720_mod-objs := NCR_Q720.o ncr53c8xx.o > libata-objs := libata-core.o libata-scsi.o > +scsi_transport_iscsi-objs := libiscsi.o iscsi_if.o Please keep the interface file as scsi_transport_iscsi.c. libiscsi should become a separate module and/or be linked with with iscsi_tcp.ko - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html