Module Name: src
Committed By: macallan
Date: Wed Oct 8 10:30:27 UTC 2014
Modified Files:
src/sys/arch/sparc64/include: param.h
Log Message:
Ths has been sitting in my tree for years...
Allow the Xserver to map PCI IO space. Not needed for Sun-branded graphics
cards but Xorg can actually cold boot a few others, which will need it.
( if only to access standard VGA registers )
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sparc64/include/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc64/include/param.h
diff -u src/sys/arch/sparc64/include/param.h:1.54 src/sys/arch/sparc64/include/param.h:1.55
--- src/sys/arch/sparc64/include/param.h:1.54 Thu Jul 10 06:24:02 2014
+++ src/sys/arch/sparc64/include/param.h Wed Oct 8 10:30:27 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.54 2014/07/10 06:24:02 jdc Exp $ */
+/* $NetBSD: param.h,v 1.55 2014/10/08 10:30:27 macallan Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -281,3 +281,5 @@ extern const int cputyp;
#define PGSHIFT 13 /* log2(NBPG) */
#define NBPG (1<<PGSHIFT) /* bytes/page */
#define PGOFSET (NBPG-1) /* byte offset into page */
+
+#define PCI_MAGIC_IO_RANGE 0x100000000LL