diff options
| author | fredette <fredette@NetBSD.org> | 2001-04-10 12:44:12 +0000 |
|---|---|---|
| committer | fredette <fredette@NetBSD.org> | 2001-04-10 12:44:12 +0000 |
| commit | 1dfde059abb152fc3c02b6df19e1b78bcaaa6faf (patch) | |
| tree | 7a54589d8521855f1b987772cf41d2fd58610432 /sys | |
| parent | bb09d2bc78d1674f17d29b715d0b8609e4e03dfb (diff) | |
Use fb_setsize_eeprom to do some intialization of the
fb structure.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/sun2/dev/bwtwo_any.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sun2/dev/bwtwo_any.c b/sys/arch/sun2/dev/bwtwo_any.c index b4739b12e20..8a49ec0c455 100644 --- a/sys/arch/sun2/dev/bwtwo_any.c +++ b/sys/arch/sun2/dev/bwtwo_any.c @@ -1,4 +1,4 @@ -/* $NetBSD: bwtwo_any.c,v 1.1 2001/04/06 15:14:39 fredette Exp $ */ +/* $NetBSD: bwtwo_any.c,v 1.2 2001/04/10 12:44:12 fredette Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -165,8 +165,7 @@ bwtwoattach_any(parent, self, aux) fb->fb_flags = sc->sc_dev.dv_cfdata->cf_flags; fb->fb_type.fb_depth = 1; - fb->fb_type.fb_width = 1152; - fb->fb_type.fb_height = 900; + fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); isconsole = fb_is_console(0); |
