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 ata/TODO.ncq



details:   https://anonhg.NetBSD.org/src/rev/b0d5d5ee4508
branches:  jdolecek-ncq
changeset: 352690:b0d5d5ee4508
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Jun 23 23:45:56 2017 +0000

description:
ata/TODO.ncq

diffstat:

 sys/dev/ic/siisata.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r b999741bd69f -r b0d5d5ee4508 sys/dev/ic/siisata.c
--- a/sys/dev/ic/siisata.c      Fri Jun 23 23:45:09 2017 +0000
+++ b/sys/dev/ic/siisata.c      Fri Jun 23 23:45:56 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.30.4.19 2017/06/21 19:38:43 jdolecek Exp $ */
+/* $NetBSD: siisata.c,v 1.30.4.20 2017/06/23 23:45:56 jdolecek Exp $ */
 
 /* from ahcisata_core.c */
 
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.19 2017/06/21 19:38:43 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.20 2017/06/23 23:45:56 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -590,6 +590,7 @@
         */
        xfer = ata_get_xfer_ext(chp, false, 0);
        if (xfer == NULL) {
+               printf("%s: no xfer\n", __func__);
                siisata_reset_channel(chp, flags);
                return;
        }
@@ -1151,7 +1152,7 @@
                if (ata_bio->flags & ATA_ITSDONE)
                        break;
                siisata_intr_port(schp);
-               DELAY(1000);
+               DELAY(100);
        }
 
        siisata_enable_port_interrupt(chp);
@@ -1245,8 +1246,6 @@
                        ata_bio->bcount = 0;
        }
        SIISATA_DEBUG_PRINT((" now %ld\n", ata_bio->bcount), DEBUG_XFERS);
-       if (ata_bio->flags & ATA_POLL)
-               return 1;
        (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc, xfer);
        atastart(chp);
        return 0;



Home | Main Index | Thread Index | Old Index