kernel-ark/drivers/scsi
Mike Christie 7b8631b53b [SCSI] iscsi: seperate iscsi interface from setup functions
This is the second version of the patch to address Christoph's comments.
Instead of doing the lib, I just kept everything in scsi_trnapsort_iscsi.c
like the FC and SPI class. This was becuase the driver model and sysfs
class is tied to the session and connection setup so separating did not
buy very much at this time.

The reason for this patch was becuase HW iscsi LLDs like qla4xxx cannot
use the iscsi class becuase the scsi_host was tied to the interface and
class code. This patch just seperates the session from scsi host so
that LLDs that allocate the host per some resource like pci device
can still 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@yahoo.com>
Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-14 10:55:20 -06:00
..
aacraid [SCSI] aacraid: README update 2006-01-12 11:55:16 -06:00
aic7xxx [SCSI] aic79xx: bump version to 3.0 2006-01-12 12:07:13 -06:00
aic7xxx_old
arm [ARM] Remove asm/irq.h includes from ARM drivers 2006-01-09 13:56:42 +00:00
dpt
ibmvscsi [SCSI] ibmvscsi kexec fix 2005-12-07 09:30:01 -05:00
lpfc [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static 2006-01-12 11:36:37 -06:00
megaraid [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
qla2xxx [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
sym53c8xx_2 [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
3w-9xxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-9xxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
53c7xx.scr
53c700_d.h_shipped
53c700.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c700.h [SCSI] 53c700: update endian processing macros 2005-12-16 09:51:01 -08:00
53c700.scr
a100u2w.c
a100u2w.h
a2091.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
a2091.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha152x.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
aha152x.h
aha1542.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1542.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.h
ahci.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
aic7xxx_old.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
amiga7xx.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
amiga7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ata_piix.c Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-01-06 09:01:25 -08:00
atari_dma_emul.c
atari_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
atari_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atari_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atp870u.c
atp870u.h
blz1230.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
blz2060.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
BusLogic.c [SCSI] Pass proper device from BusLogic to SCSI layer 2006-01-12 15:26:13 -06:00
BusLogic.h
bvme6000.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
bvme6000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ch.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
constants.c [SCSI] Move scsi_print_msg to SPI class 2005-12-15 18:41:13 -08:00
cyberstorm.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
cyberstormII.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dc395x.c
dc395x.h
dec_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dmx3191d.c
dpt_i2o.c [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() 2006-01-14 10:54:54 -06:00
dpti.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c
esp.h
fastlane.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
fcal.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fcal.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fd_mcs.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
g_NCR5380.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gdth_proc.h
gdth.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gdth.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gvp11.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
gvp11.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
hosts.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
hosts.h
ibmmca.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
ibmmca.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ide-scsi.c [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() 2006-01-06 09:49:03 +01:00
imm.c
imm.h
in2000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
in2000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
initio.c
initio.h
ipr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 2006-01-04 18:44:12 -08:00
ipr.h [SCSI] ipr: Driver initialization fix for kexec/kdump 2005-12-13 18:10:58 -07:00
ips.c [SCSI] ips: Mode Sense (Caching Page ) fix 2006-01-14 10:54:53 -06:00
ips.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
iscsi_tcp.c [SCSI] iscsi: seperate iscsi interface from setup functions 2006-01-14 10:55:20 -06:00
iscsi_tcp.h [SCSI] iscsi: add high mem support 2006-01-14 10:55:18 -06:00
jazz_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
Kconfig [PATCH] parport: Kconfig dependency fixes 2006-01-06 08:33:57 -08:00
lasi700.c
libata-core.c Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-01-06 09:01:25 -08:00
libata-scsi.c Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-01-06 09:01:25 -08:00
libata.h [BLOCK] add FUA support to libata 2006-01-06 09:56:18 +01:00
mac53c94.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mac53c94.h
mac_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.h
Makefile [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
mca_53c9x.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
megaraid.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
megaraid.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
mesh.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mesh.h
mvme16x.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme16x.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mvme147.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme147.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ncr53c8xx.c [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
ncr53c8xx.h [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
NCR53c406a.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
NCR53C9x.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
NCR53C9x.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
nsp32.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
oktagon_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pas16.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pci2000.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
pdc_adma.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
pluto.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
pluto.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
ppa.c
ppa.h
psi240i.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicfc_asm.c
qlogicfc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c [SCSI] raid_class.c - adding RAID10 and RAID10 defines 2006-01-12 11:35:15 -06:00
sata_mv.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_nv.c [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive 2006-01-09 10:42:06 -05:00
sata_promise.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_promise.h
sata_qstor.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
sata_sil24.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sil.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sis.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_svw.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sx4.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_uli.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_via.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_vsc.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
script_asm.pl
scsi_debug.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
scsi_debug.h
scsi_devinfo.c [SCSI] correct some dropped const compiler warnings 2005-12-13 18:12:05 -07:00
scsi_error.c Merge by hand (conflicts in scsi_lib.c) 2005-12-15 17:35:24 -06:00
scsi_ioctl.c
scsi_lib.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
scsi_logging.h
scsi_module.c
scsi_priv.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_proc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_scan.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_fc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_iscsi.c [SCSI] iscsi: seperate iscsi interface from setup functions 2006-01-14 10:55:20 -06:00
scsi_transport_sas.c [SCSI] scsi_transport_sas: mapping the rphy channel equal to the port identifier 2006-01-14 10:55:09 -06:00
scsi_transport_spi.c [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06:00
scsi_typedefs.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
scsi.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
scsi.h
scsicam.c
sd.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
seagate.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
seagate.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sg.c [PATCH] Fix sg_page_malloc() memset 2006-01-09 12:57:05 -08:00
sgiwd93.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
sim710.c
sr_ioctl.c [SCSI] sr: split sr_audio_ioctl into specific helpers 2006-01-14 10:54:46 -06:00
sr_vendor.c [SCSI] Missing const in sr_vendor 2005-12-17 10:50:23 -06:00
sr.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
sr.h
st_options.h
st.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
st.h [SCSI] convert st to use scsi_execute_async 2005-12-14 19:16:31 -08:00
sun3_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
sun3_scsi_vme.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3x_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c416.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c416.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
tmscsim.c
tmscsim.h
u14-34f.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
wd33c93.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
wd33c93.h
wd7000.c
zalon.c