POWERMAC_G5 revision 1.24
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_43 # 4.3BSD binary compatibility. 48options COMPAT_30 # NetBSD 3.0, and 49options COMPAT_40 # NetBSD 4.0 binary compatibility. 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 68options UFS_EXTATTR # Extended attribute support for UFS1 69options UFS_EXTATTR_AUTOSTART 70options UFS_EXTATTR_AUTOCREATE=1024 71#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 72 # immutable) behave as system flags. 73#options APPLE_UFS # Apple UFS support in FFS 74# Networking options 75#options GATEWAY # packet forwarding 76options INET # IP + ICMP + TCP + UDP 77 78# These options enable verbose messages for several subsystems. 79# Warning, these may compile large string tables into the kernel! 80options PCIVERBOSE # verbose PCI device autoconfig messages 81options MIIVERBOSE # verbose PHY autoconfig messages 82#options PCI_CONFIG_DUMP # verbosely dump PCI config space 83 84# wscons options 85#options WSEMUL_SUN # sun terminal emulation 86options WSEMUL_VT100 # VT100 / VT220 emulation 87options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 88#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 89options FONT_GALLANT12x22 90 91# Optional Mac keyboard tweaks 92 93# Tweak the keyboard driver to treat the caps lock key on an ADB 94# keyboard as a control key; requires special remapping because of 95# ADB's strange emulation of a mechanically-locked key. 96#options CAPS_IS_CONTROL 97 98# On Mac laptops, several function keys double as "hot keys" 99# (brightness, volume, eject) when the Fn modifier is held down. Mac 100# OS X likes to reprogram the keyboard controller to send hot key 101# events when Fn is not held down and send function key events when it 102# is. This option transforms the non-keyboard "button" events back 103# into function key events. 104#options FORCE_FUNCTION_KEYS 105 106# Kernel root file system and dump configuration. 107config netbsd root on ? type ? 108#config netbsd root on gem0 type nfs 109#options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 110 111# 112# Device configuration 113# 114 115mainbus* at root 116 117cpu* at mainbus? 118ibmcpc* at mainbus? 119 120pci* at ibmcpc? bus ? 121pci* at ppb? bus ? 122 123pchb* at pci? dev ? function ? # PCI-Host bridges 124ppb* at pci? dev ? function ? # PCI-PCI bridges 125 126gem* at pci? dev ? function ? # gmac ethernet 127ukphy* at mii? phy ? # generic unknown PHYs 128 129# PCI IEEE1394 controllers 130#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 131 132# IEEE1394 nodes 133#ieee1394if* at fwohci? 134#fwip* at ieee1394if? # IP over IEEE1394 135#sbp* at ieee1394if? euihi ? euilo ? 136#scsibus* at sbp? 137 138 139# PCI USB controllers 140ohci* at pci? dev ? function ? # USB Open Host Controller 141#ehci* at pci? dev ? function ? # USB Enhanced Host Controller 142 143usb* at ohci? # USB bus support 144uhub* at usb? # USB Hubs 145uhub* at uhub? port ? 146uhidev* at uhub? port ? configuration ? interface ? # USB HID device 147uhid* at uhidev? reportid ? # USB Generic HID 148ukbd* at uhidev? reportid ? # USB Keyboards 149wskbd* at ukbd? console ? 150ums* at uhidev? reportid ? # USB Mice 151wsmouse* at ums? 152 153# Other PCI devices 154#ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 155# OFB_ENABLE_CACHE speeds up the console on many machines, but should 156# not be enabled on some older machines, such as the rev. A-D iMacs. 157#options OFB_ENABLE_CACHE # Speed up console 158pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 159svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 160obio* at pci? dev ? function ? 161zsc* at obio? 162zstty* at zsc? channel ? 163 164# PCI serial interfaces 165nvram* at obio? # nvram 166#wsdisplay0 at ofb? console ? 167 168atabus* at ata? 169wd* at atabus? drive ? flags 0x0000 170atapibus* at atapi? 171cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 172sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 173uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 174 175 176#pseudo-device crypto # opencrypto framework 177 # (disabled, requires generic softints) 178pseudo-device vnd # disk-like interface to files 179pseudo-device md # memory disk device 180pseudo-device loop # network loopback 181pseudo-device pty # pseudo-terminals 182pseudo-device openfirm # /dev/openfirm 183pseudo-device wsmux # mouse and keyboard multiplexor 184pseudo-device clockctl # user control of clock subsystem 185pseudo-device ksyms # /dev/ksyms 186pseudo-device nsmb # SMB requester 187#pseudo-device pf # PF packet filter 188#pseudo-device pflog # PF log if 189 190# Enable the hooks used for initializing the ram-disk. 191options MEMORY_DISK_HOOKS 192options MEMORY_DISK_IS_ROOT # Force root on ram-disk 193options MEMORY_DISK_ROOT_SIZE=4496 # 2248 KiB 194options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 195