diff options
| author | briggs <briggs@NetBSD.org> | 2007-10-21 12:59:33 +0000 |
|---|---|---|
| committer | briggs <briggs@NetBSD.org> | 2007-10-21 12:59:33 +0000 |
| commit | 83967b2fba6aec1dc6dff0fb5e5ae20f22b60b22 (patch) | |
| tree | 898d28e1d36373a4b1af528edfab8b943fb7e977 /sys/dev | |
| parent | 9aad9251b5d2960c1da142002ae49b598235c9a2 (diff) | |
Use AAC_PREALLOCATE_FIBS with the softc as a parameter to catch up with
revision 1.10 of aacvar.h.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/aac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index a7068d3d9ec..b6dfc0cf6e8 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $NetBSD: aac.c,v 1.36 2007/10/19 11:59:44 ad Exp $ */ +/* $NetBSD: aac.c,v 1.37 2007/10/21 12:59:33 briggs Exp $ */ /*- * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc. @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.36 2007/10/19 11:59:44 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.37 2007/10/21 12:59:33 briggs Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -642,7 +642,7 @@ aac_init(struct aac_softc *sc) goto bail_out; } state++; - while (sc->sc_total_fibs < AAC_PREALLOCATE_FIBS) { + while (sc->sc_total_fibs < AAC_PREALLOCATE_FIBS(sc)) { if (aac_alloc_commands(sc) != 0) break; } |
