Subject: port-sun3/2402: [dM] NetBSD mis-sizes -3/260 bwtwo
To: None <gnats-bugs@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: netbsd-bugs
Date: 05/13/1996 07:32:48
>Number: 2402
>Category: port-sun3
>Synopsis: [dM] NetBSD mis-sizes -3/260 bwtwo
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 13 07:50:01 1996
>Last-Modified:
>Originator: der Mouse
>Organization:
Dis-
>Release: -current supped Apr 30 AM
>Environment:
Any -3/260
>Description:
The bwtwo driver gets the screen size wrong on the -3/260. The
/260 bwtwo is _always_ 1600x1280, but the bwtwo driver says
/*
* Only the model 60 can have hi-res.
* XXX - Use PROM screen size values?
*/
if (cpu_machine_id == SUN3_MACH_60) {
int tmp;
tmp = bus_peek(BUS_OBMEM, BW2_CR_PADDR, 1);
if ((tmp != -1) && (tmp & 0x80) == 0) {
fbt->fb_width = 1600;
fbt->fb_height = 1280;
fbt->fb_size = BW2_FBSIZE_HIRES;
}
}
>How-To-Repeat:
Boot NetBSD/sun3 on a -3/260. Watch the boot message for the
bwtwo. Notice that it claims 1152x900. Connect up a monitor
and notice that it's really 1600x1280. Refer to the hardware
installation manual for the /260 and find that it specifically
states that the /260's mono framebuffer is 1600x1280.
>Fix:
Presumably, add a test for SUN3_MACH_260 to the conditional
quoted above, and fix the comment. (I'd send code diffs,
except that my sun3 build tree is not in buildable shape at the
moment.)
der Mouse
mouse@collatz.mcrcim.mcgill.edu
>Audit-Trail:
>Unformatted: