Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/dev Don't call mfp_init() in mfp_attach().
details: https://anonhg.NetBSD.org/src/rev/66ca9d88f277
branches: trunk
changeset: 764789:66ca9d88f277
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed May 04 12:27:03 2011 +0000
description:
Don't call mfp_init() in mfp_attach().
It's already called from early mfp_config_console() via config_console()
and reinitializing MFP could sometimes cause silent hang.
diffstat:
sys/arch/x68k/dev/mfp.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 5ba09a6bde3a -r 66ca9d88f277 sys/arch/x68k/dev/mfp.c
--- a/sys/arch/x68k/dev/mfp.c Wed May 04 11:44:25 2011 +0000
+++ b/sys/arch/x68k/dev/mfp.c Wed May 04 12:27:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfp.c,v 1.23 2009/01/17 10:02:23 isaki Exp $ */
+/* $NetBSD: mfp.c,v 1.24 2011/05/04 12:27:03 tsutsui Exp $ */
/*-
* Copyright (c) 1998 NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfp.c,v 1.23 2009/01/17 10:02:23 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfp.c,v 1.24 2011/05/04 12:27:03 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -103,7 +103,6 @@
aprint_normal("\n");
mfp_attached = 1;
- mfp_init();
sc->sc_bst = ia->ia_bst;
sc->sc_intr = ia->ia_intr;
ia->ia_size = 0x30;
Home |
Main Index |
Thread Index |
Old Index