linux/drivers/message/fusion
Judith Lebzelter ba76ef2460 [SCSI] mptsas: Fix oops for insmod during kexec
This fix's an oops during driver load time.   mptsas_probe calls
mpt_attach(over in mptbase.c).  Inside that call, we read some
manufacturing config pages to setup some defaults.  While reading the
config pages, the firmware doesn't complete the reply in time, and we
have a timeout. The timeout results in hardreset handler being called.
The hardreset handler calls all the fusion upper layer driver reset
callback handlers.  The mptsas_ioc_reset function is the callback
handler in mptsas.c.   So where I'm getting to, is mptsas_ioc_reset is
getting called before scsi_host_alloc is called, and the pointer ioc->sh
is NULL as well as the hostdata. 

Signed-off-by:  Judith Lebzelter <judith@osdl.org>
Acked-by: "Moore, Eric" <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-03-11 10:44:16 -05:00
..
lsi [SCSI] fusion: mpi header update - version 1.05.14 2007-01-27 09:25:29 -06:00
Kconfig [SCSI] mptctl for mptsas 2007-01-13 13:51:31 -06:00
Makefile [SCSI] fusion - iocstatus, loginfo, and event debug updates 2007-02-02 20:53:14 -06:00
linux_compat.h [SCSI] drivers/message/fusion/linux_compat.h Removal of old code 2006-09-26 11:35:20 -07:00
mptbase.c [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptbase.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptctl.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
mptctl.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptfc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mptlan.c [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptlan.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptsas.c [SCSI] mptsas: Fix oops for insmod during kexec 2007-03-11 10:44:16 -05:00
mptscsih.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mptscsih.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptspi.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00