diff options
author | ps <ps@FreeBSD.org> | 2003-12-08 23:12:57 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2003-12-08 23:12:57 +0000 |
commit | 77b35b849fdc2e40271608172cbabba58164183e (patch) | |
tree | 0074d5f808a67af0f0924959f47cd9b5fe2d49e4 | |
parent | 1d2505f78a3f77b00b01ff45fb58b4a4702f6f97 (diff) | |
download | FreeBSD-src-77b35b849fdc2e40271608172cbabba58164183e.zip FreeBSD-src-77b35b849fdc2e40271608172cbabba58164183e.tar.gz |
Correct the READ/WRITE CDB direction definition.
Submitted by: John Cagle <john.cagle@hp.com>
-rw-r--r-- | sys/dev/ciss/cissreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ciss/cissreg.h b/sys/dev/ciss/cissreg.h index f09da7f..0603b7d 100644 --- a/sys/dev/ciss/cissreg.h +++ b/sys/dev/ciss/cissreg.h @@ -84,8 +84,8 @@ struct ciss_cdb #define CISS_CDB_ATTRIBUTE_AUTO_CONTINGENT 7 u_int8_t direction:2; #define CISS_CDB_DIRECTION_NONE 0 -#define CISS_CDB_DIRECTION_READ 1 -#define CISS_CDB_DIRECTION_WRITE 2 +#define CISS_CDB_DIRECTION_WRITE 1 +#define CISS_CDB_DIRECTION_READ 2 u_int16_t timeout; /* seconds */ #define CISS_CDB_BUFFER_SIZE 16 u_int8_t cdb[CISS_CDB_BUFFER_SIZE]; |