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