Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Bump iomem_ex_storage from 16 to 64. Based ...



details:   https://anonhg.NetBSD.org/src/rev/1f9bf24c1c4a
branches:  trunk
changeset: 760666:1f9bf24c1c4a
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Jan 10 16:59:09 2011 +0000

description:
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 jmcneill@.

diffstat:

 sys/arch/x86/x86/bus_space.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r adc1e0fd69e0 -r 1f9bf24c1c4a sys/arch/x86/x86/bus_space.c
--- a/sys/arch/x86/x86/bus_space.c      Mon Jan 10 16:54:02 2011 +0000
+++ b/sys/arch/x86/x86/bus_space.c      Mon Jan 10 16:59:09 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index