KRUPS revision 1.2.2.3 1 1.2.2.3 jdolecek # $NetBSD: KRUPS,v 1.2.2.3 2002/03/16 15:59:44 jdolecek Exp $
2 1.2.2.3 jdolecek # From: NetBSD: GENERIC,v 1.131 2002/02/10 17:37:02 wiz Exp
3 1.2.2.2 jdolecek #
4 1.2.2.2 jdolecek # Krups (JavaStation 10, aka JavaStation NC) machine description file
5 1.2.2.2 jdolecek #
6 1.2.2.2 jdolecek # XXX: This config is experimental and will not work without some
7 1.2.2.2 jdolecek # additional patches not yet committed to the tree.
8 1.2.2.2 jdolecek
9 1.2.2.2 jdolecek include "arch/sparc/conf/std.sparc"
10 1.2.2.2 jdolecek
11 1.2.2.3 jdolecek #ident "KRUPS-$Revision: 1.2.2.3 $"
12 1.2.2.2 jdolecek
13 1.2.2.2 jdolecek maxusers 32
14 1.2.2.2 jdolecek
15 1.2.2.2 jdolecek ## System kernel configuration. See options(4) for more detail.
16 1.2.2.2 jdolecek
17 1.2.2.2 jdolecek
18 1.2.2.2 jdolecek # Options for variants of the Sun SPARC architecure.
19 1.2.2.2 jdolecek # We currently support three architecture types; at least one is required.
20 1.2.2.2 jdolecek options SUN4M # sun4m - SS10, SS20, Classic, etc.
21 1.2.2.2 jdolecek
22 1.2.2.2 jdolecek # microSPARC-IIep is PCI based sun4m (JavaStation 10, CP1200, etc)
23 1.2.2.2 jdolecek # This option selects if SUN4M means "normal" 4m or IIep. Kernels
24 1.2.2.2 jdolecek # with this option turned on will refuse to work on normal 4m.
25 1.2.2.2 jdolecek options MSIIEP # microSPARC-IIep
26 1.2.2.2 jdolecek
27 1.2.2.2 jdolecek # XXX: uwe: PROM location conflicts with kernel VA space !!!
28 1.2.2.2 jdolecek makeoptions TEXTADDR=E8004000
29 1.2.2.2 jdolecek
30 1.2.2.2 jdolecek
31 1.2.2.2 jdolecek ## System options specific to the sparc machine type
32 1.2.2.2 jdolecek
33 1.2.2.2 jdolecek # XXX: uwe: to do
34 1.2.2.2 jdolecek # Blink the power LED on some machines to indicate the system load.
35 1.2.2.2 jdolecek #options BLINK
36 1.2.2.2 jdolecek
37 1.2.2.2 jdolecek
38 1.2.2.2 jdolecek #### System options that are the same for all ports
39 1.2.2.2 jdolecek
40 1.2.2.2 jdolecek ## Root device configuration: change the ?'s if you are going to use a
41 1.2.2.2 jdolecek ## nonstandard root partition (other than where the kernel is booted from)
42 1.2.2.2 jdolecek ## and/or nonstandard root type (not ffs or nfs). Normally this can be
43 1.2.2.2 jdolecek ## automagically determined at boot time.
44 1.2.2.2 jdolecek
45 1.2.2.2 jdolecek config netbsd root on ? type ?
46 1.2.2.2 jdolecek
47 1.2.2.2 jdolecek ## System call tracing (see ktrace(1)).
48 1.2.2.2 jdolecek options KTRACE
49 1.2.2.2 jdolecek
50 1.2.2.2 jdolecek ## Collect statistics on kernel malloc's and free's. This does have a
51 1.2.2.2 jdolecek ## significant performance hit on slower machines, so it is intended for
52 1.2.2.2 jdolecek ## diagnostic use only.
53 1.2.2.2 jdolecek #options KMEMSTATS
54 1.2.2.2 jdolecek
55 1.2.2.2 jdolecek ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
56 1.2.2.2 jdolecek #options SYSVMSG # System V message queues
57 1.2.2.2 jdolecek #options SYSVSEM # System V semaphores
58 1.2.2.2 jdolecek #options SEMMNI=10 # number of semaphore identifiers
59 1.2.2.2 jdolecek #options SEMMNS=60 # number of semaphores in system
60 1.2.2.2 jdolecek #options SEMUME=10 # max number of undo entries per process
61 1.2.2.2 jdolecek #options SEMMNU=30 # number of undo structures in system
62 1.2.2.2 jdolecek #options SYSVSHM # System V shared memory
63 1.2.2.2 jdolecek #options SHMMAXPGS=1024 # 1024 pages is the default
64 1.2.2.2 jdolecek
65 1.2.2.2 jdolecek ## Loadable kernel module support; still under development.
66 1.2.2.2 jdolecek #options LKM
67 1.2.2.2 jdolecek
68 1.2.2.2 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69 1.2.2.2 jdolecek
70 1.2.2.2 jdolecek ## NFS boot options; default on sparc is the bootparam protocol
71 1.2.2.2 jdolecek options NFS_BOOT_BOOTPARAM
72 1.2.2.2 jdolecek #options NFS_BOOT_BOOTP
73 1.2.2.2 jdolecek #options NFS_BOOT_DHCP
74 1.2.2.2 jdolecek
75 1.2.2.2 jdolecek #### Debugging options
76 1.2.2.2 jdolecek
77 1.2.2.2 jdolecek ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
78 1.2.2.2 jdolecek ## serial console break or keyboard reset, where the PROM would normally
79 1.2.2.2 jdolecek ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
80 1.2.2.2 jdolecek options DDB # kernel dynamic debugger
81 1.2.2.2 jdolecek options DDB_HISTORY_SIZE=100 # enable history editing in DDB
82 1.2.2.2 jdolecek options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
83 1.2.2.2 jdolecek
84 1.2.2.2 jdolecek ## You may also use gdb, on another computer connected to this machine over
85 1.2.2.2 jdolecek ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
86 1.2.2.2 jdolecek ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
87 1.2.2.2 jdolecek ## the minor device number encodes the PROM enumeration of the serial ports,
88 1.2.2.2 jdolecek ## i.e.:
89 1.2.2.2 jdolecek ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
90 1.2.2.2 jdolecek ## (Note: ttyc and ttyd are available only on some sun4 models)
91 1.2.2.2 jdolecek #options KGDB # support for kernel gdb
92 1.2.2.2 jdolecek #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
93 1.2.2.2 jdolecek #options KGDB_DEVRATE=38400 # baud rate
94 1.2.2.2 jdolecek
95 1.2.2.2 jdolecek
96 1.2.2.2 jdolecek ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
97 1.2.2.2 jdolecek ## such that gdb(1) can be used on a kernel coredump.
98 1.2.2.2 jdolecek
99 1.2.2.2 jdolecek #makeoptions DEBUG="-g"
100 1.2.2.2 jdolecek makeoptions COPTS="-pipe -mv8 -O2"
101 1.2.2.2 jdolecek
102 1.2.2.2 jdolecek
103 1.2.2.2 jdolecek ## Adds code to the kernel that does internal consistency checks, and will
104 1.2.2.2 jdolecek ## cause the kernel to panic if corruption of internal data structures
105 1.2.2.2 jdolecek ## is detected.
106 1.2.2.2 jdolecek options DIAGNOSTIC # extra kernel sanity checking
107 1.2.2.2 jdolecek
108 1.2.2.2 jdolecek ## Enable (possibly expensive) debugging code that may also display messages
109 1.2.2.2 jdolecek ## on the system console
110 1.2.2.2 jdolecek #options DEBUG
111 1.2.2.2 jdolecek
112 1.2.2.2 jdolecek options MIIVERBOSE # verbose PHY autoconfig messages
113 1.2.2.2 jdolecek
114 1.2.2.2 jdolecek ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
115 1.2.2.2 jdolecek ## This allows writing to /dev/mem, loading kernel modules while multi-user,
116 1.2.2.2 jdolecek ## and other insecurities good only for development work. Do not use this
117 1.2.2.2 jdolecek ## option on a production machine.
118 1.2.2.2 jdolecek #options INSECURE
119 1.2.2.2 jdolecek
120 1.2.2.2 jdolecek ## Allow non-root users to grab /dev/console with programs such as xconsole.
121 1.2.2.2 jdolecek ## `xconsole' therefore does not need setuid root with this option enabled.
122 1.2.2.2 jdolecek #options UCONSOLE
123 1.2.2.2 jdolecek
124 1.2.2.2 jdolecek ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
125 1.2.2.2 jdolecek ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
126 1.2.2.2 jdolecek ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
127 1.2.2.2 jdolecek ## opaque file mechanism. Perl calls this "secure setuid scripts."
128 1.2.2.2 jdolecek
129 1.2.2.2 jdolecek #options FDSCRIPTS
130 1.2.2.2 jdolecek #options SETUIDSCRIPTS
131 1.2.2.2 jdolecek
132 1.2.2.2 jdolecek ## Options for compatibility with previous releases foreign system binaries.
133 1.2.2.2 jdolecek ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
134 1.2.2.2 jdolecek ## additional user-level utilities or system configuration files. See
135 1.2.2.2 jdolecek ## compat_sunos(8) and compat_svr4(8).
136 1.2.2.2 jdolecek
137 1.2.2.2 jdolecek options COMPAT_43 # 4.3BSD system interfaces
138 1.2.2.2 jdolecek #options COMPAT_10 # NetBSD 1.0 binary compatibility
139 1.2.2.2 jdolecek #options COMPAT_11 # NetBSD 1.1 binary compatibility
140 1.2.2.2 jdolecek #options COMPAT_12 # NetBSD 1.2 binary compatibility
141 1.2.2.2 jdolecek #options COMPAT_13 # NetBSD 1.3 binary compatibility
142 1.2.2.2 jdolecek #options COMPAT_14 # NetBSD 1.4 binary compatibility
143 1.2.2.2 jdolecek #options COMPAT_SUNOS # SunOS 4.x binary compatibility
144 1.2.2.2 jdolecek #options COMPAT_SVR4 # SunOS 5.x binary compatibility
145 1.2.2.2 jdolecek
146 1.2.2.2 jdolecek ## File systems. You probably need at least one of FFS or NFS.
147 1.2.2.2 jdolecek #file-system FFS # Berkeley Fast Filesystem
148 1.2.2.2 jdolecek file-system NFS # Sun NFS-compatible filesystem client
149 1.2.2.2 jdolecek file-system KERNFS # kernel data-structure filesystem
150 1.2.2.2 jdolecek #file-system NULLFS # NULL layered filesystem
151 1.2.2.2 jdolecek #file-system OVERLAY # overlay file system
152 1.2.2.2 jdolecek #file-system MFS # memory-based filesystem
153 1.2.2.2 jdolecek #file-system FDESC # user file descriptor filesystem
154 1.2.2.2 jdolecek #file-system UMAPFS # uid/gid remapping filesystem
155 1.2.2.2 jdolecek #file-system LFS # Log-based filesystem (still experimental)
156 1.2.2.2 jdolecek #file-system PORTAL # portal filesystem (still experimental)
157 1.2.2.2 jdolecek file-system PROCFS # /proc
158 1.2.2.2 jdolecek #file-system CD9660 # ISO 9660 + Rock Ridge file system
159 1.2.2.2 jdolecek #file-system UNION # union file system
160 1.2.2.2 jdolecek #file-system MSDOSFS # MS-DOS FAT filesystem(s).
161 1.2.2.2 jdolecek #file-system CODA # Coda File System; also needs vcoda (below)
162 1.2.2.2 jdolecek
163 1.2.2.2 jdolecek ## File system options.
164 1.2.2.2 jdolecek #options NFSSERVER # Sun NFS-compatible filesystem server
165 1.2.2.2 jdolecek #options QUOTA # FFS quotas
166 1.2.2.2 jdolecek #options FFS_EI # FFS Endian Independent support
167 1.2.2.2 jdolecek #options SOFTDEP # FFS soft updates support.
168 1.2.2.2 jdolecek
169 1.2.2.2 jdolecek ## Network protocol support. In most environments, INET is required.
170 1.2.2.2 jdolecek options INET # IP (Internet Protocol) v4
171 1.2.2.2 jdolecek #options INET6 # IPV6
172 1.2.2.2 jdolecek #options IPSEC # IP security
173 1.2.2.2 jdolecek #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
174 1.2.2.2 jdolecek #options IPSEC_DEBUG # debug for IP security
175 1.2.2.2 jdolecek #options GATEWAY # packet forwarding ("router switch")
176 1.2.2.2 jdolecek #options MROUTING # packet forwarding of multicast packets
177 1.2.2.2 jdolecek #options DIRECTED_BROADCAST # allow broadcasts through routers
178 1.2.2.2 jdolecek #options NS # Xerox NS networking
179 1.2.2.2 jdolecek #options NSIP # Xerox NS tunneling over IP
180 1.2.2.2 jdolecek #options ISO,TPIP # OSI networking
181 1.2.2.2 jdolecek #options EON # OSI tunneling over IP
182 1.2.2.2 jdolecek #options CCITT,LLC,HDLC # X.25 packet switched protocol
183 1.2.2.2 jdolecek #options NETATALK # AppleTalk (over Ethernet) protocol
184 1.2.2.2 jdolecek #options NTP # Network Time Protocol in-kernel support
185 1.2.2.2 jdolecek #options PPS_SYNC # Add serial line synchronization for NTP
186 1.2.2.2 jdolecek #options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
187 1.2.2.2 jdolecek #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
188 1.2.2.2 jdolecek #options PPP_BSDCOMP # Add BSD compression to ppp device
189 1.2.2.2 jdolecek #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
190 1.2.2.2 jdolecek #options PPP_FILTER # Add active filters for ppp (via bpf)
191 1.2.2.2 jdolecek
192 1.2.2.2 jdolecek
193 1.2.2.2 jdolecek
194 1.2.2.2 jdolecek #### Main bus and CPU .. all systems.
195 1.2.2.2 jdolecek mainbus0 at root
196 1.2.2.2 jdolecek cpu0 at mainbus0
197 1.2.2.2 jdolecek
198 1.2.2.2 jdolecek #### Bus types found on SPARC systems.
199 1.2.2.2 jdolecek
200 1.2.2.2 jdolecek msiiep0 at mainbus0 # microSPARC-IIep PCIC, timer, ...
201 1.2.2.2 jdolecek
202 1.2.2.2 jdolecek pci0 at msiiep0
203 1.2.2.2 jdolecek options PCIVERBOSE
204 1.2.2.2 jdolecek #options PCI_CONFIG_DUMP # hangs reading IGA1682 config past offset 64
205 1.2.2.2 jdolecek
206 1.2.2.2 jdolecek ebus0 at pci0 # ebus devices
207 1.2.2.2 jdolecek
208 1.2.2.2 jdolecek
209 1.2.2.2 jdolecek #### Standard system devices -- all required for a given architecture
210 1.2.2.2 jdolecek
211 1.2.2.2 jdolecek # timer is part of ms-IIep PCIC
212 1.2.2.2 jdolecek
213 1.2.2.2 jdolecek ## ds1287 TOD clock at EBus
214 1.2.2.2 jdolecek rtc0 at ebus0
215 1.2.2.2 jdolecek
216 1.2.2.2 jdolecek #### Serial port configuration
217 1.2.2.2 jdolecek
218 1.2.2.2 jdolecek # XXX: uwe: needs a work-around applied to comstart()
219 1.2.2.2 jdolecek ## NS16x50 serial chips and clones.
220 1.2.2.2 jdolecek com* at ebus0
221 1.2.2.2 jdolecek
222 1.2.2.2 jdolecek
223 1.2.2.2 jdolecek #### Disk controllers and disks
224 1.2.2.2 jdolecek
225 1.2.2.2 jdolecek ## A disk-like interface to files. Can be used to create floppy, CD,
226 1.2.2.2 jdolecek ## miniroot images, etc.
227 1.2.2.2 jdolecek
228 1.2.2.2 jdolecek #pseudo-device vnd 4
229 1.2.2.2 jdolecek
230 1.2.2.2 jdolecek ## Memory disk device, used on boot floppies with compressed
231 1.2.2.2 jdolecek ## kernel-plus-root-disk images.
232 1.2.2.2 jdolecek
233 1.2.2.2 jdolecek #pseudo-device md 1
234 1.2.2.2 jdolecek
235 1.2.2.2 jdolecek
236 1.2.2.2 jdolecek #### Network interfaces
237 1.2.2.2 jdolecek
238 1.2.2.2 jdolecek ## Happy Meal Ethernet
239 1.2.2.2 jdolecek hme* at pci? dev ? function ? # network "hme" compatible
240 1.2.2.2 jdolecek
241 1.2.2.2 jdolecek # MII/PHY support
242 1.2.2.2 jdolecek qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
243 1.2.2.2 jdolecek
244 1.2.2.2 jdolecek ## Loopback network interface; required
245 1.2.2.2 jdolecek pseudo-device loop
246 1.2.2.2 jdolecek
247 1.2.2.2 jdolecek ## SLIP and CSLIP interfaces, for IP over a serial line.
248 1.2.2.2 jdolecek #pseudo-device sl 2
249 1.2.2.2 jdolecek
250 1.2.2.2 jdolecek ## PPP, the successor to SLIP. See pppd(8).
251 1.2.2.2 jdolecek #pseudo-device ppp 2
252 1.2.2.2 jdolecek
253 1.2.2.2 jdolecek ## PPP over Ethernet (RFC 2516)
254 1.2.2.2 jdolecek #pseudo-device pppoe
255 1.2.2.2 jdolecek
256 1.2.2.2 jdolecek ## Network "tunnel" device, allowing protocol stacks to run in the userland.
257 1.2.2.2 jdolecek ## This is used by the third-party user-mode "ppp" program, and others.
258 1.2.2.2 jdolecek #pseudo-device tun 4
259 1.2.2.2 jdolecek
260 1.2.2.2 jdolecek ## Generic L3 over IP tunnel
261 1.2.2.2 jdolecek #pseudo-device gre 2 # generic L3 over IP tunnel
262 1.2.2.2 jdolecek
263 1.2.2.2 jdolecek ## Berkeley Packet Filter, required to run RARPD. A generic C-language
264 1.2.2.2 jdolecek ## interface that allows selective examining of incoming packets.
265 1.2.2.2 jdolecek pseudo-device bpfilter 8
266 1.2.2.2 jdolecek
267 1.2.2.2 jdolecek ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
268 1.2.2.2 jdolecek ## one example of the use of the IP Filter.
269 1.2.2.2 jdolecek #pseudo-device ipfilter
270 1.2.2.2 jdolecek
271 1.2.2.2 jdolecek ## for IPv6
272 1.2.2.2 jdolecek #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
273 1.2.2.2 jdolecek #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
274 1.2.2.2 jdolecek #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
275 1.2.2.2 jdolecek
276 1.2.2.2 jdolecek ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
277 1.2.2.2 jdolecek #pseudo-device vlan
278 1.2.2.2 jdolecek
279 1.2.2.2 jdolecek #### Audio and video devices
280 1.2.2.2 jdolecek
281 1.2.2.2 jdolecek ## /dev/audio support
282 1.2.2.3 jdolecek audiocs0 at ebus? # SUNW,CS4231
283 1.2.2.3 jdolecek audio* at audiocs0
284 1.2.2.2 jdolecek
285 1.2.2.2 jdolecek
286 1.2.2.2 jdolecek #### Other device configuration
287 1.2.2.2 jdolecek
288 1.2.2.2 jdolecek ## Pseudo ttys, required for network logins and programs like screen.
289 1.2.2.2 jdolecek
290 1.2.2.2 jdolecek pseudo-device pty # pseudo-terminals
291 1.2.2.2 jdolecek
292 1.2.2.2 jdolecek ## Random device, used to implement /dev/random (a source of random noise),
293 1.2.2.2 jdolecek ## and generate randomness for some kernel formulae.
294 1.2.2.2 jdolecek
295 1.2.2.2 jdolecek pseudo-device rnd
296 1.2.2.2 jdolecek
297 1.2.2.2 jdolecek # a pseudo device needed for Coda # also needs CODA (above)
298 1.2.2.2 jdolecek #pseudo-device vcoda 4 # coda minicache <-> venus comm.
299