Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/luna68k/stand/boot Fix a wrong cdb size of SCSI dis...



details:   https://anonhg.NetBSD.org/src/rev/3939f2e58cc4
branches:  trunk
changeset: 376610:3939f2e58cc4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 24 07:02:11 2023 +0000

description:
Fix a wrong cdb size of SCSI disk write command.  From OpenBSD/luna88k.

diffstat:

 sys/arch/luna68k/stand/boot/sd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r be7d03021972 -r 3939f2e58cc4 sys/arch/luna68k/stand/boot/sd.c
--- a/sys/arch/luna68k/stand/boot/sd.c  Sat Jun 24 06:55:34 2023 +0000
+++ b/sys/arch/luna68k/stand/boot/sd.c  Sat Jun 24 07:02:11 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sd.c,v 1.12 2015/02/14 13:07:39 tsutsui Exp $  */
+/*     $NetBSD: sd.c,v 1.13 2023/06/24 07:02:11 tsutsui Exp $  */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -215,7 +215,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 }
 };
 



Home | Main Index | Thread Index | Old Index