diff options
author | phk <phk@FreeBSD.org> | 2003-06-07 09:06:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-06-07 09:06:39 +0000 |
commit | 0ad1aba3fb23644c368423acbc8cb2ee6f0bc807 (patch) | |
tree | 1974a361e6e6db2625561c199baf0f1f5a1bb44e /sys/sys/disklabel.h | |
parent | 37d82464e9a8031651c3846f649f1cb970903752 (diff) | |
download | FreeBSD-src-0ad1aba3fb23644c368423acbc8cb2ee6f0bc807.zip FreeBSD-src-0ad1aba3fb23644c368423acbc8cb2ee6f0bc807.tar.gz |
Sanitize the LABELSECTOR & LABELOFFSET definitions:
Remove sparc64 definitions.
Remove fallback definitions.
Diffstat (limited to 'sys/sys/disklabel.h')
-rw-r--r-- | sys/sys/disklabel.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 9653388..c838993 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -55,7 +55,7 @@ */ /* XXX these should be defined per controller (or drive) elsewhere, not here! */ -#if defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) || defined(__ia64__) #define LABELSECTOR 1 /* sector containing label */ #define LABELOFFSET 0 /* offset of label in sector */ #endif @@ -65,24 +65,6 @@ #define LABELOFFSET 64 #endif -#ifdef __ia64__ -#define LABELSECTOR 1 -#define LABELOFFSET 0 -#endif - -#ifdef __sparc64__ -#define LABELSECTOR 0 -#define LABELOFFSET 128 -#endif - -#ifndef LABELSECTOR -#define LABELSECTOR 0 -#endif - -#ifndef LABELOFFSET -#define LABELOFFSET 64 -#endif - #define DISKMAGIC ((u_int32_t)0x82564557) /* The disk magic number */ #ifndef MAXPARTITIONS #define MAXPARTITIONS 8 |