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 Another one missed in previous.



details:   https://anonhg.NetBSD.org/src/rev/0c18acff4e80
branches:  jdolecek-ncq
changeset: 822893:0c18acff4e80
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Apr 22 14:08:38 2017 +0000

description:
Another one missed in previous.

diffstat:

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

diffs (32 lines):

diff -r a50c68c7c7b2 -r 0c18acff4e80 sys/dev/ic/siisata.c
--- a/sys/dev/ic/siisata.c      Sat Apr 22 13:40:50 2017 +0000
+++ b/sys/dev/ic/siisata.c      Sat Apr 22 14:08:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.30.4.7 2017/04/22 13:40:50 jakllsch Exp $ */
+/* $NetBSD: siisata.c,v 1.30.4.8 2017/04/22 14:08:38 jakllsch Exp $ */
 
 /* from ahcisata_core.c */
 
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.7 2017/04/22 13:40:50 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.8 2017/04/22 14:08:38 jakllsch Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1640,11 +1640,12 @@
 
 int
 siisata_atapi_complete(struct ata_channel *chp, struct ata_xfer *xfer,
-    int slot)
+    int is)
 {
        struct siisata_softc *sc = (struct siisata_softc *)chp->ch_atac;
        struct siisata_channel *schp = (struct siisata_channel *)chp;
        struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
+       int slot = SIISATA_NON_NCQ_SLOT;
 
        SIISATA_DEBUG_PRINT(
            ("%s: %s()\n", SIISATANAME(sc), __func__), DEBUG_INTR);



Home | Main Index | Thread Index | Old Index