Home | History | Annotate | Line # | Download | only in ata
      1  1.5  jdolecek /*	$NetBSD: ataconf.h,v 1.5 2017/10/10 17:19:38 jdolecek Exp $	*/
      2  1.1     itohy 
      3  1.1     itohy /*
      4  1.1     itohy  * Written in 2006 by ITOH Yasufumi.
      5  1.1     itohy  * Public domain.
      6  1.1     itohy  */
      7  1.1     itohy 
      8  1.1     itohy #ifndef _DEV_ATA_ATACONF_H_
      9  1.1     itohy #define _DEV_ATA_ATACONF_H_
     10  1.1     itohy 
     11  1.3       apb #if defined(_KERNEL_OPT)
     12  1.3       apb #include "opt_modular.h"
     13  1.3       apb #endif /* defined(_KERNEL_OPT) */
     14  1.3       apb 
     15  1.2        ad #if !defined(_KERNEL_OPT) || defined(MODULAR)
     16  1.1     itohy 
     17  1.2        ad /* compile-in everything for module or module-enabled kernel */
     18  1.1     itohy # define NATA_DMA	1
     19  1.1     itohy # define NATA_UDMA	1
     20  1.1     itohy # define NATA_PIOBM	1
     21  1.1     itohy 
     22  1.1     itohy #else
     23  1.1     itohy 
     24  1.1     itohy # include "ata_dma.h"
     25  1.1     itohy # if NATA_UDMA > 1 && NATA_DMA == 0
     26  1.1     itohy    #error ata_udma requires ata_dma
     27  1.1     itohy # endif
     28  1.1     itohy 
     29  1.1     itohy #endif
     30  1.1     itohy 
     31  1.1     itohy #endif /* _DEV_ATA_ATACONF_H_ */
     32