summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
commit46e045034336a2cc90c1798cd7cc07af744ddfd6 (patch)
tree3b9b51fc482e729f663d25333e77fbed9aaa939a /include/scsi
parent31dc59d503a02e84c4de98826452acaeb56dc15a (diff)
Merge with Linux 2.3.99-pre4.
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/sg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h
index 20b7d158e..283e81695 100644
--- a/include/scsi/sg.h
+++ b/include/scsi/sg.h
@@ -11,9 +11,13 @@ Original driver (sg.h):
Version 2 and 3 extensions to driver:
* Copyright (C) 1998 - 2000 Douglas Gilbert
- Version: 3.1.12 (20000222)
+ Version: 3.1.13 (20000323)
This version is for 2.3/2.4 series kernels.
+ Changes since 3.1.12 (20000222)
+ - make sg_header interface use SCSI_DATA_UNKNOWN
+ - add SG_DXFER_UNKNOWN define to sg interface
+ - stop allocating data buffers to non data transfer commands
Changes since 3.1.10 (20000123)
- make device allocation dynamic (get rid of SG_EXTRA_DEVS)
- move to sg0,sg1,sg2 rather than sga,sgb,sgc
@@ -147,6 +151,7 @@ typedef struct sg_io_hdr
additional property than during indirect
IO the user buffer is copied into the
kernel buffers before the transfer */
+#define SG_DXFER_UNKNOWN -5 /* Unknown data direction */
/* following flag values can be "or"-ed together */
#define SG_FLAG_DIRECT_IO 1 /* default is indirect IO */