Subject: Re: Free SPARC20 clone (Axil 320) in Silicon Valley, USA
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 05/11/2007 01:19:51
>>> cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11cgsix0: attached to /dev/fb
>>>
>>> cgsix0: framebuffer size: 1 MB
>> That bug has survived clear into 3.1?  Wow.
> The missing \n?  Or what are you talking about?

Not *missing*, exactly, just *misplaced*.  What's happening is

printf("foo");
printf("bar\n");
printf("\n");

where the last line conceptually goes with the first (the probjlem is
harder to see because the middle printf actually occurs at a deeper
level of function-call nesting, inside fb_attach()).

Look for the call to fb_attach in cgsix.c and note the printf("\n");
five lines farther down (lines 673 and 678 - these numbers are as of
cgsix.c,v 1.22.2.2, the 3.1 version).  That printf should happen
*before* fb_attach gets called.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B