Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncq]: src/sys/dev/ata move debug printf where it belongs
details: https://anonhg.NetBSD.org/src/rev/0425b91025e7
branches: jdolecek-ncq
changeset: 352763:0425b91025e7
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Sep 11 22:16:18 2017 +0000
description:
move debug printf where it belongs
diffstat:
sys/dev/ata/ata.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r cf4d40d57768 -r 0425b91025e7 sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Sun Sep 10 19:31:15 2017 +0000
+++ b/sys/dev/ata/ata.c Mon Sep 11 22:16:18 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ata.c,v 1.132.8.31 2017/09/10 19:31:15 jdolecek Exp $ */
+/* $NetBSD: ata.c,v 1.132.8.32 2017/09/11 22:16:18 jdolecek Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.132.8.31 2017/09/10 19:31:15 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.132.8.32 2017/09/11 22:16:18 jdolecek Exp $");
#include "opt_ata.h"
@@ -1230,8 +1230,6 @@
else
TAILQ_INSERT_HEAD(&chp->ch_queue->queue_xfer, xfer,
c_xferchain);
- ATADEBUG_PRINT(("atastart from ata_exec_xfer, flags 0x%x\n",
- chp->ch_flags), DEBUG_XFERS);
/*
* if polling and can sleep, wait for the xfer to be at head of queue
@@ -1256,6 +1254,8 @@
ata_channel_unlock(chp);
+ ATADEBUG_PRINT(("atastart from ata_exec_xfer, flags 0x%x\n",
+ chp->ch_flags), DEBUG_XFERS);
atastart(chp);
}
Home |
Main Index |
Thread Index |
Old Index