MAMBO revision 1.27 1 # machine description file for the MAMBO simulator from IBM
2 # Author Sanjay Lal <sanjayl (a] kymasys.com>
3
4
5 include "arch/macppc/conf/std.macppc.g5"
6
7 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
8
9 #ident "GENERIC-$Revision: 1.27 $"
10
11 maxusers 32
12
13 options ALTIVEC # Include AltiVec support
14
15 # Standard system options
16 options INSECURE # disable kernel security levels
17
18 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
19 options NTP # NTP phase/frequency locked loop
20 options KTRACE # system call tracing via ktrace(1)
21
22 options SYSVMSG # System V message queues
23 options SYSVSEM # System V semaphores
24 #options SEMMNI=10 # number of semaphore identifiers
25 #options SEMMNS=60 # number of semaphores in system
26 #options SEMUME=10 # max number of undo entries per process
27 #options SEMMNU=30 # number of undo structures in system
28 options SYSVSHM # System V shared memory
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 # Alternate buffer queue strategies for better responsiveness under high
35 # disk I/O load.
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=0 # 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 include "conf/compat_netbsd09.config"
51
52 #options COMPAT_386BSD_MBRPART # recognize old partition ID
53
54 # File systems
55 file-system FFS # UFS
56 file-system MFS # memory file system
57 file-system KERNFS # /kern
58 file-system NULLFS # loopback file system
59 file-system PROCFS # /proc
60 file-system OVERLAY # overlay file system
61 file-system UMAPFS # NULLFS + uid and gid remapping
62 file-system UNION # union file system
63
64
65 # File system options
66 options QUOTA # legacy UFS quotas
67 options QUOTA2 # new, in-filesystem UFS quotas
68 #options FFS_EI # FFS Endian Independent support
69 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
70 #options FFS_NO_SNAPSHOT # ffs snapshots
71 options UFS_EXTATTR # Extended attribute support for UFS1
72 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
73 # immutable) behave as system flags.
74
75 # Networking options
76 #options GATEWAY # packet forwarding
77 options INET # IP + ICMP + TCP + UDP
78
79 # These options enable verbose messages for several subsystems.
80 # Warning, these may compile large string tables into the kernel!
81 options PCIVERBOSE # verbose PCI device autoconfig messages
82 options MIIVERBOSE # verbose PHY autoconfig messages
83 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
84
85 # wscons options
86 #options WSEMUL_SUN # sun terminal emulation
87 options WSEMUL_VT100 # VT100 / VT220 emulation
88 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
89 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
90 options FONT_GALLANT12x22
91
92 # Optional Mac keyboard tweaks
93
94 # Tweak the keyboard driver to treat the caps lock key on an ADB
95 # keyboard as a control key; requires special remapping because of
96 # ADB's strange emulation of a mechanically-locked key.
97 #options CAPS_IS_CONTROL
98
99 # On Mac laptops, several function keys double as "hot keys"
100 # (brightness, volume, eject) when the Fn modifier is held down. Mac
101 # OS X likes to reprogram the keyboard controller to send hot key
102 # events when Fn is not held down and send function key events when it
103 # is. This option transforms the non-keyboard "button" events back
104 # into function key events.
105 #options FORCE_FUNCTION_KEYS
106
107 # Kernel root file system and dump configuration.
108 config netbsd root on ? type ?
109
110 #
111 # Device configuration
112 #
113
114 mainbus* at root
115
116 cpu* at mainbus?
117 bandit* at mainbus?
118 grackle* at mainbus?
119 uninorth* at mainbus?
120 ibmcpc* at mainbus?
121
122 pci* at bandit? bus ?
123 pci* at grackle? bus ?
124 pci* at uninorth? bus ?
125 pci* at ibmcpc? bus ?
126 pci* at ppb? bus ?
127
128 pchb* at pci? dev ? function ? # PCI-Host bridges
129 ppb* at pci? dev ? function ? # PCI-PCI bridges
130
131 # Other PCI devices
132 #ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
133 # OFB_ENABLE_CACHE speeds up the console on many machines, but should
134 # not be enabled on some older machines, such as the rev. A-D iMacs.
135 #options OFB_ENABLE_CACHE # Speed up console
136 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
137 obio* at pci? dev ? function ?
138 macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging)
139 #macofcons0 at mainbus? # OpenFirmware console (for debugging)
140
141 # PCI serial interfaces
142 nvram* at obio? # nvram
143 # awacs is disabled because on most systems (7300 - 9600 PowerMacs,
144 # many kinds of G4s), very heavy load can cause the machine to lock
145 # up. ONLY enable this if your machine is never under heavy load, or
146 # you'd rather have audio than worry about occasional lockups.
147 #awacs* at obio? # Apple audio device
148 #ki2c* at obio? # Keywest I2C
149 wi* at obio? # AirMac
150 #snapper* at obio? # Snapper audio device
151
152 #wsdisplay0 at ofb? console ?
153
154 # Cryptographic Devices
155
156 # PCI cryptographic devices
157 # (disabled, requires opencrypto framework which requires generic softints
158 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
159 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
160
161
162 wdc* at obio? flags 0x1
163 atabus* at ata?
164 wd* at atabus? drive ? flags 0x0000
165
166 atapibus* at atapi?
167
168 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
169 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
170 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
171
172
173 #pseudo-device crypto # opencrypto framework
174 # (disabled, requires generic softints)
175 pseudo-device vnd # disk-like interface to files
176 pseudo-device md # memory disk device
177 pseudo-device loop # network loopback
178 pseudo-device pty # pseudo-terminals
179 pseudo-device openfirm # /dev/openfirm
180 pseudo-device wsmux # mouse and keyboard multiplexor
181 pseudo-device clockctl # user control of clock subsystem
182 pseudo-device ksyms # /dev/ksyms
183 pseudo-device nsmb # SMB requester
184 #pseudo-device pf # PF packet filter
185 #pseudo-device pflog # PF log if
186
187 # Enable the hooks used for initializing the ram-disk.
188 options MEMORY_DISK_HOOKS
189 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
190 options MEMORY_DISK_ROOT_SIZE=4496 # 2248 KiB
191 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
192
193 options MAMBO
194
195 # For Mambo console
196 com* at mainbus?
197 #options COM_DEBUG
198