We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b872402 commit 937427cCopy full SHA for 937427c
1 file changed
src/hal/drivers/hal_evoreg.c
@@ -66,20 +66,9 @@
66
#include <rtapi_ctype.h> /* isspace() */
67
#include <rtapi.h> /* RTAPI realtime OS API */
68
#include <rtapi_app.h> /* RTAPI realtime module decls */
69
+#include <rtapi_io.h> /* rtapi_inb(), rtapi_outb() */
70
#include <hal.h> /* HAL public API decls */
71
-/* If FASTIO is defined, uses outb() and inb() from <asm.io>,
72
- instead of rtapi_outb() and rtapi_inb() - the <asm.io> ones
73
- are inlined, and save a microsecond or two (on my 233MHz box)
74
-*/
75
-#define FASTIO
76
-
77
-#ifdef FASTIO
78
-#define rtapi_inb inb
79
-#define rtapi_outb outb
80
-#include <asm/io.h>
81
-#endif
82
83
/* module information */
84
MODULE_AUTHOR("Martin Kuhnle");
85
MODULE_DESCRIPTION("SIEMENS-EVOREG Driver for EMC HAL");
0 commit comments