Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic No need to have an MD #ifdef in an MI file, so re...



details:   https://anonhg.NetBSD.org/src/rev/39fd0bbb9a6b
branches:  trunk
changeset: 1019557:39fd0bbb9a6b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 14 08:13:58 2021 +0000

description:
No need to have an MD #ifdef in an MI file, so remove it.

diffstat:

 sys/dev/ic/sti.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 99a25fa95a0f -r 39fd0bbb9a6b sys/dev/ic/sti.c
--- a/sys/dev/ic/sti.c  Sun Mar 14 08:10:23 2021 +0000
+++ b/sys/dev/ic/sti.c  Sun Mar 14 08:13:58 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sti.c,v 1.28 2021/03/07 14:31:20 skrll Exp $   */
+/*     $NetBSD: sti.c,v 1.29 2021/03/14 08:13:58 skrll Exp $   */
 
 /*     $OpenBSD: sti.c,v 1.61 2009/09/05 14:09:35 miod Exp $   */
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.28 2021/03/07 14:31:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.29 2021/03/14 08:13:58 skrll Exp $");
 
 #include "wsdisplay.h"
 
@@ -1427,9 +1427,8 @@
        return 0;
 }
 
-#ifdef hp300   /* XXX */
 /*
- * Early console support.  Only used on hp300.
+ * Early console support.  Only used on hp300, currently
  */
 int
 sti_cnattach(struct sti_rom *rom, struct sti_screen *scr, bus_space_tag_t memt,
@@ -1465,7 +1464,6 @@
 
        return 0;
 }
-#endif
 
 int
 ngle_default_putcmap(struct sti_screen *scr, u_int idx, u_int count)



Home | Main Index | Thread Index | Old Index