Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev don't map more PCI space than needed, av...



details:   https://anonhg.NetBSD.org/src/rev/2cb581d4ab7f
branches:  trunk
changeset: 831401:2cb581d4ab7f
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Mar 29 06:28:12 2018 +0000

description:
don't map more PCI space than needed, avoid overlap with snapper so this has
a chance of working on G5

diffstat:

 sys/arch/macppc/dev/obio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 34d412a95514 -r 2cb581d4ab7f sys/arch/macppc/dev/obio.c
--- a/sys/arch/macppc/dev/obio.c        Thu Mar 29 04:43:55 2018 +0000
+++ b/sys/arch/macppc/dev/obio.c        Thu Mar 29 06:28:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio.c,v 1.43 2018/03/04 21:41:48 mrg Exp $    */
+/*     $NetBSD: obio.c,v 1.44 2018/03/29 06:28:12 macallan Exp $       */
 
 /*-
  * Copyright (C) 1998  Internet Research Institute, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.43 2018/03/04 21:41:48 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.44 2018/03/29 06:28:12 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -162,7 +162,7 @@
        case PCI_PRODUCT_APPLE_K2:
        case PCI_PRODUCT_APPLE_SHASTA:
                node = OF_finddevice("mac-io");
-               map_size = 0x10000;
+               map_size = 0x8000;
                break;
 
        default:



Home | Main Index | Thread Index | Old Index