summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2007-11-26 13:49:26 +0000
committertedu <tedu@openbsd.org>2007-11-26 13:49:26 +0000
commite1b3187194df30ebc5bb14e4adb07e4fb39f0309 (patch)
treea345af238e7e41ca7dfb63e9e099256432dfcbb2 /sys/dev/softraid.c
parentif no arguments given, assume a nice default; ok miod jakemsr deanna (diff)
downloadwireguard-openbsd-e1b3187194df30ebc5bb14e4adb07e4fb39f0309.tar.xz
wireguard-openbsd-e1b3187194df30ebc5bb14e4adb07e4fb39f0309.zip
rename RAID C to RAID CRYPTO. makes marco happier
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 23f99ef80cf..e97092d5954 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.85 2007/11/16 05:08:39 djm Exp $ */
+/* $OpenBSD: softraid.c,v 1.86 2007/11/26 13:49:26 tedu Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -817,10 +817,10 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
strlcpy(sd->sd_name, "RAID 1", sizeof(sd->sd_name));
break;
#if 0
- case 'c':
+ case 'C':
if (no_chunk != 1)
goto unwind;
- strlcpy(sd->sd_name, "RAID C", sizeof(sd->sd_name));
+ strlcpy(sd->sd_name, "RAID CRYPTO", sizeof(sd->sd_name));
break;
#endif
default:
@@ -906,11 +906,11 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
sd->sd_set_vol_state = sr_raid_set_vol_state;
break;
#ifdef CRYPTO
- case 'c':
+ case 'C':
/* fill out discipline members */
- sd->sd_type = SR_MD_RAIDC;
+ sd->sd_type = SR_MD_RAIDCRYPTO;
sd->sd_max_ccb_per_wu = no_chunk;
- sd->sd_max_wu = SR_RAIDC_NOWU;
+ sd->sd_max_wu = SR_RAIDCRYPTO_NOWU;
/* setup discipline pointers */
sd->sd_alloc_resources = sr_raidc_alloc_resources;