diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2003-05-09 00:59:27 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2003-05-09 00:59:27 +0000 |
commit | fac3f5225066148db41ebbab185cd983c3b42ea5 (patch) | |
tree | 5e9152d4c109abe8723eb7dc338e32e8f80a8a67 /sys/arch/mac68k/dev/nubus.c | |
parent | 3ea73cf62735879926b6ac0a200a87b292ffd415 (diff) |
Remove dead (ifdef 0) code that pollutes my greps.
Diffstat (limited to 'sys/arch/mac68k/dev/nubus.c')
-rw-r--r-- | sys/arch/mac68k/dev/nubus.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c index f96bdfceb09..2c15c077164 100644 --- a/sys/arch/mac68k/dev/nubus.c +++ b/sys/arch/mac68k/dev/nubus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nubus.c,v 1.27 2002/04/29 06:26:50 pvalchev Exp $ */ +/* $OpenBSD: nubus.c,v 1.28 2003/05/09 00:59:26 art Exp $ */ /* $NetBSD: nubus.c,v 1.35 1997/04/22 20:20:32 scottr Exp $ */ /* @@ -820,17 +820,12 @@ nubus_mapin(paddr, sz) retval = va + off; /* Map it to the specified bus. */ -#if 0 /* XXX */ - /* This has a problem with wrap-around... */ - pmap_map((int)va, pa | pmt, pa + sz, VM_PROT_ALL); -#else do { pmap_enter(pmap_kernel(), va, pa | pmt, VM_PROT_READ|VM_PROT_WRITE, 0); va += NBPG; pa += NBPG; } while ((sz -= NBPG) > 0); -#endif pmap_update(pmap_kernel()); return ((char *)retval); |