1 #ifndef_LINUX_CONFIG_H 2 #define_LINUX_CONFIG_H 3
4 #defineCONFIG_DISTRIBUTION 5
6 /* 7 * Defines for what uname() should return 8 */ 9 #ifndefUTS_SYSNAME 10 #defineUTS_SYSNAME "Linux"
11 #endif 12 #ifndefUTS_NODENAME 13 #defineUTS_NODENAME "(none)" /* set by sethostname() */ 14 #endif 15 #defineUTS_MACHINE "i386" /* hardware type */ 16 /* 17 * The definitions for UTS_RELEASE and UTS_VERSION are now defined 18 * in linux/version.h, and should only be used by linux/version.c 19 */ 20
21 /* Don't touch these, unless you really know what your doing. */ 22 #define DEF_INITSEG 0x9000
23 #define DEF_SYSSEG 0x1000
24 #define DEF_SETUPSEG 0x9020
25 #define DEF_SYSSIZE 0x7000
26
27 /* internal svga startup constants */ 28 #define NORMAL_VGA 0xffff /* 80x25 mode */ 29 #define EXTENDED_VGA 0xfffe /* 80x50 mode */ 30 #define ASK_VGA 0xfffd /* ask for it at bootup */ 31
32 /* 33 * The root-device is no longer hard-coded. You can change the default 34 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 35 */ 36
37 /* 38 * The keyboard is now defined in kernel/chr_dev/keyboard.S 39 */ 40
41 /* 42 * Normally, Linux can get the drive parameters from the BIOS at 43 * startup, but if this for some unfathomable reason fails, you'd 44 * be left stranded. For this case, you can define HD_TYPE, which 45 * contains all necessary info on your harddisk. 46 * 47 * The HD_TYPE macro should look like this: 48 * 49 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 50 * 51 * In case of two harddisks, the info should be sepatated by 52 * commas: 53 * 54 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 55 */ 56 /* 57 This is an example, two drives, first is type 2, second is type 3: 58
59 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 60
61 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 62 with more than 8 heads. 63
64 If you want the BIOS to tell what kind of drive you have, just 65 leave HD_TYPE undefined. This is the normal thing to do. 66 */ 67
68 #undefHD_TYPE 69
70 #defineCONFIG_BLK_DEV_HD 71 #undefCONFIG_BLK_DEV_SD 72 #undefCONFIG_BLK_DEV_ST 73 #undefCONFIG_BLK_DEV_SR 74
75
76 /* 77 Choose supported SCSI adapters here. 78 */ 79
80 #undefCONFIG_SCSI_AHA1542 81 #undefCONFIG_SCSI_AHA1740 82 #undef CONFIG_SCSI_ALWAYS
83 #undefCONFIG_SCSI_CSC 84 #undefCONFIG_SCSI_DTC 85 #undefCONFIG_SCSI_FUTURE_DOMAIN 86 #undefCONFIG_SCSI_SEAGATE 87 #undefCONFIG_SCSI_ULTRASTOR 88 #undefCONFIG_SCSI_7000FASST 89
90 #ifdefined(CONFIG_BLK_DEV_SD) || defined(CONFIG_BLK_DEV_SR) || \
91 defined(CONFIG_CHR_DEV_ST)
92 #ifndefCONFIG_SCSI 93 #defineCONFIG_SCSI 94 #endif 95
96 #if !defined(CONFIG_SCSI_AHA1542) && !defined(CONFIG_SCSI_AHA1740) && !defined(CONFIG_SCSI_CSC) && !defined(CONFIG_SCSI_DTC) && \
97 !defined(CONFIG_SCSI_FUTURE_DOMAIN) && !defined(CONFIG_SCSI_SEAGATE) && !defined(CONFIG_SCSI_ULTRASTOR) && \
98 !defined(CONFIG_SCSI_7000FASST)
99 #error Error : SCSI devices enabled, but no low level drivers have been enabled.
100 #endif 101 #endif 102
103 /* 104 * Choose filesystems here. 105 */ 106
107 #defineMINIX_FS 108 #defineEXT_FS 109 #defineMSDOS_FS 110 #definePROC_FS 111 #undefNFS_FS 112 #undefISO9660_FS 113
114 #ifdefCONFIG_DISTRIBUTION 115 #include <linux/config.dist.h>
116 #else 117 #include <linux/config.site.h>
118 #endif 119
120 /* 121 File type specific stuff goes into this. 122 */ 123
124 #ifdef ASM_SRC
125 #endif 126
127 #ifdef C_SRC
128 #endif 129
130 #ifdef MAKE
131 #endif 132
133 #endif