diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-13 08:05:28 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-13 08:05:28 +0000 |
commit | 04a9221adcfea8cdf59681fbd9a26ce39f54559e (patch) | |
tree | d08aa0d6c98c2271a90c2486500b9581738f5ca3 /sys/arch/sparc/dev/fb.c | |
parent | 31d406e979d057f73f15768c7cfa592f8ce6993e (diff) |
Revert back to Theo's eeprom.h.
Diffstat (limited to 'sys/arch/sparc/dev/fb.c')
-rw-r--r-- | sys/arch/sparc/dev/fb.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index 836bc7dbdad..37bf3b10be7 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -1,3 +1,4 @@ +/* $OpenBSD: fb.c,v 1.9 1996/08/13 08:05:25 downsj Exp $ */ /* $NetBSD: fb.c,v 1.18 1996/04/01 17:29:54 christos Exp $ */ /* @@ -298,23 +299,23 @@ fb_setsize(fb, depth, def_width, def_height, node, bustype) break; } } else if (eep != NULL) { - switch (eep->eeScreenSize) { - case EE_SCR_1152X900: + switch (eep->ee_diag.eed_scrsize) { + case EED_SCR_1152X900: fb->fb_type.fb_width = 1152; fb->fb_type.fb_height = 900; break; - case EE_SCR_1024X1024: + case EED_SCR_1024X1024: fb->fb_type.fb_width = 1024; fb->fb_type.fb_height = 1024; break; - case EE_SCR_1600X1280: + case EED_SCR_1600X1280: fb->fb_type.fb_width = 1600; fb->fb_type.fb_height = 1280; break; - case EE_SCR_1440X1440: + case EED_SCR_1440X1440: fb->fb_type.fb_width = 1440; fb->fb_type.fb_height = 1440; break; @@ -412,8 +413,8 @@ fbrcons_init(fb) rc->rc_maxcol = 80; rc->rc_maxrow = 34; } else { - rc->rc_maxcol = eep->eeTtyCols; - rc->rc_maxrow = eep->eeTtyRows; + rc->rc_maxcol = eep->ee_diag.eed_colsize; + rc->rc_maxrow = eep->ee_diag.eed_rowsize; } } #endif /* SUN4 */ |