Sanitize the LABELSECTOR & LABELOFFSET definitions:
Remove sparc64 definitions. Remove fallback definitions.
This commit is contained in:
parent
d83e355c40
commit
2d20f433ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115947
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user