Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use SCSIPI_CHAN_NOSETTLE.



details:   https://anonhg.NetBSD.org/src/rev/627dc4a026b1
branches:  trunk
changeset: 341346:627dc4a026b1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Nov 01 08:55:05 2015 +0000

description:
Use SCSIPI_CHAN_NOSETTLE.

diffstat:

 sys/dev/pci/vioscsi.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r def22d8c2a7b -r 627dc4a026b1 sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c     Sun Nov 01 08:54:37 2015 +0000
+++ b/sys/dev/pci/vioscsi.c     Sun Nov 01 08:55:05 2015 +0000
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.5 2015/10/31 00:41:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.6 2015/11/01 08:55:05 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -186,6 +186,7 @@
        chan->chan_ntargets = max_target;
        chan->chan_nluns = max_lun;
        chan->chan_id = 0;
+       chan->chan_flags = SCSIPI_CHAN_NOSETTLE;
 
        config_found(sc->sc_dev, &sc->sc_channel, scsiprint);
 }



Home | Main Index | Thread Index | Old Index