tcm: Convert to use enum dma_data_direction
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · On Tue, 14 Sep 2010 13:27:11 -0700 "Nicholas A. Bellinger"…
Attached is a series to convert the TCM Core,
TCM_Loop,TCM_FCand LIO-Target fabric modules to use the modern valuesinclude/linux/dma-mapping.h:
enumdma_data_directionfor signaling CDB data direction.
Some drivers don't do DMA so I'm not sure that using enum dma_data_direction as a generic direction type is correct. But we already do everywhere (e.g. sc_data_direction in struct scsi_cmnd), so at least using dma_data_direction looks better than defining the own direction type.