112 lines
4.0 KiB
Plaintext
112 lines
4.0 KiB
Plaintext
#
|
|
# Custom kernel for the Nintendo Wii.
|
|
#
|
|
# $FreeBSD$
|
|
|
|
cpu AIM
|
|
ident WII
|
|
machine powerpc powerpc
|
|
|
|
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
options WII
|
|
|
|
options SCHED_ULE #ULE scheduler
|
|
options PREEMPTION #Enable kernel thread preemption
|
|
options INET #InterNETworking
|
|
options INET6 #IPv6 communications protocols
|
|
options SCTP #Stream Control Transmission Protocol
|
|
options FFS #Berkeley Fast Filesystem
|
|
options SOFTUPDATES #Enable FFS soft updates support
|
|
options UFS_ACL #Support for access control lists
|
|
options UFS_DIRHASH #Improve performance on big directories
|
|
options UFS_GJOURNAL #Enable gjournal-based UFS journaling
|
|
options MD_ROOT #MD is a potential root device
|
|
options NFSCL #New Network Filesystem Client
|
|
options NFSD #New Network Filesystem Server
|
|
options NFSLOCKD #Network Lock Manager
|
|
options NFS_ROOT #NFS usable as root device
|
|
options MSDOSFS #MSDOS Filesystem
|
|
options CD9660 #ISO 9660 Filesystem
|
|
options PROCFS #Process filesystem (requires PSEUDOFS)
|
|
options PSEUDOFS #Pseudo-filesystem framework
|
|
options GEOM_PART_GPT #GUID Partition Tables.
|
|
options GEOM_LABEL #Provides labelization
|
|
options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
|
|
options KTRACE #ktrace(1) syscall trace support
|
|
options STACK #stack(9) support
|
|
options SYSVSHM #SYSV-style shared memory
|
|
options SYSVMSG #SYSV-style message queues
|
|
options SYSVSEM #SYSV-style semaphores
|
|
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
|
#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
|
|
options AUDIT # Security event auditing
|
|
options CAPABILITY_MODE # Capsicum capability mode
|
|
options CAPABILITIES # Capsicum capabilities
|
|
options MAC # TrustedBSD MAC Framework
|
|
options INCLUDE_CONFIG_FILE # Include this file in kernel
|
|
|
|
# Debugging support. Always need this:
|
|
options KDB # Enable kernel debugger support.
|
|
# For minimum debugger support (stable branch) use:
|
|
options KDB_TRACE # Print a stack trace for a panic.
|
|
# For full debugger support use this instead:
|
|
options DDB #Support DDB
|
|
#options DEADLKRES #Enable the deadlock resolver
|
|
options INVARIANTS #Enable calls of extra sanity checking
|
|
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
|
options WITNESS #Enable checks to detect deadlocks and cycles
|
|
options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
|
|
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
|
|
|
|
# ATA/SCSI peripherals
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
|
device da # Direct Access (disks)
|
|
|
|
# syscons is the default console driver, resembling an SCO console
|
|
device sc
|
|
device kbdmux
|
|
options SC_DFLT_FONT # compile font in
|
|
makeoptions SC_DFLT_FONT=cp437
|
|
|
|
# Pseudo devices.
|
|
device loop # Network loopback
|
|
device random # Entropy device
|
|
device ether # Ethernet support
|
|
device vlan # 802.1Q VLAN support
|
|
device tun # Packet tunnel.
|
|
device md # Memory "disks"
|
|
device gif # IPv6 and IPv4 tunneling
|
|
device faith # IPv6-to-IPv4 relaying/(translation)
|
|
device firmware # firmware assist module
|
|
|
|
|
|
# The `bpf' device enables the Berkeley Packet Filter.
|
|
# Be aware of the administrative consequences of enabling this!
|
|
# Note that 'bpf' is required for DHCP.
|
|
device bpf #Berkeley packet filter
|
|
|
|
# USB support
|
|
options USB_DEBUG # enable debug msgs
|
|
device uhci # UHCI PCI->USB interface
|
|
device ohci # OHCI PCI->USB interface
|
|
device ehci # EHCI PCI->USB interface
|
|
device usb # USB Bus (required)
|
|
device uhid # "Human Interface Devices"
|
|
device ukbd # Keyboard
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
|
device ulpt # Printer
|
|
device umass # Disks/Mass storage - Requires scbus and da0
|
|
device ums # Mouse
|
|
# USB Ethernet
|
|
device miibus # MII bus support
|
|
device aue # ADMtek USB Ethernet
|
|
device axe # ASIX Electronics USB Ethernet
|
|
device cdce # Generic USB over Ethernet
|
|
device cue # CATC USB Ethernet
|
|
device kue # Kawasaki LSI USB Ethernet
|
|
|
|
# GPIO
|
|
device gpio
|
|
device wiigpio
|