1 1.1 sanjayl # Lean and mean config file for the POWERMAC G5 2 1.1 sanjayl # Author: Sanjay Lal <sanjayl (a] kymasys.com> 3 1.1 sanjayl 4 1.32 macallan include "arch/macppc/conf/std.macppc.g5" 5 1.1 sanjayl 6 1.1 sanjayl options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7 1.1 sanjayl maxusers 32 8 1.1 sanjayl 9 1.3 uwe options PMAC_G5 10 1.32 macallan #options OFWOEA_DEBUG 11 1.32 macallan #no makeoptions MACHINE_ARCH 12 1.32 macallan #makeoptions MACHINE_ARCH="powerpc64" 13 1.32 macallan 14 1.1 sanjayl options ALTIVEC # Include AltiVec support 15 1.32 macallan options EXSTORAGE_MAX=64 16 1.32 macallan #options MULTIPROCESSOR 17 1.1 sanjayl 18 1.1 sanjayl # Standard system options 19 1.1 sanjayl options INSECURE # disable kernel security levels 20 1.1 sanjayl 21 1.1 sanjayl options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 22 1.1 sanjayl options NTP # NTP phase/frequency locked loop 23 1.1 sanjayl options KTRACE # system call tracing via ktrace(1) 24 1.1 sanjayl 25 1.1 sanjayl options SYSVMSG # System V message queues 26 1.1 sanjayl options SYSVSEM # System V semaphores 27 1.1 sanjayl #options SEMMNI=10 # number of semaphore identifiers 28 1.1 sanjayl #options SEMMNS=60 # number of semaphores in system 29 1.1 sanjayl #options SEMUME=10 # max number of undo entries per process 30 1.1 sanjayl #options SEMMNU=30 # number of undo structures in system 31 1.1 sanjayl options SYSVSHM # System V shared memory 32 1.32 macallan #options SHMMAXPGS=1024 # 1024 pages is the default 33 1.32 macallan options P1003_1B_SEMAPHORE # p1003.1b semaphore support 34 1.32 macallan 35 1.32 macallan options MODULAR # loadable kernel modules 36 1.1 sanjayl 37 1.1 sanjayl options USERCONF # userconf(4) support 38 1.1 sanjayl #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 39 1.1 sanjayl options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 40 1.1 sanjayl 41 1.32 macallan # Enable experimental buffer queue strategy for better responsiveness under 42 1.32 macallan # high disk I/O load. Use it with caution - it's not proven to be stable yet. 43 1.32 macallan #options NEW_BUFQ_STRATEGY 44 1.1 sanjayl 45 1.1 sanjayl # Diagnostic/debugging support options 46 1.1 sanjayl options DIAGNOSTIC # cheap kernel consistency checks 47 1.32 macallan #options DEBUG # expensive debugging checks/support 48 1.1 sanjayl options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 49 1.1 sanjayl options DDB # in-kernel debugger 50 1.1 sanjayl options DDB_ONPANIC=1 # don't go into ddb on panic. 51 1.1 sanjayl options DDB_HISTORY_SIZE=512 # enable history editing in DDB 52 1.1 sanjayl options TRAP_PANICWAIT 53 1.32 macallan options DDB_COMMANDONENTER="bt" 54 1.1 sanjayl 55 1.1 sanjayl makeoptions DEBUG="-g" # compile full symbol table 56 1.1 sanjayl 57 1.1 sanjayl # Compatibility options 58 1.32 macallan include "conf/compat_netbsd70.config" 59 1.32 macallan #options COMPAT_DARWIN # Darwin binary compatibility (experimental) 60 1.32 macallan #options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN 61 1.32 macallan #options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH 62 1.32 macallan #options DEBUG_DARWIN # COMPAT_DARWIN debugging 63 1.32 macallan #options DEBUG_MACH # COMPAT_MACH debugging 64 1.32 macallan #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 65 1.32 macallan #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 66 1.1 sanjayl 67 1.1 sanjayl # File systems 68 1.1 sanjayl file-system FFS # UFS 69 1.32 macallan options WAPBL 70 1.32 macallan file-system TMPFS # memory file system 71 1.1 sanjayl file-system KERNFS # /kern 72 1.1 sanjayl file-system PROCFS # /proc 73 1.1 sanjayl file-system NFS # Network File System client 74 1.32 macallan #file-system CD9660 # ISO 9660 + Rock Ridge file system 75 1.32 macallan #file-system MSDOSFS # MS-DOS file system 76 1.32 macallan file-system PTYFS # /dev/pts/N support 77 1.32 macallan #file-system HFS 78 1.1 sanjayl 79 1.1 sanjayl # File system options 80 1.32 macallan #options QUOTA # UFS quotas 81 1.32 macallan #options FFS_EI # FFS Endian Independant support 82 1.32 macallan #options SOFTDEP # FFS soft updates support. 83 1.3 uwe #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 84 1.1 sanjayl #options NFSSERVER # Network File System server 85 1.1 sanjayl #options FFS_NO_SNAPSHOT # ffs snapshots 86 1.1 sanjayl #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 87 1.1 sanjayl # immutable) behave as system flags. 88 1.1 sanjayl #options APPLE_UFS # Apple UFS support in FFS 89 1.1 sanjayl # Networking options 90 1.1 sanjayl #options GATEWAY # packet forwarding 91 1.1 sanjayl options INET # IP + ICMP + TCP + UDP 92 1.32 macallan options INET6 # IPV6 93 1.1 sanjayl 94 1.1 sanjayl # These options enable verbose messages for several subsystems. 95 1.1 sanjayl # Warning, these may compile large string tables into the kernel! 96 1.32 macallan #options PCIVERBOSE # verbose PCI device autoconfig messages 97 1.32 macallan #options MIIVERBOSE # verbose PHY autoconfig messages 98 1.1 sanjayl #options PCI_CONFIG_DUMP # verbosely dump PCI config space 99 1.1 sanjayl 100 1.1 sanjayl # wscons options 101 1.1 sanjayl #options WSEMUL_SUN # sun terminal emulation 102 1.1 sanjayl options WSEMUL_VT100 # VT100 / VT220 emulation 103 1.1 sanjayl #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 104 1.32 macallan options WS_DEFAULT_FG=WSCOL_BLACK 105 1.32 macallan options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 106 1.32 macallan options WS_KERNEL_FG=WSCOL_GREEN 107 1.32 macallan options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 108 1.1 sanjayl options FONT_GALLANT12x22 109 1.1 sanjayl 110 1.1 sanjayl # Kernel root file system and dump configuration. 111 1.32 macallan #config netbsd root on ? type ? 112 1.32 macallan config netbsd root on gem0 type nfs 113 1.32 macallan options NFS_BOOT_DHCP 114 1.1 sanjayl 115 1.1 sanjayl # 116 1.1 sanjayl # Device configuration 117 1.1 sanjayl # 118 1.1 sanjayl 119 1.1 sanjayl mainbus* at root 120 1.1 sanjayl 121 1.32 macallan cpu* at mainbus? 122 1.32 macallan uni_n* at mainbus? 123 1.32 macallan memory* at mainbus? 124 1.32 macallan spdmem* at memory? addr ? 125 1.32 macallan ki2c* at uni_n? # Keywest I2C 126 1.32 macallan 127 1.32 macallan ibmcpc* at mainbus? 128 1.32 macallan uninorth* at mainbus? 129 1.32 macallan smu* at mainbus? 130 1.32 macallan #options SMU_DEBUG 131 1.32 macallan smuiic* at smu? 132 1.32 macallan smusat* at smuiic? 133 1.1 sanjayl 134 1.1 sanjayl pci* at ibmcpc? bus ? 135 1.32 macallan pci* at uninorth? bus ? 136 1.1 sanjayl pci* at ppb? bus ? 137 1.1 sanjayl 138 1.1 sanjayl pchb* at pci? dev ? function ? # PCI-Host bridges 139 1.1 sanjayl ppb* at pci? dev ? function ? # PCI-PCI bridges 140 1.1 sanjayl 141 1.32 macallan obio0 at pci? dev ? function ? 142 1.32 macallan zsc* at obio? 143 1.32 macallan zstty* at zsc? channel ? 144 1.32 macallan #snapper* at obio? 145 1.32 macallan ki2c* at obio? # Keywest I2C 146 1.32 macallan iic* at i2cbus? 147 1.32 macallan 148 1.32 macallan admtemp* at iic? 149 1.32 macallan lmtemp* at iic? 150 1.32 macallan dstemp* at iic? 151 1.32 macallan deq* at iic? 152 1.32 macallan 153 1.32 macallan pmu* at obio? # Apple PMU 154 1.32 macallan 155 1.32 macallan # Audio support 156 1.32 macallan #audio* at audiobus? 157 1.32 macallan 158 1.32 macallan #spkr* at audio? # PC speaker (synthesized) 159 1.32 macallan #wsbell* at spkr? 160 1.32 macallan 161 1.1 sanjayl gem* at pci? dev ? function ? # gmac ethernet 162 1.32 macallan options GEM_DEBUG 163 1.32 macallan bge* at pci? dev ? function ? # borgcom ethernet 164 1.32 macallan bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 165 1.32 macallan brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 166 1.1 sanjayl ukphy* at mii? phy ? # generic unknown PHYs 167 1.1 sanjayl 168 1.1 sanjayl # PCI IEEE1394 controllers 169 1.1 sanjayl #fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 170 1.1 sanjayl 171 1.1 sanjayl # IEEE1394 nodes 172 1.1 sanjayl #ieee1394if* at fwohci? 173 1.1 sanjayl #fwip* at ieee1394if? # IP over IEEE1394 174 1.1 sanjayl #sbp* at ieee1394if? euihi ? euilo ? 175 1.1 sanjayl #scsibus* at sbp? 176 1.1 sanjayl 177 1.1 sanjayl 178 1.1 sanjayl # PCI USB controllers 179 1.1 sanjayl ohci* at pci? dev ? function ? # USB Open Host Controller 180 1.32 macallan ehci* at pci? dev ? function ? # USB Enhanced Host Controller 181 1.1 sanjayl 182 1.1 sanjayl usb* at ohci? # USB bus support 183 1.32 macallan usb* at ehci? # USB bus support 184 1.1 sanjayl uhub* at usb? # USB Hubs 185 1.4 drochner uhub* at uhub? port ? 186 1.1 sanjayl uhidev* at uhub? port ? configuration ? interface ? # USB HID device 187 1.1 sanjayl uhid* at uhidev? reportid ? # USB Generic HID 188 1.1 sanjayl ukbd* at uhidev? reportid ? # USB Keyboards 189 1.1 sanjayl wskbd* at ukbd? console ? 190 1.1 sanjayl ums* at uhidev? reportid ? # USB Mice 191 1.1 sanjayl wsmouse* at ums? 192 1.1 sanjayl 193 1.32 macallan options OFWOEA_WSCONS_NO_ROM_FONT 194 1.32 macallan genfb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 195 1.32 macallan radeonfb* at pci? dev ? function ? 196 1.32 macallan options RADEONFB_ALWAYS_ACCEL_PUTCHAR 197 1.32 macallan 198 1.32 macallan #radeon* at pci? dev ? function ? 199 1.32 macallan #radeondrmkmsfb* at radeonfbbus? 200 1.32 macallan 201 1.32 macallan #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 202 1.32 macallan wdc* at pci? dev ? function ? # Kauai ATA 203 1.1 sanjayl svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 204 1.32 macallan #options ATADEBUG 205 1.1 sanjayl obio* at pci? dev ? function ? 206 1.1 sanjayl zsc* at obio? 207 1.1 sanjayl zstty* at zsc? channel ? 208 1.1 sanjayl 209 1.32 macallan wsdisplay0 at wsemuldisplaydev? console 1 210 1.32 macallan wsdisplay* at wsemuldisplaydev? 211 1.1 sanjayl 212 1.1 sanjayl atabus* at ata? 213 1.1 sanjayl wd* at atabus? drive ? flags 0x0000 214 1.1 sanjayl atapibus* at atapi? 215 1.1 sanjayl cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 216 1.1 sanjayl sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 217 1.1 sanjayl uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 218 1.1 sanjayl 219 1.1 sanjayl 220 1.1 sanjayl #pseudo-device crypto # opencrypto framework 221 1.1 sanjayl # (disabled, requires generic softints) 222 1.32 macallan pseudo-device vnd 4 # disk-like interface to files 223 1.32 macallan #pseudo-device md 1 # memory disk device 224 1.1 sanjayl pseudo-device loop # network loopback 225 1.1 sanjayl pseudo-device pty # pseudo-terminals 226 1.1 sanjayl pseudo-device openfirm # /dev/openfirm 227 1.1 sanjayl pseudo-device wsmux # mouse and keyboard multiplexor 228 1.1 sanjayl pseudo-device clockctl # user control of clock subsystem 229 1.1 sanjayl pseudo-device ksyms # /dev/ksyms 230 1.32 macallan #pseudo-device nsmb # SMB requester 231 1.1 sanjayl #pseudo-device pf # PF packet filter 232 1.1 sanjayl #pseudo-device pflog # PF log if 233 1.1 sanjayl 234 1.1 sanjayl # Enable the hooks used for initializing the ram-disk. 235 1.32 macallan #options MEMORY_DISK_HOOKS 236 1.32 macallan #options MEMORY_DISK_IS_ROOT # Force root on ram-disk 237 1.32 macallan #options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 238