00001 /* This is the master header for all device drivers. It includes some other 00002 * files and defines the principal constants. 00003 */ 00004 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */ 00005 #define _MINIX 1 /* tell headers to include MINIX stuff */ 00006 #define _SYSTEM 1 /* get negative error number in <errno.h> */ 00007 00008 /* The following are so basic, all the *.c files get them automatically. */ 00009 #include <minix/config.h> /* MUST be first */ 00010 #include <ansi.h> /* MUST be second */ 00011 #include <minix/type.h> 00012 #include <minix/com.h> 00013 #include <minix/dmap.h> 00014 #include <minix/callnr.h> 00015 #include <sys/types.h> 00016 #include <minix/const.h> 00017 #include <minix/devio.h> 00018 #include <minix/syslib.h> 00019 #include <minix/sysutil.h> 00020 #include <minix/bitmap.h> 00021 00022 #include <ibm/interrupt.h> /* IRQ vectors and miscellaneous ports */ 00023 #include <ibm/bios.h> /* BIOS index numbers */ 00024 #include <ibm/ports.h> /* Well-known ports */ 00025 00026 #include <string.h> 00027 #include <signal.h> 00028 #include <stdlib.h> 00029 #include <limits.h> 00030 #include <stddef.h> 00031 #include <errno.h> 00032 #include <unistd.h> 00033
1.5.8