From 9554b5a243dc8d10cab9a219f907f8b123120774 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 17 Jan 1998 03:40:32 +0000 Subject: [PATCH] Update for "minptalign" argument to alpha_sgmap_init(). --- sys/arch/alpha/pci/apecs_dma.c | 6 +++--- sys/arch/alpha/pci/dwlpx_dma.c | 6 +++--- sys/arch/alpha/pci/lca_dma.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/alpha/pci/apecs_dma.c b/sys/arch/alpha/pci/apecs_dma.c index d6d907cea5bf..7b1209bb7c06 100644 --- a/sys/arch/alpha/pci/apecs_dma.c +++ b/sys/arch/alpha/pci/apecs_dma.c @@ -1,4 +1,4 @@ -/* $NetBSD: apecs_dma.c,v 1.3 1997/09/02 13:19:13 thorpej Exp $ */ +/* $NetBSD: apecs_dma.c,v 1.4 1998/01/17 03:40:32 thorpej Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: apecs_dma.c,v 1.3 1997/09/02 13:19:13 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apecs_dma.c,v 1.4 1998/01/17 03:40:32 thorpej Exp $"); #include #include @@ -168,7 +168,7 @@ apecs_dma_init(acp) if (acp->ac_mallocsafe) { alpha_sgmap_init(t, &acp->ac_sgmap, "apecs_sgmap", APECS_SGMAP_MAPPED_BASE, 0, (8*1024*1024), - sizeof(u_int64_t), NULL); + sizeof(u_int64_t), NULL, 0); /* * Set up window 1 as an 8MB SGMAP-mapped window diff --git a/sys/arch/alpha/pci/dwlpx_dma.c b/sys/arch/alpha/pci/dwlpx_dma.c index 6e6aef1c94e7..9ed8016d2171 100644 --- a/sys/arch/alpha/pci/dwlpx_dma.c +++ b/sys/arch/alpha/pci/dwlpx_dma.c @@ -1,4 +1,4 @@ -/* $NetBSD: dwlpx_dma.c,v 1.3 1997/09/02 13:19:27 thorpej Exp $ */ +/* $NetBSD: dwlpx_dma.c,v 1.4 1998/01/17 03:40:33 thorpej Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: dwlpx_dma.c,v 1.3 1997/09/02 13:19:27 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwlpx_dma.c,v 1.4 1998/01/17 03:40:33 thorpej Exp $"); #include #include @@ -190,7 +190,7 @@ dwlpx_dma_init(ccp) sprintf(exname, "%s_sgmap_a", ccp->cc_sc->dwlpx_dev.dv_xname); alpha_sgmap_init(t, &ccp->cc_sgmap, exname, (8*1024*1024), 0, (8*1024*1024), sizeof(u_int32_t), - (void *)page_table); + (void *)page_table, 0); /* * Set up DMA windows for this DWLPx. diff --git a/sys/arch/alpha/pci/lca_dma.c b/sys/arch/alpha/pci/lca_dma.c index 7accadf7d66f..19ddf2d1067c 100644 --- a/sys/arch/alpha/pci/lca_dma.c +++ b/sys/arch/alpha/pci/lca_dma.c @@ -1,4 +1,4 @@ -/* $NetBSD: lca_dma.c,v 1.3 1997/09/02 13:19:34 thorpej Exp $ */ +/* $NetBSD: lca_dma.c,v 1.4 1998/01/17 03:40:33 thorpej Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: lca_dma.c,v 1.3 1997/09/02 13:19:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lca_dma.c,v 1.4 1998/01/17 03:40:33 thorpej Exp $"); #include #include @@ -167,7 +167,7 @@ lca_dma_init(lcp) if (lcp->lc_mallocsafe) { alpha_sgmap_init(t, &lcp->lc_sgmap, "lca_sgmap", LCA_SGMAP_MAPPED_BASE, 0, (8*1024*1024), - sizeof(u_int64_t), NULL); + sizeof(u_int64_t), NULL, 0); /* * Set up window 0 as an 8MB SGMAP-mapped window