summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sliceio.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/sys/sys/sliceio.h b/sys/sys/sliceio.h
deleted file mode 100644
index e93eb3b..0000000
--- a/sys/sys/sliceio.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * $FreeBSD$
- */
-
-#ifndef _SYS_SLICEIO_H_
-#define _SYS_SLICEIO_H_
-
-#ifndef KERNEL
-#include <sys/types.h>
-#endif
-#include <sys/ioccom.h>
-#define SLCTYPE_SIZE 16
-#define SLCNAME_SIZE 32
-
-struct sliceinfo {
- u_int64_t size;
- u_int32_t blocksize;
- char type[SLCTYPE_SIZE]; /* e.g. sd or raw*/
- char hint[SLCTYPE_SIZE]; /* e.g. mbr or ""*/
- char handler[SLCTYPE_SIZE]; /* e.g. mbr or "" */
- char devicename[SLCNAME_SIZE]; /* e.g. sd0s1a */
-};
-
-struct subsliceinfo {
- struct sliceinfo wholesliceinfo; /* size of the whole slice */
- int slicenumber; /* which subslice we are on */
- u_int64_t offset; /* where that subslice starts */
- struct sliceinfo subsliceinfo; /* info about that subslice */
-};
-
-#define SLCIOCRESET _IO('S', 0) /* reset and reprobe. */
-#define SLCIOCINQ _IOR('S', 2, struct sliceinfo) /* info on container */
-#define SLCIOCMOD _IOW('S', 3, struct sliceinfo) /* force container */
-#define SLCIOCGETSUB _IOWR('S', 4, struct subsliceinfo) /* get sub info */
-#define SLCIOCSETSUB _IOWR('S', 5, struct subsliceinfo) /* set sub info */
-#define SLCIOCTRANSBAD _IOWR('S', 6, daddr_t) /* map bad144 sector */
-
-#endif /* !_SYS_SLICEIO_H_ */
OpenPOWER on IntegriCloud