linux-stable-rt/drivers/scsi/aic7xxx
James Bottomley 97af50f60f [SCSI] aic7xxx/aic79xx: fix module removal path not to panic
In these drivers, scsi_remove_host() is called too late, at the point
it is called, the driver has already shut down too far to accept any
I/O that the shutdown might generate.  Any generated I/O actually
triggers a panic.

Fix this by calling scsi_remove_host() as early as possible and not
calling scsi_host_put() until just before we kfree the ahc_softc.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-10-02 15:32:25 -05:00
..
aicasm
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c
aic7xxx_inline.h
aic7xxx_osm.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic7xxx_osm.h
aic7xxx_osm_pci.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic7xxx_pci.c
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg.h_shipped
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic79xx_core.c
aic79xx_inline.h
aic79xx_osm.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic79xx_osm.h
aic79xx_osm_pci.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic79xx_pci.c
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg.h_shipped
aic79xx_reg_print.c_shipped
aic79xx_seq.h_shipped
aic7770.c
aic7770_osm.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aiclib.c
aiclib.h
cam.h
queue.h
scsi_iu.h
scsi_message.h