cvs commit: src/sys/conf files.sparc64

Marius Strobl marius at alchemy.franken.de
Sat Aug 14 19:08:29 PDT 2004


On Sun, Aug 15, 2004 at 03:13:41AM +0200, Thomas Moestl wrote:
> On Sun, 2004/08/15 at 02:35:09 +0200, Marius Strobl wrote:
> > On Sat, Aug 14, 2004 at 05:18:34PM -0700, John-Mark Gurney wrote:
> > > Marius Strobl wrote this message on Sun, Aug 15, 2004 at 00:11 +0000:
> > > > marius      2004-08-15 00:11:00 UTC
> > > > 
> > > >   FreeBSD src repository
> > > > 
> > > >   Modified files:
> > > >     sys/conf             files.sparc64 
> > > >   Log:
> > > >   sio(4), which never really worked on sparc64, was removed in favour of
> > > >   uart(4) in sparc64/conf/GENERIC revision 1.63 about 9 months ago. Remove
> > > >   its source files here, too.
> > > 
> > > Hmmm... are you sure?  sio worked fine for me on my sparc64 system..
> > > 
> > > I did have troubles when OFW and sio tried to share sio0, but then
> > > I just didn't use sio0....
> > > 
> > > In fact, I've been meaning to commit the sio module framework I have
> > > back when I loaded it to work on my system...
> > > 
> > 
> > AFAIK, it only really ever worked with tmm's patches at
> > http://people.freebsd.org/~tmm/sio-s64-*
> > but which he stopped updating after uart(4) was commited which was better
> > suited to work on sparc64. Therefor sio(4) was removed from the sparc64
> > GENERIC kernel and sio_ebus.c deleted. I thought these two sio(4) files
> > in files.sparc64 were just a leftover. Thomas?
> 
> The patches mostly contained changes to get console support and EBus
> sio(4)s to work. As far as I know, ISA sio(4)s worked with an
> unpatched driver, as long as console support was not required (I
> haven't tested that recently, though).
> 

I just gave it a try. Like you described sio(4) doesn't work as console
regardless if it's the same port OFW uses or the other one. I just get
a "Fast Data Access MMU Miss" after "jumping to kernel...". However,
the first port works when flags are 0x0.
I still think the sio(4) files should stay gone in files.sparc64. Neither
sio(4) nor uart(4) are or were enabled by default in the sparc64 GENERIC
kernel. But uart(4) works as console for ISA devices and doesn't require
hints.

Marius



More information about the cvs-src mailing list