Oops, typo in previous, too.

This commit is contained in:
kleink 2002-02-06 12:26:02 +00:00
parent ec9a0b843e
commit 8785df9eae
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.29 2002/02/06 12:24:48 kleink Exp $ */
/* $NetBSD: machdep.c,v 1.30 2002/02/06 12:26:02 kleink Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -775,8 +775,7 @@ mapiodev(pa, len)
return NULL;
for (; len > 0; len -= NBPG) {
pmap_kenter_pa(pmap_kernel(), taddr, faddr,
VM_PROT_READ | VM_PROT_WRITE);
pmap_kenter_pa(taddr, faddr, VM_PROT_READ | VM_PROT_WRITE);
faddr += NBPG;
taddr += NBPG;
}