Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/tsarm call isa_bs_mallocok() right before IS...



details:   https://anonhg.NetBSD.org/src/rev/e4bc5b1976e2
branches:  trunk
changeset: 572653:e4bc5b1976e2
user:      joff <joff%NetBSD.org@localhost>
date:      Sun Jan 09 21:35:51 2005 +0000

description:
call isa_bs_mallocok() right before ISA bus attachment

diffstat:

 sys/arch/evbarm/tsarm/tspld.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 2fb5a5877642 -r e4bc5b1976e2 sys/arch/evbarm/tsarm/tspld.c
--- a/sys/arch/evbarm/tsarm/tspld.c     Sun Jan 09 21:32:38 2005 +0000
+++ b/sys/arch/evbarm/tsarm/tspld.c     Sun Jan 09 21:35:51 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tspld.c,v 1.3 2004/12/27 02:42:49 joff Exp $   */
+/*     $NetBSD: tspld.c,v 1.4 2005/01/09 21:35:51 joff Exp $   */
 
 /*-
  * Copyright (c) 2004 Jesse Off
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.3 2004/12/27 02:42:49 joff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.4 2005/01/09 21:35:51 joff Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -197,6 +197,7 @@
        struct device *self;
 {
 #if NISA > 0
+       extern void isa_bs_mallocok(void);
        struct isabus_attach_args iba;
 
        /*
@@ -205,6 +206,7 @@
        memset(&iba, 0, sizeof(iba));
        iba.iba_iot = &isa_io_bs_tag;
        iba.iba_memt = &isa_mem_bs_tag;
+       isa_bs_mallocok();
        config_found_ia(self, "isabus", &iba, isabusprint);
 #endif
        /*



Home | Main Index | Thread Index | Old Index