Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/sys Pull up revision 1.5 (requested by fvdl):
details: https://anonhg.NetBSD.org/src/rev/efc5977e8881
branches: netbsd-1-5
changeset: 491525:efc5977e8881
user: he <he%NetBSD.org@localhost>
date: Tue May 01 12:26:59 2001 +0000
description:
Pull up revision 1.5 (requested by fvdl):
Increase the number of BSD disklabel partitions on i386 to 16.
diffstat:
sys/sys/dkio.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 864885521587 -r efc5977e8881 sys/sys/dkio.h
--- a/sys/sys/dkio.h Tue May 01 12:26:56 2001 +0000
+++ b/sys/sys/dkio.h Tue May 01 12:26:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dkio.h,v 1.4 1999/12/23 21:23:31 leo Exp $ */
+/* $NetBSD: dkio.h,v 1.4.4.1 2001/05/01 12:26:59 he Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@@ -47,6 +47,12 @@
#define DIOCWDINFO _IOW('d', 103, struct disklabel)/* set, update disk */
#define DIOCGPART _IOW('d', 104, struct partinfo) /* get partition */
+#if defined(__HAVE_OLD_DISKLABEL) && defined(_KERNEL)
+#define ODIOCGDINFO _IOR('d', 101, struct olddisklabel)/* get */
+#define ODIOCSDINFO _IOW('d', 102, struct olddisklabel)/* set */
+#define ODIOCWDINFO _IOW('d', 103, struct olddisklabel)/* set, update dk */
+#endif
+
/* do format operation, read or write */
#define DIOCRFORMAT _IOWR('d', 105, struct format_op)
#define DIOCWFORMAT _IOWR('d', 106, struct format_op)
@@ -65,4 +71,8 @@
#define DIOCGDEFLABEL _IOR('d', 114, struct disklabel)
#define DIOCCLRLABEL _IO('d', 115)
+#if defined(__HAVE_OLD_DISKLABEL) && defined(_KERNEL)
+#define ODIOCGDEFLABEL _IOR('d', 114, struct olddisklabel)
+#endif
+
#endif /* _SYS_DKIO_H_ */
Home |
Main Index |
Thread Index |
Old Index