diff options
author | dfr <dfr@FreeBSD.org> | 2001-10-06 12:35:22 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-10-06 12:35:22 +0000 |
commit | ad0a8c18c5101480d017b8df5d0239f3445ed016 (patch) | |
tree | e340046fdfff7b7a6f4945c20508eaef6c309d05 | |
parent | 3beda2c349cd2a478d08039081461cd960739550 (diff) | |
download | FreeBSD-src-ad0a8c18c5101480d017b8df5d0239f3445ed016.zip FreeBSD-src-ad0a8c18c5101480d017b8df5d0239f3445ed016.tar.gz |
Put the label at the same place as i386 for compatibility.
-rw-r--r-- | sys/sys/disklabel.h | 5 | ||||
-rw-r--r-- | sys/sys/diskmbr.h | 5 | ||||
-rw-r--r-- | sys/sys/diskpc98.h | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index fe93b65..7d51a84 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index fe93b65..7d51a84 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index fe93b65..7d51a84 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -66,6 +66,11 @@ #define LABELOFFSET 64 #endif +#ifdef __ia64__ +#define LABELSECTOR 1 /* sector containing label */ +#define LABELOFFSET 0 /* offset of label in sector */ +#endif + #ifndef LABELSECTOR #define LABELSECTOR 0 /* sector containing label */ #endif |