From 15951709efb8812ee9c9329944590f4fc9e1e0f8 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Mon, 11 Oct 2010 14:56:45 +0000 Subject: 16-byte commands just won't fit in 12-byte buffers. So make the buffer 16 bytes. Fixes READ_CAPACITY_16 commands. --- sys/dev/ic/trm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/trm.h b/sys/dev/ic/trm.h index 2251baf89bf..a01933fef55 100644 --- a/sys/dev/ic/trm.h +++ b/sys/dev/ic/trm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: trm.h,v 1.1 2002/02/18 01:55:30 krw Exp $ +/* $OpenBSD: trm.h,v 1.2 2010/10/11 14:56:44 krw Exp $ * ------------------------------------------------------------ * O.S : OpenBSD * File Name : trm.h @@ -105,7 +105,7 @@ struct trm_scsi_req_q #define TRM_BAD_CCB_OR_SG 0x1A #define TRM_ABORT 0xFF - u_int8_t CmdBlock[12]; + u_int8_t CmdBlock[16]; u_int8_t ScsiCmdLen; u_int8_t ScsiPhase; -- cgit v1.2.3