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 MODULAR # new style module(7) framework 28options MODULAR_DEFAULT_AUTOLOAD 29 30options USERCONF # userconf(4) support 31#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 32options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 33 34# Alternate buffer queue strategies for better responsiveness under high 35# disk I/O load. 36#options BUFQ_READPRIO 37options BUFQ_PRIOCSCAN 38 39# Diagnostic/debugging support options 40options DIAGNOSTIC # cheap kernel consistency checks 41options DEBUG # expensive debugging checks/support 42options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 43options DDB # in-kernel debugger 44options DDB_ONPANIC=1 # don't go into ddb on panic. 45options DDB_HISTORY_SIZE=512 # enable history editing in DDB 46options TRAP_PANICWAIT 47 48makeoptions COPY_SYMTAB=1 # in case of directly booted from ofw 49makeoptions DEBUG="-g" # compile full symbol table 50 51# Compatibility options 52include "conf/compat_netbsd30.config" 53#options COMPAT_386BSD_MBRPART # recognize old partition ID 54 55# File systems 56include "conf/filesystems.config" 57 58# File system options 59#options APPLE_UFS # Apple UFS support in FFS 60#options FFS_EI # FFS Endian Independent support 61#options FFS_NO_SNAPSHOT # No FFS snapshot support 62#options QUOTA # legacy UFS quotas 63#options QUOTA2 # new, in-filesystem UFS quotas 64options UFS_DIRHASH # UFS Large Directory Hashing 65#options UFS_EXTATTR # Extended attribute support for UFS1 66options WAPBL # File system journaling support 67#options NFSSERVER # Network File System server 68 69# Networking options 70#options GATEWAY # packet forwarding 71options INET # IP + ICMP + TCP + UDP 72options INET6 # IPV6 73 74# These options enable verbose messages for several subsystems. 75# Warning, these may compile large string tables into the kernel! 76options PCIVERBOSE # verbose PCI device autoconfig messages 77options MIIVERBOSE # verbose PHY autoconfig messages 78#options PCI_CONFIG_DUMP # verbosely dump PCI config space 79 80# wscons options 81#options WSEMUL_SUN # sun terminal emulation 82options WSEMUL_VT100 # VT100 / VT220 emulation 83options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 84 85options WS_DEFAULT_FG=WSCOL_BLACK 86options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 87options WS_KERNEL_FG=WSCOL_GREEN 88options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 89 90#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 91options FONT_GALLANT12x22 92 93# Kernel root file system and dump configuration. 94config netbsd root on ? type ? 95#config netbsd root on gem0 type nfs 96options NFS_BOOT_DHCP 97#options NFS_BOOT_BOOTPARAM 98 99# 100# Device configuration 101# 102 103mainbus* at root 104 105cpu* at mainbus? 106options MULTIPROCESSOR 107ibmcpc* at mainbus? 108uninorth* at mainbus? 109memory* at mainbus? 110spdmem* at memory? addr ? 111 112uni_n* at mainbus? 113ki2c* at uni_n? # Keywest I2C 114 115smu* at mainbus? 116#options SMU_DEBUG 117smuiic* at smu? 118iic* at smuiic? 119 120pci* at ibmcpc? bus ? 121pci* at uninorth? bus ? 122pci* at ppb? bus ? 123 124pchb* at pci? dev ? function ? # PCI-Host bridges 125ppb* at pci? dev ? function ? # PCI-PCI bridges 126 127obio0 at pci? dev ? function ? 128zsc* at obio? 129zstty* at zsc? channel ? 130snapper* at obio? 131ki2c* at obio? # Keywest I2C 132iic* at ki2c? 133 134admtemp* at iic? 135lmtemp* at iic? 136dstemp* at iic? 137smusat* at iic? 138deq* at iic? 139 140# Audio support 141audio* at audiobus? 142 143spkr* at audio? # PC speaker (synthesized) 144wsbell* at spkr? 145 146bge* at pci? dev ? function ? # gmac ethernet 147brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 148ukphy* at mii? phy ? # generic unknown PHYs 149 150# PCI USB controllers 151ohci* at pci? dev ? function ? # USB Open Host Controller 152ehci* at pci? dev ? function ? # USB Enhanced Host Controller 153# No G5 ships with USB 3.0 but xhci 1.0 cards have been confirmed working 154# in PCIe models 155xhci* at pci? dev ? function ? # USB 3.0 156 157usb* at ohci? # USB bus support 158usb* at ehci? # USB bus support 159usb* at xhci? # USB bus support 160uhub* at usb? # USB Hubs 161uhub* at uhub? port ? 162uhidev* at uhub? port ? configuration ? interface ? # USB HID device 163uhid* at uhidev? reportid ? # USB Generic HID 164ukbd* at uhidev? reportid ? # USB Keyboards 165wskbd* at ukbd? console ? 166ums* at uhidev? reportid ? # USB Mice 167wsmouse* at ums? 168 169genfb* at pci? dev ? function ? 170wdc* at pci? dev ? function ? # Kauai ATA 171svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 172obio* at pci? dev ? function ? 173zsc* at obio? 174zstty* at zsc? channel ? 175 176wsdisplay0 at wsemuldisplaydev? console 1 177wsdisplay* at wsemuldisplaydev? 178 179atabus* at ata? 180wd* at atabus? drive ? flags 0x0000 181atapibus* at atapi? 182cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 183sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 184uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 185 186pseudo-device crypto # /dev/crypto device 187pseudo-device swcrypto # software crypto implementation 188pseudo-device vnd 4 # disk-like interface to files 189pseudo-device md # memory disk device 190pseudo-device loop # network loopback 191pseudo-device pty # pseudo-terminals 192pseudo-device openfirm # /dev/openfirm 193pseudo-device wsmux # mouse and keyboard multiplexor 194pseudo-device clockctl # user control of clock subsystem 195pseudo-device ksyms # /dev/ksyms 196pseudo-device bpfilter 8 # Berkeley packet filter 197#pseudo-device npf # NPF packet filter 198 199options EXSTORAGE_MAX=24 200 201# Enable the hooks used for initializing the ram-disk. 202#options MEMORY_DISK_HOOKS 203#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 204#options MEMORY_DISK_ROOT_SIZE=5000 # 25000 KiB 205#options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 206#options MEMORY_DISK_SERVER=1 207