summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic7xxx.c6
-rw-r--r--sys/dev/ic/mpt_netbsd.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index aa4f405f4cb..20341d61b28 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx.c,v 1.102 2003/04/21 22:00:42 fvdl Exp $ */
+/* $NetBSD: aic7xxx.c,v 1.103 2003/04/23 00:55:17 tls Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.102 2003/04/21 22:00:42 fvdl Exp $
+ * $Id: aic7xxx.c,v 1.103 2003/04/23 00:55:17 tls Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
*
@@ -4359,7 +4359,7 @@ ahc_alloc_scbs(struct ahc_softc *ahc)
next_scb->flags = SCB_FREE;
error = bus_dmamap_create(ahc->parent_dmat,
- AHC_MAXTRANSFER_SIZE, AHC_NSEG, MAXBSIZE, 0,
+ AHC_MAXTRANSFER_SIZE, AHC_NSEG, MAXPHYS, 0,
BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW,
&next_scb->dmamap);
if (error != 0)
diff --git a/sys/dev/ic/mpt_netbsd.c b/sys/dev/ic/mpt_netbsd.c
index 5cc0bd9e2e3..d50c84c7978 100644
--- a/sys/dev/ic/mpt_netbsd.c
+++ b/sys/dev/ic/mpt_netbsd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mpt_netbsd.c,v 1.4 2003/04/16 23:17:30 thorpej Exp $ */
+/* $NetBSD: mpt_netbsd.c,v 1.5 2003/04/23 00:55:19 tls Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -246,8 +246,8 @@ mpt_dma_mem_alloc(mpt_softc_t *mpt)
req->sense_pbuf = (pptr - MPT_SENSE_SIZE);
req->sense_vbuf = (vptr - MPT_SENSE_SIZE);
- error = bus_dmamap_create(mpt->sc_dmat, MAXBSIZE,
- MPT_SGL_MAX, MAXBSIZE, 0, 0, &req->dmap);
+ error = bus_dmamap_create(mpt->sc_dmat, MAXPHYS,
+ MPT_SGL_MAX, MAXPHYS, 0, 0, &req->dmap);
if (error) {
aprint_error("%s: unable to create req %d DMA map, "
"error = %d\n", mpt->sc_dev.dv_xname, i, error);