summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/mpivar.h')
-rw-r--r--sys/dev/ic/mpivar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/mpivar.h b/sys/dev/ic/mpivar.h
index c290007d8c1..8db118095e8 100644
--- a/sys/dev/ic/mpivar.h
+++ b/sys/dev/ic/mpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpivar.h,v 1.24 2008/11/01 18:42:26 marco Exp $ */
+/* $OpenBSD: mpivar.h,v 1.25 2009/11/02 23:20:41 marco Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -39,7 +39,8 @@ extern uint32_t mpi_debug;
#endif
#define MPI_REQUEST_SIZE 512
-#define MPI_REPLY_SIZE 128
+#define MPI_REPLY_SIZE 80
+#define MPI_REPLYQ_DEPTH 128
#define MPI_REPLY_COUNT (PAGE_SIZE / MPI_REPLY_SIZE)
/*
@@ -127,6 +128,7 @@ struct mpi_softc {
struct mpi_dmamem *sc_replies;
struct mpi_rcb *sc_rcbs;
+ int sc_repq;
size_t sc_fw_len;
struct mpi_dmamem *sc_fw;