Module Name: src Committed By: christos Date: Tue Oct 31 15:10:28 UTC 2017
Modified Files: src/sys/arch/luna68k/stand/boot: sc.c Log Message: undo - pointed out this is a register assignment. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/luna68k/stand/boot/sc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/luna68k/stand/boot/sc.c diff -u src/sys/arch/luna68k/stand/boot/sc.c:1.15 src/sys/arch/luna68k/stand/boot/sc.c:1.16 --- src/sys/arch/luna68k/stand/boot/sc.c:1.15 Tue Oct 31 10:55:45 2017 +++ src/sys/arch/luna68k/stand/boot/sc.c Tue Oct 31 11:10:28 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: sc.c,v 1.15 2017/10/31 14:55:45 christos Exp $ */ +/* $NetBSD: sc.c,v 1.16 2017/10/31 15:10:28 christos Exp $ */ /* * Copyright (c) 1992 OMRON Corporation. @@ -407,6 +407,9 @@ scabort(struct scsi_softc *hs) printf("sc%d: abort phase=0x%x, ssts=0x%x, ints=0x%x\n", hs->sc_ctlr, hd->scsi_psns, hd->scsi_ssts, hd->scsi_ints); + if (hd->scsi_ints != 0) + hd->scsi_ints = hd->scsi_ints; + if (hd->scsi_psns == 0 || (hd->scsi_ssts & SSTS_INITIATOR) == 0) /* no longer connected to scsi target */ return;