aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio.h
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2008-12-25 07:38:46 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 07:38:59 -0500
commit22f9934767f49012ffbae753b28b8055bd28348f (patch)
tree7cb58ceff25b9c6b5ade5646b6444b7689621f81 /drivers/s390/cio/qdio.h
parent9a1ce28aeb7a8b1666eaa9f104c1a2f5a149f9df (diff)
[S390] qdio: rework debug feature logging
- make qdio_trace a per device view - remove s390dbf exceptions - remove CONFIG_QDIO_DEBUG, not needed anymore if we check for the level before calling sprintf - use snprintf for dbf entries - add start markers to see if the dbf view wrapped - add a global error view for all queues Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio.h')
-rw-r--r--drivers/s390/cio/qdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h
index e4e33839c7fe..7b50882577d5 100644
--- a/drivers/s390/cio/qdio.h
+++ b/drivers/s390/cio/qdio.h
@@ -10,6 +10,7 @@
10 10
11#include <asm/page.h> 11#include <asm/page.h>
12#include <asm/schid.h> 12#include <asm/schid.h>
13#include <asm/debug.h>
13#include "chsc.h" 14#include "chsc.h"
14 15
15#define QDIO_BUSY_BIT_PATIENCE 100 /* 100 microseconds */ 16#define QDIO_BUSY_BIT_PATIENCE 100 /* 100 microseconds */
@@ -300,11 +301,13 @@ struct qdio_irq {
300 struct qdio_q *input_qs[QDIO_MAX_QUEUES_PER_IRQ]; 301 struct qdio_q *input_qs[QDIO_MAX_QUEUES_PER_IRQ];
301 struct qdio_q *output_qs[QDIO_MAX_QUEUES_PER_IRQ]; 302 struct qdio_q *output_qs[QDIO_MAX_QUEUES_PER_IRQ];
302 303
304 debug_info_t *debug_area;
303 struct mutex setup_mutex; 305 struct mutex setup_mutex;
304}; 306};
305 307
306/* helper functions */ 308/* helper functions */
307#define queue_type(q) q->irq_ptr->qib.qfmt 309#define queue_type(q) q->irq_ptr->qib.qfmt
310#define SCH_NO(q) (q->irq_ptr->schid.sch_no)
308 311
309#define is_thinint_irq(irq) \ 312#define is_thinint_irq(irq) \
310 (irq->qib.qfmt == QDIO_IQDIO_QFMT || \ 313 (irq->qib.qfmt == QDIO_IQDIO_QFMT || \