1 /* This is the master header for all device drivers. It includes some other
2 * files and defines the principal constants.
8 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
9 #define _MINIX 1 /* tell headers to include MINIX stuff */
10 #define _SYSTEM 1 /* get negative error number in <errno.h> */
12 /* The following are so basic, all the *.c files get them automatically. */
13 #include <minix/config.h> /* MUST be first */
14 #include <minix/type.h>
15 #include <minix/com.h>
16 #include <minix/dmap.h>
17 #include <minix/callnr.h>
18 #include <sys/types.h>
19 #include <minix/const.h>
20 #include <minix/devio.h>
21 #include <minix/syslib.h>
22 #include <minix/sysutil.h>
23 #include <minix/timers.h>
24 #include <minix/spin.h>
25 #include <minix/bitmap.h>
27 #include <machine/interrupt.h> /* IRQ vectors and miscellaneous ports */
29 #include <machine/bios.h> /* BIOS index numbers */
30 #include <machine/ports.h> /* Well-known ports */
40 #include <sys/param.h>