Subject: Re: Miro / Zoran video chipset
To: None <port-macppc@NetBSD.org>
From: James Bilotto <jb13@gomerbud.com>
List: port-macppc
Date: 11/26/2004 19:36:23
On Fri, Nov 26, 2004 at 09:58:55PM -0500, Michael wrote:
> > as for using the bktr interface, please don't. i've been (slowly) writing
> > drivers for the sun videopix & parallax powervideo cards and i was thinking
> > of implamenting something like solaris' rtv interface for them.
> What's wrong with the bktr interface? I didn't have a look yet and there are a lot of things I'd like to get done before returning to the Zoran driver ( like getting XFree to support more graphics hardware on more Macs ) so I didn't do a lot to it, so far it only scans the i2c bus for devices and reports what it finds ( only an SAA7110 on my card )
> So, is there some sort of common interface for video devices? I didn't really find one so I just suggested the bktr one because it should serve a similar purpose and would at least be supported by a handful of applications. At least the SAA7110 should get its own driver ( if it doesn't already have ) - you can only talk to it via i2c anyway and it's used by a lot of devices which shouldn't all implement their own support for it.
> 
> If at all possible I'd like to end up with a framework of small drivers to support most video/tv/mpeg cards
> 

thats just what i'm talking about, rtv is a generic interface for frame
grabbers used by many cards on solaris. the reson i don't like the bktr
interface is that its very specific to the bktr (bt878), so it wouldn't
work so well for your SAA7110, or my SAA9051 & SAA7191 and what ever the
planb/sixty6 hardware on 7300-8600's have, as well as many more cards.
its sort of like wscons, fbio, if, etc. of cores, it doesn't exist in
netbsd yet, but time can fix that ;)

jb13