Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Revert scsiconf.c 1.288, it only worked for L...



details:   https://anonhg.NetBSD.org/src/rev/3b6dbcd98003
branches:  trunk
changeset: 938891:3b6dbcd98003
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Sep 18 15:04:25 2020 +0000

description:
Revert scsiconf.c 1.288, it only worked for LUN 1.

vioscsi(4) now sets PQUIRK_FORCELUNS, which fixes the original issue for
all LUNs.

To-do: should issue REPORT LUNS and use the information it returns to
probe LUNs in an optimized way.

diffstat:

 sys/dev/scsipi/scsiconf.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 8e1c6084d1e8 -r 3b6dbcd98003 sys/dev/scsipi/scsiconf.c
--- a/sys/dev/scsipi/scsiconf.c Fri Sep 18 14:55:28 2020 +0000
+++ b/sys/dev/scsipi/scsiconf.c Fri Sep 18 15:04:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsiconf.c,v 1.289 2020/09/17 01:19:41 jakllsch Exp $  */
+/*     $NetBSD: scsiconf.c,v 1.290 2020/09/18 15:04:25 jakllsch Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2004 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.289 2020/09/17 01:19:41 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.290 2020/09/18 15:04:25 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -883,8 +883,6 @@
                break;
 
        case SID_QUAL_LU_NOTPRESENT:
-               docontinue = 1;
-               /* FALLTHROUGH */
        case SID_QUAL_reserved:
        case SID_QUAL_LU_NOT_SUPP:
                goto bad;



Home | Main Index | Thread Index | Old Index