Scrap PC98 support.
authorSascha Wildner <swildner@dragonflybsd.org>
Sun, 13 Feb 2005 03:02:26 +0000 (03:02 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sun, 13 Feb 2005 03:02:26 +0000 (03:02 +0000)
sys/dev/misc/syscons/apm/apm_saver.c
sys/dev/misc/syscons/daemon/daemon_saver.c
sys/dev/misc/syscons/dragon/dragon_saver.c
sys/dev/misc/syscons/fred/fred_saver.c
sys/dev/misc/syscons/scmouse.c
sys/dev/misc/syscons/scvidctl.c
sys/dev/misc/syscons/snake/snake_saver.c
sys/dev/misc/syscons/star/star_saver.c
sys/dev/misc/syscons/syscons.c
sys/dev/misc/syscons/syscons.h

index e9bace4..ec6b740 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/apm/apm_saver.c,v 1.1.4.2 2001/03/07 21:47:24 nsayer Exp $
- * $DragonFly: src/sys/dev/misc/syscons/apm/apm_saver.c,v 1.4 2003/08/27 10:35:18 rob Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/apm/apm_saver.c,v 1.5 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <sys/select.h>
 #include <machine/apm_bios.h>
 #include <machine/pc/bios.h>
-#ifdef PC98
-#include <machine/bus.h>
-#include <pc98/apm/apm.h>
-#else
 #include <i386/apm/apm.h>
-#endif
 
 extern int apm_display (int newstate);                                     
 
index e89db65..5342be6 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/daemon/daemon_saver.c,v 1.18.2.2 2001/05/06 05:44:29 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/daemon/Attic/daemon_saver.c,v 1.3 2003/08/15 08:32:29 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/daemon/Attic/daemon_saver.c,v 1.4 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <dev/video/fb/splashreg.h>
 #include "../syscons.h"
 
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
 #define DAEMON_MAX_WIDTH       32
 #define DAEMON_MAX_HEIGHT      19
 
@@ -155,21 +151,12 @@ draw_daemon(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff,
                        continue;
                for (x = xoff; (x < xlen) && (daemon_pic[y][px] != '\0'); x++, px++) {
                        switch (daemon_attr[y][px]) {
-#ifndef PC98
                        case 'R': attr = (FG_LIGHTRED|BG_BLACK)<<8; break;
                        case 'Y': attr = (FG_YELLOW|BG_BLACK)<<8; break;
                        case 'B': attr = (FG_LIGHTBLUE|BG_BLACK)<<8; break;
                        case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
                        case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
                        default: attr = (FG_WHITE|BG_BLACK)<<8; break;
-#else /* PC98 */
-                       case 'R': attr = (FG_RED|BG_BLACK)<<8; break;
-                       case 'Y': attr = (FG_BROWN|BG_BLACK)<<8; break;
-                       case 'B': attr = (FG_BLUE|BG_BLACK)<<8; break;
-                       case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
-                       case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
-                       default: attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
-#endif /* PC98 */
                        }
                        if (dxdir < 0) {        /* Moving left */
                                sc_vtb_putc(&sc->cur_scp->scr,
@@ -205,15 +192,9 @@ draw_string(sc_softc_t *sc, int xpos, int ypos, int xoff, u_char *s, int len)
        int x;
 
        for (x = xoff; x < len; x++) {
-#ifdef PC98
-               sc_vtb_putc(&sc->cur_scp->scr,
-                           ypos*sc->cur_scp->xsize + xpos + x,
-                           sc->scr_map[s[x]], (FG_GREEN | BG_BLACK) << 8);
-#else
                sc_vtb_putc(&sc->cur_scp->scr,
                            ypos*sc->cur_scp->xsize + xpos + x,
                            sc->scr_map[s[x]], (FG_LIGHTGREEN | BG_BLACK) << 8);
-#endif
        }
 }
 
@@ -240,13 +221,6 @@ daemon_saver(video_adapter_t *adp, int blank)
                if (adp->va_info.vi_flags & V_INFO_GRAPHICS)
                        return EAGAIN;
                if (blanked == 0) {
-#ifdef PC98
-                       if (epson_machine_id == 0x20) {
-                               outb(0x43f, 0x42);
-                               outb(0x0c17, inb(0xc17) & ~0x08);
-                               outb(0x43f, 0x40);
-                       }
-#endif /* PC98 */
                        /* clear the screen and set the border color */
                        sc_vtb_clear(&scp->scr, sc->scr_map[0x20],
                                     (FG_LIGHTGREY | BG_BLACK) << 8);
@@ -367,13 +341,6 @@ daemon_saver(video_adapter_t *adp, int blank)
                draw_daemon(sc, dxpos, dypos, dxdir, xoff, yoff, xlen, ylen);
                draw_string(sc, txpos, typos, toff, message, tlen);
        } else {
-#ifdef PC98
-               if (epson_machine_id == 0x20) {
-                       outb(0x43f, 0x42);
-                       outb(0x0c17, inb(0xc17) | 0x08);
-                       outb(0x43f, 0x40);
-               }
-#endif /* PC98 */
                blanked = 0;
        }
        return 0;
index 71cfa3a..1f4ebe3 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/dragon/dragon_saver.c,v 1.1.2.1 2003/05/11 01:17:02 murray Exp $
- * $DragonFly: src/sys/dev/misc/syscons/dragon/dragon_saver.c,v 1.3 2003/08/15 08:32:30 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/dragon/dragon_saver.c,v 1.4 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include       <sys/param.h>
 static u_char  *vid;
 static int     blanked;
 
-#ifdef PC98
-#define        VIDEO_MODE      M_PC98_EGC640x400
-#define        VIDEO_MODE_NAME "M_PC98_EGC640x400"
-#define        SCRW    640
-#define        SCRH    400
-#else
 #define        VIDEO_MODE      M_VGA_CG320
 #define        VIDEO_MODE_NAME "M_VGA_CG320"
 #define        SCRW    320
 #define        SCRH    200
-#endif
 #define        ORDER   13
 #define        CURVE   3
 #define        OUT     100
@@ -73,11 +66,7 @@ gpset(int x, int y, int val)
        if (x < 0 || y < 0 || SCRW <= x || SCRH <= y) {
                return 0;
        }
-#ifdef PC98
-       vid[(x + y * SCRW) >> 3] = (0x80 >> (x & 7));   /* write new dot */
-#else
        vid[x + y * SCRW] = val;
-#endif
        return 1;
 }
 
@@ -87,11 +76,6 @@ gdraw(int dx, int dy, int val)
        int     i;
        int     set = 0;
 
-#ifdef PC98
-       outb(0x7c, 0xcc);       /* GRCG on & RMW mode(disable planeI,G) */
-       outb(0x7e, (val & 1) ? 0xff: 0);        /* tile B */
-       outb(0x7e, (val & 2) ? 0xff: 0);        /* tile R */
-#endif
        if (dx != 0) {
                i = cur_x;
                cur_x += dx;
@@ -116,30 +100,9 @@ gdraw(int dx, int dy, int val)
                        set |= gpset(cur_x, i, val);
                } 
        }
-#ifdef PC98
-       outb(0x7c, 0);          /* GRCG off */
-#endif
        return set;
 }
 
-static void
-gcls(void)
-{
-#ifdef PC98
-       outb(0x7c, 0x80);       /* GRCG on & TDW mode */
-       outb(0x7e, 0);                  /* tile B */
-       outb(0x7e, 0);                  /* tile R */
-       outb(0x7e, 0);                  /* tile G */
-       outb(0x7e, 0);                  /* tile I */
-
-       fillw(0, vid, 0x8000);
-
-       outb(0x7c, 0);  /* GRCG off */
-#else
-       bzero(vid, SCRW*SCRH);
-#endif
-}
-
 static void
 dragon_update(video_adapter_t *adp)
 {
@@ -154,7 +117,7 @@ dragon_update(video_adapter_t *adp)
        int     tmp;
 
        if (curve > CURVE) {
-               gcls();
+               bzero(vid, SCRW*SCRH);
 
                /* set palette of each curves */
                for (tmp = 0; tmp < 3*CURVE; ++tmp) {
index 8e2e6f9..6db1153 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/daemon/daemon_saver.c,v 1.18.2.2 2001/05/06 05:44:29 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/fred/fred_saver.c,v 1.3 2003/08/15 08:32:29 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/fred/fred_saver.c,v 1.4 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <dev/video/fb/splashreg.h>
 #include "../syscons.h"
 
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
 #define DAEMON_MAX_WIDTH       32
 #define DAEMON_MAX_HEIGHT      19
 
@@ -155,21 +151,12 @@ draw_daemon(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff,
                        continue;
                for (x = xoff; (x < xlen) && (daemon_pic[y][px] != '\0'); x++, px++) {
                        switch (daemon_attr[y][px]) {
-#ifndef PC98
                        case 'R': attr = (FG_LIGHTRED|BG_BLACK)<<8; break;
                        case 'Y': attr = (FG_YELLOW|BG_BLACK)<<8; break;
                        case 'B': attr = (FG_LIGHTBLUE|BG_BLACK)<<8; break;
                        case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
                        case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
                        default: attr = (FG_WHITE|BG_BLACK)<<8; break;
-#else /* PC98 */
-                       case 'R': attr = (FG_RED|BG_BLACK)<<8; break;
-                       case 'Y': attr = (FG_BROWN|BG_BLACK)<<8; break;
-                       case 'B': attr = (FG_BLUE|BG_BLACK)<<8; break;
-                       case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
-                       case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
-                       default: attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
-#endif /* PC98 */
                        }
                        if (dxdir < 0) {        /* Moving left */
                                sc_vtb_putc(&sc->cur_scp->scr,
@@ -205,15 +192,9 @@ draw_string(sc_softc_t *sc, int xpos, int ypos, int xoff, u_char *s, int len)
        int x;
 
        for (x = xoff; x < len; x++) {
-#ifdef PC98
-               sc_vtb_putc(&sc->cur_scp->scr,
-                           ypos*sc->cur_scp->xsize + xpos + x,
-                           sc->scr_map[s[x]], (FG_GREEN | BG_BLACK) << 8);
-#else
                sc_vtb_putc(&sc->cur_scp->scr,
                            ypos*sc->cur_scp->xsize + xpos + x,
                            sc->scr_map[s[x]], (FG_LIGHTGREEN | BG_BLACK) << 8);
-#endif
        }
 }
 
@@ -240,13 +221,6 @@ daemon_saver(video_adapter_t *adp, int blank)
                if (adp->va_info.vi_flags & V_INFO_GRAPHICS)
                        return EAGAIN;
                if (blanked == 0) {
-#ifdef PC98
-                       if (epson_machine_id == 0x20) {
-                               outb(0x43f, 0x42);
-                               outb(0x0c17, inb(0xc17) & ~0x08);
-                               outb(0x43f, 0x40);
-                       }
-#endif /* PC98 */
                        /* clear the screen and set the border color */
                        sc_vtb_clear(&scp->scr, sc->scr_map[0x20],
                                     (FG_LIGHTGREY | BG_BLACK) << 8);
@@ -367,13 +341,6 @@ daemon_saver(video_adapter_t *adp, int blank)
                draw_daemon(sc, dxpos, dypos, dxdir, xoff, yoff, xlen, ylen);
                draw_string(sc, txpos, typos, toff, message, tlen);
        } else {
-#ifdef PC98
-               if (epson_machine_id == 0x20) {
-                       outb(0x43f, 0x42);
-                       outb(0x0c17, inb(0xc17) | 0x08);
-                       outb(0x43f, 0x40);
-               }
-#endif /* PC98 */
                blanked = 0;
        }
        return 0;
index 71f215e..f94b7bf 100644 (file)
@@ -24,7 +24,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/dev/syscons/scmouse.c,v 1.12.2.3 2001/07/28 12:51:47 yokota Exp $
- * $DragonFly: src/sys/dev/misc/syscons/scmouse.c,v 1.6 2005/01/28 20:17:18 swildner Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/scmouse.c,v 1.7 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include "opt_syscons.h"
@@ -181,7 +181,6 @@ sc_remove_mouse_image(scr_stat *scp)
     i = scp->mouse_oldpos;
     mark_for_update(scp, i);
     mark_for_update(scp, i);
-#ifndef PC98
     if (i + scp->xsize + 1 < size) {
        mark_for_update(scp, i + scp->xsize + 1);
     } else if (i + scp->xsize < size) {
@@ -189,7 +188,6 @@ sc_remove_mouse_image(scr_stat *scp)
     } else if (i + 1 < size) {
        mark_for_update(scp, i + 1);
     }
-#endif /* PC98 */
     scp->status &= ~MOUSE_VISIBLE;
     --scp->sc->videoio_in_progress;
 }
index 47aaf4d..cac1479 100644 (file)
@@ -27,7 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/dev/syscons/scvidctl.c,v 1.19.2.2 2000/05/05 09:16:08 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/scvidctl.c,v 1.7 2005/01/28 20:17:18 swildner Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/scvidctl.c,v 1.8 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include "opt_syscons.h"
@@ -493,12 +493,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
     case SW_ENH_B80x25: case SW_ENH_C80x25:
     case SW_ENH_B80x43: case SW_ENH_C80x43:
     case SW_EGAMONO80x25:
-
-#ifdef PC98
-    /* PC98 TEXT MODES */
-    case SW_PC98_80x25:
-    case SW_PC98_80x30:
-#endif
        if (!(adp->va_flags & V_ADP_MODECHANGE))
            return ENODEV;
        return sc_set_text_mode(scp, tp, cmd & 0xff, 0, 0, 0);
@@ -509,11 +503,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
     case SW_CG640x350: case SW_ENH_CG640:
     case SW_BG640x480: case SW_CG640x480: case SW_VGA_CG320:
     case SW_VGA_MODEX:
-#ifdef PC98
-    /* PC98 GRAPHICS MODES */
-    case SW_PC98_EGC640x400:   case SW_PC98_PEGC640x400:
-    case SW_PC98_PEGC640x480:
-#endif
        if (!(adp->va_flags & V_ADP_MODECHANGE))
            return ENODEV;
        return sc_set_graphics_mode(scp, tp, cmd & 0xff);
@@ -551,11 +540,8 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
            load_palette(adp, scp->sc->palette);
 #endif
 
-#ifndef PC98
            /* move hardware cursor out of the way */
            (*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
-#endif
-
            /* FALL THROUGH */
 
        case KD_TEXT1:          /* switch to TEXT (known) mode */
@@ -570,7 +556,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
                splx(s);
                return error;
            }
-#ifndef PC98
            scp->status |= UNKNOWN_MODE | MOUSE_HIDDEN;
            splx(s);
            /* no restore fonts & palette */
@@ -578,14 +563,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
                set_mode(scp);
            sc_clear_screen(scp);
            scp->status &= ~UNKNOWN_MODE;
-#else /* PC98 */
-           scp->status &= ~UNKNOWN_MODE;
-           /* no restore fonts & palette */
-           if (scp == scp->sc->cur_scp)
-               set_mode(scp);
-           sc_clear_screen(scp);
-           splx(s);
-#endif /* PC98 */
            return 0;
 
 #ifdef SC_PIXEL_MODE
@@ -621,10 +598,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
            }
            scp->status |= UNKNOWN_MODE | MOUSE_HIDDEN;
            splx(s);
-#ifdef PC98
-           if (scp == scp->sc->cur_scp)
-               set_mode(scp);
-#endif
            return 0;
 
        default:
index 01bad5d..3bc14f8 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/snake/snake_saver.c,v 1.26.2.2 2001/05/06 05:44:29 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/snake/snake_saver.c,v 1.3 2003/08/15 08:32:30 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/snake/snake_saver.c,v 1.4 2005/02/13 03:02:26 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <dev/video/fb/splashreg.h>
 #include "../syscons.h"
 
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
 static u_char  *message;
 static int     *messagep;
 static int     messagelen;
@@ -74,13 +70,6 @@ snake_saver(video_adapter_t *adp, int blank)
                if (adp->va_info.vi_flags & V_INFO_GRAPHICS)
                        return EAGAIN;
                if (blanked <= 0) {
-#ifdef PC98
-                       if (epson_machine_id == 0x20) {
-                               outb(0x43f, 0x42);
-                               outb(0x0c17, inb(0xc17) & ~0x08);
-                               outb(0x43f, 0x40);
-                       }
-#endif /* PC98 */
                        sc_vtb_clear(&scp->scr, sc->scr_map[0x20],
                                     (FG_LIGHTGREY | BG_BLACK) << 8);
                        (*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
@@ -114,17 +103,9 @@ snake_saver(video_adapter_t *adp, int blank)
                for (f=messagelen-1; f>=0; f--)
                        sc_vtb_putc(&scp->scr, savs[f], sc->scr_map[save[f]],
                                    (FG_LIGHTGREY | BG_BLACK) << 8);
-       }
-       else {
-#ifdef PC98
-               if (epson_machine_id == 0x20) {
-                       outb(0x43f, 0x42);
-                       outb(0x0c17, inb(0xc17) | 0x08);
-                       outb(0x43f, 0x40);
-               }
-#endif /* PC98 */
+       } else
                blanked = 0;
-       }
+
        return 0;
 }
 
index 80e53ff..1591940 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/star/star_saver.c,v 1.23.2.2 2001/05/06 05:44:29 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/star/star_saver.c,v 1.3 2003/08/15 08:32:30 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/star/star_saver.c,v 1.4 2005/02/13 03:02:26 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <dev/video/fb/splashreg.h>
 #include "../syscons.h"
 
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
 #define NUM_STARS      50
 
 static int blanked;
@@ -61,13 +57,8 @@ star_saver(video_adapter_t *adp, int blank)
        scr_stat        *scp;
        int             cell, i;
        static u_char   pattern[] = {"...........++++***   "};
-#ifndef PC98
        static char     colors[] = {FG_DARKGREY, FG_LIGHTGREY,
                                    FG_WHITE, FG_LIGHTCYAN};
-#else
-       static char     colors[] = {FG_BLUE, FG_LIGHTGREY,
-                                   FG_LIGHTGREY, FG_CYAN};
-#endif /* PC98 */
        static u_short  stars[NUM_STARS][2];
 
        sc = sc_find_softc(adp, NULL);
@@ -79,13 +70,6 @@ star_saver(video_adapter_t *adp, int blank)
                if (adp->va_info.vi_flags & V_INFO_GRAPHICS)
                        return EAGAIN;
                if (!blanked) {
-#ifdef PC98
-                       if (epson_machine_id == 0x20) {
-                               outb(0x43f, 0x42);
-                               outb(0x0c17, inb(0xc17) & ~0x08);
-                               outb(0x43f, 0x40);
-                       }
-#endif /* PC98 */
                        /* clear the screen and set the border color */
                        sc_vtb_clear(&scp->scr, sc->scr_map[0x20],
                                     (FG_LIGHTGREY | BG_BLACK) << 8);
@@ -107,16 +91,9 @@ star_saver(video_adapter_t *adp, int blank)
                        stars[cell][1] = 0;
                }
        }
-       else {
-#ifdef PC98
-               if (epson_machine_id == 0x20) {
-                       outb(0x43f, 0x42);
-                       outb(0x0c17, inb(0xc17) | 0x08);
-                       outb(0x43f, 0x40);
-               }
-#endif /* PC98 */
+       else
                blanked = FALSE;
-       }
+
        return 0;
 }
 
index 7f588de..d6d0a2b 100644 (file)
@@ -29,7 +29,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/dev/syscons/syscons.c,v 1.336.2.17 2004/03/25 08:41:09 ru Exp $
- * $DragonFly: src/sys/dev/misc/syscons/syscons.c,v 1.15 2005/02/12 02:58:29 joerg Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/syscons.c,v 1.16 2005/02/13 03:02:25 swildner Exp $
  */
 
 #include "use_splash.h"
@@ -273,7 +273,6 @@ static char
        { KD_CGA,       { "CGA",        "CGA" } },
        { KD_EGA,       { "EGA",        "EGA (mono)" } },
        { KD_VGA,       { "VGA",        "VGA (mono)" } },
-       { KD_PC98,      { "PC-98x1",    "PC-98x1" } },
        { KD_TGA,       { "TGA",        "TGA" } },
        { -1,           { "Unknown",    "Unknown" } },
     };
index 7d8b194..3e6f5c9 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/dev/syscons/syscons.h,v 1.60.2.6 2002/09/15 22:30:45 dd Exp $
- * $DragonFly: src/sys/dev/misc/syscons/syscons.h,v 1.9 2005/01/28 21:08:38 swildner Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/syscons.h,v 1.10 2005/02/13 03:02:25 swildner Exp $
  */
 
 #ifndef _DEV_SYSCONS_SYSCONS_H_
 #define        _DEV_SYSCONS_SYSCONS_H_
 
-/* machine-dependent part of the header */
-
-#ifdef PC98
-#include <pc98/pc98/sc_machdep.h>
-#elif defined(__i386__)
-/* nothing for the moment */
-#endif
-
 /* default values for configuration options */
 
 #ifndef MAXCONS