GNU Linux-libre 4.14.332-gnu1
[releases.git] / drivers / scsi / eata_pio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /********************************************************
3 * Header file for eata_pio.c Linux EATA-PIO SCSI driver *
4 * (c) 1993-96 Michael Neuffer                           *
5 *********************************************************
6 * last change: 2002/11/02                               *
7 ********************************************************/
8
9
10 #ifndef _EATA_PIO_H
11 #define _EATA_PIO_H
12
13 #define VER_MAJOR 0
14 #define VER_MINOR 0
15 #define VER_SUB   "1b"
16
17 /************************************************************************
18  * Here you can switch parts of the code on and of                      *
19  ************************************************************************/
20
21 #define VERBOSE_SETUP           /* show startup screen of 2001 */
22 #define ALLOW_DMA_BOARDS 1
23
24 /************************************************************************
25  * Debug options.                                                       * 
26  * Enable DEBUG and whichever options you require.                      *
27  ************************************************************************/
28 #define DEBUG_EATA      1       /* Enable debug code.                       */
29 #define DPT_DEBUG       0       /* Bobs special                             */
30 #define DBG_DELAY       0       /* Build in delays so debug messages can be
31                                  * be read before they vanish of the top of
32                                  * the screen!
33                                  */
34 #define DBG_PROBE       0       /* Debug probe routines.                    */
35 #define DBG_ISA         0       /* Trace ISA routines                       */
36 #define DBG_EISA        0       /* Trace EISA routines                      */
37 #define DBG_PCI         0       /* Trace PCI routines                       */
38 #define DBG_PIO         0       /* Trace get_config_PIO                     */
39 #define DBG_COM         0       /* Trace command call                       */
40 #define DBG_QUEUE       0       /* Trace command queueing.                  */
41 #define DBG_INTR        0       /* Trace interrupt service routine.         */
42 #define DBG_INTR2       0       /* Trace interrupt service routine.         */
43 #define DBG_PROC        0       /* Debug proc-fs related statistics         */
44 #define DBG_PROC_WRITE  0
45 #define DBG_REGISTER    0       /* */
46 #define DBG_ABNORM      1       /* Debug abnormal actions (reset, abort)    */
47
48 #if DEBUG_EATA
49 #define DBG(x, y)   if ((x)) {y;}
50 #else
51 #define DBG(x, y)
52 #endif
53
54 #endif                          /* _EATA_PIO_H */