diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index 572d8212baf3..5393e5c2a628 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.8 2000/05/23 05:11:28 eeh Exp $ */ +/* $NetBSD: conf.c,v 1.9 2000/08/25 08:12:49 pk Exp $ */ /* * Copyright (c) 1992, 1993 @@ -71,6 +71,7 @@ #include "wd.h" #include "raid.h" +#include "fb.h" #include "kbd.h" #include "ms.h" #include "zstty.h" @@ -145,7 +146,7 @@ struct cdevsw cdevsw[] = cdev_ch_init(NCH,ch), /* 19: SCSI autochanger */ cdev_tty_init(NPTY,pts), /* 20: pseudo-tty slave */ cdev_ptc_init(NPTY,ptc), /* 21: pseudo-tty master */ - cdev_fb_init(1,fb), /* 22: /dev/fb indirect driver */ + cdev_fb_init(NFB,fb), /* 22: /dev/fb indirect driver */ cdev_disk_init(NCCD,ccd), /* 23: concatenated disk driver */ cdev_fd_init(1,filedesc), /* 24: file descriptor pseudo-device */ cdev_ipf_init(NIPFILTER,ipl), /* 25: ip-filter device */ diff --git a/sys/arch/sparc64/sparc64/db_interface.c b/sys/arch/sparc64/sparc64/db_interface.c index f099bf38ac97..00acf7add5de 100644 --- a/sys/arch/sparc64/sparc64/db_interface.c +++ b/sys/arch/sparc64/sparc64/db_interface.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_interface.c,v 1.41 2000/08/08 19:59:41 tv Exp $ */ +/* $NetBSD: db_interface.c,v 1.42 2000/08/25 08:12:49 pk Exp $ */ /* * Mach Operating System @@ -58,6 +58,8 @@ #include #include +#include "fb.h" + extern void OF_enter __P((void)); extern struct traptrace { @@ -174,7 +176,9 @@ kdb_trap(type, tf) extern int trap_trace_dis; trap_trace_dis++; +#if NFB > 0 fb_unblank(); +#endif switch (type) { case T_BREAKPOINT: /* breakpoint */