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