7a801184fa
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> |
||
---|---|---|
.. | ||
ahci.c | ||
ata_generic.c | ||
ata_piix.c | ||
Kconfig | ||
libata-core.c | ||
libata-eh.c | ||
libata-scsi.c | ||
libata-sff.c | ||
libata.h | ||
Makefile | ||
pata_ali.c | ||
pata_amd.c | ||
pata_artop.c | ||
pata_atiixp.c | ||
pata_cmd64x.c | ||
pata_cs5520.c | ||
pata_cs5530.c | ||
pata_cs5535.c | ||
pata_cypress.c | ||
pata_efar.c | ||
pata_hpt3x2n.c | ||
pata_hpt3x3.c | ||
pata_hpt37x.c | ||
pata_hpt366.c | ||
pata_isapnp.c | ||
pata_it821x.c | ||
pata_ixp4xx_cf.c | ||
pata_jmicron.c | ||
pata_legacy.c | ||
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 | ||
pata_radisys.c | ||
pata_rz1000.c | ||
pata_sc1200.c | ||
pata_serverworks.c | ||
pata_sil680.c | ||
pata_sis.c | ||
pata_sl82c105.c | ||
pata_triflex.c | ||
pata_via.c | ||
pata_winbond.c | ||
pdc_adma.c | ||
sata_mv.c | ||
sata_nv.c | ||
sata_promise.c | ||
sata_promise.h | ||
sata_qstor.c | ||
sata_sil24.c | ||
sata_sil.c | ||
sata_sis.c | ||
sata_svw.c | ||
sata_sx4.c | ||
sata_uli.c | ||
sata_via.c | ||
sata_vsc.c |