linux/drivers/scsi
Tejun Heo 02670bf379 [PATCH] libata: implement PM EH actions
Implement two PM per-dev EH actions - ATA_EH_SUSPEND and
ATA_EH_RESUME.  Each action puts the target device into suspended mode
and resumes from it respectively.

Once a device is put to suspended mode, no EH operations other than
RESUME is allowed on the device.  The device will stay suspended till
it gets resumed and thus reset and revalidated.  To implement this, a
new device state helper - ata_dev_ready() - is implemented and used in
EH action implementations to make them operate only on attached &
running devices.

If all possible devices on a port are suspended, reset is skipped too.
This prevents spurious events including hotplug events from disrupting
suspended devices.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-07-05 22:16:28 -04:00
..
aacraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
aic7xxx Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
aic7xxx_old Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
arm [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmvscsi [SCSI] ibmvscsi: treat busy and error conditions separately 2006-06-26 09:15:41 -05:00
lpfc Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
megaraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
pcmcia Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla2xxx Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sym53c8xx_2 [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
.gitignore
3w-9xxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-9xxx.h [SCSI] 3ware 9000 add big endian support 2006-03-19 10:18:42 -06:00
3w-xxxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-xxxx.h
53c7xx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
53c7xx.h
53c7xx.scr
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c700.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
53c700.h [SCSI] 53c700: fix breakage caused by the autosense update 2006-06-29 13:15:15 -04:00
53c700.scr
53c700_d.h_shipped
BusLogic.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
BusLogic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
FlashPoint.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] ata_piix: add ICH6/7/8 to Kconfig 2006-06-26 21:02:37 -04:00
Makefile Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2006-06-25 16:07:58 -07:00
NCR53C9x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53C9x.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53c406a.c [SCSI] drivers/scsi: Use ARRAY_SIZE macro 2006-06-10 10:45:30 -05:00
NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR5380.h
NCR_D700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_D700.h
NCR_Q720.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_Q720.h
a100u2w.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a100u2w.h
a2091.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a2091.h
a3000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a3000.h
advansys.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
advansys.h
aha152x.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
aha152x.h [SCSI] aha152x: fix variable use before initialisation and other bugs 2006-02-28 11:20:45 -06:00
aha1542.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
aha1542.h
aha1740.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
aha1740.h
ahci.c [PATCH] libata: add ap->pflags and move core dynamic flags to it 2006-07-05 21:51:42 -04:00
aic7xxx_old.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
amiga7xx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
amiga7xx.h
ata_piix.c [libata] Bump versions 2006-06-26 20:41:33 -04:00
atari_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_dma_emul.c
atari_scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_scsi.h
atp870u.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
atp870u.h
blz1230.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
blz2060.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
bvme6000.c
bvme6000.h
ch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
constants.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cyberstorm.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
cyberstormII.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.h
dec_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dmx3191d.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt_i2o.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpti.h
dtc.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dtc.h
eata.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
eata_generic.h
eata_pio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
eata_pio.h
esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
esp.h [SCSI] sparc: Port esp to new SBUS driver layer. 2006-06-23 23:15:54 -07:00
fastlane.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fcal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fcal.h
fd_mcs.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.h
g_NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
g_NCR5380.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
g_NCR5380_mmio.c
gdth.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gdth.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth_ioctl.h
gdth_kcompat.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth_proc.c [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth_proc.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gvp11.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gvp11.h
hosts.c [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
hosts.h
hptiop.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
hptiop.h [SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver 2006-06-10 10:36:13 -05:00
ibmmca.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ibmmca.h
ide-scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
in2000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
in2000.h
initio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
initio.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ipr.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ipr.h [SCSI] ipr: Bump version 2006-04-13 10:13:30 -05:00
ips.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ips.h
iscsi_tcp.c [SCSI] iscsi: convert iscsi_tcp to new set/get param fns 2006-06-29 11:07:54 -04:00
iscsi_tcp.h [SCSI] iscsi: kill dtask mempools 2006-05-20 09:35:20 -05:00
jazz_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
lasi700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-bmdma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-core.c [PATCH] libata: implement PM EH actions 2006-07-05 22:16:28 -04:00
libata-eh.c [PATCH] libata: implement PM EH actions 2006-07-05 22:16:28 -04:00
libata-scsi.c [PATCH] libata: implement ATA_EHI_RESUME_LINK 2006-07-05 22:16:27 -04:00
libata.h [PATCH] libata: make two functions global 2006-06-26 20:59:27 -04:00
libiscsi.c [SCSI] iscsi: pass target nr to session creation 2006-06-29 11:09:06 -04:00
mac53c94.c [PATCH] drivers/scsi/mac53c94.c __iomem annotations 2006-02-07 20:57:14 -05:00
mac53c94.h
mac_esp.c [PATCH] m68k: convert mac irq code 2006-06-25 10:00:58 -07:00
mac_scsi.c [PATCH] m68k: convert mac irq code 2006-06-25 10:00:58 -07:00
mac_scsi.h
mca_53c9x.c
megaraid.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
megaraid.h [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
mesh.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c [PATCH] drivers: use list_move() 2006-06-26 09:58:18 -07:00
ncr53c8xx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nsp32.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
nsp32.h
nsp32_debug.c
nsp32_io.h
oktagon_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
oktagon_io.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
osst.c [PATCH] vfs: add lock owner argument to flush operation 2006-06-23 07:43:02 -07:00
osst.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
osst_detect.h
osst_options.h
pas16.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pas16.h
pci2000.h
pdc_adma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pluto.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pluto.h
ppa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppa.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla1280.h
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
qlogicpti.h
qlogicpti_asm.c
raid_class.c [SCSI] drivers/scsi: Use ARRAY_SIZE macro 2006-06-10 10:45:30 -05:00
sata_mv.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_nv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_promise.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_promise.h
sata_qstor.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sil.c [PATCH] libata: add ap->pflags and move core dynamic flags to it 2006-07-05 21:51:42 -04:00
sata_sil24.c [PATCH] libata: clean up debounce parameters and improve parameter selection 2006-07-05 22:16:27 -04:00
sata_sis.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_svw.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sx4.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_uli.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_via.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_vsc.c [PATCH] sata_vsc: data_xfer should use mmio 2006-07-05 21:44:45 -04:00
script_asm.pl
scsi.c Merge branch 'master' into upstream 2006-06-22 22:11:56 -04:00
scsi.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_debug.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_debug.h
scsi_devinfo.c [SCSI] HP XP devinfo update 2006-06-26 09:30:00 -05:00
scsi_error.c [SCSI] Block I/O while SG reset operation in progress - the midlayer patch 2006-06-27 10:48:11 -05:00
scsi_ioctl.c [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_lib.c [SCSI] fix error handling in scsi_io_completion 2006-07-02 11:17:19 -05:00
scsi_logging.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_module.c
scsi_priv.h Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_proc.c [SCSI] fix proc_scsi_write to return "length" on success with remove-single-device case 2006-05-10 10:22:30 -05:00
scsi_sas_internal.h [SCSI] scsi_transport_sas: introduce a sas_port entity 2006-06-28 12:40:54 -04:00
scsi_scan.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_sysctl.c
scsi_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_transport_api.h [PATCH] SCSI: make scsi_implement_eh() generic API for SCSI transports 2006-05-20 00:39:08 -04:00
scsi_transport_fc.c [SCSI] fc transport: bug fix: correct references 2006-06-27 11:01:46 -05:00
scsi_transport_iscsi.c [SCSI] iscsi: add async notification of session events 2006-06-29 11:14:42 -04:00
scsi_transport_sas.c [SCSI] scsi_transport_sas: introduce a sas_port entity 2006-06-28 12:40:54 -04:00
scsi_transport_spi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_typedefs.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsicam.c [SCSI] Bogus disk geometry on large disks 2006-06-26 16:33:10 -05:00
sd.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
seagate.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
seagate.h
sg.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sgiwd93.c [SCSI] Make sgiwd93_detect and sgiwd93_detect static. 2006-03-12 09:24:55 -06:00
sim710.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sr.c [SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion 2006-06-26 10:00:20 -05:00
sr.h [PATCH] kill cdrom ->dev_ioctl method 2006-03-23 07:38:09 -08:00
sr_ioctl.c [PATCH] kill cdrom ->dev_ioctl method 2006-03-23 07:38:09 -08:00
sr_vendor.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
st.c [SCSI] st: remove unused st_buffer.in_use 2006-06-29 11:06:30 -04:00
st.h [SCSI] st: remove unused st_buffer.in_use 2006-06-29 11:06:30 -04:00
st_options.h
sun3_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sun3_scsi.c
sun3_scsi.h
sun3_scsi_vme.c
sun3x_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sym53c416.c
sym53c416.h
t128.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
t128.h
tmscsim.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
tmscsim.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
u14-34f.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ultrastor.c
ultrastor.h
wd33c93.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd33c93.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd7000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
zalon.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00