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