--- src/sys/dev/raid/vinum/vinum.c 2006/06/05 07:26:06 1.12 +++ src/sys/dev/raid/vinum/vinum.c 2006/07/16 22:39:42 1.13 @@ -35,7 +35,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinum.c,v 1.12 2006/06/05 07:26:06 dillon Exp $ + * $Id: vinum.c,v 1.13 2006/07/16 22:39:42 dillon Exp $ * $FreeBSD: src/sys/dev/vinum/vinum.c,v 1.38.2.3 2003/01/07 12:14:16 joerg Exp $ * $DragonFly$ */ @@ -98,6 +98,8 @@ vinumattach(void *dummy) cdevsw_add(&vinum_cdevsw, 0, 0); /* add the cdevsw entry */ + vinum_conf.physbufs = nswbuf / 2 + 1; /* maximum amount of physical bufs */ + /* allocate space: drives... */ DRIVE = (struct drive *) Malloc(sizeof(struct drive) * INITIAL_DRIVES); CHECKALLOC(DRIVE, "vinum: no memory\n");