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 /* 28 * The root-device is no longer hard-coded. You can change the default 29 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 30 */ 31
32 /* 33 * The keyboard is now defined in kernel/chr_dev/keyboard.S 34 */ 35
36 /* 37 * Normally, Linux can get the drive parameters from the BIOS at 38 * startup, but if this for some unfathomable reason fails, you'd 39 * be left stranded. For this case, you can define HD_TYPE, which 40 * contains all necessary info on your harddisk. 41 * 42 * The HD_TYPE macro should look like this: 43 * 44 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 45 * 46 * In case of two harddisks, the info should be sepatated by 47 * commas: 48 * 49 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 50 */ 51 /* 52 This is an example, two drives, first is type 2, second is type 3: 53
54 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 55
56 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 57 with more than 8 heads. 58
59 If you want the BIOS to tell what kind of drive you have, just 60 leave HD_TYPE undefined. This is the normal thing to do. 61 */ 62
63 #undefHD_TYPE 64
65 #defineCONFIG_BLK_DEV_HD 66 #undefCONFIG_BLK_DEV_SD 67 #undefCONFIG_BLK_DEV_ST 68 #undefCONFIG_BLK_DEV_SR 69
70
71 /* 72 Choose supported SCSI adapters here. 73 */ 74
75 #undefCONFIG_SCSI_AHA1542 76 #undef CONFIG_SCSI_ALWAYS
77 #undefCONFIG_SCSI_CSC 78 #undefCONFIG_SCSI_DTC 79 #undefCONFIG_SCSI_FUTURE_DOMAIN 80 #undefCONFIG_SCSI_SEAGATE 81 #undefCONFIG_SCSI_ULTRASTOR 82 #undefCONFIG_SCSI_7000FASST 83
84 #ifdefined(CONFIG_BLK_DEV_SD) || defined(CONFIG_BLK_DEV_SR) || \
85 defined(CONFIG_CHR_DEV_ST)
86 #ifndefCONFIG_SCSI 87 #defineCONFIG_SCSI 88 #endif 89
90 #if !defined(CONFIG_SCSI_AHA1542) && !defined(CONFIG_SCSI_CSC) && !defined(CONFIG_SCSI_DTC) && \
91 !defined(CONFIG_SCSI_FUTURE_DOMAIN) && !defined(CONFIG_SCSI_SEAGATE) && !defined(CONFIG_SCSI_ULTRASTOR) && \
92 !defined(CONFIG_SCSI_7000FASST)
93 #error Error : SCSI devices enabled, but no low level drivers have been enabled.
94 #endif 95 #endif 96
97 #ifdefCONFIG_DISTRIBUTION 98 #include <linux/config.dist.h>
99 #else 100 #include <linux/config.site.h>
101 #endif 102
103 /* 104 File type specific stuff goes into this. 105 */ 106
107 #ifdef ASM_SRC
108 #endif 109
110 #ifdef C_SRC
111 #endif 112
113 #ifdef MAKE
114 #endif 115
116 #endif