diff options
author | ps <ps@FreeBSD.org> | 2008-05-16 08:27:02 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2008-05-16 08:27:02 +0000 |
commit | 6fea0a35ac3ac5c09d1cf64a7b2585d2fd1b8c08 (patch) | |
tree | 7fc286b8e913c6bf85726e8e2eeb019d32930f2b /sys/dev/ciss/ciss.c | |
parent | b380769ce9517c000bc3aa2ab1bb680269e68e31 (diff) | |
download | FreeBSD-src-6fea0a35ac3ac5c09d1cf64a7b2585d2fd1b8c08.zip FreeBSD-src-6fea0a35ac3ac5c09d1cf64a7b2585d2fd1b8c08.tar.gz |
Remove a check that didn't allow > 12 byte CDB's to be issued to
ciss. This should allow volumes > 2TB to work.
Reported by: Emil Mikulic
Diffstat (limited to 'sys/dev/ciss/ciss.c')
-rw-r--r-- | sys/dev/ciss/ciss.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 7369f8e..176afd4 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2738,12 +2738,6 @@ ciss_cam_action_io(struct cam_sim *sim, struct ccb_scsiio *csio) 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*/) { - debug(3, " command too large (%d > %d)", csio->cdb_len, CISS_CDB_BUFFER_SIZE); - csio->ccb_h.status = CAM_REQ_CMP_ERR; - } - /* check that the CDB pointer is not to a physical address */ if ((csio->ccb_h.flags & CAM_CDB_POINTER) && (csio->ccb_h.flags & CAM_CDB_PHYS)) { debug(3, " CDB pointer is to physical address"); |