summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cons.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-08-13 08:05:28 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-08-13 08:05:28 +0000
commit04a9221adcfea8cdf59681fbd9a26ce39f54559e (patch)
treed08aa0d6c98c2271a90c2486500b9581738f5ca3 /sys/arch/sparc/dev/cons.c
parent31d406e979d057f73f15768c7cfa592f8ce6993e (diff)
Revert back to Theo's eeprom.h.
Diffstat (limited to 'sys/arch/sparc/dev/cons.c')
-rw-r--r--sys/arch/sparc/dev/cons.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cons.c b/sys/arch/sparc/dev/cons.c
index 08df311233b..11a1606bae8 100644
--- a/sys/arch/sparc/dev/cons.c
+++ b/sys/arch/sparc/dev/cons.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: cons.c,v 1.5 1996/08/13 08:05:24 downsj Exp $ */
/* $NetBSD: cons.c,v 1.23.4.1 1996/06/02 09:07:53 mrg Exp $ */
/*
@@ -309,8 +310,8 @@ cnopen(dev, flag, mode, p)
struct eeprom *ep = (struct eeprom *)eeprom_va;
if (ep) {
- rows = (u_short)ep->eeTtyRows;
- cols = (u_short)ep->eeTtyCols;
+ rows = (u_short)ep->ee_diag.eed_rowsize;
+ cols = (u_short)ep->ee_diag.eed_colsize;
}
}
firstopen = 0;