Subject: CVS commit: src/sys/arch/sgimips/gio
To: None <source-changes@NetBSD.org>
From: Christopher SEKIYA <sekiya@netbsd.org>
List: source-changes
Date: 02/07/2004 04:34:34
Module Name:	src
Committed By:	sekiya
Date:		Sat Feb  7 04:34:34 UTC 2004

Modified Files:
	src/sys/arch/sgimips/gio: newport.c newportreg.h

Log Message:
More newport driver tweaks:

* detect and store vc2 revision.  This is (likely) the important factor in
  determining the proper cursor offset, so add a bit of logic that does the
  right thing on my revision 0 vc2.  This will have to be determined
  empirically, revision by revision.
* take a stab at detecting framebuffer depth.  SGI does it quite differently,
  but their algorithm doesn't work, so we'll do it along the same lines as
  linux.
* implement newport_mmap() for use by X.  The necessary xsrc commits have been
  made (with the notable exception of the config/cf changes, which probably
  shouldn't go in until 4.4.0 has been imported).


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/sgimips/gio/newport.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/sgimips/gio/newportreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.