scsi.h (6b22df74f7af62137772c280791c932855f7635b) | scsi.h (308c09f17da4adc53935115dbeb5bce4f067d8f9) |
---|---|
1/* 2 * This header file contains public constants and structures used by 3 * the scsi code for linux. 4 * 5 * For documentation on the OPCODES, MESSAGES, and SENSE values, 6 * please consult the SCSI standard. 7 */ 8#ifndef _SCSI_SCSI_H --- 17 unchanged lines hidden (view full) --- 26 * minimum value is 32 27 */ 28#define SCSI_MAX_SG_SEGMENTS 128 29 30/* 31 * Like SCSI_MAX_SG_SEGMENTS, but for archs that have sg chaining. This limit 32 * is totally arbitrary, a setting of 2048 will get you at least 8mb ios. 33 */ | 1/* 2 * This header file contains public constants and structures used by 3 * the scsi code for linux. 4 * 5 * For documentation on the OPCODES, MESSAGES, and SENSE values, 6 * please consult the SCSI standard. 7 */ 8#ifndef _SCSI_SCSI_H --- 17 unchanged lines hidden (view full) --- 26 * minimum value is 32 27 */ 28#define SCSI_MAX_SG_SEGMENTS 128 29 30/* 31 * Like SCSI_MAX_SG_SEGMENTS, but for archs that have sg chaining. This limit 32 * is totally arbitrary, a setting of 2048 will get you at least 8mb ios. 33 */ |
34#ifdef ARCH_HAS_SG_CHAIN | 34#ifdef CONFIG_ARCH_HAS_SG_CHAIN |
35#define SCSI_MAX_SG_CHAIN_SEGMENTS 2048 36#else 37#define SCSI_MAX_SG_CHAIN_SEGMENTS SCSI_MAX_SG_SEGMENTS 38#endif 39 40/* 41 * DIX-capable adapters effectively support infinite chaining for the 42 * protection information scatterlist --- 544 unchanged lines hidden --- | 35#define SCSI_MAX_SG_CHAIN_SEGMENTS 2048 36#else 37#define SCSI_MAX_SG_CHAIN_SEGMENTS SCSI_MAX_SG_SEGMENTS 38#endif 39 40/* 41 * DIX-capable adapters effectively support infinite chaining for the 42 * protection information scatterlist --- 544 unchanged lines hidden --- |