Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox Support xserver.



details:   https://anonhg.NetBSD.org/src/rev/e3db9c21781b
branches:  trunk
changeset: 756772:e3db9c21781b
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Aug 01 06:13:19 2010 +0000

description:
Support xserver.

diffstat:

 sys/arch/bebox/conf/GENERIC      |  8 ++++++--
 sys/arch/bebox/conf/majors.bebox |  3 ++-
 sys/arch/bebox/include/param.h   |  5 ++++-
 3 files changed, 12 insertions(+), 4 deletions(-)

diffs (69 lines):

diff -r f55eb59c2e19 -r e3db9c21781b sys/arch/bebox/conf/GENERIC
--- a/sys/arch/bebox/conf/GENERIC       Sun Aug 01 04:08:27 2010 +0000
+++ b/sys/arch/bebox/conf/GENERIC       Sun Aug 01 06:13:19 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.119 2010/05/08 22:16:26 mrg Exp $
+# $NetBSD: GENERIC,v 1.120 2010/08/01 06:13:19 kiyohara Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.119 $"
+#ident                 "GENERIC-$Revision: 1.120 $"
 
 maxusers       32
 
@@ -161,6 +161,9 @@
 #options       WSEMUL_SUN              # sun terminal emulation
 options        WSEMUL_VT100            # VT100 / VT220 emulation
 options        WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
+# compatibility to other console drivers
+options        WSDISPLAY_COMPAT_USL    # VT handling
+options        WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
 
 config         netbsd  root on ? type ?
 
@@ -186,6 +189,7 @@
 #options       PMS_DISABLE_POWERHOOK   # Disable PS/2 reset on resume
 options                PMS_SYNAPTICS_TOUCHPAD  # Enable support for Synaptics Touchpads
 genfb*         at pci? dev ? function ?
+options        WSFB_FAKE_VGA_FB
 vga*           at pci? dev ? function ?
 wsdisplay*     at vga? console ?
 wskbd*         at pckbd? console ?
diff -r f55eb59c2e19 -r e3db9c21781b sys/arch/bebox/conf/majors.bebox
--- a/sys/arch/bebox/conf/majors.bebox  Sun Aug 01 04:08:27 2010 +0000
+++ b/sys/arch/bebox/conf/majors.bebox  Sun Aug 01 06:13:19 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: majors.bebox,v 1.21 2008/11/12 12:35:57 ad Exp $
+#      $NetBSD: majors.bebox,v 1.22 2010/08/01 06:13:19 kiyohara Exp $
 #
 # Device majors for bebox
 #
@@ -59,6 +59,7 @@
 device-major   cgd             char 60  block 19       cgd
 device-major   ksyms           char 61                 ksyms
 device-major   wsfont          char 62                 wsfont
+device-major   pci             char 63                 pci
 
 device-major   nsmb            char 98                 nsmb
 
diff -r f55eb59c2e19 -r e3db9c21781b sys/arch/bebox/include/param.h
--- a/sys/arch/bebox/include/param.h    Sun Aug 01 04:08:27 2010 +0000
+++ b/sys/arch/bebox/include/param.h    Sun Aug 01 06:13:19 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.10 2007/10/17 19:54:00 garbled Exp $       */
+/*     $NetBSD: param.h,v 1.11 2010/08/01 06:13:19 kiyohara Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -49,3 +49,6 @@
 #define        KERNBASE        0x3100
 
 #include <powerpc/param.h>
+
+/* at this offset we mmap() the PCI IO range in display drivers */
+#define PCI_MAGIC_IO_RANGE     0xf2000000



Home | Main Index | Thread Index | Old Index