Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 09/21/2005 18:49:16
Module Name:	src
Committed By:	macallan
Date:		Wed Sep 21 18:49:16 UTC 2005

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

Log Message:
- avoid using global variables unless necessary, this should fix weird
problems when more than one mach64 is present
- check memory BARs in mach64_mmap() and adjust allowed ranges in case
something ( XFree86 for instance ) changed them
- disable 'standard' framebuffer mapping at offset 0 on sparc64 because some
Sun/ATI firmware likes to map PCI resources there. May be necessary on other
64bit architectures as well.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 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.