summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2010-10-11 14:56:44 +0000
committerkrw <krw@openbsd.org>2010-10-11 14:56:44 +0000
commit97e8769f4e51fc7c9644a327b603c0bb008f2b96 (patch)
tree02f6d767af825a52ef3bb6da803cbf4f8410b54f /sys/dev
parentUgh, I forgot to commit these after my last MAKEDEV regen. (diff)
downloadwireguard-openbsd-97e8769f4e51fc7c9644a327b603c0bb008f2b96.tar.xz
wireguard-openbsd-97e8769f4e51fc7c9644a327b603c0bb008f2b96.zip
16-byte commands just won't fit in 12-byte buffers. So make the
buffer 16 bytes. Fixes READ_CAPACITY_16 commands.
Diffstat (limited to 'sys/dev')
-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;