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 Don't bail out of handling interrupts at t...
details: https://anonhg.NetBSD.org/src/rev/bbfa00d891cf
branches: jdolecek-ncq
changeset: 352635:bbfa00d891cf
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Apr 20 19:24:25 2017 +0000
description:
Don't bail out of handling interrupts at the first inactive slot.
Appears to fix the frequent timeouts issue.
diffstat:
sys/dev/ic/ahcisata_core.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 25feba424f8b -r bbfa00d891cf sys/dev/ic/ahcisata_core.c
--- a/sys/dev/ic/ahcisata_core.c Wed Apr 19 22:02:32 2017 +0000
+++ b/sys/dev/ic/ahcisata_core.c Thu Apr 20 19:24:25 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_core.c,v 1.57.6.7 2017/04/19 20:49:17 jdolecek Exp $ */
+/* $NetBSD: ahcisata_core.c,v 1.57.6.8 2017/04/20 19:24:25 jakllsch Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.57.6.7 2017/04/19 20:49:17 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.57.6.8 2017/04/20 19:24:25 jakllsch Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -607,7 +607,7 @@
for (slot=0; slot < sc->sc_ncmds; slot++) {
if ((achp->ahcic_cmds_active & (1 << slot)) == 0)
- return;
+ continue;
if ((clear & (1 << slot)) == 0) {
xfer = ata_queue_hwslot_to_xfer(chp->ch_queue,
slot);
Home |
Main Index |
Thread Index |
Old Index