Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic The device queue tag and the host queue tag are n...



details:   https://anonhg.NetBSD.org/src/rev/613b6030ce6d
branches:  trunk
changeset: 784823:613b6030ce6d
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Feb 10 19:22:23 2013 +0000

description:
The device queue tag and the host queue tag are not the same thing.
We don't support device queueing yet, so write that tag as zero.

diffstat:

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

diffs (27 lines):

diff -r a518ae8683d9 -r 613b6030ce6d sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Sun Feb 10 19:20:19 2013 +0000
+++ b/sys/dev/ic/mvsata.c       Sun Feb 10 19:22:23 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.26 2013/02/10 19:20:19 jakllsch Exp $     */
+/*     $NetBSD: mvsata.c,v 1.27 2013/02/10 19:22:23 jakllsch Exp $     */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.26 2013/02/10 19:20:19 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.27 2013/02/10 19:22:23 jakllsch Exp $");
 
 #include "opt_mvsata.h"
 
@@ -3626,7 +3626,7 @@
        eprd_addr = mvport->port_eprd_dmamap->dm_segs[0].ds_addr +
            mvport->port_reqtbl[quetag].eprd_offset;
        rw = (ata_bio->flags & ATA_READ) ? CRQB_CDIR_READ : CRQB_CDIR_WRITE;
-       ctrlflg = (rw | CRQB_CDEVICEQUETAG(quetag) | CRQB_CPMPORT(drive) |
+       ctrlflg = (rw | CRQB_CDEVICEQUETAG(0) | CRQB_CPMPORT(drive) |
            CRQB_CPRDMODE_EPRD | CRQB_CHOSTQUETAG_GEN2(quetag));
        cmd = (ata_bio->flags & ATA_READ) ? WDCC_READDMA : WDCC_WRITEDMA;
        if (ata_bio->flags & (ATA_LBA|ATA_LBA48)) {



Home | Main Index | Thread Index | Old Index