summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-03-02 12:34:24 +0000
committerkato <kato@FreeBSD.org>1999-03-02 12:34:24 +0000
commit77147e7aae68f00a4c4b34dedd1b4c8d4e653a4f (patch)
treebf37da64b0854ef4ecc389d09f308ca205b3f187 /sys
parentb46a413871bf8d858252d1dc635bd18090ff634d (diff)
downloadFreeBSD-src-77147e7aae68f00a4c4b34dedd1b4c8d4e653a4f.zip
FreeBSD-src-77147e7aae68f00a4c4b34dedd1b4c8d4e653a4f.tar.gz
Fix for LINE30 option. This option was not tested under new console
driver. Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/gdc.c4
-rw-r--r--sys/pc98/pc98/pc98gdc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c
index 315d101..6b4ac09 100644
--- a/sys/pc98/cbus/gdc.c
+++ b/sys/pc98/cbus/gdc.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pc98gdc.c,v 1.4 1999/01/28 11:24:36 kato Exp $
+ * $Id: pc98gdc.c,v 1.5 1999/02/06 09:30:19 kato Exp $
*/
#include "gdc.h"
@@ -669,7 +669,7 @@ gdc_set_mode(video_adapter_t *adp, int mode)
return 1;
#ifdef LINE30
- switch (scp->mode) {
+ switch (info.vi_mode) {
case M_PC98_80x25: /* VGA TEXT MODES */
initialize_gdc(T25_G400);
break;
diff --git a/sys/pc98/pc98/pc98gdc.c b/sys/pc98/pc98/pc98gdc.c
index 315d101..6b4ac09 100644
--- a/sys/pc98/pc98/pc98gdc.c
+++ b/sys/pc98/pc98/pc98gdc.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pc98gdc.c,v 1.4 1999/01/28 11:24:36 kato Exp $
+ * $Id: pc98gdc.c,v 1.5 1999/02/06 09:30:19 kato Exp $
*/
#include "gdc.h"
@@ -669,7 +669,7 @@ gdc_set_mode(video_adapter_t *adp, int mode)
return 1;
#ifdef LINE30
- switch (scp->mode) {
+ switch (info.vi_mode) {
case M_PC98_80x25: /* VGA TEXT MODES */
initialize_gdc(T25_G400);
break;
OpenPOWER on IntegriCloud