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 Explain what may seem to be a no...



details:   https://anonhg.NetBSD.org/src/rev/2f1286dc319a
branches:  trunk
changeset: 829738:2f1286dc319a
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Feb 09 22:08:28 2018 +0000

description:
Explain what may seem to be a non-sensical assignment, but isn't.

closes PR 53000

diffstat:

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

diffs (17 lines):

diff -r 1cbf20b4852b -r 2f1286dc319a sys/arch/luna68k/stand/boot/sc.c
--- a/sys/arch/luna68k/stand/boot/sc.c  Fri Feb 09 21:25:04 2018 +0000
+++ b/sys/arch/luna68k/stand/boot/sc.c  Fri Feb 09 22:08:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sc.c,v 1.16 2017/10/31 15:10:28 christos Exp $ */
+/*     $NetBSD: sc.c,v 1.17 2018/02/09 22:08:28 jakllsch Exp $ */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -408,6 +408,7 @@
            hs->sc_ctlr, hd->scsi_psns, hd->scsi_ssts, hd->scsi_ints);
 
        if (hd->scsi_ints != 0)
+               /* write register value back to register */
                hd->scsi_ints = hd->scsi_ints;
 
        if (hd->scsi_psns == 0 || (hd->scsi_ssts & SSTS_INITIATOR) == 0)



Home | Main Index | Thread Index | Old Index