diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-25 22:14:35 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-25 22:14:35 +0000 |
commit | 8596018af335478222d52e105836a21ba25b2484 (patch) | |
tree | 893228884a1909b3e6db268e2f52705fea8d125a /sys/arch/mvme88k/dev/vme.h | |
parent | f611219645d5c7b769376c8f7ba9c1ae89175d2c (diff) |
Prefer vaddr_t and paddr_t types, instead of void * and heavy casts.
Improves readability, no functional change.
Diffstat (limited to 'sys/arch/mvme88k/dev/vme.h')
-rw-r--r-- | sys/arch/mvme88k/dev/vme.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vme.h b/sys/arch/mvme88k/dev/vme.h index 040731c3aeb..dbaf52ddc4b 100644 --- a/sys/arch/mvme88k/dev/vme.h +++ b/sys/arch/mvme88k/dev/vme.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.h,v 1.16 2004/07/30 19:02:06 miod Exp $ */ +/* $OpenBSD: vme.h,v 1.17 2005/11/25 22:14:32 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -280,7 +280,7 @@ struct vmesoftc { #define VME2_A16BASE 0xffff0000UL #define VME2_A24BASE 0xff000000UL -void *vmepmap(struct device *sc, off_t vmeaddr, int bustype); +paddr_t vmepmap(struct device *sc, off_t vmeaddr, int bustype); int vmerw(struct device *sc, struct uio *uio, int flags, int bus); int vmeintr_establish(int, struct intrhand *, const char *); int vme_findvec(int); |