diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-18 21:04:34 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-18 21:04:34 +0000 |
commit | 997a5e8dafd7f29196d23e02fa6d4ef4a10da2bf (patch) | |
tree | a2b5847010d846c6763255e620f7c979a815e5ed /sys/dev | |
parent | c9f6a129945461c2d0bf38bb22047587232d8d34 (diff) |
bring sparc64 OUT of the stone age... MAXPARTITIONS 16
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sun/disklabel.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/sun/disklabel.h b/sys/dev/sun/disklabel.h index 10a7bdbb59f..e5eca6e0a58 100644 --- a/sys/dev/sun/disklabel.h +++ b/sys/dev/sun/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.1 2001/08/19 05:38:27 jason Exp $ */ +/* $OpenBSD: disklabel.h,v 1.2 2001/09/18 21:04:33 jason Exp $ */ /* $NetBSD: disklabel.h,v 1.2 1998/08/22 14:55:28 mrg Exp $ */ /* @@ -87,10 +87,15 @@ struct sun_dkpart { int sdkp_nsectors; /* number of sectors */ }; +#define SUNXPART 8 +#define SL_XPMAG (0x199d1fe2+SUNXPART) + struct sun_disklabel { /* total size = 512 bytes */ char sl_text[128]; - char sl_xxx1[292]; -#define sl_bsdlabel sl_xxx1 /* Embedded NetBSD label */ + u_int sl_xpsum; /* additive cksum, [xl_xpmag,sl_xx1) */ + u_int sl_xpmag; /* "extended" magic number */ + struct sun_dkpart sl_xpart[SUNXPART]; /* "extended" partitions, i through p */ + char sl_xxx1[292-8-(8*SUNXPART)]; /* [292] include sl_x* */ u_short sl_rpm; /* rotational speed */ u_short sl_pcylinders; /* number of physical cyls */ #define sl_pcyl sl_pcylinders /* XXX: old sun3 */ |