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