Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 08/02/2005 01:32:13
Module Name:	src
Committed By:	macallan
Date:		Tue Aug  2 01:32:13 UTC 2005

Modified Files:
	src/sys/dev/pci: machfb.c

Log Message:
disable mmap()ing the framebuffer at offset 0 on sparc64 because some ATI
firmware likes to put PCI memory resources into this range, notably a Rage
IIc which puts the 2nd register aperture to 0x2000.
This should allow a few graphics chips to work with XFree86 which previously
failed with something like this:
(WW) ATI:  PCI/AGP Mach64 in slot 2:5:0 could not be detected!
No devices to configure.  Configuration failed.

Thanks to Florian Stoehr for doing most of the work tracking this down.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/sys/dev/pci/machfb.c

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