1 1.2.2.2 skrll # Lean and mean config file for the POWERMAC G5 2 1.2.2.2 skrll # Author: Sanjay Lal <sanjayl (a] kymasys.com> 3 1.2.2.2 skrll 4 1.2.2.2 skrll include "arch/macppc/conf/std.macppc.g5" 5 1.2.2.2 skrll 6 1.2.2.2 skrll options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7 1.2.2.2 skrll maxusers 32 8 1.2.2.2 skrll 9 1.2.2.2 skrll options PMAC_G5 10 1.2.2.2 skrll options ALTIVEC # Include AltiVec support 11 1.2.2.2 skrll 12 1.2.2.2 skrll # Standard system options 13 1.2.2.2 skrll options INSECURE # disable kernel security levels 14 1.2.2.2 skrll 15 1.2.2.2 skrll options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 16 1.2.2.2 skrll options NTP # NTP phase/frequency locked loop 17 1.2.2.2 skrll options KTRACE # system call tracing via ktrace(1) 18 1.2.2.2 skrll 19 1.2.2.2 skrll options SYSVMSG # System V message queues 20 1.2.2.2 skrll options SYSVSEM # System V semaphores 21 1.2.2.2 skrll #options SEMMNI=10 # number of semaphore identifiers 22 1.2.2.2 skrll #options SEMMNS=60 # number of semaphores in system 23 1.2.2.2 skrll #options SEMUME=10 # max number of undo entries per process 24 1.2.2.2 skrll #options SEMMNU=30 # number of undo structures in system 25 1.2.2.2 skrll options SYSVSHM # System V shared memory 26 1.2.2.2 skrll 27 1.2.2.2 skrll options USERCONF # userconf(4) support 28 1.2.2.2 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 29 1.2.2.2 skrll options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 30 1.2.2.2 skrll 31 1.2.2.2 skrll # Enable experimental buffer queue strategy for better responsiveness under 32 1.2.2.2 skrll # high disk I/O load. Use it with caution - it's not proven to be stable yet. 33 1.2.2.2 skrll #options NEW_BUFQ_STRATEGY 34 1.2.2.2 skrll 35 1.2.2.2 skrll # Diagnostic/debugging support options 36 1.2.2.2 skrll options DIAGNOSTIC # cheap kernel consistency checks 37 1.2.2.2 skrll options DEBUG # expensive debugging checks/support 38 1.2.2.2 skrll options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 39 1.2.2.2 skrll options DDB # in-kernel debugger 40 1.2.2.2 skrll options DDB_ONPANIC=1 # don't go into ddb on panic. 41 1.2.2.2 skrll options DDB_HISTORY_SIZE=512 # enable history editing in DDB 42 1.2.2.2 skrll options TRAP_PANICWAIT 43 1.2.2.2 skrll 44 1.2.2.2 skrll makeoptions DEBUG="-g" # compile full symbol table 45 1.2.2.2 skrll 46 1.2.2.2 skrll # Compatibility options 47 1.2.2.2 skrll options COMPAT_30 # NetBSD 3.0 compatibility. 48 1.2.2.2 skrll options COMPAT_40 # NetBSD 4.0 compatibility. 49 1.2.2.2 skrll options COMPAT_43 # and 4.3BSD 50 1.2.2.2 skrll #options COMPAT_386BSD_MBRPART # recognize old partition ID 51 1.2.2.2 skrll options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 52 1.2.2.2 skrll 53 1.2.2.2 skrll # File systems 54 1.2.2.2 skrll file-system FFS # UFS 55 1.2.2.2 skrll file-system MFS # memory file system 56 1.2.2.2 skrll file-system KERNFS # /kern 57 1.2.2.2 skrll file-system PROCFS # /proc 58 1.2.2.2 skrll file-system NFS # Network File System client 59 1.2.2.2 skrll 60 1.2.2.2 skrll # File system options 61 1.2.2.2 skrll options QUOTA # legacy UFS quotas 62 1.2.2.2 skrll options QUOTA2 # new, in-filesystem UFS quotas 63 1.2.2.2 skrll #options FFS_EI # FFS Endian Independent support 64 1.2.2.2 skrll #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 65 1.2.2.2 skrll #options NFSSERVER # Network File System server 66 1.2.2.2 skrll #options FFS_NO_SNAPSHOT # ffs snapshots 67 1.2.2.2 skrll #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 68 1.2.2.2 skrll # immutable) behave as system flags. 69 1.2.2.2 skrll #options APPLE_UFS # Apple UFS support in FFS 70 1.2.2.2 skrll # Networking options 71 1.2.2.2 skrll #options GATEWAY # packet forwarding 72 1.2.2.2 skrll options INET # IP + ICMP + TCP + UDP 73 1.2.2.2 skrll 74 1.2.2.2 skrll # These options enable verbose messages for several subsystems. 75 1.2.2.2 skrll # Warning, these may compile large string tables into the kernel! 76 1.2.2.2 skrll options PCIVERBOSE # verbose PCI device autoconfig messages 77 1.2.2.2 skrll options MIIVERBOSE # verbose PHY autoconfig messages 78 1.2.2.2 skrll #options PCI_CONFIG_DUMP # verbosely dump PCI config space 79 1.2.2.2 skrll 80 1.2.2.2 skrll # wscons options 81 1.2.2.2 skrll #options WSEMUL_SUN # sun terminal emulation 82 1.2.2.2 skrll options WSEMUL_VT100 # VT100 / VT220 emulation 83 1.2.2.2 skrll options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 84 1.2.2.2 skrll #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 85 1.2.2.2 skrll options FONT_GALLANT12x22 86 1.2.2.2 skrll 87 1.2.2.2 skrll # Optional Mac keyboard tweaks 88 1.2.2.2 skrll 89 1.2.2.2 skrll # Tweak the keyboard driver to treat the caps lock key on an ADB 90 1.2.2.2 skrll # keyboard as a control key; requires special remapping because of 91 1.2.2.2 skrll # ADB's strange emulation of a mechanically-locked key. 92 1.2.2.2 skrll #options CAPS_IS_CONTROL 93 1.2.2.2 skrll 94 1.2.2.2 skrll # On Mac laptops, several function keys double as "hot keys" 95 1.2.2.2 skrll # (brightness, volume, eject) when the Fn modifier is held down. Mac 96 1.2.2.2 skrll # OS X likes to reprogram the keyboard controller to send hot key 97 1.2.2.2 skrll # events when Fn is not held down and send function key events when it 98 1.2.2.2 skrll # is. This option transforms the non-keyboard "button" events back 99 1.2.2.2 skrll # into function key events. 100 1.2.2.2 skrll #options FORCE_FUNCTION_KEYS 101 1.2.2.2 skrll 102 1.2.2.2 skrll # Kernel root file system and dump configuration. 103 1.2.2.2 skrll config netbsd root on ? type ? 104 1.2.2.2 skrll #config netbsd root on gem0 type nfs 105 1.2.2.2 skrll #options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 106 1.2.2.2 skrll 107 1.2.2.2 skrll # 108 1.2.2.2 skrll # Device configuration 109 1.2.2.2 skrll # 110 1.2.2.2 skrll 111 1.2.2.2 skrll mainbus* at root 112 1.2.2.2 skrll 113 1.2.2.2 skrll cpu* at mainbus? 114 1.2.2.2 skrll ibmcpc* at mainbus? 115 1.2.2.2 skrll uninorth* at mainbus? 116 1.2.2.2 skrll 117 1.2.2.2 skrll pci* at ibmcpc? bus ? 118 1.2.2.2 skrll pci* at uninorth? bus ? 119 1.2.2.2 skrll pci* at ppb? bus ? 120 1.2.2.2 skrll 121 1.2.2.2 skrll pchb* at pci? dev ? function ? # PCI-Host bridges 122 1.2.2.2 skrll ppb* at pci? dev ? function ? # PCI-PCI bridges 123 1.2.2.2 skrll 124 1.2.2.2 skrll bge* at pci? dev ? function ? # gmac ethernet 125 1.2.2.2 skrll ukphy* at mii? phy ? # generic unknown PHYs 126 1.2.2.2 skrll 127 1.2.2.2 skrll # PCI USB controllers 128 1.2.2.2 skrll ohci* at pci? dev ? function ? # USB Open Host Controller 129 1.2.2.2 skrll ehci* at pci? dev ? function ? # USB Enhanced Host Controller 130 1.2.2.2 skrll 131 1.2.2.2 skrll usb* at ohci? # USB bus support 132 1.2.2.2 skrll uhub* at usb? # USB Hubs 133 1.2.2.2 skrll uhub* at uhub? port ? 134 1.2.2.2 skrll uhidev* at uhub? port ? configuration ? interface ? # USB HID device 135 1.2.2.2 skrll uhid* at uhidev? reportid ? # USB Generic HID 136 1.2.2.2 skrll ukbd* at uhidev? reportid ? # USB Keyboards 137 1.2.2.2 skrll wskbd* at ukbd? console ? 138 1.2.2.2 skrll ums* at uhidev? reportid ? # USB Mice 139 1.2.2.2 skrll wsmouse* at ums? 140 1.2.2.2 skrll 141 1.2.2.2 skrll genfb* at pci? dev ? function ? 142 1.2.2.2 skrll wsdisplay* at genfb? console ? 143 1.2.2.2 skrll 144 1.2.2.2 skrll #pseudo-device crypto # opencrypto framework 145 1.2.2.2 skrll # (disabled, requires generic softints) 146 1.2.2.2 skrll pseudo-device vnd 4 # disk-like interface to files 147 1.2.2.2 skrll pseudo-device md # memory disk device 148 1.2.2.2 skrll pseudo-device loop # network loopback 149 1.2.2.2 skrll pseudo-device pty # pseudo-terminals 150 1.2.2.2 skrll pseudo-device openfirm # /dev/openfirm 151 1.2.2.2 skrll pseudo-device wsmux # mouse and keyboard multiplexor 152 1.2.2.2 skrll pseudo-device clockctl # user control of clock subsystem 153 1.2.2.2 skrll pseudo-device ksyms # /dev/ksyms 154 1.2.2.2 skrll pseudo-device nsmb # SMB requester 155 1.2.2.2 skrll pseudo-device bpfilter 8 # Berkeley packet filter 156 1.2.2.2 skrll #pseudo-device pf # PF packet filter 157 1.2.2.2 skrll #pseudo-device pflog # PF log if 158 1.2.2.2 skrll 159 1.2.2.2 skrll options OFWOEA_WSCONS_NO_ROM_FONT 160 1.2.2.2 skrll options EXSTORAGE_MAX=24 161 1.2.2.2 skrll 162 1.2.2.2 skrll # Enable the hooks used for initializing the ram-disk. 163 1.2.2.2 skrll options MEMORY_DISK_HOOKS 164 1.2.2.2 skrll options MEMORY_DISK_IS_ROOT # Force root on ram-disk 165 1.2.2.2 skrll options MEMORY_DISK_ROOT_SIZE=5000 # 25000 KiB 166 1.2.2.2 skrll options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 167 1.2.2.2 skrll options MEMORY_DISK_SERVER=1 168