diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-05-19 19:21:14 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-05-19 19:21:14 +0000 |
| commit | 78bcf0b937336e3f9c05a09d4ec393a65564b2b5 (patch) | |
| tree | cb04e83f6f5abddc1eea628a6bf1fc99ad698bc3 /sys/dev | |
| parent | 7908e0a09109b7449e64c89caff3e17c6d7831e0 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 699f062ca886..640bccf8b357 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2630,12 +2630,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"); |
