SM501 in non-pci environment
Alex Deucher
alexdeucher at gmail.com
Wed Oct 25 06:56:35 PDT 2006
On 10/25/06, Manuel Lauss <mano at roarinelk.homelinux.net> wrote:
> Hi Alex,
>
> > >> >Can the SM501 driver found in Bugzilla #312 be used
> > >> >in a non-pci system? I have Xorg7.1 running on a SH4
> > >> >system, with the SM501 attached to the host bus.
> > >>
> > >> Not at the moment. It would need support for the local bus interface.
> > >> It should be possible to port the necessary bits from one of the
> > >> smi501 kernel FB drivers.
> > >
> > >Alright, I'll try and implement it. May take a while; I know
> > >nothing about X driver development yet.
> > >
> >
> > I'd suggest you start with the 7.0 tarball on my site from comment 26
> > on bug 312.
> > http://www.botchco.com/alex/xorg/smi501.tar.gz
>
> I had a look at the source and I think implementing
> host bus mode is fairly easy, however I don't know how :(
> Is there some sort of API documentation for X drivers?
> (e.g. is there a non-pci equivalent for xf86MapPciMem(),
> how are multiple Device sections handled wrt the driver
> entry point, ...)
>
I've never written a non-pci driver myself, but take a look at the
impact (http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-impact.git;a=summary)
or newport (http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-newport.git;a=summary)
drivers. they are drivers for non-pci attached video devices.
Alex
> All header files have the argument names conveniently omitted..
>
> Thanks,
>
> --
> Manuel Lauss
>
More information about the xorg
mailing list