Correct page frame calculation after mapdev() interface change.

This commit is contained in:
pk 1996-01-11 11:19:01 +00:00
parent 484fdbba2d
commit 5035080586
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.17 1995/12/11 12:43:30 pk Exp $ */
/* $NetBSD: obio.c,v 1.18 1996/01/11 11:19:01 pk Exp $ */
/*
* Copyright (c) 1993, 1994 Theo de Raadt
@ -362,7 +362,7 @@ bus_map(pa, len, bustype)
int len;
int bustype;
{
u_long pf = (u_long)pa >> PGSHIFT;
u_long pf = (u_long)(pa->rr_paddr) >> PGSHIFT;
u_long va, pte;
int pgtype;