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 Fix inverted ata_waitdrain_xfer_check() lo...
details: https://anonhg.NetBSD.org/src/rev/978b395af611
branches: jdolecek-ncq
changeset: 352645:978b395af611
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Apr 23 01:26:50 2017 +0000
description:
Fix inverted ata_waitdrain_xfer_check() logic in siisata_atapi_complete().
diffstat:
sys/dev/ic/siisata.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1a9551a5ffa4 -r 978b395af611 sys/dev/ic/siisata.c
--- a/sys/dev/ic/siisata.c Sun Apr 23 01:21:04 2017 +0000
+++ b/sys/dev/ic/siisata.c Sun Apr 23 01:26:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.30.4.8 2017/04/22 14:08:38 jakllsch Exp $ */
+/* $NetBSD: siisata.c,v 1.30.4.9 2017/04/23 01:26:50 jakllsch Exp $ */
/* from ahcisata_core.c */
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.8 2017/04/22 14:08:38 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.9 2017/04/23 01:26:50 jakllsch Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1668,7 +1668,7 @@
ata_deactivate_xfer(chp, xfer);
- if (!ata_waitdrain_xfer_check(chp, xfer)) {
+ if (ata_waitdrain_xfer_check(chp, xfer)) {
sc_xfer->error = XS_DRIVER_STUFFUP;
return 0; /* XXX verify */
}
Home |
Main Index |
Thread Index |
Old Index