summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-06-28 20:19:20 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-06-28 20:19:20 +0000
commitac1c6b402705a0e6fb6eda0db53b908e8ada5c61 (patch)
treebeec347cadaf51c31c653c1f6df0eff0ea1b9f42 /sys/arch/amd64
parenteda2afa4f6f9763b7bfabf086eae80f873a217cc (diff)
Remove the ega driver which is not referenced by any GENERIC kernel.
ok tedu@, "I won't mourn it" miod@, "no objection" oga@, "I won't cry" todd@, "fine, even happy" nick@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/wscons_machdep.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/amd64/amd64/wscons_machdep.c b/sys/arch/amd64/amd64/wscons_machdep.c
index 4a9c6a6a7a2..83e7eaa5b40 100644
--- a/sys/arch/amd64/amd64/wscons_machdep.c
+++ b/sys/arch/amd64/amd64/wscons_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_machdep.c,v 1.9 2010/11/23 04:07:55 shadchin Exp $ */
+/* $OpenBSD: wscons_machdep.c,v 1.10 2011/06/28 20:19:18 matthieu Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell
@@ -38,18 +38,14 @@
#include <dev/cons.h>
#include "vga.h"
-#include "ega.h"
#include "pcdisplay.h"
-#if (NVGA > 0) || (NEGA > 0) || (NPCDISPLAY > 0)
+#if (NVGA > 0) || (NPCDISPLAY > 0)
#include <dev/ic/mc6845reg.h>
#include <dev/ic/pcdisplayvar.h>
#if (NVGA > 0)
#include <dev/ic/vgareg.h>
#include <dev/ic/vgavar.h>
#endif
-#if (NEGA > 0)
-#include <dev/isa/egavar.h>
-#endif
#if (NPCDISPLAY > 0)
#include <dev/isa/pcdisplayvar.h>
#endif
@@ -142,10 +138,6 @@ wscn_video_init()
if (vga_cnattach(X86_BUS_SPACE_IO, X86_BUS_SPACE_MEM, -1, 1) == 0)
return;
#endif
-#if (NEGA > 0)
- if (ega_cnattach(X86_BUS_SPACE_IO, X86_BUS_SPACE_MEM) == 0)
- return;
-#endif
#if (NPCDISPLAY > 0)
if (pcdisplay_cnattach(X86_BUS_SPACE_IO, X86_BUS_SPACE_MEM) == 0)
return;