Fix unexpected fallthrough in switch statement.
This should fix boot failure of the INSTALL kernel on news3400 with serial console.
This commit is contained in:
parent
a41d0875b7
commit
2d4bb67d40
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: cpu_cons.c,v 1.6 2000/11/15 14:29:41 tsubai Exp $ */
|
/* $NetBSD: cpu_cons.c,v 1.7 2003/04/19 12:33:35 tsutsui Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -95,7 +95,7 @@ consinit()
|
||||||
if (*dipsw & SW_CONSOLE) {
|
if (*dipsw & SW_CONSOLE) {
|
||||||
fb_cnattach();
|
fb_cnattach();
|
||||||
kb_hb_cnattach();
|
kb_hb_cnattach();
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -103,6 +103,7 @@ consinit()
|
||||||
cn_tab = &consdev_zs;
|
cn_tab = &consdev_zs;
|
||||||
(*cn_tab->cn_init)(cn_tab);
|
(*cn_tab->cn_init)(cn_tab);
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
#endif /* news3400 */
|
#endif /* news3400 */
|
||||||
|
|
||||||
|
@ -114,15 +115,15 @@ consinit()
|
||||||
if (*dipsw & SW_CONSOLE) {
|
if (*dipsw & SW_CONSOLE) {
|
||||||
xafb_cnattach();
|
xafb_cnattach();
|
||||||
kb_ap_cnattach();
|
kb_ap_cnattach();
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if NZSC > 0
|
#if NZSC > 0
|
||||||
cn_tab = &consdev_zs_ap;
|
cn_tab = &consdev_zs_ap;
|
||||||
(*cn_tab->cn_init)(cn_tab);
|
(*cn_tab->cn_init)(cn_tab);
|
||||||
return;
|
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
#endif /* news5000 */
|
#endif /* news5000 */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue