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