GENERIC32_IP2x revision 1.19.2.7 1 1.19.2.7 skrll # $NetBSD: GENERIC32_IP2x,v 1.19.2.7 2005/01/17 19:30:09 skrll Exp $
2 1.19.2.2 skrll #
3 1.19.2.2 skrll # GENERIC32_IP2x machine description file
4 1.19.2.2 skrll #
5 1.19.2.2 skrll # This machine description file is used to generate the default NetBSD
6 1.19.2.2 skrll # kernel. The generic kernel does not include all options, subsystems
7 1.19.2.2 skrll # and device drivers, but should be useful for most applications.
8 1.19.2.2 skrll #
9 1.19.2.2 skrll # The machine description file can be customised for your specific
10 1.19.2.2 skrll # machine to reduce the kernel size and improve its performance.
11 1.19.2.2 skrll #
12 1.19.2.2 skrll # For further information on compiling NetBSD kernels, see the config(8)
13 1.19.2.2 skrll # man page.
14 1.19.2.2 skrll #
15 1.19.2.2 skrll # For further information on hardware support for this architecture, see
16 1.19.2.2 skrll # the intro(4) man page. For further information about kernel options
17 1.19.2.2 skrll # for this architecture, see the options(4) man page. For an explanation
18 1.19.2.2 skrll # of each device driver in this file see the section 4 man page for the
19 1.19.2.2 skrll # device.
20 1.19.2.2 skrll #
21 1.19.2.2 skrll #
22 1.19.2.2 skrll # Currently this config file supports Indigo R4k, Indigo2 and Indy
23 1.19.2.2 skrll # (IP20, IP22 and IP24, respectively).
24 1.19.2.2 skrll #
25 1.19.2.2 skrll
26 1.19.2.2 skrll include "arch/sgimips/conf/std.sgimips"
27 1.19.2.2 skrll
28 1.19.2.2 skrll makeoptions TEXTADDR=0x88069000 # entry point
29 1.19.2.2 skrll
30 1.19.2.2 skrll options INCLUDE_CONFIG_FILE # embed config file in kernel binary
31 1.19.2.2 skrll
32 1.19.2.7 skrll #ident "GENERIC32-IP2x-$Revision: 1.19.2.7 $"
33 1.19.2.2 skrll
34 1.19.2.2 skrll maxusers 32
35 1.19.2.2 skrll
36 1.19.2.2 skrll # CPU related options
37 1.19.2.2 skrll options MIPS3 # MIPS3 support
38 1.19.2.2 skrll options INDY_R4600_CACHE # Include routines to handle special
39 1.19.2.2 skrll # R4600 cache -- required for Indy.
40 1.19.2.2 skrll
41 1.19.2.5 skrll makeoptions WANT_ECOFF="yes" # Create an ECOFF kernel in addition
42 1.19.2.5 skrll # to an ELF kernel -- required for
43 1.19.2.5 skrll # netbooting Indigo (IP20) and some
44 1.19.2.5 skrll # Indigo2 (IP22) machines
45 1.19.2.5 skrll
46 1.19.2.2 skrll #options BLINK # blinkenlitzen
47 1.19.2.2 skrll
48 1.19.2.2 skrll # Standard system options
49 1.19.2.2 skrll #options INSECURE # disable kernel security levels
50 1.19.2.2 skrll
51 1.19.2.2 skrll #options NTP # NTP phase/frequence locked loop
52 1.19.2.2 skrll options KTRACE # system call tracing via ktrace(1)
53 1.19.2.2 skrll options SYSTRACE # system call vetting via systrace(1)
54 1.19.2.2 skrll
55 1.19.2.2 skrll options SYSVMSG # System V message queues
56 1.19.2.2 skrll options SYSVSEM # System V semaphores
57 1.19.2.2 skrll #options SEMMNI=10 # number of semaphore identifiers
58 1.19.2.2 skrll #options SEMMNS=60 # number of semaphores in system
59 1.19.2.2 skrll #options SEMUME=10 # max number of undo entries per process
60 1.19.2.2 skrll #options SEMMNU=30 # number of undo structures in system
61 1.19.2.2 skrll options SYSVSHM # System V shared memory
62 1.19.2.2 skrll #options SHMMAXPGS=1024 # 1024 pages is the default
63 1.19.2.2 skrll options P1003_1B_SEMAPHORE # p1003.1b semaphore support
64 1.19.2.2 skrll
65 1.19.2.2 skrll #options LKM # loadable kernel modules (XXX: working?)
66 1.19.2.2 skrll
67 1.19.2.2 skrll options USERCONF # userconf(4) support
68 1.19.2.2 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69 1.19.2.2 skrll options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
70 1.19.2.2 skrll
71 1.19.2.2 skrll # Enable experimental buffer queue strategy for better responsiveness under
72 1.19.2.2 skrll # high disk I/O load. Use it with caution - it's not proven to be stable yet.
73 1.19.2.2 skrll #options NEW_BUFQ_STRATEGY
74 1.19.2.2 skrll
75 1.19.2.2 skrll # Diagnostic/debugging support options
76 1.19.2.2 skrll #options DIAGNOSTIC # expensive kernel consistency checks
77 1.19.2.2 skrll #options DEBUG # expensive debugging checks/support
78 1.19.2.2 skrll #options KMEMSTATS # kernel memory statistics (vmstat -m)
79 1.19.2.2 skrll options DDB # in-kernel debugger
80 1.19.2.2 skrll options DDB_HISTORY_SIZE=512 # enable history editing in DDB
81 1.19.2.2 skrll #options KGDB # remote debugger
82 1.19.2.2 skrll #options KGDB_DEV=0x2301 # KGDB port - this is Serial(1)
83 1.19.2.2 skrll #options KGDB_DEVRATE=19200 # KGDB Baud Rate
84 1.19.2.2 skrll #makeoptions DEBUG="-g" # compile full symbol table
85 1.19.2.2 skrll
86 1.19.2.2 skrll # Compatibility options
87 1.19.2.5 skrll options COMPAT_15 # NetBSD 1.5
88 1.19.2.5 skrll options COMPAT_16 # NetBSD 1.6
89 1.19.2.5 skrll options COMPAT_20 # NetBSD 2.0
90 1.19.2.2 skrll #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
91 1.19.2.2 skrll
92 1.19.2.2 skrll options COMPAT_IRIX # binary compatibility with IRIX
93 1.19.2.2 skrll #options COMPAT_LINUX # binary compatibility with Linux
94 1.19.2.2 skrll #options COMPAT_ULTRIX # binary compatibility with Ultrix
95 1.19.2.6 skrll options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
96 1.19.2.2 skrll
97 1.19.2.2 skrll # File systems
98 1.19.2.2 skrll file-system FFS # UFS
99 1.19.2.2 skrll file-system EXT2FS # second extended file system (linux)
100 1.19.2.2 skrll file-system LFS # log-structured file system
101 1.19.2.2 skrll file-system MFS # memory file system
102 1.19.2.2 skrll file-system NFS # Network File System client
103 1.19.2.2 skrll file-system NTFS # Windows/NT file system (experimental)
104 1.19.2.2 skrll file-system CD9660 # ISO 9660 + Rock Ridge file system
105 1.19.2.2 skrll file-system MSDOSFS # MS-DOS file system
106 1.19.2.2 skrll file-system FDESC # /dev/fd
107 1.19.2.2 skrll file-system KERNFS # /kern
108 1.19.2.2 skrll file-system NULLFS # loopback file system
109 1.19.2.2 skrll file-system OVERLAY # overlay file system
110 1.19.2.2 skrll file-system PORTAL # portal filesystem (still experimental)
111 1.19.2.2 skrll file-system PROCFS # /proc
112 1.19.2.2 skrll file-system UMAPFS # NULLFS + uid and gid remapping
113 1.19.2.2 skrll file-system UNION # union file system
114 1.19.2.2 skrll file-system CODA # Coda File System; also needs vcoda (below)
115 1.19.2.2 skrll
116 1.19.2.2 skrll # File system options
117 1.19.2.2 skrll options QUOTA # UFS quotas
118 1.19.2.2 skrll #options FFS_EI # FFS Endian Independent support
119 1.19.2.2 skrll options SOFTDEP # FFS soft updates support.
120 1.19.2.2 skrll options NFSSERVER # Network File System server
121 1.19.2.2 skrll #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
122 1.19.2.2 skrll # immutable) behave as system flags.
123 1.19.2.2 skrll
124 1.19.2.2 skrll # Networking options
125 1.19.2.2 skrll #options GATEWAY # packet forwarding
126 1.19.2.2 skrll options INET # IP + ICMP + TCP + UDP
127 1.19.2.2 skrll options INET6 # IPV6
128 1.19.2.2 skrll #options IPSEC # IP security
129 1.19.2.2 skrll #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
130 1.19.2.2 skrll #options IPSEC_DEBUG # debug for IP security
131 1.19.2.2 skrll #options MROUTING # IP multicast routing
132 1.19.2.3 skrll #options PIM # Protocol Independent Multicast
133 1.19.2.2 skrll options NS # XNS
134 1.19.2.2 skrll #options NSIP # XNS tunneling over IP
135 1.19.2.2 skrll options ISO,TPIP # OSI
136 1.19.2.2 skrll #options EON # OSI tunneling over IP
137 1.19.2.2 skrll options CCITT,LLC,HDLC # X.25
138 1.19.2.2 skrll options NETATALK # AppleTalk networking protocols
139 1.19.2.2 skrll options PPP_BSDCOMP # BSD-Compress compression support for PPP
140 1.19.2.2 skrll options PPP_DEFLATE # Deflate compression support for PPP
141 1.19.2.2 skrll options PPP_FILTER # Active filter support for PPP (requires bpf)
142 1.19.2.2 skrll options PFIL_HOOKS # pfil(9) packet filter hooks
143 1.19.2.2 skrll options IPFILTER_LOG # ipmon(8) log support
144 1.19.2.2 skrll #options IPFILTER_DEFAULT_BLOCK # block all packets by default
145 1.19.2.2 skrll #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
146 1.19.2.2 skrll
147 1.19.2.2 skrll #options ALTQ # Manipulate network interfaces' output queues
148 1.19.2.2 skrll #options ALTQ_BLUE # Stochastic Fair Blue
149 1.19.2.2 skrll #options ALTQ_CBQ # Class-Based Queueing
150 1.19.2.2 skrll #options ALTQ_CDNR # Diffserv Traffic Conditioner
151 1.19.2.2 skrll #options ALTQ_FIFOQ # First-In First-Out Queue
152 1.19.2.2 skrll #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
153 1.19.2.2 skrll #options ALTQ_HFSC # Hierarchical Fair Service Curve
154 1.19.2.2 skrll #options ALTQ_LOCALQ # Local queueing discipline
155 1.19.2.2 skrll #options ALTQ_PRIQ # Priority Queueing
156 1.19.2.2 skrll #options ALTQ_RED # Random Early Detection
157 1.19.2.2 skrll #options ALTQ_RIO # RED with IN/OUT
158 1.19.2.2 skrll #options ALTQ_WFQ # Weighted Fair Queueing
159 1.19.2.2 skrll
160 1.19.2.2 skrll # These options enable verbose messages for several subsystems.
161 1.19.2.2 skrll # Warning, these may compile large string tables into the kernel!
162 1.19.2.2 skrll options MIIVERBOSE # verbose PHY autoconfig messages
163 1.19.2.2 skrll options SCSIVERBOSE # human readable SCSI error messages
164 1.19.2.2 skrll
165 1.19.2.2 skrll options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
166 1.19.2.2 skrll
167 1.19.2.2 skrll #options MEMORY_DISK_HOOKS
168 1.19.2.2 skrll #options MEMORY_DISK_IS_ROOT
169 1.19.2.2 skrll #options MEMORY_DISK_SERVER=0
170 1.19.2.2 skrll #options MINIROOTSIZE=8192
171 1.19.2.2 skrll
172 1.19.2.2 skrll #options SCSI_DELAY=5
173 1.19.2.2 skrll
174 1.19.2.2 skrll #
175 1.19.2.2 skrll # wscons options
176 1.19.2.2 skrll #
177 1.19.2.2 skrll # builtin terminal emulations
178 1.19.2.2 skrll #options WSEMUL_SUN # sun terminal emulation
179 1.19.2.2 skrll options WSEMUL_VT100 # VT100 / VT220 emulation
180 1.19.2.2 skrll # different kernel output - see dev/wscons/wsdisplayvar.h
181 1.19.2.2 skrll options WS_KERNEL_FG=WSCOL_GREEN
182 1.19.2.2 skrll #options WS_KERNEL_BG=WSCOL_BLACK
183 1.19.2.2 skrll # compatibility to other console drivers
184 1.19.2.2 skrll options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
185 1.19.2.2 skrll # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
186 1.19.2.2 skrll #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
187 1.19.2.2 skrll # the following enables some functions to get mouse console support.
188 1.19.2.2 skrll # if you want a really secure system, it may be better not to enable them,
189 1.19.2.2 skrll # see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
190 1.19.2.2 skrll #options WSDISPLAY_CHARFUNCS # mouse console support
191 1.19.2.2 skrll
192 1.19.2.2 skrll
193 1.19.2.2 skrll # Kernel root file system and dump configuration.
194 1.19.2.2 skrll config netbsd root on ? type ?
195 1.19.2.2 skrll
196 1.19.2.2 skrll # Main bus and CPU
197 1.19.2.2 skrll mainbus0 at root
198 1.19.2.2 skrll cpu0 at mainbus?
199 1.19.2.2 skrll
200 1.19.2.2 skrll sd* at scsibus? target ? lun ? # SCSI disks
201 1.19.2.2 skrll st* at scsibus? target ? lun ? # SCSI tapes
202 1.19.2.2 skrll cd* at scsibus? target ? lun ? # SCSI CD-ROMs
203 1.19.2.2 skrll ch* at scsibus? target ? lun ? # SCSI changer devices
204 1.19.2.2 skrll ss* at scsibus? target ? lun ? # SCSI scanners
205 1.19.2.2 skrll ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
206 1.19.2.2 skrll uk* at scsibus? target ? lun ? # unknown SCSI
207 1.19.2.2 skrll
208 1.19.2.6 skrll # Personal Iris / Indigo R3k
209 1.19.2.6 skrll pic0 at mainbus0 addr 0x1fa00000
210 1.19.2.6 skrll gio0 at pic0
211 1.19.2.6 skrll
212 1.19.2.2 skrll # Indy / Indigo^2
213 1.19.2.2 skrll imc0 at mainbus0 addr 0x1fa00000
214 1.19.2.2 skrll gio0 at imc0
215 1.19.2.2 skrll eisa0 at imc0
216 1.19.2.2 skrll int0 at mainbus0 # Interrupt controller
217 1.19.2.2 skrll
218 1.19.2.2 skrll hpc0 at gio? addr 0x1fb80000
219 1.19.2.2 skrll hpc1 at gio? addr 0x1fb00000
220 1.19.2.2 skrll hpc2 at gio? addr 0x1f980000
221 1.19.2.2 skrll
222 1.19.2.2 skrll newport* at gio? slot ?
223 1.19.2.2 skrll wsdisplay* at newport? console ?
224 1.19.2.2 skrll
225 1.19.2.2 skrll grtwo* at gio? slot ?
226 1.19.2.2 skrll wsdisplay* at grtwo? console ?
227 1.19.2.2 skrll
228 1.19.2.2 skrll # HPC devices
229 1.19.2.2 skrll sq* at hpc0 offset ?
230 1.19.2.2 skrll wdsc* at hpc0 offset ?
231 1.19.2.6 skrll dpclock* at hpc0 offset ? # IP12 / IP20
232 1.19.2.6 skrll dsclock* at hpc0 offset ? # IP22 / 24
233 1.19.2.6 skrll haltwo* at hpc0 offset ? # IP22 / 24
234 1.19.2.2 skrll pckbc* at hpc0 offset ?
235 1.19.2.2 skrll
236 1.19.2.2 skrll pckbd* at pckbc?
237 1.19.2.2 skrll pms* at pckbc?
238 1.19.2.2 skrll wskbd* at pckbd? console ?
239 1.19.2.2 skrll wskbd* at zskbd? console ?
240 1.19.2.2 skrll wsmouse* at pms? mux 0
241 1.19.2.2 skrll wsmouse* at zsms? mux 0
242 1.19.2.2 skrll
243 1.19.2.2 skrll # I/O Controller -- IP22/24
244 1.19.2.2 skrll ioc0 at mainbus0 addr 0x1fbd9800
245 1.19.2.2 skrll
246 1.19.2.2 skrll #
247 1.19.2.2 skrll # As always, the zs chip is wired funny, so channel 1 is actually the
248 1.19.2.2 skrll # first serial port and channel 0 is the second.
249 1.19.2.2 skrll #
250 1.19.2.2 skrll zsc0 at hpc0 offset ?
251 1.19.2.2 skrll zstty* at zsc0 channel ?
252 1.19.2.2 skrll
253 1.19.2.2 skrll zsc1 at hpc0 offset ? # IP20 keyboard/mouse
254 1.19.2.2 skrll zskbd0 at zsc1 channel 0
255 1.19.2.2 skrll zsms0 at zsc1 channel 1
256 1.19.2.2 skrll
257 1.19.2.2 skrll scsibus* at scsi? # HPC SCSI
258 1.19.2.2 skrll audio* at audiobus?
259 1.19.2.2 skrll
260 1.19.2.2 skrll # Pseudo-Devices
261 1.19.2.2 skrll
262 1.19.2.2 skrll # disk/mass storage pseudo-devices
263 1.19.2.2 skrll pseudo-device ccd 4 # concatenated/striped disk devices
264 1.19.2.2 skrll #pseudo-device cgd 4 # cryptographic disk devices
265 1.19.2.2 skrll #pseudo-device raid 4 # RAIDframe disk driver
266 1.19.2.2 skrll #options RAID_AUTOCONFIG # auto-configuration of RAID components
267 1.19.2.2 skrll pseudo-device md 1 # memory disk device (ramdisk)
268 1.19.2.2 skrll pseudo-device vnd 4 # disk-like interface to files
269 1.19.2.2 skrll
270 1.19.2.2 skrll # network pseudo-devices
271 1.19.2.2 skrll pseudo-device bpfilter 8 # Berkeley packet filter
272 1.19.2.2 skrll pseudo-device ipfilter # IP filter (firewall) and NAT
273 1.19.2.2 skrll pseudo-device loop # network loopback
274 1.19.2.2 skrll pseudo-device ppp 2 # Point-to-Point Protocol
275 1.19.2.2 skrll pseudo-device sl 2 # Serial Line IP
276 1.19.2.2 skrll pseudo-device strip 2 # Starmode Radio IP (Metricom)
277 1.19.2.2 skrll pseudo-device tun 2 # network tunneling over tty
278 1.19.2.2 skrll pseudo-device gre 2 # generic L3 over IP tunnel
279 1.19.2.2 skrll pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
280 1.19.2.2 skrll #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
281 1.19.2.2 skrll #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
282 1.19.2.2 skrll pseudo-device vlan # IEEE 802.1q encapsulation
283 1.19.2.2 skrll pseudo-device bridge # simple inter-network bridging
284 1.19.2.2 skrll #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
285 1.19.2.7 skrll #pseudo-device pf # PF packet filter
286 1.19.2.7 skrll #pseudo-device pflog # PF log if
287 1.19.2.2 skrll
288 1.19.2.2 skrll # miscellaneous pseudo-devices
289 1.19.2.2 skrll pseudo-device pty # pseudo-terminals
290 1.19.2.2 skrll pseudo-device tb 1 # tablet line discipline
291 1.19.2.2 skrll pseudo-device sequencer 1 # MIDI sequencer
292 1.19.2.2 skrll pseudo-device rnd # /dev/random and in-kernel generator
293 1.19.2.2 skrll pseudo-device clockctl # user control of clock subsystem
294 1.19.2.2 skrll pseudo-device ksyms # /dev/ksyms
295 1.19.2.2 skrll pseudo-device wsmux # mouse & keyboard multiplexor
296 1.19.2.2 skrll pseudo-device wsfont
297 1.19.2.2 skrll
298 1.19.2.2 skrll # a pseudo device needed for Coda # also needs CODA (above)
299 1.19.2.2 skrll pseudo-device vcoda 4 # coda minicache <-> venus comm.
300 1.19.2.2 skrll
301 1.19.2.2 skrll # pseudo devices used for IRIX binary compatibility
302 1.19.2.2 skrll pseudo-device irix_kmem # IRIX /dev/kmem
303 1.19.2.2 skrll pseudo-device irix_usema # IRIX /dev/usema
304