diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-16 02:41:16 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-16 02:41:16 +0000 |
commit | d0c93f1388bdc598213e61d592535d831fe60d90 (patch) | |
tree | ae448dd72e6fca89724ef7a364d7781bc015c598 /sys/arch/hppa | |
parent | a8796a09eb7edd7b3108d189973004abc96cda9b (diff) |
dma_cachectl() no more
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 12 | ||||
-rw-r--r-- | sys/arch/hppa/include/cpu.h | 3 |
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 94cdfd93fa8..b15508c8a58 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.24 2002/02/16 02:21:56 mickey Exp $ */ +/* $OpenBSD: mainbus.c,v 1.25 2002/02/16 02:41:15 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -810,16 +810,6 @@ mbus_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off, panic("_dmamem_mmap: not implemented"); } -int -dma_cachectl(p, size) - caddr_t p; - int size; -{ - fdcache(HPPA_SID_KERNEL, (vaddr_t)p, size); - sync_caches(); - return 0; -} - const struct hppa_bus_dma_tag hppa_dmatag = { NULL, mbus_dmamap_create, mbus_dmamap_destroy, diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index 688c898011f..0717e74778a 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.26 2002/02/11 21:21:55 mickey Exp $ */ +/* $OpenBSD: cpu.h,v 1.27 2002/02/16 02:41:15 mickey Exp $ */ /* * Copyright (c) 2000-2001 Michael Shalayeff @@ -130,7 +130,6 @@ extern int (*cpu_desidhash) __P((void)); void delay __P((u_int us)); void hppa_init __P((paddr_t start)); void trap __P((int type, struct trapframe *frame)); -int dma_cachectl __P((caddr_t p, int size)); int spcopy __P((pa_space_t ssp, const void *src, pa_space_t dsp, void *dst, size_t size)); int spstrcpy __P((pa_space_t ssp, const void *src, |