From 17264a54f2a31a6f208e3afc22246a5c04d7b671 Mon Sep 17 00:00:00 2001 From: cgd Date: Sun, 15 Sep 1996 17:16:24 +0000 Subject: [PATCH] s/k0segtophys/ALPHA_K0SEG_TO_PHYS/ --- sys/arch/alpha/tc/tcds_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/alpha/tc/tcds_dma.c b/sys/arch/alpha/tc/tcds_dma.c index 829197a9e238..6ff599737aef 100644 --- a/sys/arch/alpha/tc/tcds_dma.c +++ b/sys/arch/alpha/tc/tcds_dma.c @@ -1,4 +1,4 @@ -/* $NetBSD: tcds_dma.c,v 1.10 1996/09/09 18:10:39 cgd Exp $ */ +/* $NetBSD: tcds_dma.c,v 1.11 1996/09/15 17:16:24 cgd Exp $ */ /* * Copyright (c) 1994 Peter Galbavy. All rights reserved. @@ -241,7 +241,7 @@ tcds_dma_setup(sc, addr, len, datain, dmasize) if ((u_long)*addr > VM_MIN_KERNEL_ADDRESS) { *sc->sc_sda = vatopa((u_long)*addr) >> 2; } else { - *sc->sc_sda = k0segtophys((u_long)*addr) >> 2; + *sc->sc_sda = ALPHA_K0SEG_TO_PHYS((u_long)*addr) >> 2; } alpha_mb(); dic = *sc->sc_dic;