Source-Changes-HG archive

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

[src/jdolecek-ncq]: src/sys/dev/ic undo debug code



details:   https://anonhg.NetBSD.org/src/rev/65f4a1ea2da9
branches:  jdolecek-ncq
changeset: 352733:65f4a1ea2da9
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Jul 30 20:46:31 2017 +0000

description:
undo debug code

diffstat:

 sys/dev/ic/siisata.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ee9abab913f6 -r 65f4a1ea2da9 sys/dev/ic/siisata.c
--- a/sys/dev/ic/siisata.c      Sun Jul 30 20:24:45 2017 +0000
+++ b/sys/dev/ic/siisata.c      Sun Jul 30 20:46:31 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.30.4.28 2017/07/30 20:24:45 jdolecek Exp $ */
+/* $NetBSD: siisata.c,v 1.30.4.29 2017/07/30 20:46:31 jdolecek Exp $ */
 
 /* from ahcisata_core.c */
 
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.28 2017/07/30 20:24:45 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.29 2017/07/30 20:46:31 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -288,7 +288,7 @@
        sc->sc_chanarray[port] = chp;
        chp->ch_channel = port;
        chp->ch_atac = &sc->sc_atac;
-       chp->ch_queue = ata_queue_alloc(4) ; //SIISATA_MAX_SLOTS);
+       chp->ch_queue = ata_queue_alloc(SIISATA_MAX_SLOTS);
        if (chp->ch_queue == NULL) {
                aprint_error_dev(sc->sc_atac.atac_dev,
                    "port %d: can't allocate memory "



Home | Main Index | Thread Index | Old Index