POWERMAC_G5_11_2 revision 1.20 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 COPY_SYMTAB=1 # in case of directly booted from ofw
46 makeoptions DEBUG="-g" # compile full symbol table
47
48 # Compatibility options
49 include "conf/compat_netbsd30.config"
50 #options COMPAT_386BSD_MBRPART # recognize old partition ID
51
52 # File systems
53 file-system FFS # UFS
54 file-system MFS # memory file system
55 file-system TMPFS # Efficient memory file-system
56 file-system KERNFS # /kern
57 file-system PROCFS # /proc
58 file-system NFS # Network File System client
59 file-system PTYFS # /dev/pts/N support
60
61 # File system options
62 #options QUOTA # legacy UFS quotas
63 #options QUOTA2 # new, in-filesystem UFS quotas
64 #options FFS_EI # FFS Endian Independent support
65 options WAPBL # File system journaling support
66 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
67 #options NFSSERVER # Network File System server
68 #options FFS_NO_SNAPSHOT # ffs snapshots
69 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70 # immutable) behave as system flags.
71 #options APPLE_UFS # Apple UFS support in FFS
72 # Networking options
73 #options GATEWAY # packet forwarding
74 options INET # IP + ICMP + TCP + UDP
75 options INET6 # IPV6
76
77 # These options enable verbose messages for several subsystems.
78 # Warning, these may compile large string tables into the kernel!
79 options PCIVERBOSE # verbose PCI device autoconfig messages
80 options MIIVERBOSE # verbose PHY autoconfig messages
81 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
82
83 # wscons options
84 #options WSEMUL_SUN # sun terminal emulation
85 options WSEMUL_VT100 # VT100 / VT220 emulation
86 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
87
88 options WS_DEFAULT_FG=WSCOL_BLACK
89 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
90 options WS_KERNEL_FG=WSCOL_GREEN
91 options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
92
93 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
94 options FONT_GALLANT12x22
95
96 # Kernel root file system and dump configuration.
97 config netbsd root on ? type ?
98 #config netbsd root on gem0 type nfs
99 options NFS_BOOT_DHCP
100 #options NFS_BOOT_BOOTPARAM
101
102 #
103 # Device configuration
104 #
105
106 mainbus* at root
107
108 cpu* at mainbus?
109 options MULTIPROCESSOR
110 ibmcpc* at mainbus?
111 uninorth* at mainbus?
112 memory* at mainbus?
113 spdmem* at memory? addr ?
114
115 uni_n* at mainbus?
116 ki2c* at uni_n? # Keywest I2C
117
118 smu* at mainbus?
119 #options SMU_DEBUG
120 smuiic* at smu?
121 iic* at smuiic?
122
123 pci* at ibmcpc? bus ?
124 pci* at uninorth? 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 obio0 at pci? dev ? function ?
131 zsc* at obio?
132 zstty* at zsc? channel ?
133 snapper* at obio?
134 ki2c* at obio? # Keywest I2C
135 iic* at ki2c?
136
137 admtemp* at iic?
138 lmtemp* at iic?
139 dstemp* at iic?
140 smusat* at iic?
141 deq* at iic?
142
143 # Audio support
144 audio* at audiobus?
145
146 spkr* at audio? # PC speaker (synthesized)
147 wsbell* at spkr?
148
149 bge* at pci? dev ? function ? # gmac ethernet
150 brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
151 ukphy* at mii? phy ? # generic unknown PHYs
152
153 # PCI USB controllers
154 ohci* at pci? dev ? function ? # USB Open Host Controller
155 ehci* at pci? dev ? function ? # USB Enhanced Host Controller
156
157 usb* at ohci? # USB bus support
158 usb* at ehci? # USB bus support
159 uhub* at usb? # USB Hubs
160 uhub* at uhub? port ?
161 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
162 uhid* at uhidev? reportid ? # USB Generic HID
163 ukbd* at uhidev? reportid ? # USB Keyboards
164 wskbd* at ukbd? console ?
165 ums* at uhidev? reportid ? # USB Mice
166 wsmouse* at ums?
167
168 genfb* at pci? dev ? function ?
169 wdc* at pci? dev ? function ? # Kauai ATA
170 svwsata* at pci? dev ? function ? # ServerWorks SATA controllers
171 obio* at pci? dev ? function ?
172 zsc* at obio?
173 zstty* at zsc? channel ?
174
175 wsdisplay0 at wsemuldisplaydev? console 1
176 wsdisplay* at wsemuldisplaydev?
177
178 atabus* at ata?
179 wd* at atabus? drive ? flags 0x0000
180 atapibus* at atapi?
181 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
182 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
183 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
184
185 #pseudo-device crypto # opencrypto framework
186 # (disabled, requires generic softints)
187 pseudo-device vnd 4 # disk-like interface to files
188 pseudo-device md # memory disk device
189 pseudo-device loop # network loopback
190 pseudo-device pty # pseudo-terminals
191 pseudo-device openfirm # /dev/openfirm
192 pseudo-device wsmux # mouse and keyboard multiplexor
193 pseudo-device clockctl # user control of clock subsystem
194 pseudo-device ksyms # /dev/ksyms
195 pseudo-device bpfilter 8 # Berkeley packet filter
196 #pseudo-device npf # NPF packet filter
197
198 options EXSTORAGE_MAX=24
199
200 # Enable the hooks used for initializing the ram-disk.
201 #options MEMORY_DISK_HOOKS
202 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
203 #options MEMORY_DISK_ROOT_SIZE=5000 # 25000 KiB
204 #options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
205 #options MEMORY_DISK_SERVER=1
206