root/include/linux/config.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _CONFIG_H
   2 #define _CONFIG_H
   3 
   4 /* #define LASU_HD */
   5 #define LINUS_HD
   6 
   7 /*
   8  * Amount of ram memory (in bytes, 640k-1M not discounted). Currently 8Mb.
   9  * Don't make this bigger without making sure that there are enough page
  10  * directory entries (boot/head.s)
  11  */
  12 #if     defined(LINUS_HD)
  13 #define HIGH_MEMORY (0x800000)
  14 #elif   defined(LASU_HD)
  15 #define HIGH_MEMORY (0x400000)
  16 #else
  17 #error "must define hd"
  18 #endif
  19 
  20 /* End of buffer memory. Must be 0xA0000, or > 0x100000, 4096-byte aligned */
  21 #if (HIGH_MEMORY>=0x600000)
  22 #define BUFFER_END 0x200000
  23 #else
  24 #define BUFFER_END 0xA0000
  25 #endif
  26 
  27 /* Root device at bootup. */
  28 #if     defined(LINUS_HD)
  29 #define ROOT_DEV 0x306
  30 #elif   defined(LASU_HD)
  31 #define ROOT_DEV 0x302
  32 #else
  33 #error "must define HD"
  34 #endif
  35 
  36 /*
  37  * HD type. If 2, put 2 structures with a comma. If just 1, put
  38  * only 1 struct. The structs are { HEAD, SECTOR, TRACKS, WPCOM, LZONE, CTL }
  39  *
  40  * NOTE. CTL is supposed to be 0 for drives with less than 8 heads, and
  41  * 8 if heads >= 8. Don't know why, and I haven't tested it on a drive with
  42  * more than 8 heads, but that is what the bios-listings seem to imply. I
  43  * just love not having a manual.
  44  */
  45 #if     defined(LASU_HD)
  46 #define HD_TYPE { 7,35,915,65536,920,0 }
  47 #elif   defined(LINUS_HD)
  48 #define HD_TYPE { 5,17,980,300,980,0 },{ 5,17,980,300,980,0 }
  49 #else
  50 #error "must define a hard-disk type"
  51 #endif
  52 
  53 #endif

/* [previous][next][first][last][top][bottom][index][help] */