summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2005-05-15 09:07:42 +0000
committernyan <nyan@FreeBSD.org>2005-05-15 09:07:42 +0000
commitead466f21dd979942fdc35b577f9f32da4263a29 (patch)
treec3f174f6c5920a61420a1bfad0b21afda7cefffa
parent489c28c2613bc6886b7bb393e73de601863f85f9 (diff)
downloadFreeBSD-src-ead466f21dd979942fdc35b577f9f32da4263a29.zip
FreeBSD-src-ead466f21dd979942fdc35b577f9f32da4263a29.tar.gz
Remove old epson note support.
-rw-r--r--sys/dev/syscons/snake/snake_saver.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/sys/dev/syscons/snake/snake_saver.c b/sys/dev/syscons/snake/snake_saver.c
index ea5651f..6a7b7da 100644
--- a/sys/dev/syscons/snake/snake_saver.c
+++ b/sys/dev/syscons/snake/snake_saver.c
@@ -43,10 +43,6 @@
#include <dev/fb/splashreg.h>
#include <dev/syscons/syscons.h>
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
static u_char *message;
static int *messagep;
static int messagelen;
@@ -73,13 +69,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);
@@ -113,17 +102,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;
}
OpenPOWER on IntegriCloud