summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-06-17 22:44:43 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-06-17 22:44:43 +0000
commit851100dc32d2b98d73cd416c018ed5ef8f653c57 (patch)
treeee6ac69ef5d17f6ecea41ae1137d7d389484e2ff /sys/dev/softraidvar.h
parent1f954a30c36d5019e4c1a3acf2e814c649eab270 (diff)
Make openings variable instead of maxwu; needed for more exotic raid sets.
ok jordan
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 634bac0ce17..9bc9e5bb69a 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.75 2009/06/17 03:43:30 marco Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.76 2009/06/17 22:44:42 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -436,6 +436,7 @@ struct sr_discipline {
void (*sd_set_chunk_state)(struct sr_discipline *,
int, int);
void (*sd_set_vol_state)(struct sr_discipline *);
+ int (*sd_openings)(struct sr_discipline *);
/* SCSI emulation */
struct scsi_sense_data sd_scsi_sense;