POWERMAC_G5 revision 1.50
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 33 34options MODULAR # loadable kernel modules 35 36options USERCONF # userconf(4) support 37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 40# Alternate buffer queue strategies for better responsiveness under high 41# disk I/O load. 42#options BUFQ_READPRIO 43options BUFQ_PRIOCSCAN 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 53#options DDB_COMMANDONENTER="bt" 54 55# Compatibility options 56include "conf/compat_netbsd70.config" 57#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 58 59# Wedge support 60options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 61options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 62#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges 63#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 64#options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges 65#options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges 66 67# File systems 68file-system FFS # UFS 69file-system MFS # memory file system 70file-system TMPFS # memory file system 71file-system KERNFS # /kern 72file-system PROCFS # /proc 73file-system NFS # Network File System client 74file-system CD9660 # ISO 9660 + Rock Ridge file system 75file-system MSDOSFS # MS-DOS file system 76file-system PTYFS # /dev/pts/N support 77#file-system HFS # experimental - Apple HFS+ (read-only) 78 79# File system options 80options QUOTA # legacy UFS quotas 81options QUOTA2 # new, in-filesystem UFS quotas 82#options FFS_EI # FFS Endian Independent support 83options WAPBL # File system journaling support 84#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 85#options NFSSERVER # Network File System server 86#options FFS_NO_SNAPSHOT # ffs snapshots 87#options UFS_EXTATTR # Extended attribute support for UFS1 88#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 89 # immutable) behave as system flags. 90#options APPLE_UFS # Apple UFS support in FFS 91# Networking options 92#options GATEWAY # packet forwarding 93options INET # IP + ICMP + TCP + UDP 94options INET6 # IPV6 95 96# These options enable verbose messages for several subsystems. 97# Warning, these may compile large string tables into the kernel! 98#options PCIVERBOSE # verbose PCI device autoconfig messages 99#options MIIVERBOSE # verbose PHY autoconfig messages 100#options PCI_CONFIG_DUMP # verbosely dump PCI config space 101 102# wscons options 103#options WSEMUL_SUN # sun terminal emulation 104options WSEMUL_VT100 # VT100 / VT220 emulation 105#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 106#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 107options WS_DEFAULT_FG=WSCOL_BLACK 108options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 109options WS_KERNEL_FG=WSCOL_GREEN 110options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 111options FONT_GALLANT12x22 112 113# Kernel root file system and dump configuration. 114config netbsd root on ? type ? 115#config netbsd root on gem0 type nfs 116options NFS_BOOT_DHCP 117 118# 119# Device configuration 120# 121 122mainbus* at root 123 124cpu0 at mainbus? 125uni_n* at mainbus? 126memory* at mainbus? 127spdmem* at memory? addr ? 128ki2c* at uni_n? # Keywest I2C 129 130ibmcpc* at mainbus? 131uninorth* at mainbus? 132smu* at mainbus? 133#options SMU_DEBUG 134smuiic* at smu? 135iic* at smuiic? 136 137 138pci* at ibmcpc? bus ? 139pci* at uninorth? bus ? 140pci* at ppb? bus ? 141 142pchb* at pci? dev ? function ? # PCI-Host bridges 143ppb* at pci? dev ? function ? # PCI-PCI bridges 144 145obio0 at pci? dev ? function ? 146zsc* at obio? 147zstty* at zsc? channel ? 148snapper* at obio? 149ki2c* at obio? # Keywest I2C 150iic* at i2cbus? 151 152admtemp* at iic? 153lmtemp* at iic? 154dstemp* at iic? 155adadc* at iic? 156fcu* at iic? 157smusat* at iic? 158deq* at iic? 159 160pmu* at obio? # Apple PMU 161 162# Audio support 163audio* at audiobus? 164 165spkr* at audio? # PC speaker (synthesized) 166wsbell* at spkr? 167 168gem* at pci? dev ? function ? # gmac ethernet 169#options GEM_DEBUG 170bge* at pci? dev ? function ? # borgcom ethernet 171bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 172brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 173ukphy* at mii? phy ? # generic unknown PHYs 174 175# PCI IEEE1394 controllers 176#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 177 178# IEEE1394 nodes 179#ieee1394if* at fwohci? 180#fwip* at ieee1394if? # IP over IEEE1394 181#sbp* at ieee1394if? euihi ? euilo ? 182#scsibus* at sbp? 183 184 185# PCI USB controllers 186ohci* at pci? dev ? function ? # USB Open Host Controller 187ehci* at pci? dev ? function ? # USB Enhanced Host Controller 188 189usb* at ohci? # USB bus support 190usb* at ehci? # USB bus support 191uhub* at usb? # USB Hubs 192uhub* at uhub? port ? 193uhidev* at uhub? port ? configuration ? interface ? # USB HID device 194uhid* at uhidev? reportid ? # USB Generic HID 195ukbd* at uhidev? reportid ? # USB Keyboards 196wskbd* at ukbd? console ? 197ums* at uhidev? reportid ? # USB Mice 198wsmouse* at ums? 199 200genfb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 201gffb* at pci? dev ? function ? # some iMacs have nvidia graphics chips 202radeonfb* at pci? dev ? function ? 203options RADEONFB_ALWAYS_ACCEL_PUTCHAR 204 205#radeon* at pci? dev ? function ? 206#radeondrmkmsfb* at radeonfbbus? 207 208#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 209wdc* at pci? dev ? function ? # Kauai ATA 210svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 211siisata* at pci? dev ? function ? # SiI SteelVine controllers 212#options ATADEBUG 213 214obio* at pci? dev ? function ? 215zsc* at obio? 216zstty* at zsc? channel ? 217 218wsdisplay0 at wsemuldisplaydev? console 1 219wsdisplay* at wsemuldisplaydev? 220 221atabus* at ata? 222wd* at atabus? drive ? flags 0x0000 223atapibus* at atapi? 224cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 225sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 226uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 227 228 229#pseudo-device crypto # opencrypto framework 230 # (disabled, requires generic softints) 231pseudo-device vnd # disk-like interface to files 232#pseudo-device md # memory disk device 233pseudo-device loop # network loopback 234pseudo-device pty # pseudo-terminals 235pseudo-device openfirm # /dev/openfirm 236pseudo-device wsmux # mouse and keyboard multiplexor 237pseudo-device clockctl # user control of clock subsystem 238pseudo-device drvctl # user control of drive subsystem 239pseudo-device ksyms # /dev/ksyms 240pseudo-device bpfilter # packet filter 241#pseudo-device npf # NPF packet filter 242 243# Enable the hooks used for initializing the ram-disk. 244#options MEMORY_DISK_HOOKS 245#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 246#options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 247#options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 248