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 enable ATAPI on mvsata(4); it seems to wor...



details:   https://anonhg.NetBSD.org/src/rev/bf2e8e0f1d01
branches:  jdolecek-ncq
changeset: 822954:bf2e8e0f1d01
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Jun 28 19:59:36 2017 +0000

description:
enable ATAPI on mvsata(4); it seems to work fine for my cdrom

diffstat:

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

diffs (29 lines):

diff -r 734db1cf3b93 -r bf2e8e0f1d01 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Wed Jun 28 19:54:38 2017 +0000
+++ b/sys/dev/ic/mvsata.c       Wed Jun 28 19:59:36 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.35.6.17 2017/06/27 18:36:03 jdolecek Exp $        */
+/*     $NetBSD: mvsata.c,v 1.35.6.18 2017/06/28 19:59:36 jdolecek 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.35.6.17 2017/06/27 18:36:03 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.35.6.18 2017/06/28 19:59:36 jdolecek Exp $");
 
 #include "opt_mvsata.h"
 
@@ -760,10 +760,8 @@
        chan->chan_ntargets = 1;
        chan->chan_nluns = 1;
 
-#if 0 /* XXX ATAPI implementation not finished. */
        chp->atapibus =
            config_found_ia(ata_sc->sc_dev, "atapi", chan, atapiprint);
-#endif
 }
 
 static void



Home | Main Index | Thread Index | Old Index