Martin Bochnig wrote:
> Xsun was branched off from the original common MIT X11 tree before ddx
> modules came into existance, unfortunately, so Xsun and Xorg don't share
> any historic compatibility in that aspect.
> At first drivers had been statically linked into a monolithic server
> binary.
> Then the Xsun versus XFree86 branches went down two completely
> incompatible roads: Xsun introduced ddx modules - circa - in 1996 (hard
> to say from the perspective of an outsider).
The SCCS history shows it at least as far back as 1992, which I think would
be around the time of the Xnews -> Xsun migration on Solaris, but in any
case, well before my time here.
> No general purpose bus scan is performed.
Right - on SPARC, the DDX module is chosen not by PCI bus scan, but by calling
ioctl(fd, VIS_GETIDENTIFIER, &visId) on /dev/fb (or the device specified
by -dev) and then looking up that id in /usr/openwin/server/etc/OWconfig.
> But one thing is clear: Whoever implements this wrapper may not require
> Xsun's sources, but at least a sufficient set of its object files. Plus
> sunInit.c (and maybe others) in src.
We should be able to release the Xsun module loading code (and if needed,
much, but not all of Xsun's code - the primary areas known to be off limits
are DPS and the TrueType font engine - most everything else just takes work).
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering