Cleanup sample XBOX config file.

This commit is contained in:
jmcneill 2007-01-05 05:04:38 +00:00
parent 32238623bd
commit 6f578b89df
1 changed files with 11 additions and 61 deletions

View File

@ -1,12 +1,10 @@
# $NetBSD: XBOX,v 1.1 2007/01/04 18:16:43 jmcneill Exp $
# $NetBSD: XBOX,v 1.2 2007/01/05 05:04:38 jmcneill Exp $
#
# XBOX -- A basic Microsoft XBox kernel config file.
#
include "arch/i386/conf/std.i386"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 32 # estimated number of users
# CPU support. At least one is REQUIRED.
@ -17,33 +15,24 @@ options REALEXTMEM=60416 # size of extended memory (in KB)
options MSGBUFSIZE=65536 # for PCI_CONFIG_DUMP space
options NFS_BOOT_RWSIZE=1024 # kue0 USB ethernet has issues here
#options NFS_BOOT_RWSIZE=1024 # kue0 USB ethernet has issues here
makeoptions CPUFLAGS="-march=i686 -mtune=pentiumpro"
options TIMER_FREQ=1125000
options XBOX # kernel support for xbox
options MULTIBOOT # Multiboot support (see multiboot(8))
# delay between "rebooting ..." message and hardware reset, in milliseconds
options CPURESET_DELAY=5000
# Standard system options
options INSECURE # disable kernel security levels - X needs this
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options LKM # loadable kernel modules
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Diagnostic/debugging support options
options DIAGNOSTIC # expensive kernel consistency checks
options DEBUG # expensive debugging checks/support
#options DIAGNOSTIC # expensive kernel consistency checks
#options DEBUG # expensive debugging checks/support
#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
@ -53,19 +42,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
options COMPAT_09 # NetBSD 0.9
options COMPAT_10 # NetBSD 1.0
options COMPAT_11 # NetBSD 1.1
options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
options COMPAT_14 # NetBSD 1.4
options COMPAT_15 # NetBSD 1.5
options COMPAT_16 # NetBSD 1.6
options COMPAT_20 # NetBSD 2.0
options COMPAT_30 # NetBSD 3.0
options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
options COMPAT_386BSD_MBRPART # recognize old partition ID
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# File systems
@ -76,7 +53,7 @@ file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system KERNFS # /kern
file-system PROCFS # /proc
file-system TMPFS # Efficient memory file-system
#file-system UDF # experimental - OSTA UDF CD/DVD file-system
file-system UDF # OSTA UDF CD/DVD file-system
# Networking options
options INET # IP + ICMP + TCP + UDP
@ -114,9 +91,6 @@ cpu* at mainbus?
# Basic Bus Support
#options PCI_NETBSD_CONFIGURE
options PCI_CONFIGURE_VERBOSE
# PCI bus support
pci* at mainbus? bus ?
pci* at pchb? bus ?
@ -127,20 +101,17 @@ pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
#agp* at pchb?
agp* at pchb?
# ISA bus support
isa0 at mainbus?
isa0 at pcib?
# Coprocessor Support
# Math Coprocessor support
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
# Console Devices
# wscons
# XBOX framebuffer console
xboxfb* at pci? dev ? function ?
xboxfb0 at pci? dev ? function ?
wsdisplay* at xboxfb? console ?
# XBOX X3LCD console
@ -151,31 +122,10 @@ wsdisplay* at xboxfb? console ?
#attimer0 at isa?
# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
# ATA (IDE) bus support
atabus* at ata?
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd* at atabus? drive ? flags 0x0000
# ATAPI bus support
atapibus* at atapi?
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
# ATAPI devices
# flags have the same meaning as for IDE drives.
@ -294,7 +244,7 @@ options UGEN_BULK_RA_WB
# Audio Devices
# PCI audio devices
#auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
# Audio support
audio* at audiobus?