Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include Ths has been sitting in my tree for...



details:   https://anonhg.NetBSD.org/src/rev/5164ece8bab2
branches:  trunk
changeset: 332767:5164ece8bab2
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Oct 08 10:30:27 2014 +0000

description:
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 )

diffstat:

 sys/arch/sparc64/include/param.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 091bab737cb7 -r 5164ece8bab2 sys/arch/sparc64/include/param.h
--- a/sys/arch/sparc64/include/param.h  Wed Oct 08 05:44:03 2014 +0000
+++ b/sys/arch/sparc64/include/param.h  Wed Oct 08 10:30:27 2014 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index