POWERMAC_G5_11_2 revision 1.1
1# Lean and mean config file for the POWERMAC G5 2# Author: Sanjay Lal <sanjayl@kymasys.com> 3 4include "arch/macppc/conf/std.macppc.g5" 5 6options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7maxusers 32 8 9options PMAC_G5 10options ALTIVEC # Include AltiVec support 11 12# Standard system options 13options INSECURE # disable kernel security levels 14 15options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 16options NTP # NTP phase/frequency locked loop 17options KTRACE # system call tracing via ktrace(1) 18 19options SYSVMSG # System V message queues 20options SYSVSEM # System V semaphores 21#options SEMMNI=10 # number of semaphore identifiers 22#options SEMMNS=60 # number of semaphores in system 23#options SEMUME=10 # max number of undo entries per process 24#options SEMMNU=30 # number of undo structures in system 25options SYSVSHM # System V shared memory 26 27options USERCONF # userconf(4) support 28#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 29options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 30 31# Enable experimental buffer queue strategy for better responsiveness under 32# high disk I/O load. Use it with caution - it's not proven to be stable yet. 33#options NEW_BUFQ_STRATEGY 34 35# Diagnostic/debugging support options 36options DIAGNOSTIC # cheap kernel consistency checks 37options DEBUG # expensive debugging checks/support 38options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 39options DDB # in-kernel debugger 40options DDB_ONPANIC=1 # don't go into ddb on panic. 41options DDB_HISTORY_SIZE=512 # enable history editing in DDB 42options TRAP_PANICWAIT 43 44makeoptions DEBUG="-g" # compile full symbol table 45 46# Compatibility options 47options COMPAT_30 # NetBSD 3.0 compatibility. 48options COMPAT_40 # NetBSD 4.0 compatibility. 49options COMPAT_43 # and 4.3BSD 50#options COMPAT_386BSD_MBRPART # recognize old partition ID 51#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 52options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 53 54# File systems 55file-system FFS # UFS 56file-system MFS # memory file system 57file-system KERNFS # /kern 58file-system PROCFS # /proc 59file-system NFS # Network File System client 60 61# File system options 62options QUOTA # legacy UFS quotas 63options QUOTA2 # new, in-filesystem UFS quotas 64#options FFS_EI # FFS Endian Independent support 65#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 66#options NFSSERVER # Network File System server 67#options FFS_NO_SNAPSHOT # ffs snapshots 68#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 69 # immutable) behave as system flags. 70#options APPLE_UFS # Apple UFS support in FFS 71# Networking options 72#options GATEWAY # packet forwarding 73options INET # IP + ICMP + TCP + UDP 74 75# These options enable verbose messages for several subsystems. 76# Warning, these may compile large string tables into the kernel! 77options PCIVERBOSE # verbose PCI device autoconfig messages 78options MIIVERBOSE # verbose PHY autoconfig messages 79#options PCI_CONFIG_DUMP # verbosely dump PCI config space 80 81# wscons options 82#options WSEMUL_SUN # sun terminal emulation 83options WSEMUL_VT100 # VT100 / VT220 emulation 84options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 85#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 86options FONT_GALLANT12x22 87 88# Optional Mac keyboard tweaks 89 90# Tweak the keyboard driver to treat the caps lock key on an ADB 91# keyboard as a control key; requires special remapping because of 92# ADB's strange emulation of a mechanically-locked key. 93#options CAPS_IS_CONTROL 94 95# On Mac laptops, several function keys double as "hot keys" 96# (brightness, volume, eject) when the Fn modifier is held down. Mac 97# OS X likes to reprogram the keyboard controller to send hot key 98# events when Fn is not held down and send function key events when it 99# is. This option transforms the non-keyboard "button" events back 100# into function key events. 101#options FORCE_FUNCTION_KEYS 102 103# Kernel root file system and dump configuration. 104config netbsd root on ? type ? 105#config netbsd root on gem0 type nfs 106#options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 107 108# 109# Device configuration 110# 111 112mainbus* at root 113 114cpu* at mainbus? 115ibmcpc* at mainbus? 116uninorth* at mainbus? 117 118pci* at ibmcpc? bus ? 119pci* at uninorth? bus ? 120pci* at ppb? bus ? 121 122pchb* at pci? dev ? function ? # PCI-Host bridges 123ppb* at pci? dev ? function ? # PCI-PCI bridges 124 125bge* at pci? dev ? function ? # gmac ethernet 126ukphy* at mii? phy ? # generic unknown PHYs 127 128# PCI USB controllers 129ohci* at pci? dev ? function ? # USB Open Host Controller 130ehci* at pci? dev ? function ? # USB Enhanced Host Controller 131 132usb* at ohci? # USB bus support 133uhub* at usb? # USB Hubs 134uhub* at uhub? port ? 135uhidev* at uhub? port ? configuration ? interface ? # USB HID device 136uhid* at uhidev? reportid ? # USB Generic HID 137ukbd* at uhidev? reportid ? # USB Keyboards 138wskbd* at ukbd? console ? 139ums* at uhidev? reportid ? # USB Mice 140wsmouse* at ums? 141 142genfb* at pci? dev ? function ? 143wsdisplay* at genfb? console ? 144 145#pseudo-device crypto # opencrypto framework 146 # (disabled, requires generic softints) 147pseudo-device vnd 4 # disk-like interface to files 148pseudo-device md # memory disk device 149pseudo-device loop # network loopback 150pseudo-device pty # pseudo-terminals 151pseudo-device openfirm # /dev/openfirm 152pseudo-device wsmux # mouse and keyboard multiplexor 153pseudo-device clockctl # user control of clock subsystem 154pseudo-device ksyms # /dev/ksyms 155pseudo-device nsmb # SMB requester 156pseudo-device bpfilter 8 # Berkeley packet filter 157#pseudo-device pf # PF packet filter 158#pseudo-device pflog # PF log if 159 160options OFWOEA_WSCONS_NO_ROM_FONT 161options EXSTORAGE_MAX=24 162 163# Enable the hooks used for initializing the ram-disk. 164options MEMORY_DISK_HOOKS 165options MEMORY_DISK_IS_ROOT # Force root on ram-disk 166options MEMORY_DISK_ROOT_SIZE=5000 # 25000 KiB 167options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 168options MEMORY_DISK_SERVER=1 169