kernel-ark/drivers/scsi
83021920e7 [PATCH] qla2xxx: cleanup DMA mappings...
Don't use cmd->request->nr_hw_segments as it may not be initialized
  (SG_IO in particular bypasses anything that initializes this and just
  uses scsi_do_req to insert a scsi_request directly on the head of the
  queue) and a bogus value here can trip up the checks to make sure that
  the number of segments will fit in the queue ring buffer, resulting in
  commands that are never completed.

  Fix up several issues with PCI DMA mapping and failure to check return
  values on the mappings.

  Make the check for space in the ring buffer happen after the DMA mapping
  is done since any checks done before the mapping has taken place are
  bogus.

  Doug Ledford <dledford@redhat.com>.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-04-18 13:48:12 -05:00
..
aacraid
aic7xxx
aic7xxx_old
arm [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
dpt
ibmvscsi
megaraid
pcmcia
qla2xxx [PATCH] qla2xxx: cleanup DMA mappings... 2005-04-18 13:48:12 -05:00
sym53c8xx_2 [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
3w-9xxx.c
3w-9xxx.h
3w-xxxx.c
3w-xxxx.h
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
53c700.h [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
advansys.c [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
advansys.h
aha152x.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
ahci.c [PATCH] ahci: AHCI mode SATA patch for Intel ESB2 2005-04-16 15:24:45 -07:00
aic7xxx_old.c
amiga7xx.c
amiga7xx.h
ata_piix.c [PATCH] ata_piix: IDE mode SATA patch for Intel ESB2 2005-04-16 15:24:44 -07:00
atari_dma_emul.c
atari_NCR5380.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
blz1230.c
blz2060.c
BusLogic.c [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
BusLogic.h
bvme6000.c
bvme6000.h
constants.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
cpqfcTS.h
cpqfcTSchip.h
cpqfcTScontrol.c
cpqfcTSi2c.c
cpqfcTSinit.c
cpqfcTSioctl.h
cpqfcTSstructs.h
cpqfcTStrigger.c
cpqfcTStrigger.h
cpqfcTSworker.c
cyberstorm.c
cyberstormII.c
dc395x.c
dc395x.h
dec_esp.c
dmx3191d.c
dpt_i2o.c
dpti.h
dtc.c
dtc.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c
esp.h
fastlane.c
fcal.c
fcal.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c
g_NCR5380.h
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c
gdth.h
gvp11.c
gvp11.h
hosts.c
hosts.h
ibmmca.c
ibmmca.h
ide-scsi.c
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c
ipr.h
ips.c [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
ips.h
jazz_esp.c
Kconfig [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
lasi700.c [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
libata-core.c
libata-scsi.c
libata.h
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile
mca_53c9x.c
megaraid.c
megaraid.h
mesh.c [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
ncr53c8xx.h
NCR53c406a.c
NCR53C9x.c
NCR53C9x.h
NCR5380.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
NCR5380.h
NCR_D700.c [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
nsp32.h
oktagon_esp.c
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c
pas16.h
pci2000.c [PATCH] scsi: remove unused scsi_cmnd->internal_timeout field 2005-04-18 12:32:47 -05:00
pci2000.h
pci2220i.c
pci2220i.h
pluto.c
pluto.h
ppa.c
ppa.h
psi240i.c
psi240i.h
psi_chip.h
psi_dale.h
psi_roy.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicfc_asm.c
qlogicfc.c
qlogicisp_asm.c
qlogicisp.c
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
sata_nv.c
sata_promise.c
sata_promise.h
sata_qstor.c
sata_sil.c
sata_sis.c
sata_svw.c
sata_sx4.c
sata_uli.c
sata_via.c
sata_vsc.c
script_asm.pl
scsi_debug.c
scsi_debug.h
scsi_devinfo.c
scsi_error.c [PATCH] scsi: scsi_send_eh_cmnd() cleanup 2005-04-18 12:35:56 -05:00
scsi_ioctl.c [PATCH] consolidate timeout defintions in scsi.h 2005-04-18 12:31:52 -05:00
scsi_lib.c merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
scsi_logging.h
scsi_module.c
scsi_priv.h [PATCH] scsi: remove unused scsi_cmnd->internal_timeout field 2005-04-18 12:32:47 -05:00
scsi_proc.c
scsi_scan.c [PATCH] fix NMI lockup with CFQ scheduler 2005-04-16 20:10:09 -05:00
scsi_sysctl.c
scsi_sysfs.c updates for CFQ oops fix 2005-04-16 20:10:34 -05:00
scsi_transport_fc.c
scsi_transport_iscsi.c
scsi_transport_spi.c
scsi_typedefs.h
scsi.c [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
scsi.h [PATCH] kill old EH constants 2005-04-18 12:33:41 -05:00
scsicam.c
sd.c
seagate.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
seagate.h
sg.c merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
sgiwd93.c
sgiwd93.h
sim710.c [PATCH] finally fix 53c700 to use the generic iomem infrastructure 2005-04-16 20:09:43 -05:00
sr_ioctl.c
sr_vendor.c
sr.c
sr.h
st_options.h
st.c
st.h
sun3_NCR5380.c [PATCH] remove outdated print_* functions 2005-04-18 12:32:20 -05:00
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c
sym53c8xx_comm.h
sym53c8xx_defs.h
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c [PATCH] kill old EH constants 2005-04-18 12:33:41 -05:00
ultrastor.h
wd33c93.c
wd33c93.h
wd7000.c
zalon.c