[MPlayer-dev-eng] recent vidix pcidb patch

Ville Syrjälä syrjala at sci.fi
Wed May 12 17:08:17 CEST 2004


On Wed, May 12, 2004 at 02:38:22PM +0200, Diego Biurrun wrote:
> Ville Syrjälä writes:
> > On Tue, May 11, 2004 at 07:17:34PM +0400, Vladimir Mosgalin wrote:
> > > On Tue, 11 May 2004, Diego Biurrun wrote:
> > > DB>> Imho change it to R350_NJ or R360_NJ, which one do you like better...
> > > DB>Let me ask once again: Why NJ and not XY or AB?  I thought these model
> > > DB>names were not just random characters...
> > > 
> > > I don't know! It's just that I always seen on forums that it writes R350 NJ
> > > for 9800 XT cards.
> > 
> > The characters are the ASCII representation of the PCI id. At least that's 
> > how it works for older chips.
> 
> OK, so how are the IDs translated to ASCII?

printf( "%c%c", device_id >> 8, device_id & 0xff );

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/




More information about the MPlayer-dev-eng mailing list