1 #ifndef _CONFIG_H 2 #define _CONFIG_H 3 4 /* 5 * Defines for what uname() should return 6 */ 7 #ifndef UTS_SYSNAME 8 #define UTS_SYSNAME "Linux" 9 #endif 10 #ifndef UTS_NODENAME 11 #define UTS_NODENAME "(none)" /* set by sethostname() */ 12 #endif 13 #include <linux/config_rel.h> 14 #ifndef UTS_RELEASE 15 #define UTS_RELEASE "0.95c-0" 16 #endif 17 #include <linux/config_ver.h> 18 #ifndef UTS_VERSION 19 #define UTS_VERSION "mm/dd/yy" 20 #endif 21 #define UTS_MACHINE "i386" /* hardware type */ 22 23 /* Don't touch these, unless you really know what your doing. */ 24 #define DEF_INITSEG 0x9000 25 #define DEF_SYSSEG 0x1000 26 #define DEF_SETUPSEG 0x9020 27 #define DEF_SYSSIZE 0x4000 28 29 /* 30 * The root-device is no longer hard-coded. You can change the default 31 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 32 */ 33 34 /* 35 * The keyboard is now defined in kernel/chr_dev/keyboard.S 36 */ 37 38 /* 39 * Normally, Linux can get the drive parameters from the BIOS at 40 * startup, but if this for some unfathomable reason fails, you'd 41 * be left stranded. For this case, you can define HD_TYPE, which 42 * contains all necessary info on your harddisk. 43 * 44 * The HD_TYPE macro should look like this: 45 * 46 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 47 * 48 * In case of two harddisks, the info should be sepatated by 49 * commas: 50 * 51 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 52 */ 53 /* 54 This is an example, two drives, first is type 2, second is type 3: 55 56 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 57 58 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 59 with more than 8 heads. 60 61 If you want the BIOS to tell what kind of drive you have, just 62 leave HD_TYPE undefined. This is the normal thing to do. 63 */ 64 65 #endif