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#options DKWEDGE_METHOD_TOS # Support Atari "TOS" partitions as wedges 67 68# File systems 69file-system FFS # UFS 70file-system MFS # memory file system 71file-system TMPFS # memory file system 72file-system KERNFS # /kern 73file-system PROCFS # /proc 74file-system NFS # Network File System client 75file-system CD9660 # ISO 9660 + Rock Ridge file system 76file-system MSDOSFS # MS-DOS file system 77file-system PTYFS # /dev/pts/N support 78#file-system HFS # experimental - Apple HFS+ (read-only) 79 80# File system options 81#options APPLE_UFS # Apple UFS support in FFS 82#options FFS_EI # FFS Endian Independent support 83#options FFS_NO_SNAPSHOT # No FFS snapshot support 84options QUOTA # legacy UFS quotas 85options QUOTA2 # new, in-filesystem UFS quotas 86options UFS_DIRHASH # UFS Large Directory Hashing 87#options UFS_EXTATTR # Extended attribute support for UFS1 88options WAPBL # File system journaling support 89#options NFSSERVER # Network File System server 90 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 105options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 106options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 107options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 108#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 109options WS_DEFAULT_FG=WSCOL_BLACK 110options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 111options WS_KERNEL_FG=WSCOL_GREEN 112options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 113options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 114options WSDISPLAY_SCROLLSUPPORT 115options FONT_GALLANT12x22 116 117# Kernel root file system and dump configuration. 118config netbsd root on ? type ? 119#config netbsd root on gem0 type nfs 120options NFS_BOOT_DHCP 121 122# 123# Device configuration 124# 125 126mainbus* at root 127 128cpu0 at mainbus? 129uni_n* at mainbus? 130memory* at mainbus? 131spdmem* at memory? addr ? 132ki2c* at uni_n? # Keywest I2C 133 134ibmcpc* at mainbus? 135uninorth* at mainbus? 136smu* at mainbus? 137#options SMU_DEBUG 138smuiic* at smu? 139iic* at smuiic? 140 141 142pci* at ibmcpc? bus ? 143pci* at uninorth? bus ? 144pci* at ppb? bus ? 145 146pchb* at pci? dev ? function ? # PCI-Host bridges 147ppb* at pci? dev ? function ? # PCI-PCI bridges 148 149obio0 at pci? dev ? function ? 150zsc* at obio? 151zstty* at zsc? channel ? 152snapper* at obio? 153ki2c* at obio? # Keywest I2C 154iic* at i2cbus? 155 156admtemp* at iic? 157lmtemp* at iic? 158dstemp* at iic? 159adadc* at iic? 160fcu* at iic? 161smusat* at iic? 162deq* at iic? 163 164obiofan* at obio? # PSU fan on PowerMac7,3 165 166pmu* at obio? # Apple PMU 167 168# Audio support 169audio* at audiobus? 170 171spkr* at audio? # PC speaker (synthesized) 172wsbell* at spkr? 173 174gem* at pci? dev ? function ? # gmac ethernet 175#options GEM_DEBUG 176bge* at pci? dev ? function ? # borgcom ethernet 177bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 178brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 179ukphy* at mii? phy ? # generic unknown PHYs 180 181# PCI IEEE1394 controllers 182#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 183 184# IEEE1394 nodes 185#ieee1394if* at fwohci? 186#fwip* at ieee1394if? # IP over IEEE1394 187#sbp* at ieee1394if? euihi ? euilo ? 188#scsibus* at sbp? 189 190 191# PCI USB controllers 192ohci* at pci? dev ? function ? # USB Open Host Controller 193ehci* at pci? dev ? function ? # USB Enhanced Host Controller 194 195usb* at ohci? # USB bus support 196usb* at ehci? # USB bus support 197uhub* at usb? # USB Hubs 198uhub* at uhub? port ? 199uhidev* at uhub? port ? configuration ? interface ? # USB HID device 200uhid* at uhidev? reportid ? # USB Generic HID 201ukbd* at uhidev? reportid ? # USB Keyboards 202wskbd* at ukbd? console ? 203ums* at uhidev? reportid ? # USB Mice 204wsmouse* at ums? 205 206genfb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 207gffb* at pci? dev ? function ? # some iMacs have nvidia graphics chips 208radeonfb* at pci? dev ? function ? 209options RADEONFB_ALWAYS_ACCEL_PUTCHAR 210 211#radeon* at pci? dev ? function ? 212#radeondrmkmsfb* at radeonfbbus? 213 214#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 215wdc* at pci? dev ? function ? # Kauai ATA 216svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 217siisata* at pci? dev ? function ? # SiI SteelVine controllers 218#options ATADEBUG 219 220obio* at pci? dev ? function ? 221zsc* at obio? 222zstty* at zsc? channel ? 223 224wsdisplay0 at wsemuldisplaydev? console 1 225wsdisplay* at wsemuldisplaydev? 226 227atabus* at ata? 228wd* at atabus? drive ? flags 0x0000 229atapibus* at atapi? 230cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 231sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 232uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 233 234 235pseudo-device crypto # /dev/crypto device 236pseudo-device swcrypto # software crypto implementation 237pseudo-device vnd # disk-like interface to files 238#pseudo-device md # memory disk device 239pseudo-device loop # network loopback 240pseudo-device pty # pseudo-terminals 241pseudo-device openfirm # /dev/openfirm 242pseudo-device wsmux # mouse and keyboard multiplexor 243pseudo-device clockctl # user control of clock subsystem 244pseudo-device drvctl # user control of drive subsystem 245pseudo-device ksyms # /dev/ksyms 246pseudo-device bpfilter # packet filter 247#pseudo-device npf # NPF packet filter 248 249# Enable the hooks used for initializing the ram-disk. 250#options MEMORY_DISK_HOOKS 251#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 252#options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 253#options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 254 255options PAX_SEGVGUARD=0 # PaX Segmentation fault guard 256options PAX_MPROTECT=1 # PaX mprotect(2) restrictions 257options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug 258options PAX_ASLR=1 # PaX Address Space Layout Randomization 259options PAX_ASLR_DEBUG=1 # PaX ASLR debug 260 261# Pull in optional local configuration - always at end 262cinclude "arch/macppc/conf/POWERMAC_G5.local" 263