Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci kill some more debugging.



details:   https://anonhg.NetBSD.org/src/rev/5f822ab7c1e8
branches:  trunk
changeset: 341320:5f822ab7c1e8
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 30 21:18:16 2015 +0000

description:
kill some more debugging.

diffstat:

 sys/dev/pci/vioscsi.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r a4a4a864237d -r 5f822ab7c1e8 sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c     Fri Oct 30 21:16:15 2015 +0000
+++ b/sys/dev/pci/vioscsi.c     Fri Oct 30 21:18:16 2015 +0000
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.2 2015/10/30 21:15:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.3 2015/10/30 21:18:16 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -183,11 +183,9 @@
        chan->chan_adapter = adapt;
        chan->chan_bustype = &scsi_bustype;
        chan->chan_channel = 0;
-       chan->chan_ntargets = 2; // max_target;
-       chan->chan_nluns = 1; // max_lun;
-       chan->chan_id = 0; /*XXX*/
-       (void)max_target;
-       (void)max_lun;
+       chan->chan_ntargets = max_target;
+       chan->chan_nluns = max_lun;
+       chan->chan_id = 0;
 
        config_found(sc->sc_dev, &sc->sc_channel, scsiprint);
 }



Home | Main Index | Thread Index | Old Index