summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-19 12:53:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-19 12:53:22 +0000
commit9c3f149c27aa6cd3525b7737f791120c0ab4471c (patch)
tree394a8a111972a4dd8bee79ab9d97ed75e0f83278
parent13aae4d265ccfa662472a0f292aa7ec4e8853805 (diff)
sun_* -> sunos_*
-rw-r--r--sys/arch/sparc/include/sun_disklabel.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/sparc/include/sun_disklabel.h b/sys/arch/sparc/include/sun_disklabel.h
index 90fc6803c2e..0b71c423cc3 100644
--- a/sys/arch/sparc/include/sun_disklabel.h
+++ b/sys/arch/sparc/include/sun_disklabel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sun_disklabel.h,v 1.5 1995/06/26 22:09:47 pk Exp $ */
+/* $NetBSD: sun_disklabel.h,v 1.4 1995/03/28 18:20:12 jtc Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -51,9 +51,9 @@
#define SUN_DKMAGIC 55998
/* These are the guys that Sun's dkinfo needs... */
-#define DKIOCGGEOM _IOR('d', 2, struct sun_dkgeom) /* geometry info */
-#define DKIOCINFO _IOR('d', 8, struct sun_dkctlr) /* controller info */
-#define DKIOCGPART _IOR('d', 4, struct sun_dkpart) /* partition info */
+#define SUNOS_DKIOCGGEOM _IOR('d', 2, struct sun_dkgeom) /* geometry info */
+#define SUNOS_DKIOCINFO _IOR('d', 8, struct sun_dkctlr) /* controller info */
+#define SUNOS_DKIOCGPART _IOR('d', 4, struct sun_dkpart) /* partition info */
/* geometry info */
struct sun_dkgeom {
@@ -107,9 +107,5 @@ struct sun_disklabel { /* total size = 512 bytes */
#define SUN_LABELOFFSET 128
#ifdef _KERNEL
-/* reads sun label in sector at [cp..cp+511] and sets *lp to BSD label */
-int sun_disklabel __P((caddr_t, struct disklabel *)); /* true on success */
-
-/* compatability dk ioctl's */
-int sun_dkioctl __P((struct dkdevice *, u_long, caddr_t, int));
+int sunos_dkioctl __P((struct dkdevice *, u_long, caddr_t, int));
#endif