e80795da77
boot. From Andrew Gillham.
294 lines
8.3 KiB
Plaintext
294 lines
8.3 KiB
Plaintext
# $NetBSD: XBOX,v 1.6 2007/01/06 19:29:36 jmcneill Exp $
|
|
#
|
|
# XBOX -- A basic Microsoft XBox kernel config file.
|
|
#
|
|
|
|
include "arch/i386/conf/std.i386"
|
|
|
|
maxusers 32 # estimated number of users
|
|
|
|
# CPU support. At least one is REQUIRED.
|
|
options I686_CPU
|
|
|
|
options REALBASEMEM=639 # size of base memory (in KB)
|
|
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
|
|
|
|
makeoptions CPUFLAGS="-march=i686 -mtune=pentiumpro"
|
|
|
|
options TIMER_FREQ=1125000
|
|
options XBOX # kernel support for xbox
|
|
|
|
# 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 KMEMSTATS # kernel memory statistics (vmstat -m)
|
|
options DDB # in-kernel debugger
|
|
#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
|
|
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
|
|
#options KGDB # remote debugger
|
|
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
|
|
# Compatibility options
|
|
options COMPAT_30 # NetBSD 3.0
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# File systems
|
|
file-system FFS # UFS
|
|
file-system EXT2FS # second extended file system (linux)
|
|
file-system NFS # Network File System client
|
|
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 # OSTA UDF CD/DVD file-system
|
|
|
|
# Networking options
|
|
options INET # IP + ICMP + TCP + UDP
|
|
#options INET6 # IPV6
|
|
|
|
# These options enable verbose messages for several subsystems.
|
|
# Warning, these may compile large string tables into the kernel!
|
|
options MIIVERBOSE # verbose PHY autoconfig messages
|
|
options PCIVERBOSE # verbose PCI device autoconfig messages
|
|
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
|
|
options SCSIVERBOSE # human readable SCSI error messages
|
|
options USBVERBOSE # verbose USB device autoconfig messages
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
#
|
|
# wscons options
|
|
#
|
|
# builtin terminal emulations
|
|
options WSEMUL_VT100 # VT100 / VT220 emulation
|
|
options WSDISPLAY_COMPAT_RAWKBD
|
|
options WSDISPLAY_COMPAT_USL
|
|
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
|
|
options PCDISPLAY_SOFTCURSOR
|
|
|
|
# Kernel root file system and dump configuration.
|
|
config netbsd root on ? type nfs
|
|
#config netbsd root on kue0 type nfs
|
|
|
|
#
|
|
# Device configuration
|
|
#
|
|
|
|
mainbus0 at root
|
|
|
|
cpu* at mainbus?
|
|
|
|
# Basic Bus Support
|
|
|
|
# PCI bus support
|
|
pci* at mainbus? bus ?
|
|
pci* at pchb? bus ?
|
|
pci* at ppb? bus ?
|
|
|
|
# PCI bridges
|
|
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?
|
|
|
|
# ISA bus support
|
|
isa0 at pcib?
|
|
|
|
# Coprocessor Support
|
|
# Math Coprocessor support
|
|
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
|
|
|
|
# XBOX framebuffer console
|
|
xboxfb0 at pci? dev ? function ?
|
|
wsdisplay* at xboxfb? console ?
|
|
|
|
# XBOX X3LCD console
|
|
#x3lcd0 at isa0
|
|
#x3lcd0 at mainbus?
|
|
#wsdisplay* at x3lcd0 console ?
|
|
|
|
# I2C/SMBus support
|
|
amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
|
|
iic* at amdpm?
|
|
pic16lc* at iic? addr 0x10
|
|
xbseeprom* at iic? addr 0x54
|
|
|
|
#attimer0 at isa?
|
|
|
|
# IDE and related devices
|
|
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
|
|
atabus* at ata?
|
|
wd* at atabus? drive ? flags 0x0000
|
|
atapibus* at atapi?
|
|
|
|
# ATAPI devices
|
|
# flags have the same meaning as for IDE drives.
|
|
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
|
|
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
|
|
uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
|
|
|
|
# Network Interfaces
|
|
|
|
# PCI network interfaces
|
|
nfe* at pci? dev ? function ? # NVIDIA nForce Ethernet
|
|
|
|
# MII/PHY support
|
|
acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
|
|
amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
|
|
bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
|
|
brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
|
|
ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
|
|
dmphy* at mii? phy ? # Davicom DM9101 PHYs
|
|
exphy* at mii? phy ? # 3Com internal PHYs
|
|
gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
|
|
glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
|
|
gphyter* at mii? phy ? # NS83861 Gig-E PHY
|
|
#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
|
|
igphy* at mii? phy ? # Intel IGP01E1000
|
|
ikphy* at mii? phy ? # Intel 82563 PHYs
|
|
inphy* at mii? phy ? # Intel 82555 PHYs
|
|
iophy* at mii? phy ? # Intel 82553 PHYs
|
|
lxtphy* at mii? phy ? # Level One LXT-970 PHYs
|
|
makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
|
|
nsphy* at mii? phy ? # NS83840 PHYs
|
|
nsphyter* at mii? phy ? # NS83843 PHYs
|
|
pnaphy* at mii? phy ? # generic HomePNA PHYs
|
|
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
|
|
rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
|
|
rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
|
|
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
|
|
tlphy* at mii? phy ? # ThunderLAN PHYs
|
|
tqphy* at mii? phy ? # TDK Semiconductor PHYs
|
|
#ukphy* at mii? phy ? # generic unknown PHYs
|
|
urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
|
|
|
|
# USB Controller and Devices
|
|
|
|
# PCI USB controllers
|
|
ohci* at pci? dev ? function ? # Open Host Controller
|
|
|
|
# USB bus support
|
|
usb* at ohci?
|
|
|
|
# USB Hubs
|
|
uhub* at usb?
|
|
uhub* at uhub? port ? configuration ? interface ?
|
|
|
|
# USB HID device
|
|
uhidev* at uhub? port ? configuration ? interface ?
|
|
|
|
# USB Mice
|
|
ums* at uhidev? reportid ?
|
|
wsmouse* at ums? mux 0
|
|
|
|
# USB Keyboards
|
|
ukbd* at uhidev? reportid ?
|
|
wskbd* at ukbd? console ? mux 1
|
|
|
|
# USB serial adapter
|
|
ucycom* at uhidev? reportid ?
|
|
|
|
# USB Generic HID devices
|
|
uhid* at uhidev? reportid ?
|
|
|
|
# USB Printer
|
|
ulpt* at uhub? port ? configuration ? interface ?
|
|
|
|
# USB Modem
|
|
umodem* at uhub? port ? configuration ?
|
|
ucom* at umodem?
|
|
|
|
# USB Mass Storage
|
|
umass* at uhub? port ? configuration ? interface ?
|
|
wd* at umass?
|
|
|
|
# USB audio
|
|
uaudio* at uhub? port ? configuration ?
|
|
|
|
# USB MIDI
|
|
umidi* at uhub? port ? configuration ?
|
|
|
|
# USB Ethernet adapters
|
|
aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
|
|
cue* at uhub? port ? # CATC USB-EL1201A based adapters
|
|
kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
|
|
|
|
# Serial adapters
|
|
ubsa* at uhub? port ? # Belkin serial adapter
|
|
ucom* at ubsa? portno ?
|
|
|
|
uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
|
|
ucom* at uftdi? portno ?
|
|
|
|
umct* at uhub? port ? # MCT USB-RS232 serial adapter
|
|
ucom* at umct? portno ?
|
|
|
|
uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
|
|
ucom* at uplcom? portno ?
|
|
|
|
uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
|
|
ucom* at uvscom? portno ?
|
|
|
|
# Xbox Controller
|
|
xboxcontroller* at uhub? port ? configuration ?
|
|
wsmouse* at xboxcontroller? mux 0
|
|
|
|
# USB Generic driver
|
|
ugen* at uhub? port ?
|
|
# On ugen bulk endpoints, perform read-ahead and write-behind.
|
|
options UGEN_BULK_RA_WB
|
|
|
|
|
|
# Audio Devices
|
|
|
|
# PCI audio devices
|
|
auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
|
|
|
|
# Audio support
|
|
audio* at audiobus?
|
|
|
|
|
|
# Pseudo-Devices
|
|
|
|
pseudo-device crypto # /dev/crypto device
|
|
pseudo-device swcrypto # software crypto implementation
|
|
|
|
# disk/mass storage pseudo-devices
|
|
#pseudo-device cgd 4 # cryptographic disk devices
|
|
#pseudo-device fss 4 # file system snapshot device
|
|
|
|
pseudo-device md 1 # memory disk device (ramdisk)
|
|
pseudo-device vnd # disk-like interface to files
|
|
options VND_COMPRESSION # compressed vnd(4)
|
|
|
|
# network pseudo-devices
|
|
pseudo-device bpfilter # Berkeley packet filter
|
|
#pseudo-device ipfilter # IP filter (firewall) and NAT
|
|
pseudo-device loop # network loopback
|
|
pseudo-device tap # virtual Ethernet
|
|
pseudo-device tun # network tunneling over tty
|
|
|
|
# miscellaneous pseudo-devices
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
pseudo-device ksyms # /dev/ksyms
|
|
|
|
# wscons pseudo-devices
|
|
pseudo-device wsmux # mouse & keyboard multiplexor
|
|
pseudo-device wsfont
|