Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips/sbd Set RI_NO_AUTO in cnattach function...



details:   https://anonhg.NetBSD.org/src/rev/934024dec3bc
branches:  trunk
changeset: 754893:934024dec3bc
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 15 06:39:06 2010 +0000

description:
Set RI_NO_AUTO in cnattach function. Untested.

diffstat:

 sys/arch/ews4800mips/sbd/fb_sbdio.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9b59bc7db345 -r 934024dec3bc sys/arch/ews4800mips/sbd/fb_sbdio.c
--- a/sys/arch/ews4800mips/sbd/fb_sbdio.c       Sat May 15 06:38:34 2010 +0000
+++ b/sys/arch/ews4800mips/sbd/fb_sbdio.c       Sat May 15 06:39:06 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fb_sbdio.c,v 1.8 2009/11/07 07:27:43 cegger Exp $      */
+/*     $NetBSD: fb_sbdio.c,v 1.9 2010/05/15 06:39:06 tsutsui Exp $     */
 
 /*-
  * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #define WIRED_FB_TLB
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.8 2009/11/07 07:27:43 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.9 2010/05/15 06:39:06 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -258,6 +258,7 @@
        ga->flags = flags;
        fb_pmap_enter((paddr_t)mem, (paddr_t)reg, &memva, &regva);
        ri->ri_bits = (void *)memva;
+       ri->ri_flg = RI_NO_AUTO;
        ga->reg_addr = regva;
 
        fb_common_init(ri, ga);



Home | Main Index | Thread Index | Old Index