Module Name: src
Committed By: mlelstv
Date: Sun Apr 3 11:04:14 UTC 2016
Modified Files:
src/sys/arch/mvmeppc/mvmeppc: mainbus.c
Log Message:
Use symbolic constant. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mvmeppc/mvmeppc/mainbus.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/mvmeppc/mvmeppc/mainbus.c
diff -u src/sys/arch/mvmeppc/mvmeppc/mainbus.c:1.15 src/sys/arch/mvmeppc/mvmeppc/mainbus.c:1.16
--- src/sys/arch/mvmeppc/mvmeppc/mainbus.c:1.15 Fri Jan 27 18:52:59 2012
+++ src/sys/arch/mvmeppc/mvmeppc/mainbus.c Sun Apr 3 11:04:14 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.15 2012/01/27 18:52:59 para Exp $ */
+/* $NetBSD: mainbus.c,v 1.16 2016/04/03 11:04:14 mlelstv Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.15 2012/01/27 18:52:59 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16 2016/04/03 11:04:14 mlelstv Exp $");
#include <sys/param.h>
#include <sys/extent.h>
@@ -123,7 +123,7 @@ mainbus_attach(device_t parent, device_t
memext = extent_create("pcimem", 0x00000000, 0x0fffffff,
NULL, 0, EX_NOWAIT);
- pci_configure_bus(0, ioext, memext, NULL, 0, 32);
+ pci_configure_bus(genppc_pct, ioext, memext, NULL, 0, CACHELINESIZE);
extent_destroy(ioext);
extent_destroy(memext);