summaryrefslogtreecommitdiff
path: root/sys/arch/vax/uba/uba.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-11-10 21:05:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-11-10 21:05:07 +0000
commit8eb95dbc559008de0a791633109476d4cbd840e4 (patch)
tree627197d52f30e641201d75393af1726f3c018702 /sys/arch/vax/uba/uba.c
parent958872a868e1d3b880930ae4d3daf3e60c550244 (diff)
Get rid of the "struct pte" bitfield, and use straight integers.
Makes the code slightly more readble, removes casts, and makes some specific constants defined for the bitfields disappear in pmap.c... No functional change.
Diffstat (limited to 'sys/arch/vax/uba/uba.c')
-rw-r--r--sys/arch/vax/uba/uba.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/uba/uba.c b/sys/arch/vax/uba/uba.c
index 36fbdf3d862..f2787d336ae 100644
--- a/sys/arch/vax/uba/uba.c
+++ b/sys/arch/vax/uba/uba.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uba.c,v 1.17 2003/06/02 23:27:58 millert Exp $ */
+/* $OpenBSD: uba.c,v 1.18 2003/11/10 21:05:06 miod Exp $ */
/* $NetBSD: uba.c,v 1.43 2000/01/24 02:40:36 matt Exp $ */
/*
* Copyright (c) 1996 Jonathan Stone.
@@ -421,7 +421,7 @@ qba_attach(parent, self, aux)
* the map registers are in the bus IO space.
*/
sc->uh_mr = (void *)vax_map_physmem(QBAMAP,
- (QBAPAGES * sizeof(struct pte)) / VAX_NBPG);
+ (QBAPAGES * sizeof(pt_entry_t)) / VAX_NBPG);
uba_attach(sc, QIOPAGE);
}