summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-10-18 02:19:54 +0000
committerjkh <jkh@FreeBSD.org>1993-10-18 02:19:54 +0000
commit1198436debe305d1f83b46a29c147e63ce88c0b2 (patch)
treebd94d56bee24aa69b1da44df4f49ef5944eec0be /sys/dev/syscons
parent3c62cbe8ed5237d9c3bfaca4b459407018989a10 (diff)
downloadFreeBSD-src-1198436debe305d1f83b46a29c147e63ce88c0b2.zip
FreeBSD-src-1198436debe305d1f83b46a29c147e63ce88c0b2.tar.gz
Patch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
on HDA/CGA displays.
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 237c32b..e639252 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -35,7 +35,7 @@
*
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
* from: @(#)syscons.c 1.0 930928
- * $Id$
+ * $Id: syscons.c,v 1.13 1993/10/16 13:46:23 rgrimes Exp $
*
* Heavily modified by Søren Schmidt (sos@login.dkuug.dk) to provide:
*
@@ -308,11 +308,12 @@ int pcattach(struct isa_device *dev)
printf(" <%d virtual consoles>\n", NCONS);
else
printf("\n");
- if (crtc_vga) {
#ifdef FAT_CURSOR
start = 0;
end = 18;
-#else
+#endif
+ if (crtc_vga) {
+#ifndef FAT_CURSOR
get_cursor_shape(&start, &end);
#endif
save_palette();
OpenPOWER on IntegriCloud