Module Name: src
Committed By: andvar
Date: Fri May 26 06:36:39 UTC 2023
Modified Files:
src/sys/arch/bebox/stand/boot: siop.c
Log Message:
set error to EIO on SKEY_ABORTED_COMMAND.
It is usually the case for other SCSI drivers, though they do implement retries
too.
potentially same should be committed to prep(?).
discussed with riastradh.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/bebox/stand/boot/siop.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/bebox/stand/boot/siop.c
diff -u src/sys/arch/bebox/stand/boot/siop.c:1.12 src/sys/arch/bebox/stand/boot/siop.c:1.13
--- src/sys/arch/bebox/stand/boot/siop.c:1.12 Fri May 26 06:27:51 2023
+++ src/sys/arch/bebox/stand/boot/siop.c Fri May 26 06:36:39 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.12 2023/05/26 06:27:51 andvar Exp $ */
+/* $NetBSD: siop.c,v 1.13 2023/05/26 06:36:39 andvar Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -991,7 +991,7 @@ scsi_interpret_sense(struct siop_adapter
case SKEY_BLANK_CHECK:
break;
case SKEY_ABORTED_COMMAND:
- /* XXX XXX initialize 'error' */
+ error = EIO;
break;
case SKEY_VOLUME_OVERFLOW:
error = ENOSPC;