summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-11-27 17:21:53 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-11-27 17:21:53 +0000
commit336a74325b737793f3dcbbf25488657fbabcec2e (patch)
treee1c7ccd7b233d383519df3cb8ef835b5d14f68ed /sys/dev/softraidvar.h
parentb8a0b44a0a7580978824d793ef83bc0c2ff22267 (diff)
also move softraid raid1 into own file, ok marco
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 04352a8a40f..3b5a4b6bf7c 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.34 2007/11/27 16:37:05 tedu Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.35 2007/11/27 17:21:52 tedu Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -362,6 +362,13 @@ void sr_raid_set_chunk_state(struct sr_discipline *,
void sr_raid_set_vol_state(struct sr_discipline *);
void sr_raid_startwu(struct sr_workunit *);
+int sr_raid1_alloc_resources(struct sr_discipline *);
+int sr_raid1_free_resources(struct sr_discipline *);
+int sr_raid1_rw(struct sr_workunit *);
+void sr_raid1_intr(struct buf *);
+void sr_raid1_recreate_wu(struct sr_workunit *);
+
+
/* crypto discipline */
struct cryptop * sr_crypto_getcryptop(struct sr_workunit *, int);
void * sr_crypto_putcryptop(struct cryptop *);