Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci set ATACH_DMA_BEFORE_CMD



details:   https://anonhg.NetBSD.org/src/rev/85480da35211
branches:  trunk
changeset: 323137:85480da35211
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Jun 01 18:14:33 2018 +0000

description:
set ATACH_DMA_BEFORE_CMD

diffstat:

 sys/dev/pci/svwsata.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 561cf1732595 -r 85480da35211 sys/dev/pci/svwsata.c
--- a/sys/dev/pci/svwsata.c     Fri Jun 01 18:13:30 2018 +0000
+++ b/sys/dev/pci/svwsata.c     Fri Jun 01 18:14:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svwsata.c,v 1.21 2018/06/01 16:12:01 macallan Exp $    */
+/*     $NetBSD: svwsata.c,v 1.22 2018/06/01 18:14:33 macallan Exp $    */
 
 /*
  * Copyright (c) 2005 Mark Kettenis
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svwsata.c,v 1.21 2018/06/01 16:12:01 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svwsata.c,v 1.22 2018/06/01 18:14:33 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -322,9 +322,8 @@
        bus_space_write_4(sc->sc_ba5_st, sc->sc_ba5_sh,
            (wdc_cp->ch_channel << 8) + SVWSATA_SIM, 0);
 
-#ifndef notyet
        cp->ata_channel.ch_flags |= ATACH_DMA_BEFORE_CMD;
-#endif
+
        wdcattach(wdc_cp);
        return;
 



Home | Main Index | Thread Index | Old Index