summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2007-06-02 01:52:25 +0000
committermarco <marco@openbsd.org>2007-06-02 01:52:25 +0000
commit0083a49dbb347da80588392ddc5ed5a8aef5d63b (patch)
tree1c1c37f0eb026d46bac9519e0ef474d211276f0c /sys/dev/softraid.c
parentstand/ofdev.h (diff)
downloadwireguard-openbsd-0083a49dbb347da80588392ddc5ed5a8aef5d63b.tar.xz
wireguard-openbsd-0083a49dbb347da80588392ddc5ed5a8aef5d63b.zip
Disable crypto until we figure out proper key management and other stuff
only tedu understands.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index c2212437b5d..49034019bce 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.71 2007/06/02 01:49:27 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.72 2007/06/02 01:52:25 marco Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -825,11 +825,13 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
goto unwind;
strlcpy(sd->sd_name, "RAID 1", sizeof(sd->sd_name));
break;
+#if 0
case 'c':
if (no_chunk != 1)
goto unwind;
strlcpy(sd->sd_name, "RAID C", sizeof(sd->sd_name));
break;
+#endif
default:
goto unwind;
}