From cf0990c28aa3eda4253e6f97bb83dc83631cf3cd Mon Sep 17 00:00:00 2001 From: ddouthitt Date: Wed, 26 Sep 2001 20:27:41 +0000 Subject: [PATCH] Updated lcd.c: * Added preliminary support for a Toshiba T6963 driver. * Fixed a bug in the driver_list function which caused some unpretty output... --- server/drivers/lcd.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/server/drivers/lcd.c b/server/drivers/lcd.c index 8f74e57..9b94409 100644 --- a/server/drivers/lcd.c +++ b/server/drivers/lcd.c @@ -111,6 +111,10 @@ static char *lcd_drv_getinfo (); #include "svgalib_drv.h" // -- #endif +// -- #ifdef T6963_DRV +#include "t6963.h" +// -- #endif + // Make program more readable and understandable; // hide details... //#define ResetList(a) LL_Rewind(a) @@ -180,6 +184,9 @@ lcd_physical_driver drivers[] = { // -- #ifdef SVGALIB_DRV {"svgalib", svgalib_drv_init,}, // -- #endif +// -- #ifdef T6963_DRV + {"t6963", t6963_init,}, +// -- #endif {NULL, NULL,}, @@ -199,12 +206,14 @@ lcd_list_drivers (void) { printf("%s", CurrentDriver); if (NextDriver != NULL) - printf(","); + printf(", "); i++; if ((i % 8) == 0) - printf("\n"); + printf("\n\t"); } + + printf("\n"); } ////////////////////////////////////////////////////////////