Module Name:    src
Committed By:   jruoho
Date:           Mon Jan 10 16:59:09 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: bus_space.c

Log Message:
Bump iomem_ex_storage from 16 to 64. Based on analysis from joda@:

        http://mail-index.netbsd.org/current-users/2010/10/01/msg014446.html

Discussed with mrg@ and jmcne...@.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/x86/bus_space.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/x86/x86/bus_space.c
diff -u src/sys/arch/x86/x86/bus_space.c:1.31 src/sys/arch/x86/x86/bus_space.c:1.32
--- src/sys/arch/x86/x86/bus_space.c:1.31	Tue Jul 27 13:54:19 2010
+++ src/sys/arch/x86/x86/bus_space.c	Mon Jan 10 16:59:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus_space.c,v 1.31 2010/07/27 13:54:19 jakllsch Exp $	*/
+/*	$NetBSD: bus_space.c,v 1.32 2011/01/10 16:59:09 jruoho Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.31 2010/07/27 13:54:19 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.32 2011/01/10 16:59:09 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -85,7 +85,7 @@
  * routines need access to them for bus address space allocation.
  */
 static	long ioport_ex_storage[EXTENT_FIXED_STORAGE_SIZE(16) / sizeof(long)];
-static	long iomem_ex_storage[EXTENT_FIXED_STORAGE_SIZE(16) / sizeof(long)];
+static	long iomem_ex_storage[EXTENT_FIXED_STORAGE_SIZE(64) / sizeof(long)];
 struct	extent *ioport_ex;
 struct	extent *iomem_ex;
 static	int ioport_malloc_safe;

Reply via email to