eata_pio.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #ifndef _EATA_PIO_H
  8. #define _EATA_PIO_H
  9. #define VER_MAJOR 0
  10. #define VER_MINOR 0
  11. #define VER_SUB "1b"
  12. /************************************************************************
  13. * Here you can switch parts of the code on and of *
  14. ************************************************************************/
  15. #define VERBOSE_SETUP /* show startup screen of 2001 */
  16. #define ALLOW_DMA_BOARDS 1
  17. /************************************************************************
  18. * Debug options. *
  19. * Enable DEBUG and whichever options you require. *
  20. ************************************************************************/
  21. #define DEBUG_EATA 1 /* Enable debug code. */
  22. #define DPT_DEBUG 0 /* Bobs special */
  23. #define DBG_DELAY 0 /* Build in delays so debug messages can be
  24. * be read before they vanish of the top of
  25. * the screen!
  26. */
  27. #define DBG_PROBE 0 /* Debug probe routines. */
  28. #define DBG_ISA 0 /* Trace ISA routines */
  29. #define DBG_EISA 0 /* Trace EISA routines */
  30. #define DBG_PCI 0 /* Trace PCI routines */
  31. #define DBG_PIO 0 /* Trace get_config_PIO */
  32. #define DBG_COM 0 /* Trace command call */
  33. #define DBG_QUEUE 0 /* Trace command queueing. */
  34. #define DBG_INTR 0 /* Trace interrupt service routine. */
  35. #define DBG_INTR2 0 /* Trace interrupt service routine. */
  36. #define DBG_PROC 0 /* Debug proc-fs related statistics */
  37. #define DBG_PROC_WRITE 0
  38. #define DBG_REGISTER 0 /* */
  39. #define DBG_ABNORM 1 /* Debug abnormal actions (reset, abort) */
  40. #if DEBUG_EATA
  41. #define DBG(x, y) if ((x)) {y;}
  42. #else
  43. #define DBG(x, y)
  44. #endif
  45. #endif /* _EATA_PIO_H */