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