*#ident "$Revision: 1.13 $"
*
* XLV - XLV Logical volume pseudo-device driver
*
*FLAG	PREFIX	SOFT	#DEV	DEPENDENCIES
sbc	xlv	192	-	bpqueue,sgi
                                xlv_tab_subvol_size(){false}

$$$
#include "sys/xlv_base.h"
#include "sys/xlv_lock.h"

int xlvmajor = ##E;	/* external major number */

/*
 * We dynamically allocate xlv_tab and xlv_tab vol.
 * However, the locks are statically allocated so that we can
 * do dynamic change operations. 
 */

#define XLV_MAXVOLS 40
#define XLV_MAXSUBVOLS XLV_MAXVOLS*XLV_SUBVOLS_PER_VOL

int xlv_maxlocks = XLV_MAXSUBVOLS;
xlv_lock_t xlv_io_lock[XLV_MAXSUBVOLS];
