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
Kconfig
linux_compat.h
Makefile [SCSI] fusion - iocstatus, loginfo, and event debug updates 2007-02-02 20:53:14 -06: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