POWERMAC_G5 revision 1.7 1 # Lean and mean config file for the POWERMAC G5
2 # Author: Sanjay Lal <sanjayl (a] kymasys.com>
3
4 include "arch/macppc/conf/std.macppc.g5"
5
6 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
7 maxusers 32
8
9 options PMAC_G5
10 options ALTIVEC # Include AltiVec support
11
12 # Standard system options
13 options INSECURE # disable kernel security levels
14
15 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
16 options NTP # NTP phase/frequency locked loop
17 options KTRACE # system call tracing via ktrace(1)
18
19 options SYSVMSG # System V message queues
20 options 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
25 options SYSVSHM # System V shared memory
26 #options SHMMAXPGS=1024 # 1024 pages is the default
27 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
28
29
30 options USERCONF # userconf(4) support
31 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
32 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
33
34 # Enable experimental buffer queue strategy for better responsiveness under
35 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
36 #options NEW_BUFQ_STRATEGY
37
38 # Diagnostic/debugging support options
39 options DIAGNOSTIC # cheap kernel consistency checks
40 options DEBUG # expensive debugging checks/support
41 options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
42 options DDB # in-kernel debugger
43 options DDB_ONPANIC=1 # don't go into ddb on panic.
44 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
45 options TRAP_PANICWAIT
46
47 makeoptions DEBUG="-g" # compile full symbol table
48
49 # Compatibility options
50 options COMPAT_30 # NetBSD 3.0 compatibility.
51 options COMPAT_40 # NetBSD 4.0 compatibility.
52 options COMPAT_43 # and 4.3BSD
53 #options COMPAT_386BSD_MBRPART # recognize old partition ID
54 #options COMPAT_DARWIN # Darwin binary compatibility (experimental)
55 #options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN
56 #options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH
57 #options DEBUG_DARWIN # COMPAT_DARWIN debugging
58 #options DEBUG_MACH # COMPAT_MACH debugging
59 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
60 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
61
62 # File systems
63 file-system FFS # UFS
64 file-system MFS # memory file system
65 file-system KERNFS # /kern
66 file-system PROCFS # /proc
67 file-system NFS # Network File System client
68
69 # File system options
70 options QUOTA # UFS quotas
71 #options FFS_EI # FFS Endian Independant support
72 options SOFTDEP # FFS soft updates support.
73 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
74 #options NFSSERVER # Network File System server
75 #options FFS_NO_SNAPSHOT # ffs snapshots
76 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
77 # immutable) behave as system flags.
78 #options APPLE_UFS # Apple UFS support in FFS
79 # Networking options
80 #options GATEWAY # packet forwarding
81 options INET # IP + ICMP + TCP + UDP
82
83 # These options enable verbose messages for several subsystems.
84 # Warning, these may compile large string tables into the kernel!
85 options PCIVERBOSE # verbose PCI device autoconfig messages
86 options MIIVERBOSE # verbose PHY autoconfig messages
87 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
88
89 # wscons options
90 #options WSEMUL_SUN # sun terminal emulation
91 options WSEMUL_VT100 # VT100 / VT220 emulation
92 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
93 options FONT_GALLANT12x22
94
95 # Optional Mac keyboard tweaks
96
97 # Tweak the keyboard driver to treat the caps lock key on an ADB
98 # keyboard as a control key; requires special remapping because of
99 # ADB's strange emulation of a mechanically-locked key.
100 #options CAPS_IS_CONTROL
101
102 # On Mac laptops, several function keys double as "hot keys"
103 # (brightness, volume, eject) when the Fn modifier is held down. Mac
104 # OS X likes to reprogram the keyboard controller to send hot key
105 # events when Fn is not held down and send function key events when it
106 # is. This option transforms the non-keyboard "button" events back
107 # into function key events.
108 #options FORCE_FUNCTION_KEYS
109
110 # Kernel root file system and dump configuration.
111 config netbsd root on ? type ?
112 #config netbsd root on gem0 type nfs
113 #options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
114
115 #
116 # Device configuration
117 #
118
119 mainbus* at root
120
121 cpu* at mainbus?
122 ibmcpc* at mainbus?
123
124 pci* at ibmcpc? bus ?
125 pci* at ppb? bus ?
126
127 pchb* at pci? dev ? function ? # PCI-Host bridges
128 ppb* at pci? dev ? function ? # PCI-PCI bridges
129
130 gem* at pci? dev ? function ? # gmac ethernet
131 ukphy* at mii? phy ? # generic unknown PHYs
132
133 # PCI IEEE1394 controllers
134 #fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
135
136 # IEEE1394 nodes
137 #ieee1394if* at fwohci?
138 #fwip* at ieee1394if? # IP over IEEE1394
139 #sbp* at ieee1394if? euihi ? euilo ?
140 #scsibus* at sbp?
141
142
143 # PCI USB controllers
144 ohci* at pci? dev ? function ? # USB Open Host Controller
145 #ehci* at pci? dev ? function ? # USB Enhanced Host Controller
146
147 usb* at ohci? # USB bus support
148 uhub* at usb? # USB Hubs
149 uhub* at uhub? port ?
150 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
151 uhid* at uhidev? reportid ? # USB Generic HID
152 ukbd* at uhidev? reportid ? # USB Keyboards
153 wskbd* at ukbd? console ?
154 ums* at uhidev? reportid ? # USB Mice
155 wsmouse* at ums?
156
157 # Other PCI devices
158 #ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
159 # OFB_ENABLE_CACHE speeds up the console on many machines, but should
160 # not be enabled on some older machines, such as the rev. A-D iMacs.
161 #options OFB_ENABLE_CACHE # Speed up console
162 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
163 svwsata* at pci? dev ? function ? # ServerWorks SATA controllers
164 obio* at pci? dev ? function ?
165 zsc* at obio?
166 zstty* at zsc? channel ?
167
168 # PCI serial interfaces
169 nvram* at obio? # nvram
170 #wsdisplay0 at ofb? console ?
171
172 atabus* at ata?
173 wd* at atabus? drive ? flags 0x0000
174 atapibus* at atapi?
175 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
176 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
177 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
178
179
180 #pseudo-device crypto # opencrypto framework
181 # (disabled, requires generic softints)
182 pseudo-device vnd 4 # disk-like interface to files
183 pseudo-device md 1 # memory disk device
184 pseudo-device loop # network loopback
185 pseudo-device pty # pseudo-terminals
186 pseudo-device rnd # /dev/random and in-kernel generator
187 pseudo-device openfirm # /dev/openfirm
188 pseudo-device wsmux # mouse and keyboard multiplexor
189 pseudo-device clockctl # user control of clock subsystem
190 pseudo-device ksyms # /dev/ksyms
191 pseudo-device nsmb # SMB requester
192 #pseudo-device pf # PF packet filter
193 #pseudo-device pflog # PF log if
194
195 # Enable the hooks used for initializing the ram-disk.
196 options MEMORY_DISK_HOOKS
197 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
198 options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
199