kernel-ark/drivers/ata
Brian King 7a801184fa libata: Fixup n_elem initialization
Fixup the inialization of qc->n_elem. It currently gets
initialized to 1 for commands that do not transfer any data.
Fix this by initializing n_elem to 0 and only setting to 1
in ata_scsi_qc_new when there is data to transfer. This fixes
some problems seen with SATA devices attached to ipr adapters.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-01-24 02:04:34 -05:00
..
ahci.c ahci: don't enter slumber on power down 2007-01-24 02:03:45 -05:00
ata_generic.c
ata_piix.c
Kconfig [PATCH] pata_optidma: typo in Kconfig 2007-01-05 23:55:28 -08:00
libata-core.c
libata-eh.c libata: fix handling of port actions in per-dev action mask 2007-01-19 19:22:45 -05:00
libata-scsi.c libata: Fixup n_elem initialization 2007-01-24 02:04:34 -05:00
libata-sff.c [PATCH] libata: fix combined mode 2007-01-02 08:20:51 -08:00
libata.h
Makefile
pata_ali.c
pata_amd.c
pata_artop.c
pata_atiixp.c
pata_cmd64x.c
pata_cs5520.c
pata_cs5530.c [libata] pata_cs5530: suspend/resume support tweak 2006-12-20 13:03:11 -05:00
pata_cs5535.c
pata_cypress.c
pata_efar.c
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c [PATCH] hpt37x: Two important bug fixes 2007-01-05 23:55:29 -08:00
pata_hpt366.c
pata_isapnp.c
pata_it821x.c
pata_ixp4xx_cf.c
pata_jmicron.c
pata_legacy.c [PATCH] ata: fix platform_device_register_simple() error check 2006-12-16 10:45:28 -05:00
pata_marvell.c
pata_mpiix.c
pata_netcell.c
pata_ns87410.c
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_pcmcia.c
pata_pdc202xx_old.c
pata_pdc2027x.c
pata_platform.c
pata_qdi.c [PATCH] ata: fix platform_device_register_simple() error check 2006-12-16 10:45:28 -05:00
pata_radisys.c
pata_rz1000.c [PATCH] initializer entry defined twice in pata_rz1000 2006-12-16 10:45:28 -05:00
pata_sc1200.c
pata_serverworks.c
pata_sil680.c
pata_sis.c
pata_sl82c105.c
pata_triflex.c
pata_via.c [libata] pata_via: suspend/resume support fix 2006-12-20 13:09:10 -05:00
pata_winbond.c [PATCH] ata: fix platform_device_register_simple() error check 2006-12-16 10:45:28 -05:00
pdc_adma.c
sata_mv.c sata_mv HighPoint 2310 support (88SX7042) 2007-01-19 19:24:36 -05:00
sata_nv.c sata_nv: don't rely on NV_INT_DEV indication with ADMA 2007-01-24 02:01:49 -05:00
sata_promise.c
sata_promise.h
sata_qstor.c
sata_sil24.c
sata_sil.c
sata_sis.c
sata_svw.c [libata] sata_svw, sata_vsc: kill iomem warnings 2006-12-20 14:37:04 -05:00
sata_sx4.c
sata_uli.c
sata_via.c sata_via: add PCI ID 0x5337 2007-01-19 19:18:49 -05:00
sata_vsc.c [libata] sata_svw, sata_vsc: kill iomem warnings 2006-12-20 14:37:04 -05:00