Index: ciss.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ciss/ciss.c,v retrieving revision 1.87 diff -u -r1.87 ciss.c --- ciss.c 10 Feb 2008 06:21:52 -0000 1.87 +++ ciss.c 16 May 2008 00:17:10 -0000 @@ -2738,8 +2738,8 @@ debug(2, "XPT_SCSI_IO %d:%d:%d", bus, target, csio->ccb_h.target_lun); - /* firmware does not support commands > 10 bytes */ - if (csio->cdb_len > 12/*CISS_CDB_BUFFER_SIZE*/) { + /* firmware does not support commands > CISS_CDB_BUFFER_SIZE bytes */ + if (csio->cdb_len > CISS_CDB_BUFFER_SIZE) { debug(3, " command too large (%d > %d)", csio->cdb_len, CISS_CDB_BUFFER_SIZE); csio->ccb_h.status = CAM_REQ_CMP_ERR; }