1 #ifndef _LINUX_CONFIG_H 2 #define _LINUX_CONFIG_H 3 4 #include <linux/autoconf.h> 5 6 /* 7 * Defines for what uname() should return 8 */ 9 #ifndef UTS_SYSNAME 10 #define UTS_SYSNAME "Linux" 11 #endif 12 #ifndef UTS_NODENAME 13 #define UTS_NODENAME "(none)" /* set by sethostname() */ 14 #endif 15 16 #ifdef CONFIG_M486 17 #define UTS_MACHINE "i486" /* hardware type */ 18 #else 19 #define UTS_MACHINE "i386" /* hardware type */ 20 #endif 21 22 #ifndef UTS_DOMAINNAME 23 #define UTS_DOMAINNAME "(none)" /* set by setdomainname() */ 24 #endif 25 26 /* 27 * The definitions for UTS_RELEASE and UTS_VERSION are now defined 28 * in linux/version.h, and should only be used by linux/version.c 29 */ 30 31 /* Don't touch these, unless you really know what your doing. */ 32 #define DEF_INITSEG 0x9000 33 #define DEF_SYSSEG 0x1000 34 #define DEF_SETUPSEG 0x9020 35 #define DEF_SYSSIZE 0x8000 36 37 /* internal svga startup constants */ 38 #define NORMAL_VGA 0xffff /* 80x25 mode */ 39 #define EXTENDED_VGA 0xfffe /* 80x50 mode */ 40 #define ASK_VGA 0xfffd /* ask for it at bootup */ 41 42 /* 43 * The root-device is no longer hard-coded. You can change the default 44 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 45 */ 46 47 /* 48 * The keyboard is now defined in kernel/chr_dev/keyboard.S 49 */ 50 51 /* 52 * Normally, Linux can get the drive parameters from the BIOS at 53 * startup, but if this for some unfathomable reason fails, you'd 54 * be left stranded. For this case, you can define HD_TYPE, which 55 * contains all necessary info on your harddisk. 56 * 57 * The HD_TYPE macro should look like this: 58 * 59 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 60 * 61 * In case of two harddisks, the info should be sepatated by 62 * commas: 63 * 64 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 65 */ 66 /* 67 This is an example, two drives, first is type 2, second is type 3: 68 69 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 70 71 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 72 with more than 8 heads. 73 74 If you want the BIOS to tell what kind of drive you have, just 75 leave HD_TYPE undefined. This is the normal thing to do. 76 */ 77 78 #undef HD_TYPE 79 80 /* 81 File type specific stuff goes into this. 82 */ 83 84 #ifdef ASM_SRC 85 #endif 86 87 #ifdef C_SRC 88 #endif 89 90 #ifdef MAKE 91 #endif 92 93 #endif