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