Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev sun4v: added support for handling of op...



details:   https://anonhg.NetBSD.org/src/rev/a7f3ff5c8a29
branches:  trunk
changeset: 846501:a7f3ff5c8a29
user:      palle <palle%NetBSD.org@localhost>
date:      Tue Nov 19 20:07:30 2019 +0000

description:
sun4v: added support for handling of opcode SCSI_MAINTENANCE_IN when using ldom based virtual disk

diffstat:

 sys/arch/sparc64/dev/vdsk.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 98e0d85a3489 -r a7f3ff5c8a29 sys/arch/sparc64/dev/vdsk.c
--- a/sys/arch/sparc64/dev/vdsk.c       Tue Nov 19 09:54:07 2019 +0000
+++ b/sys/arch/sparc64/dev/vdsk.c       Tue Nov 19 20:07:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vdsk.c,v 1.4 2019/10/01 18:00:07 chs Exp $     */
+/*     $NetBSD: vdsk.c,v 1.5 2019/11/19 20:07:30 palle Exp $   */
 /*     $OpenBSD: vdsk.c,v 1.46 2015/01/25 21:42:13 kettenis Exp $      */
 /*
  * Copyright (c) 2009, 2011 Mark Kettenis
@@ -1049,6 +1049,7 @@
                case START_STOP:
                case SCSI_PREVENT_ALLOW_MEDIUM_REMOVAL:
                case SCSI_MODE_SENSE_6:
+               case SCSI_MAINTENANCE_IN:
                        vdsk_scsi_done(xs, XS_NOERROR);
                        return;
 



Home | Main Index | Thread Index | Old Index