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