Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/include g/c PARTITIONSHIFT (not used anywhe...



details:   https://anonhg.NetBSD.org/src/rev/f93482565c69
branches:  trunk
changeset: 553944:f93482565c69
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Oct 23 09:02:26 2003 +0000

description:
g/c PARTITIONSHIFT (not used anywhere) and set MAXPARTITIONS directly to 8

diffstat:

 sys/arch/mvme68k/include/disklabel.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r c870aa538a75 -r f93482565c69 sys/arch/mvme68k/include/disklabel.h
--- a/sys/arch/mvme68k/include/disklabel.h      Thu Oct 23 09:01:44 2003 +0000
+++ b/sys/arch/mvme68k/include/disklabel.h      Thu Oct 23 09:02:26 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.7 2001/08/31 04:44:56 simonb Exp $     */
+/*     $NetBSD: disklabel.h,v 1.8 2003/10/23 09:02:26 jdolecek Exp $   */
 
 /*
  * Copyright (c) 1995 Dale Rahn.
@@ -36,11 +36,9 @@
 /* number of boot pieces , ie xxboot bootxx */
 #define NUMBOOT                0
 
-#define        PARTITIONSHIFT  3 /* could also be 4 if you need 16 partitions */
-
 #define LABELSECTOR     0                       /* sector containing label */
 #define LABELOFFSET    0                       /* offset of label in sector */
-#define MAXPARTITIONS  (1 << PARTITIONSHIFT)   /* number of partitions */
+#define MAXPARTITIONS  8                       /* number of partitions */
 #define RAW_PART       2                       /* raw partition: xx?c */
 
 /*



Home | Main Index | Thread Index | Old Index