From fbe20688960a2b3cd4aa88e1b7256e402f9285ba Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 29 Sep 1994 15:49:09 +0000 Subject: [PATCH] Fix broken FAT_CURSOR support, don't set cursor shape on VGA --- sys/dev/syscons/syscons.c | 7 ++++++- sys/i386/isa/syscons.c | 7 ++++++- sys/isa/syscons.c | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index cae845e9c8a1..0479f76c5c1e 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.58 1994/09/27 11:40:02 ache Exp $ + * $Id: syscons.c,v 1.59 1994/09/29 08:29:21 sos Exp $ */ #include "sc.h" @@ -384,6 +384,11 @@ pcattach(struct isa_device *dev) } } /* get cursor going */ +#if defined(FAT_CURSOR) + if (crtc_vga) + cursor_shape(console[0].cursor_start, + console[0].cursor_end); +#endif cursor_pos(1); update_leds(console[0].status); return 0; diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c index cae845e9c8a1..0479f76c5c1e 100644 --- a/sys/i386/isa/syscons.c +++ b/sys/i386/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.58 1994/09/27 11:40:02 ache Exp $ + * $Id: syscons.c,v 1.59 1994/09/29 08:29:21 sos Exp $ */ #include "sc.h" @@ -384,6 +384,11 @@ pcattach(struct isa_device *dev) } } /* get cursor going */ +#if defined(FAT_CURSOR) + if (crtc_vga) + cursor_shape(console[0].cursor_start, + console[0].cursor_end); +#endif cursor_pos(1); update_leds(console[0].status); return 0; diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index cae845e9c8a1..0479f76c5c1e 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.58 1994/09/27 11:40:02 ache Exp $ + * $Id: syscons.c,v 1.59 1994/09/29 08:29:21 sos Exp $ */ #include "sc.h" @@ -384,6 +384,11 @@ pcattach(struct isa_device *dev) } } /* get cursor going */ +#if defined(FAT_CURSOR) + if (crtc_vga) + cursor_shape(console[0].cursor_start, + console[0].cursor_end); +#endif cursor_pos(1); update_leds(console[0].status); return 0;