[comp.sys.sun] cgfour entries in 4.0 kernel for 3/60

david@sun.com (live by the lawn dart, die by the lawn dart) (02/22/89)

In article <2786@stpstn.UUCP> hsi!stpstn!aad@uunet.uu.net (Anthony A.
Datri) writes:

>The 4.0 man page for cgfour says to use the following line in a kernel
>conf file for a color 3/60:
>
>device          cgfour0 at obmem 7 csr 0xff000000 priority 4
>
>and the 4.0 conf file contains the following entries:

	[ lots of goop deleted ]

You need a better grep.  Here are the relevant lines from the 4.0
/usr/sys/sun3/conf/GENERIC:

# 3/60 P4 color frame buffer
device		cgfour0 at obmem 7 csr 0xff300000 priority 4	# 3/60
# 3/60 plug-in color frame buffer
device		cgfour0 at obmem 7 csr 0xff400000 priority 4	# 3/60
# Support for monochrome memory frame buffers on various machines.
device		bwtwo0 at obmem 7 csr 0xff000000 priority 4	# 3/60
# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
device		bwtwo1 at obmem 7 csr 0xff300000 priority 4	# 3/60
# 3/60 plug-in color frame buffer overlay plane
device		bwtwo1 at obmem 7 csr 0xff400000		# 3/60

There are 2 flavors of plug-in cg4 frame buffer:

1. The "3/60 color frame buffer", normally shipped with 3/60s; will *not*
work in 4/110s.

2. The "P4 color frame buffer", normally shipped with 4/110s; will also
work in 3/60s, but is not necessarily supported.

It turned out to be convenient to have separate config file entries for
the two types.

David DiGiacomo, Sun Microsystems, Mt. View, CA  sun!david david@sun.com