[MPlayer-cvslog] r22835 - trunk/libdha/libdha.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Mar 28 21:21:03 CEST 2007


Hello,
On Wed, Mar 28, 2007 at 09:13:50PM +0200, Nico Sabbi wrote:
> Alle 21:10, mercoledì 28 marzo 2007, Reimar Döffinger ha scritto:
> > On Wed, Mar 28, 2007 at 08:45:02PM +0200, nicodvb wrote:
> > > Author: nicodvb
> > > Date: Wed Mar 28 20:45:02 2007
> > > New Revision: 22835
> > >
> > > Modified:
> > >    trunk/libdha/libdha.c
> > >
> > > Log:
> > > in solaris the I/O device to mmap() is /dev/xsvc, not /dev/mem
> > >
> > > Modified: trunk/libdha/libdha.c
> > > =================================================================
> > >============= --- trunk/libdha/libdha.c	(original)
> > > +++ trunk/libdha/libdha.c	Wed Mar 28 20:45:02 2007
> > > @@ -48,6 +48,8 @@
> > >  #   undef DEV_MEM
> > >  #   define DEV_MEM "/dev/mem"
> > >  #  endif
> > > +#elif defined(sun) && defined (i386)
> > > +#define DEV_MEM "/dev/xsvc"
> >
> > why the i386 condition??
> 
> because I'm not sure that the driver is available for sparc;
> I'll eventually remove teh i386 check after having had reports
> from sparc users

Well, I mean any reason to assume that /dev/mem will work on
solaris/sparc? Otherwise one would be as good as the other...
Btw. the SCO325 handling seems a bit weird, it seems to do the same as
if we had
#if defined(SVR4) && !defined(SCO325)
just a lot more complicated?

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list