diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-26 19:13:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-26 19:13:23 +0000 |
commit | e15c3d73ae17cf3a6c7b50f592f4e248b72ad65a (patch) | |
tree | a57a2efa130598c1ec136b81aeffd915e4c70da4 /sys | |
parent | c10ae4f2cb49f1bfbff7f8daf85a474f06eb1cf5 (diff) |
bump the maximum cdb that the driver will take from the midlayer up to 16
bytes. if you want to use large volumes on ciss, you need ciss to chew the
large scsi io commands.
problem found and fix tested by johan
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/cissreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/cissreg.h b/sys/dev/ic/cissreg.h index a594ed3d72f..2ffe9dc4ee3 100644 --- a/sys/dev/ic/cissreg.h +++ b/sys/dev/ic/cissreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cissreg.h,v 1.8 2006/08/28 03:22:37 mickey Exp $ */ +/* $OpenBSD: cissreg.h,v 1.9 2007/11/26 19:13:22 dlg Exp $ */ /* * Copyright (c) 2005,2006 Michael Shalayeff @@ -424,8 +424,8 @@ struct ciss_cmd { #define CISS_CDB_IN 0x80 #define CISS_CDB_OUT 0x40 u_int16_t tmo; /* 16: timeout in seconds */ -#define CISS_MAX_CDB 12 - u_int8_t cdb[16];/* 18 */ +#define CISS_MAX_CDB 16 + u_int8_t cdb[CISS_MAX_CDB]; /* 18 */ u_int64_t err_pa; /* 28: pa(struct ciss_error *) */ u_int32_t err_len;/* 30 */ |