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 at correct place. Co...
details: https://anonhg.NetBSD.org/src/rev/6c9a5d830d6c
branches: trunk
changeset: 754908:6c9a5d830d6c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat May 15 16:35:37 2010 +0000
description:
Set RI_NO_AUTO at correct place. Confirmed on EWS4800/360AD.
diffstat:
sys/arch/ews4800mips/sbd/fb_sbdio.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 589d7d537c43 -r 6c9a5d830d6c sys/arch/ews4800mips/sbd/fb_sbdio.c
--- a/sys/arch/ews4800mips/sbd/fb_sbdio.c Sat May 15 16:20:03 2010 +0000
+++ b/sys/arch/ews4800mips/sbd/fb_sbdio.c Sat May 15 16:35:37 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb_sbdio.c,v 1.10 2010/05/15 08:53:27 tsutsui Exp $ */
+/* $NetBSD: fb_sbdio.c,v 1.11 2010/05/15 16:35:37 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.10 2010/05/15 08:53:27 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.11 2010/05/15 16:35:37 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -203,6 +203,8 @@
ri->ri_flg = RI_CENTER | RI_CLEAR;
if (!ga_active)
ri->ri_flg |= RI_FORCEMONO;
+ if (ri == &fb_console_ri)
+ ri->ri_flg |= RI_NO_AUTO;
ri->ri_depth = 8;
ri->ri_width = 1280;
@@ -259,7 +261,6 @@
ga->flags = flags;
fb_pmap_enter((paddr_t)mem, (paddr_t)reg, &memva, ®va);
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