android_kernel_xiaomi_sm8350/drivers
Mike Christie 8434aa8b6f [SCSI] iscsi: break up session creation into two stages
qla4xxx is initialized in two steps like other HW drivers.
It allocates the host, sets up the HW, then adds the host.
For iscsi part of HW setup is setting up persistent iscsi
sessions. At that time, the interupts are off and the driver
is not completely set up so we just want to allocate them.
We do not want to add them to sysfs and expose them to userspace
because userspace could try to do lots of fun things with them
like scanning and at that time the driver is not ready.

So this patch breakes up the session creation like other
functions that use the driver model in two the alloc
and add parts. When the driver is ready, it can then add
the sessions and userspace can begin using them.

This also fixes a bug in the addition error patch where
we forgot to do a get on the session.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-06-29 11:08:46 -04:00
..
acorn
acpi [PATCH] pgdat allocation for new node add (get node id by acpi) 2006-06-27 17:32:36 -07:00
amba
atm [PATCH] update two drivers for poison.h 2006-06-27 17:32:38 -07:00
base [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
block Revert "[PATCH] kthread: update loop.c to use kthread" 2006-06-26 11:55:42 -07:00
bluetooth
cdrom
char [PATCH] drivers/char/ipmi/ipmi_msghandler.c: make proc_ipmi_root static 2006-06-27 17:32:48 -07:00
clocksource
connector
cpufreq [PATCH] cpu hotplug: make cpu_notifier related notifier blocks __cpuinit only 2006-06-27 17:32:41 -07:00
crypto
dio
dma
edac
eisa
fc4
firmware
hwmon
i2c [PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled 2006-06-27 18:36:39 -07:00
ide [PATCH] ata: add some NVIDIA chipset IDs 2006-06-26 20:59:28 -04:00
ieee1394 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
infiniband [SCSI] iscsi: convert iser to new set/get param fns 2006-06-29 11:07:41 -04:00
input Input: fix resetting name, phys and uniq when unregistering device 2006-06-27 14:05:06 -07:00
isdn [PATCH] i4l fix DLE masking in isdn_tty_try_read 2006-06-27 18:00:36 -07:00
leds [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
macintosh
mca
md [PATCH] drivers/md/md.c: make code static 2006-06-26 09:58:40 -07:00
media V4L/DVB (4263): Fix warning when compiling on 64 bit machines 2006-06-27 00:17:43 -03:00
message Merge ../linux-2.6/ 2006-06-28 14:06:39 -04:00
mfd
misc [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
mmc
mtd Merge git://git.infradead.org/mtd-2.6 2006-06-27 19:13:56 -07:00
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2006-06-27 19:15:50 -07:00
nubus
oprofile
parisc
parport Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
pci Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
pcmcia [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
pnp
rapidio [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
rtc [PATCH] rtc: fix idr locking 2006-06-27 17:32:40 -07:00
s390 [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
sbus
scsi [SCSI] iscsi: break up session creation into two stages 2006-06-29 11:08:46 -04:00
serial
sh
sn [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
spi
tc
telephony
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
video [PATCH] Remove redundant NULL checks before [kv]free - in drivers/ 2006-06-27 17:32:48 -07:00
w1
zorro
Kconfig
Makefile