From: David Schleef Date: Tue, 10 Jul 2001 21:19:12 +0000 (+0000) Subject: Added wrapper defs for cmdtest X-Git-Tag: r0_7_60~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11f97e99173c5a58cfd01e7ee747abb5d16845bb;p=comedi.git Added wrapper defs for cmdtest --- diff --git a/comedi/drivers/8253.h b/comedi/drivers/8253.h index 374f74df..3892467a 100644 --- a/comedi/drivers/8253.h +++ b/comedi/drivers/8253.h @@ -24,7 +24,11 @@ #ifndef _8253_H #define _8253_H +#ifndef CMDTEST #include +#else +#include +#endif #define i8253_cascade_ns_to_timer i8253_cascade_ns_to_timer_2div @@ -194,6 +198,7 @@ static inline void i8253_cascade_ns_to_timer_2div(int i8253_osc_base, return; } +#ifndef CMDTEST /* Programs 8254 counter chip. It should also work for the 8253. * base_address is the lowest io address for the chip (the address of counter 0). * counter_number is the counter you want to load (0,1 or 2) @@ -248,6 +253,7 @@ static inline int i8254_mm_load(unsigned int base_address, return 0; } +#endif #endif