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