TADPOLE3GX revision 1.9.8.5 1 1.9.8.5 nathanw # $NetBSD: TADPOLE3GX,v 1.9.8.5 2002/06/20 03:41:03 nathanw Exp $
2 1.9.8.2 nathanw
3 1.9.8.2 nathanw include "arch/sparc/conf/std.sparc"
4 1.9.8.2 nathanw
5 1.9.8.5 nathanw #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6 1.9.8.5 nathanw
7 1.9.8.2 nathanw maxusers 32
8 1.9.8.2 nathanw
9 1.9.8.2 nathanw ## System kernel configuration. See options(4) for more detail.
10 1.9.8.2 nathanw
11 1.9.8.2 nathanw
12 1.9.8.2 nathanw # Options for variants of the Sun SPARC architecure.
13 1.9.8.2 nathanw # We currently support three architecture types; at least one is required.
14 1.9.8.2 nathanw options SUN4M # sun4m - SS10, SS20, Classic, etc.
15 1.9.8.2 nathanw
16 1.9.8.2 nathanw ## System options specific to the sparc machine type
17 1.9.8.2 nathanw
18 1.9.8.2 nathanw # Blink the power LED on some machines to indicate the system load.
19 1.9.8.2 nathanw #options BLINK
20 1.9.8.2 nathanw
21 1.9.8.2 nathanw ## Use a faster console than the PROM's slow drawing routines. Not needed
22 1.9.8.2 nathanw ## for headless (no framebuffer) machines.
23 1.9.8.2 nathanw options RASTERCONSOLE # fast rasterop console
24 1.9.8.2 nathanw #options FONT_GALLANT12x22 # the console font
25 1.9.8.2 nathanw options FONT_BOLD8x16 # a somewhat smaller font
26 1.9.8.2 nathanw options RASTERCONSOLE_FGCOL=WSCOL_BLACK
27 1.9.8.2 nathanw options RASTERCONSOLE_BGCOL=WSCOL_WHITE
28 1.9.8.2 nathanw
29 1.9.8.2 nathanw #### System options that are the same for all ports
30 1.9.8.2 nathanw
31 1.9.8.2 nathanw ## Root device configuration: change the ?'s if you are going to use a
32 1.9.8.2 nathanw ## nonstandard root partition (other than where the kernel is booted from)
33 1.9.8.2 nathanw ## and/or nonstandard root type (not ffs or nfs). Normally this can be
34 1.9.8.2 nathanw ## automagically determined at boot time.
35 1.9.8.2 nathanw
36 1.9.8.2 nathanw config netbsd root on ? type ?
37 1.9.8.2 nathanw
38 1.9.8.2 nathanw ## System call tracing (see ktrace(1)).
39 1.9.8.2 nathanw options KTRACE
40 1.9.8.2 nathanw
41 1.9.8.2 nathanw ## Collect statistics on kernel malloc's and free's. This does have a
42 1.9.8.2 nathanw ## significant performance hit on slower machines, so it is intended for
43 1.9.8.2 nathanw ## diagnostic use only.
44 1.9.8.2 nathanw #options KMEMSTATS
45 1.9.8.2 nathanw
46 1.9.8.2 nathanw ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
47 1.9.8.2 nathanw options SYSVMSG # System V message queues
48 1.9.8.2 nathanw options SYSVSEM # System V semaphores
49 1.9.8.2 nathanw options SYSVSHM # System V shared memory
50 1.9.8.2 nathanw #options SHMMAXPGS=1024 # 1024 pages is the default
51 1.9.8.2 nathanw
52 1.9.8.2 nathanw ## Loadable kernel module support; still under development.
53 1.9.8.2 nathanw options LKM
54 1.9.8.2 nathanw
55 1.9.8.4 nathanw #options USERCONF # userconf(4) support
56 1.9.8.3 nathanw #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
57 1.9.8.3 nathanw
58 1.9.8.5 nathanw ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
59 1.9.8.2 nathanw options NFS_BOOT_BOOTPARAM
60 1.9.8.2 nathanw #options NFS_BOOT_BOOTP
61 1.9.8.5 nathanw options NFS_BOOT_DHCP
62 1.9.8.2 nathanw
63 1.9.8.2 nathanw #### Debugging options
64 1.9.8.2 nathanw
65 1.9.8.2 nathanw ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
66 1.9.8.2 nathanw ## serial console break or keyboard reset, where the PROM would normally
67 1.9.8.2 nathanw ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
68 1.9.8.2 nathanw #options DDB # kernel dynamic debugger
69 1.9.8.2 nathanw #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
70 1.9.8.2 nathanw #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
71 1.9.8.2 nathanw
72 1.9.8.2 nathanw ## You may also use gdb, on another computer connected to this machine over
73 1.9.8.2 nathanw ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
74 1.9.8.2 nathanw ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
75 1.9.8.2 nathanw ## (0xc01 = ttya, 0xc02 = ttyb.)
76 1.9.8.2 nathanw #options KGDB # support for kernel gdb
77 1.9.8.2 nathanw #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
78 1.9.8.2 nathanw #options KGDB_DEVRATE=38400 # baud rate
79 1.9.8.2 nathanw
80 1.9.8.2 nathanw
81 1.9.8.2 nathanw ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
82 1.9.8.2 nathanw ## such that gdb(1) can be used on a kernel coredump.
83 1.9.8.2 nathanw
84 1.9.8.2 nathanw makeoptions DEBUG="-g"
85 1.9.8.2 nathanw
86 1.9.8.2 nathanw
87 1.9.8.2 nathanw ## Adds code to the kernel that does internal consistency checks, and will
88 1.9.8.2 nathanw ## cause the kernel to panic if corruption of internal data structures
89 1.9.8.2 nathanw ## is detected.
90 1.9.8.2 nathanw #options DIAGNOSTIC # extra kernel sanity checking
91 1.9.8.2 nathanw
92 1.9.8.2 nathanw ## Enable (possibly expensive) debugging code that may also display messages
93 1.9.8.2 nathanw ## on the system console
94 1.9.8.2 nathanw #options DEBUG
95 1.9.8.2 nathanw
96 1.9.8.2 nathanw ## Make SCSI error messages more verbose when explaining their meanings.
97 1.9.8.2 nathanw options SCSIVERBOSE
98 1.9.8.2 nathanw
99 1.9.8.2 nathanw ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
100 1.9.8.2 nathanw ## This allows writing to /dev/mem, loading kernel modules while multi-user,
101 1.9.8.2 nathanw ## and other insecurities good only for development work. Do not use this
102 1.9.8.2 nathanw ## option on a production machine.
103 1.9.8.2 nathanw options INSECURE
104 1.9.8.2 nathanw
105 1.9.8.2 nathanw ## Allow non-root users to grab /dev/console with programs such as xconsole.
106 1.9.8.2 nathanw ## `xconsole' therefore does not need setuid root with this option enabled.
107 1.9.8.2 nathanw #options UCONSOLE
108 1.9.8.2 nathanw
109 1.9.8.2 nathanw ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
110 1.9.8.2 nathanw ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
111 1.9.8.2 nathanw ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
112 1.9.8.2 nathanw ## opaque file mechanism. Perl calls this "secure setuid scripts."
113 1.9.8.2 nathanw
114 1.9.8.2 nathanw #options FDSCRIPTS
115 1.9.8.2 nathanw #options SETUIDSCRIPTS
116 1.9.8.2 nathanw
117 1.9.8.2 nathanw ## Options for compatibility with previous releases foreign system binaries.
118 1.9.8.2 nathanw ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
119 1.9.8.2 nathanw ## additional user-level utilities or system configuration files. See
120 1.9.8.2 nathanw ## compat_sunos(8) and compat_svr4(8).
121 1.9.8.2 nathanw
122 1.9.8.2 nathanw options COMPAT_43 # 4.3BSD system interfaces
123 1.9.8.2 nathanw options COMPAT_10 # NetBSD 1.0 binary compatibility
124 1.9.8.2 nathanw options COMPAT_11 # NetBSD 1.1 binary compatibility
125 1.9.8.2 nathanw options COMPAT_12 # NetBSD 1.2 binary compatibility
126 1.9.8.2 nathanw options COMPAT_13 # NetBSD 1.3 binary compatibility
127 1.9.8.2 nathanw options COMPAT_14 # NetBSD 1.4 binary compatibility
128 1.9.8.2 nathanw options COMPAT_SUNOS # SunOS 4.x binary compatibility
129 1.9.8.2 nathanw options COMPAT_SVR4 # SunOS 5.x binary compatibility
130 1.9.8.2 nathanw #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
131 1.9.8.2 nathanw
132 1.9.8.2 nathanw ## File systems. You probably need at least one of FFS or NFS.
133 1.9.8.2 nathanw file-system FFS # Berkeley Fast Filesystem
134 1.9.8.2 nathanw file-system NFS # Sun NFS-compatible filesystem client
135 1.9.8.2 nathanw file-system KERNFS # kernel data-structure filesystem
136 1.9.8.2 nathanw #file-system NULLFS # NULL layered filesystem
137 1.9.8.2 nathanw file-system MFS # memory-based filesystem
138 1.9.8.2 nathanw #file-system FDESC # user file descriptor filesystem
139 1.9.8.2 nathanw #file-system UMAPFS # uid/gid remapping filesystem
140 1.9.8.2 nathanw #file-system LFS # Log-based filesystem (still experimental)
141 1.9.8.2 nathanw #file-system PORTAL # portal filesystem (still experimental)
142 1.9.8.2 nathanw file-system PROCFS # /proc
143 1.9.8.2 nathanw file-system CD9660 # ISO 9660 + Rock Ridge file system
144 1.9.8.2 nathanw #file-system UNION # union file system
145 1.9.8.2 nathanw file-system MSDOSFS # MS-DOS FAT filesystem(s).
146 1.9.8.2 nathanw
147 1.9.8.2 nathanw ## File system options.
148 1.9.8.2 nathanw options NFSSERVER # Sun NFS-compatible filesystem server
149 1.9.8.2 nathanw options QUOTA # FFS quotas
150 1.9.8.2 nathanw #options FFS_EI # FFS Endian Independent support
151 1.9.8.2 nathanw
152 1.9.8.2 nathanw ## Network protocol support. In most environments, INET is required.
153 1.9.8.2 nathanw options INET # IP (Internet Protocol) v4
154 1.9.8.2 nathanw #options GATEWAY # packet forwarding ("router switch")
155 1.9.8.2 nathanw #options MROUTING # packet forwarding of multicast packets
156 1.9.8.2 nathanw #options DIRECTED_BROADCAST # allow broadcasts through routers
157 1.9.8.2 nathanw #options NS # Xerox NS networking
158 1.9.8.2 nathanw #options NSIP # Xerox NS tunneling over IP
159 1.9.8.2 nathanw #options ISO,TPIP # OSI networking
160 1.9.8.2 nathanw #options EON # OSI tunneling over IP
161 1.9.8.2 nathanw #options CCITT,LLC,HDLC # X.25 packet switched protocol
162 1.9.8.2 nathanw #options NETATALK # AppleTalk (over Ethernet) protocol
163 1.9.8.2 nathanw options NTP # Network Time Protocol in-kernel support
164 1.9.8.2 nathanw #options PPS_SYNC # Add serial line synchronization for NTP
165 1.9.8.2 nathanw options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
166 1.9.8.2 nathanw options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
167 1.9.8.2 nathanw options PPP_BSDCOMP # Add BSD compression to ppp device
168 1.9.8.2 nathanw options PPP_DEFLATE # Add deflate (libz) compression to ppp device
169 1.9.8.2 nathanw options PPP_FILTER # Add active filters for ppp (via bpf)
170 1.9.8.2 nathanw #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
171 1.9.8.2 nathanw
172 1.9.8.2 nathanw
173 1.9.8.2 nathanw #### Main bus and CPU .. all systems.
174 1.9.8.2 nathanw mainbus0 at root
175 1.9.8.2 nathanw cpu0 at mainbus0
176 1.9.8.2 nathanw
177 1.9.8.2 nathanw #### Bus types found on SPARC systems.
178 1.9.8.2 nathanw
179 1.9.8.2 nathanw obio0 at mainbus0 # sun4 and sun4m
180 1.9.8.2 nathanw iommu0 at mainbus0 # sun4m
181 1.9.8.2 nathanw sbus0 at iommu0 # sun4m
182 1.9.8.2 nathanw
183 1.9.8.2 nathanw ## SBus to PCMCIA bridge
184 1.9.8.2 nathanw #tpcic* at sbus? slot ? offset ? # PCMCIA bridge (tadpole 3gx)
185 1.9.8.2 nathanw #pcmcia* at tpcic?
186 1.9.8.2 nathanw
187 1.9.8.2 nathanw #### Standard system devices -- all required for a given architecture
188 1.9.8.2 nathanw
189 1.9.8.2 nathanw ## Auxiliary system registers on sun4c and sun4m
190 1.9.8.2 nathanw auxreg0 at obio0 # sun4m
191 1.9.8.2 nathanw
192 1.9.8.2 nathanw ## Additional auxiliary system registers on Sparcbook
193 1.9.8.2 nathanw auxiotwo0 at obio0 # sun4m
194 1.9.8.2 nathanw
195 1.9.8.2 nathanw ## Mostek clock found on 4/300, sun4c, and sun4m systems.
196 1.9.8.2 nathanw ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
197 1.9.8.2 nathanw clock0 at obio0 # sun4m
198 1.9.8.2 nathanw
199 1.9.8.2 nathanw ## Timer chip found on 4/300, sun4c, and sun4m systems.
200 1.9.8.2 nathanw timer0 at obio0 # sun4m
201 1.9.8.2 nathanw
202 1.9.8.2 nathanw #### Serial port configuration
203 1.9.8.2 nathanw
204 1.9.8.2 nathanw ## Zilog 8530 serial chips. Each has two-channels.
205 1.9.8.2 nathanw ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
206 1.9.8.2 nathanw zs0 at obio0 # sun4m
207 1.9.8.2 nathanw zstty0 at zs0 channel 0 # ttya
208 1.9.8.2 nathanw zstty1 at zs0 channel 1 # ttyb
209 1.9.8.2 nathanw
210 1.9.8.2 nathanw zs1 at obio0 # sun4m
211 1.9.8.2 nathanw kbd0 at zs1 channel 0 # keyboard
212 1.9.8.2 nathanw ms0 at zs1 channel 1 # mouse
213 1.9.8.2 nathanw zstty* at zs? channel ? # mouse
214 1.9.8.2 nathanw
215 1.9.8.2 nathanw ## Tadpole 3GX/3XL have a builtin modem that emulates a NS16450.
216 1.9.8.2 nathanw com* at obio0 # sun4m (tadpole)
217 1.9.8.2 nathanw
218 1.9.8.2 nathanw ## PCMCIA serial interfaces
219 1.9.8.2 nathanw #com* at pcmcia?
220 1.9.8.2 nathanw #pcmcom* at pcmcia?
221 1.9.8.2 nathanw #com* at pcmcom?
222 1.9.8.2 nathanw
223 1.9.8.2 nathanw #### Disk controllers and disks
224 1.9.8.2 nathanw
225 1.9.8.2 nathanw #
226 1.9.8.2 nathanw
227 1.9.8.2 nathanw ## The following flags may be set for the NCR53c94 based esp driver:
228 1.9.8.2 nathanw ## bits 0-7: disable disconnect/reselect for the corresponding target
229 1.9.8.2 nathanw ## bits 8-15: disable synchronous negotiation for target [bit-8]
230 1.9.8.2 nathanw
231 1.9.8.2 nathanw ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
232 1.9.8.2 nathanw ## Both `dma' and `esp' are needed in all cases.
233 1.9.8.2 nathanw ## Two kinds of additional SBus SCSI interfaces are available. One uses
234 1.9.8.2 nathanw ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
235 1.9.8.2 nathanw
236 1.9.8.2 nathanw ## sun4/300 SCSI - an NCR53c94 or equivalent behind
237 1.9.8.2 nathanw ## an LSI Logic DMA controller
238 1.9.8.2 nathanw
239 1.9.8.2 nathanw dma0 at sbus0 slot ? offset ? # sun4c/sun4m
240 1.9.8.2 nathanw esp0 at dma0 flags 0x0000 # sun4m
241 1.9.8.2 nathanw
242 1.9.8.2 nathanw scsibus* at esp?
243 1.9.8.2 nathanw
244 1.9.8.2 nathanw ## PCMCIA SCSI controllers
245 1.9.8.2 nathanw #aic* at pcmcia?
246 1.9.8.2 nathanw #scsibus* at aic?
247 1.9.8.2 nathanw
248 1.9.8.2 nathanw ## These entries find devices on all SCSI busses and assign
249 1.9.8.2 nathanw ## unit numbers dynamically.
250 1.9.8.2 nathanw sd* at scsibus? target ? lun ? # SCSI disks
251 1.9.8.2 nathanw st* at scsibus? target ? lun ? # SCSI tapes
252 1.9.8.2 nathanw cd* at scsibus? target ? lun ? # SCSI CD-ROMs
253 1.9.8.2 nathanw ch* at scsibus? target ? lun ? # SCSI changer devices
254 1.9.8.2 nathanw ss* at scsibus? target ? lun ? # SCSI scanners
255 1.9.8.2 nathanw uk* at scsibus? target ? lun ? # unknown SCSI
256 1.9.8.2 nathanw
257 1.9.8.2 nathanw ## PCMCIA IDE controllers
258 1.9.8.2 nathanw #wdc* at pcmcia?
259 1.9.8.2 nathanw #wd* at wdc?
260 1.9.8.2 nathanw
261 1.9.8.2 nathanw ## A disk-like interface to files. Can be used to create floppy, CD,
262 1.9.8.2 nathanw ## miniroot images, etc.
263 1.9.8.2 nathanw
264 1.9.8.2 nathanw pseudo-device vnd 4
265 1.9.8.2 nathanw
266 1.9.8.2 nathanw ## Memory disk device, used on boot floppies with compressed
267 1.9.8.2 nathanw ## kernel-plus-root-disk images.
268 1.9.8.2 nathanw
269 1.9.8.2 nathanw #pseudo-device md 1
270 1.9.8.2 nathanw
271 1.9.8.2 nathanw
272 1.9.8.2 nathanw #### Network interfaces
273 1.9.8.2 nathanw
274 1.9.8.2 nathanw ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
275 1.9.8.2 nathanw ## Three flavors of additional SBus ethernets are available. One attaches
276 1.9.8.2 nathanw ## directly like the sun4c on-board, one uses the ledma device like the
277 1.9.8.2 nathanw ## sun4m on-board, and one uses the lebuffer device.
278 1.9.8.2 nathanw
279 1.9.8.2 nathanw ledma0 at sbus0 slot ? offset ? # sun4m on-board
280 1.9.8.2 nathanw le0 at ledma0 # sun4m on-board
281 1.9.8.2 nathanw
282 1.9.8.2 nathanw # PCMCIA ethernet devices
283 1.9.8.2 nathanw #ep* at pcmcia?
284 1.9.8.2 nathanw #mbe* at pcmcia?
285 1.9.8.2 nathanw #ne* at pcmcia?
286 1.9.8.2 nathanw #sm* at pcmcia?
287 1.9.8.2 nathanw
288 1.9.8.2 nathanw ## Loopback network interface; required
289 1.9.8.2 nathanw pseudo-device loop
290 1.9.8.2 nathanw
291 1.9.8.2 nathanw ## PPP, the successor to SLIP. See pppd(8).
292 1.9.8.2 nathanw pseudo-device ppp 2
293 1.9.8.2 nathanw
294 1.9.8.2 nathanw ## Network "tunnel" device, allowing protocol stacks to run in the userland.
295 1.9.8.2 nathanw ## This is used by the third-party user-mode "ppp" program, and others.
296 1.9.8.2 nathanw pseudo-device tun 4
297 1.9.8.2 nathanw
298 1.9.8.2 nathanw ## Generic L3 over IP tunnel
299 1.9.8.2 nathanw #pseudo-device gre 2 # generic L3 over IP tunnel
300 1.9.8.2 nathanw
301 1.9.8.2 nathanw ## Berkeley Packet Filter, required to run RARPD. A generic C-language
302 1.9.8.2 nathanw ## interface that allows selective examining of incoming packets.
303 1.9.8.2 nathanw pseudo-device bpfilter 16
304 1.9.8.2 nathanw
305 1.9.8.2 nathanw ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
306 1.9.8.2 nathanw ## one example of the use of the IP Filter.
307 1.9.8.2 nathanw pseudo-device ipfilter
308 1.9.8.2 nathanw
309 1.9.8.2 nathanw
310 1.9.8.2 nathanw #### Audio and video devices
311 1.9.8.2 nathanw
312 1.9.8.2 nathanw ## /dev/audio support (`audioamd' plus `audio')
313 1.9.8.2 nathanw ##
314 1.9.8.2 nathanw # The Tadpole 3GX audio is accessed through the ISDN chip which
315 1.9.8.2 nathanw # is not currently supported.
316 1.9.8.2 nathanw
317 1.9.8.2 nathanw # Tadpole 3GX/3GS (P9100 -- P Nine One Zero Zero -> pnozz)
318 1.9.8.2 nathanw pnozz0 at sbus? slot ? offset ?
319 1.9.8.2 nathanw
320 1.9.8.2 nathanw #### Other device configuration
321 1.9.8.2 nathanw
322 1.9.8.2 nathanw # Tadpole microcontroller
323 1.9.8.2 nathanw tctrl0 at obio0
324 1.9.8.2 nathanw
325 1.9.8.2 nathanw ## Pseudo ttys, required for network logins and programs like screen.
326 1.9.8.2 nathanw
327 1.9.8.2 nathanw pseudo-device pty # pseudo-ttys (for network, etc.)
328 1.9.8.2 nathanw
329 1.9.8.2 nathanw ## Random device, used to implement /dev/random (a source of random noise),
330 1.9.8.2 nathanw ## and generate randomness for some kernel formulae.
331 1.9.8.2 nathanw
332 1.9.8.2 nathanw pseudo-device rnd
333 1.9.8.5 nathanw
334 1.9.8.5 nathanw pseudo-device clockctl # user control of clock subsystem
335