1 # machine description file for the MAMBO simulator from IBM
2 # Author Sanjay Lal <sanjayl@kymasys.com>
5 include "arch/macppc/conf/std.macppc.g5"
7 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 #ident "GENERIC-$Revision: 1.9 $"
13 options ALTIVEC # Include AltiVec support
15 # Standard system options
16 options INSECURE # disable kernel security levels
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)
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 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
32 options USERCONF # userconf(4) support
33 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
34 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
36 # Enable experimental buffer queue strategy for better responsiveness under
37 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
38 #options NEW_BUFQ_STRATEGY
40 # Diagnostic/debugging support options
41 options DIAGNOSTIC # cheap kernel consistency checks
42 options DEBUG # expensive debugging checks/support
43 options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
44 options DDB # in-kernel debugger
45 #options DDB_ONPANIC=0 # don't go into ddb on panic.
46 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
47 #options TRAP_PANICWAIT
49 makeoptions DEBUG="-g" # compile full symbol table
51 # Compatibility options
52 options COMPAT_09 # NetBSD 0.9,
53 options COMPAT_10 # NetBSD 1.0,
54 options COMPAT_11 # NetBSD 1.1,
55 options COMPAT_12 # NetBSD 1.2,
56 options COMPAT_13 # NetBSD 1.3,
57 options COMPAT_14 # NetBSD 1.4,
58 options COMPAT_15 # NetBSD 1.5,
59 options COMPAT_16 # NetBSD 1.6,
60 options COMPAT_20 # NetBSD 2.0
61 options COMPAT_43 # and 4.3BSD
63 #options COMPAT_386BSD_MBRPART # recognize old partition ID
64 #options COMPAT_DARWIN # Darwin binary compatibility (experimental)
65 #options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN
66 #options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH
67 #options DEBUG_DARWIN # COMPAT_DARWIN debugging
68 #options DEBUG_MACH # COMPAT_MACH debugging
69 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
70 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
74 file-system MFS # memory file system
75 file-system KERNFS # /kern
76 file-system NULLFS # loopback file system
77 file-system PROCFS # /proc
78 file-system OVERLAY # overlay file system
79 file-system UMAPFS # NULLFS + uid and gid remapping
80 file-system UNION # union file system
84 options QUOTA # UFS quotas
85 #options FFS_EI # FFS Endian Independant support
86 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
87 #options FFS_NO_SNAPSHOT # ffs snapshots
88 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
89 # immutable) behave as system flags.
92 #options GATEWAY # packet forwarding
93 options INET # IP + ICMP + TCP + UDP
95 # These options enable verbose messages for several subsystems.
96 # Warning, these may compile large string tables into the kernel!
97 options PCIVERBOSE # verbose PCI device autoconfig messages
98 options MIIVERBOSE # verbose PHY autoconfig messages
99 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
102 #options WSEMUL_SUN # sun terminal emulation
103 options WSEMUL_VT100 # VT100 / VT220 emulation
104 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
105 options FONT_GALLANT12x22
107 # Optional Mac keyboard tweaks
109 # Tweak the keyboard driver to treat the caps lock key on an ADB
110 # keyboard as a control key; requires special remapping because of
111 # ADB's strange emulation of a mechanically-locked key.
112 #options CAPS_IS_CONTROL
114 # On Mac laptops, several function keys double as "hot keys"
115 # (brightness, volume, eject) when the Fn modifier is held down. Mac
116 # OS X likes to reprogram the keyboard controller to send hot key
117 # events when Fn is not held down and send function key events when it
118 # is. This option transforms the non-keyboard "button" events back
119 # into function key events.
120 #options FORCE_FUNCTION_KEYS
122 # Kernel root file system and dump configuration.
123 config netbsd root on ? type ?
126 # Device configuration
134 uninorth* at mainbus?
137 pci* at bandit? bus ?
138 pci* at grackle? bus ?
139 pci* at uninorth? bus ?
140 pci* at ibmcpc? bus ?
143 pchb* at pci? dev ? function ? # PCI-Host bridges
144 ppb* at pci? dev ? function ? # PCI-PCI bridges
147 #ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
148 # OFB_ENABLE_CACHE speeds up the console on many machines, but should
149 # not be enabled on some older machines, such as the rev. A-D iMacs.
150 #options OFB_ENABLE_CACHE # Speed up console
151 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
152 obio* at pci? dev ? function ?
153 macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging)
154 #macofcons0 at mainbus? # OpenFirmware console (for debugging)
156 # PCI serial interfaces
157 nvram* at obio? # nvram
158 # awacs is disabled because on most systems (7300 - 9600 PowerMacs,
159 # many kinds of G4s), very heavy load can cause the machine to lock
160 # up. ONLY enable this if your machine is never under heavy load, or
161 # you'd rather have audio than worry about occasional lockups.
162 #awacs* at obio? # Apple audio device
163 #ki2c* at obio? # Keywest I2C
164 wi* at obio? # AirMac
165 #snapper* at obio? # Snapper audio device
167 #wsdisplay0 at ofb? console ?
169 # Cryptographic Devices
171 # PCI cryptographic devices
172 # (disabled, requires opencrypto framework which requires generic softints
173 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
174 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
177 wdc* at obio? flags 0x1
179 wd* at atabus? drive ? flags 0x0000
183 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
184 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
185 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
188 #pseudo-device crypto # opencrypto framework
189 # (disabled, requires generic softints)
190 pseudo-device vnd 4 # disk-like interface to files
191 pseudo-device md 1 # memory disk device
192 pseudo-device loop # network loopback
193 pseudo-device pty # pseudo-terminals
194 pseudo-device rnd # /dev/random and in-kernel generator
195 pseudo-device openfirm # /dev/openfirm
196 pseudo-device wsmux # mouse and keyboard multiplexor
197 pseudo-device clockctl # user control of clock subsystem
198 pseudo-device ksyms # /dev/ksyms
199 pseudo-device nsmb # SMB requester
200 #pseudo-device pf # PF packet filter
201 #pseudo-device pflog # PF log if
203 # Enable the hooks used for initializing the ram-disk.
204 options MEMORY_DISK_HOOKS
205 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
206 options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
207 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode