Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/include hiding PCI_MAGIC_IO_RANGE from userl...



details:   https://anonhg.NetBSD.org/src/rev/0afb1f3309cd
branches:  trunk
changeset: 767711:0afb1f3309cd
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jul 28 01:24:31 2011 +0000

description:
hiding PCI_MAGIC_IO_RANGE from userland is counter-productive

diffstat:

 sys/arch/macppc/include/param.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 33ccbbb9a354 -r 0afb1f3309cd sys/arch/macppc/include/param.h
--- a/sys/arch/macppc/include/param.h   Thu Jul 28 01:08:58 2011 +0000
+++ b/sys/arch/macppc/include/param.h   Thu Jul 28 01:24:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.17 2011/06/20 06:29:53 matt Exp $  */
+/*     $NetBSD: param.h,v 1.18 2011/07/28 01:24:31 macallan Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -53,9 +53,9 @@
 #define        NKMEMPAGES_MIN_DEFAULT          ((8 * 1024 * 1024) >> PAGE_SHIFT)
 #define        NKMEMPAGES_MAX_DEFAULT          ((48 * 1024 * 1024) >> PAGE_SHIFT)
 
-/* at this offset we mmap() the PCI IO range in display drivers */
-#define PCI_MAGIC_IO_RANGE             0xf2000000
-
 #endif /* _KERNEL && !_MODULE */
 
+/* at this offset we mmap() the PCI IO range in display drivers */
+#define PCI_MAGIC_IO_RANGE              0xf2000000
+
 #include <powerpc/param.h>



Home | Main Index | Thread Index | Old Index