summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-05-13 05:24:53 +0000
committerjkh <jkh@FreeBSD.org>1999-05-13 05:24:53 +0000
commit9cc4839a7c11d2d2ac45f57b016853f7352f2154 (patch)
tree49375380822a26aef93c30e2a851c04735807ac7 /sys/dev/dpt
parenta6a19d8e19334dfcac5375bbc01911b5b0ea7bd9 (diff)
downloadFreeBSD-src-9cc4839a7c11d2d2ac45f57b016853f7352f2154.zip
FreeBSD-src-9cc4839a7c11d2d2ac45f57b016853f7352f2154.tar.gz
I'm told by the PR author that this page_size increment was in
the wrong place; back it out.
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt_control.c b/sys/dev/dpt/dpt_control.c
index e117b99..d0a33ce 100644
--- a/sys/dev/dpt/dpt_control.c
+++ b/sys/dev/dpt/dpt_control.c
@@ -36,7 +36,7 @@
* future.
*/
-#ident "$Id: dpt_control.c,v 1.10 1998/12/04 22:54:45 archie Exp $"
+#ident "$Id: dpt_control.c,v 1.11 1999/05/11 11:03:18 jkh Exp $"
#include "opt_dpt.h"
@@ -150,7 +150,6 @@ dpt_physmap(u_int32_t req_paddr, vm_size_t req_size)
if (va == (vm_offset_t) 0)
return (va);
- size += PAGE_SIZE;
for (ndx = 0; ndx < size; ndx += PAGE_SIZE) {
pmap_kenter(va + ndx, paddr + ndx);
invltlb();
OpenPOWER on IntegriCloud