From: aoyama Date: Sun, 18 Jun 2023 12:58:03 +0000 (+0000) Subject: Fix SCSI CMD_WRITE_EXT command length to 10 bytes. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0b8a1f6bd6832cf2eaae4ee6821f460a5a9ce421;p=openbsd Fix SCSI CMD_WRITE_EXT command length to 10 bytes. This is needed to work libsa's ufs_fchmod() on luna88k. Tested by me on LUNA-88K2. --- diff --git a/sys/arch/luna88k/stand/boot/sd.c b/sys/arch/luna88k/stand/boot/sd.c index ef539a9d674..5cc46b17fce 100644 --- a/sys/arch/luna88k/stand/boot/sd.c +++ b/sys/arch/luna88k/stand/boot/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.6 2020/12/09 18:10:19 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.7 2023/06/18 12:58:03 aoyama Exp $ */ /* $NetBSD: sd.c,v 1.5 2013/01/22 15:48:40 tsutsui Exp $ */ /* @@ -293,7 +293,7 @@ static struct scsi_generic_cdb cdb_read = { }; static struct scsi_generic_cdb cdb_write = { - 6, + 10, { CMD_WRITE_EXT, 0, 0, 0, 0, 0, 0, 0, 0, 0 } };