Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/tc Remove now defunct local implementation of ...
details: https://anonhg.NetBSD.org/src/rev/fd26556bf10e
branches: trunk
changeset: 476189:fd26556bf10e
user: nisimura <nisimura%NetBSD.org@localhost>
date: Thu Sep 09 06:41:08 1999 +0000
description:
Remove now defunct local implementation of ioasic_lance_dma_setup().
diffstat:
sys/arch/pmax/tc/asic.c | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diffs (31 lines):
diff -r 05dd4323c5bc -r fd26556bf10e sys/arch/pmax/tc/asic.c
--- a/sys/arch/pmax/tc/asic.c Thu Sep 09 06:33:38 1999 +0000
+++ b/sys/arch/pmax/tc/asic.c Thu Sep 09 06:41:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asic.c,v 1.37 1999/09/03 07:12:45 nisimura Exp $ */
+/* $NetBSD: asic.c,v 1.38 1999/09/09 06:41:08 nisimura Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -212,21 +212,3 @@
return (u_char *)IOASIC_SYS_ETHER_ADDRESS(ioasic_base);
}
-
-void
-ioasic_lance_dma_setup(v)
- void *v;
-{
- volatile u_int32_t *ldp;
- tc_addr_t tca;
-
- tca = (tc_addr_t)v;
-
- ldp = (volatile u_int *)IOASIC_REG_LANCE_DMAPTR(ioasic_base);
- *ldp = ((tca << 3) & ~(tc_addr_t)0x1f) | ((tca >> 29) & 0x1f);
- tc_wmb();
-
- *(volatile u_int32_t *)IOASIC_REG_CSR(ioasic_base) |=
- IOASIC_CSR_DMAEN_LANCE;
- tc_mb();
-}
Home |
Main Index |
Thread Index |
Old Index