diff options
-rw-r--r-- | sys/dev/softraid_crypto.c | 5 | ||||
-rw-r--r-- | sys/dev/softraidvar.h | 8 |
2 files changed, 3 insertions, 10 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index 98b399ac679..88c3198e328 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.2 2008/01/24 17:50:17 marco Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.3 2008/01/26 19:29:55 marco Exp $ */ /* * Copyright (c) 2007 Ted Unangst <tedu@openbsd.org> * @@ -48,9 +48,6 @@ struct cryptop * sr_crypto_getcryptop(struct sr_workunit *, int); void * sr_crypto_putcryptop(struct cryptop *); -int sr_crypto_alloc_resources(struct sr_discipline *); -int sr_crypto_free_resources(struct sr_discipline *); -int sr_crypto_rw(struct sr_workunit *); int sr_crypto_rw2(struct cryptop *); void sr_crypto_intr(struct buf *); int sr_crypto_intr2(struct cryptop *); diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index a9bd161007f..b968c209c57 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.38 2008/01/24 19:58:08 marco Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.39 2008/01/26 19:29:55 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -30,6 +30,7 @@ #define DEVNAME(_s) ((_s)->sc_dev.dv_xname) +/* #define SR_DEBUG */ #ifdef SR_DEBUG extern u_int32_t sr_debug; #define DPRINTF(x...) do { if (sr_debug) printf(x); } while(0) @@ -392,13 +393,8 @@ void sr_raid1_set_chunk_state(struct sr_discipline *, void sr_raid1_set_vol_state(struct sr_discipline *); /* crypto discipline */ -struct cryptop *sr_crypto_getcryptop(struct sr_workunit *, int); -void *sr_crypto_putcryptop(struct cryptop *); int sr_crypto_alloc_resources(struct sr_discipline *); int sr_crypto_free_resources(struct sr_discipline *); int sr_crypto_rw(struct sr_workunit *); -int sr_crypto_rw2(struct cryptop *); -void sr_crypto_intr(struct buf *); -int sr_crypto_intr2(struct cryptop *); #endif /* SOFTRAIDVAR_H */ |