summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-10-11 14:56:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-10-11 14:56:45 +0000
commit15951709efb8812ee9c9329944590f4fc9e1e0f8 (patch)
tree9b71c28cba1c297f50b0db672d6967663485908f
parent0592b531b4be34ae07837b58497dcf4d41675f24 (diff)
16-byte commands just won't fit in 12-byte buffers. So make the
buffer 16 bytes. Fixes READ_CAPACITY_16 commands.
-rw-r--r--sys/dev/ic/trm.h4
1 files 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;