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