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/26c551ab8844
branches:  trunk
changeset: 461238:26c551ab8844
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 7c39256876e0 -r 26c551ab8844 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