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