diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2023-06-18 12:58:04 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2023-06-18 12:58:04 +0000 |
commit | dd9708dafbe887d921b86f418be35ba714b8fd2e (patch) | |
tree | d63a0f5321fb4ee0fa0ea4873c7c93f4835c4916 /sys/arch | |
parent | fe6e1079ff355b8e664cced4672c34b58cb24e61 (diff) |
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.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/luna88k/stand/boot/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 } }; |