Module Name: src
Committed By: macallan
Date: Thu Mar 29 06:28:12 UTC 2018
Modified Files:
src/sys/arch/macppc/dev: obio.c
Log Message:
don't map more PCI space than needed, avoid overlap with snapper so this has
a chance of working on G5
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/macppc/dev/obio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/dev/obio.c
diff -u src/sys/arch/macppc/dev/obio.c:1.43 src/sys/arch/macppc/dev/obio.c:1.44
--- src/sys/arch/macppc/dev/obio.c:1.43 Sun Mar 4 21:41:48 2018
+++ src/sys/arch/macppc/dev/obio.c Thu Mar 29 06:28:12 2018
@@ -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 @@ obio_attach(device_t parent, device_t se
case PCI_PRODUCT_APPLE_K2:
case PCI_PRODUCT_APPLE_SHASTA:
node = OF_finddevice("mac-io");
- map_size = 0x10000;
+ map_size = 0x8000;
break;
default: