android_kernel_xiaomi_sm8350/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
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c
aic7xxx_inline.h
aic7xxx_osm_pci.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic7xxx_osm.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic7xxx_osm.h [SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions 2005-09-13 14:24:48 -05:00
aic7xxx_pci.c
aic7xxx_pci.h
aic7xxx_proc.c [SCSI] aic7xxx: remove aiclib.c 2005-09-04 19:46:07 -05:00
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic79xx_core.c
aic79xx_inline.h
aic79xx_osm_pci.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
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_pci.c
aic79xx_pci.h
aic79xx_proc.c [SCSI] aic7xxx: remove aiclib.c 2005-09-04 19:46:07 -05:00
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic7770_osm.c [SCSI] aic7xxx/aic79xx: fix module removal path not to panic 2005-10-02 15:32:25 -05:00
aic7770.c
aiclib.c [SCSI] aic7xxx: remove aiclib.c 2005-09-04 19:46:07 -05:00
aiclib.h [SCSI] aic7xxx: remove aiclib.c 2005-09-04 19:46:07 -05:00
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
queue.h
scsi_iu.h
scsi_message.h