Update debian/control file
[rrq/maintain_lilo.git] / src / lilo.h
index 1f1ef7dcaf0d81b5cf172f78f80746f3a2c7c867..c11330b4b166e30b0d7976f8e2a4117a593f51d9 100644 (file)
@@ -1,14 +1,13 @@
 /* lilo.h  -  LILO constants
-
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2006 John Coffman
+ * Copyright 2009-2013 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 /* This file is also included by the boot loader assembler code. Put
    everything that isn't legal C syntax or isn't swallowed by the
@@ -147,11 +146,16 @@ source directory.
 #define MAJOR_SD16     135 /* SCSI disks    -255 */
 #define MAJOR_DAC960_8 136 /* Ninth Mylex DAC960 PCI RAID controller */
 #define MAJOR_EMD      153 /* Enhanced multi-disk RAID sets */
-#define MAJOR_SATA     160 /* Carmel SATA Disk on first 8-port controller */
-#define MAJOR_SATA2    161 /* Carmel SATA Disk on 2nd 8-port controller */
+#define MAJOR_CARM1    160 /* Carmel SATA Disk on first 8-port controller */
+#define MAJOR_CARM2    161 /* Carmel SATA Disk on 2nd 8-port controller */
+
 /* don't use the following */
 #define MAJOR_MDP      254 /* Enhanced multi-disk RAID sets [experimental?] */
 
+/* high partitions (>15) on SATA hard disks */
+#define MAJOR_SATA1    259 /* high SATA disk partitions */
+#define MAJOR_SATA2    260 /* high SATA disk partitions */
+
 #define MAX_TOKEN      1023 /* max device Token length */
 #define MAX_IMAGE_NAME 15 /* maximum name length (w/o terminating NUL) */
 #define MAX_DESCR_SECTORS  12  /* upper limit on MAX_DESCR_SECS */
@@ -226,7 +230,7 @@ source directory.
 #define PART_WIN_EXTD_LBA 0xF  /* Win95/98 Extended partition */
 #define PART_LINUX_EXTD   0x85 /* Linux Extended partition */
 #define PART_LINUX_LVM    0x8E /* Linux LVM partition */
-#define PART_OS2_BOOTMGR  0xA  /* OS/2 Boot Manager */
+/* #define PART_OS2_BOOTMGR  0xA       -  OS/2 Boot Manager */
 
 #define PART_DOS12       1     /* DOS 12 bit FAT partition type */
 #define PART_DOS16_SMALL  4    /* DOS 16 bit FAT partition type, < 32 MB */
@@ -253,12 +257,11 @@ source directory.
 #define STAGE_FLAG_MENU        0x0200  /* boot loader supports menu interface */
 #define STAGE_FLAG_BMP4        0x0400  /* boot loader supports 640x480x4 bitmaps */
 
-#define SETUPSECS      4       /* nr of setup sectors */
-#define VSS_NUM                497     /* address where variable setup size is
-                                  stored */
+#define VSS_NUM                497     /* address where variable setup size is stored */
 #define VGA_SET                506     /* address of initial kernel VGA mode */
-#define MAX_SETUPSECS  31      /* maximum number of sectors in kernel
-                                  setup code (+ bootsect) */
+#define SETUPSECS      4       /* default number of setup sectors */
+#define MAX_SETUPSECS  63      /* maximum number of sectors in kernel
+                                  setup code (+ bootsect)  (for kernel >= 2.4.0) */
 #define MAX_KERNEL_SECS        1024    /* absolute maximum kernel size */
 #define SPECIAL_SECTORS        2       /* special sectors (don't compact) at beginning
                                   of map sections */