1 1.83 andvar # $NetBSD: KRUPS,v 1.83 2025/02/24 21:32:26 andvar Exp $ 2 1.82 uwe # From NetBSD: GENERIC,v 1.273 2023/02/12 14:50:41 abs Exp 3 1.1 uwe # 4 1.12 uwe # Krups (JavaStation-NC) machine description file 5 1.1 uwe # 6 1.1 uwe 7 1.1 uwe include "arch/sparc/conf/std.sparc" 8 1.1 uwe 9 1.17 uwe options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10 1.7 atatat 11 1.83 andvar #ident "KRUPS-$Revision: 1.83 $" 12 1.1 uwe 13 1.1 uwe maxusers 32 14 1.1 uwe 15 1.1 uwe ## System kernel configuration. See options(4) for more detail. 16 1.1 uwe 17 1.1 uwe 18 1.83 andvar # Options for variants of the Sun SPARC architecture. 19 1.1 uwe # We currently support three architecture types; at least one is required. 20 1.1 uwe options SUN4M # sun4m - SS10, SS20, Classic, etc. 21 1.1 uwe 22 1.19 uwe # microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc) 23 1.1 uwe # This option selects if SUN4M means "normal" 4m or IIep. Kernels 24 1.1 uwe # with this option turned on will refuse to work on normal 4m. 25 1.21 uwe options MSIIEP # microSPARC-IIep 26 1.1 uwe 27 1.1 uwe # XXX: uwe: PROM location conflicts with kernel VA space !!! 28 1.17 uwe options PROM_AT_F0 29 1.1 uwe makeoptions TEXTADDR=E8004000 30 1.1 uwe 31 1.1 uwe 32 1.1 uwe ## System options specific to the sparc machine type 33 1.1 uwe 34 1.1 uwe # Blink the power LED on some machines to indicate the system load. 35 1.33 macallan options BLINK 36 1.1 uwe 37 1.1 uwe 38 1.1 uwe #### System options that are the same for all ports 39 1.1 uwe 40 1.1 uwe ## Root device configuration: change the ?'s if you are going to use a 41 1.1 uwe ## nonstandard root partition (other than where the kernel is booted from) 42 1.1 uwe ## and/or nonstandard root type (not ffs or nfs). Normally this can be 43 1.1 uwe ## automagically determined at boot time. 44 1.1 uwe 45 1.1 uwe config netbsd root on ? type ? 46 1.1 uwe 47 1.1 uwe ## System call tracing (see ktrace(1)). 48 1.1 uwe options KTRACE 49 1.1 uwe 50 1.1 uwe ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 51 1.17 uwe options SYSVMSG # System V message queues 52 1.17 uwe options SYSVSEM # System V semaphores 53 1.1 uwe #options SEMMNI=10 # number of semaphore identifiers 54 1.1 uwe #options SEMMNS=60 # number of semaphores in system 55 1.1 uwe #options SEMUME=10 # max number of undo entries per process 56 1.1 uwe #options SEMMNU=30 # number of undo structures in system 57 1.17 uwe options SYSVSHM # System V shared memory 58 1.82 uwe #options SHMMAXPGS=1024 # default is max(%25 physmem, 1024 pages) 59 1.1 uwe 60 1.82 uwe options MODULAR # new style module(7) framework 61 1.82 uwe options MODULAR_DEFAULT_AUTOLOAD 62 1.17 uwe #options USERCONF # userconf(4) support 63 1.1 uwe #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 64 1.22 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 65 1.1 uwe 66 1.9 lukem ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM 67 1.1 uwe options NFS_BOOT_BOOTPARAM 68 1.1 uwe #options NFS_BOOT_BOOTP 69 1.9 lukem options NFS_BOOT_DHCP 70 1.1 uwe 71 1.12 uwe 72 1.12 uwe #### wscons options 73 1.12 uwe 74 1.12 uwe # builtin terminal emulations 75 1.60 macallan #options WSEMUL_SUN # sun terminal emulation 76 1.12 uwe options WSEMUL_VT100 # VT100 / VT220 emulation 77 1.12 uwe options WSEMUL_DEFAULT="\"vt100\"" 78 1.42 uwe 79 1.42 uwe # customization of console and kernel output - see dev/wscons/wsdisplayvar.h 80 1.42 uwe options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 81 1.42 uwe #options WS_DEFAULT_FG=WSCOL_WHITE 82 1.42 uwe #options WS_DEFAULT_BG=WSCOL_BLACK 83 1.42 uwe #options WS_DEFAULT_COLATTR="(0)" 84 1.12 uwe options WS_KERNEL_FG=WSCOL_GREEN 85 1.12 uwe #options WS_KERNEL_BG=WSCOL_BLACK 86 1.12 uwe options WS_KERNEL_COLATTR=WSATTR_HILIT 87 1.42 uwe 88 1.42 uwe # customization of console border color 89 1.42 uwe options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8) 90 1.42 uwe #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 91 1.42 uwe 92 1.12 uwe # compatibility to other console drivers 93 1.12 uwe options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 94 1.12 uwe options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 95 1.59 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 96 1.12 uwe options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 97 1.12 uwe 98 1.14 uwe options FONT_GALLANT12x22 # PROM font look-alike 99 1.12 uwe 100 1.42 uwe #options WSKBD_EVENT_AUTOREPEAT # auto repeat in event mode 101 1.42 uwe #options WSKBD_USONLY # strip off non-US keymaps 102 1.42 uwe 103 1.37 drochner # see dev/pckbport/wskbdmap_mfii.c for implemented layouts 104 1.12 uwe #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 105 1.42 uwe 106 1.12 uwe # allocate a number of virtual screens at autoconfiguration time 107 1.12 uwe #options WSDISPLAY_DEFAULTSCREENS=4 108 1.12 uwe 109 1.12 uwe 110 1.1 uwe #### Debugging options 111 1.1 uwe 112 1.1 uwe ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 113 1.1 uwe ## serial console break or keyboard reset, where the PROM would normally 114 1.1 uwe ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 115 1.50 tsutsui options DDB # kernel dynamic debugger 116 1.50 tsutsui options DDB_HISTORY_SIZE=100 # enable history editing in DDB 117 1.66 szptvlfn #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 118 1.1 uwe 119 1.1 uwe ## You may also use gdb, on another computer connected to this machine over 120 1.1 uwe ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 121 1.1 uwe ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where 122 1.1 uwe ## the minor device number encodes the PROM enumeration of the serial ports, 123 1.1 uwe ## i.e.: 124 1.1 uwe ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd. 125 1.1 uwe ## (Note: ttyc and ttyd are available only on some sun4 models) 126 1.1 uwe #options KGDB # support for kernel gdb 127 1.1 uwe #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 128 1.1 uwe #options KGDB_DEVRATE=38400 # baud rate 129 1.1 uwe 130 1.1 uwe 131 1.1 uwe ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 132 1.1 uwe ## such that gdb(1) can be used on a kernel coredump. 133 1.1 uwe 134 1.1 uwe #makeoptions DEBUG="-g" 135 1.17 uwe makeoptions CPUFLAGS="-mcpu=supersparc" 136 1.1 uwe 137 1.1 uwe 138 1.1 uwe ## Adds code to the kernel that does internal consistency checks, and will 139 1.1 uwe ## cause the kernel to panic if corruption of internal data structures 140 1.1 uwe ## is detected. 141 1.20 martin #options DIAGNOSTIC # extra kernel sanity checking 142 1.1 uwe 143 1.1 uwe ## Enable (possibly expensive) debugging code that may also display messages 144 1.1 uwe ## on the system console 145 1.1 uwe #options DEBUG 146 1.54 jdc #options LOCKDEBUG 147 1.54 jdc #options SYSCALL_DEBUG 148 1.1 uwe 149 1.82 uwe #options MIIVERBOSE # verbose PHY autoconfig messages 150 1.1 uwe 151 1.1 uwe ## `INSECURE' turns off the kernel security level (securelevel = 0 always). 152 1.1 uwe ## This allows writing to /dev/mem, loading kernel modules while multi-user, 153 1.1 uwe ## and other insecurities good only for development work. Do not use this 154 1.1 uwe ## option on a production machine. 155 1.1 uwe #options INSECURE 156 1.1 uwe 157 1.1 uwe ## `FDSCRIPTS' allows non-readable but executable scripts by providing a 158 1.1 uwe ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 159 1.1 uwe ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 160 1.1 uwe ## opaque file mechanism. Perl calls this "secure setuid scripts." 161 1.1 uwe 162 1.1 uwe #options FDSCRIPTS 163 1.1 uwe #options SETUIDSCRIPTS 164 1.1 uwe 165 1.1 uwe ## Options for compatibility with previous releases foreign system binaries. 166 1.78 maxv ## In the cases of COMPAT_SUNOS, you may need to set up additional user-level 167 1.78 maxv ## utilities or system configuration files. See compat_sunos(8). 168 1.1 uwe 169 1.75 mrg include "conf/compat_netbsd10.config" 170 1.20 martin options COMPAT_SUNOS # SunOS 4.x binary compatibility 171 1.1 uwe 172 1.1 uwe ## File systems. You probably need at least one of FFS or NFS. 173 1.82 uwe #file-system FFS # Berkeley Fast Filesystem 174 1.1 uwe file-system NFS # Sun NFS-compatible filesystem client 175 1.1 uwe file-system KERNFS # kernel data-structure filesystem 176 1.82 uwe #file-system NULLFS # NULL layered filesystem 177 1.82 uwe #file-system OVERLAY # overlay file system 178 1.82 uwe #file-system MFS # memory-based filesystem 179 1.82 uwe #file-system FDESC # user file descriptor filesystem 180 1.82 uwe #file-system UMAPFS # uid/gid remapping filesystem 181 1.1 uwe #file-system LFS # Log-based filesystem (still experimental) 182 1.51 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 183 1.1 uwe file-system PROCFS # /proc 184 1.1 uwe #file-system CD9660 # ISO 9660 + Rock Ridge file system 185 1.82 uwe #file-system UNION # union file system 186 1.1 uwe #file-system MSDOSFS # MS-DOS FAT filesystem(s). 187 1.1 uwe #file-system CODA # Coda File System; also needs vcoda (below) 188 1.31 christos file-system PTYFS # /dev/pts/N support 189 1.41 jmmv #file-system TMPFS # Efficient memory file-system 190 1.42 uwe #file-system UDF # experimental - OSTA UDF CD/DVD file-system 191 1.1 uwe 192 1.1 uwe ## File system options. 193 1.1 uwe #options NFSSERVER # Sun NFS-compatible filesystem server 194 1.55 bouyer #options QUOTA # legacy UFS quotas 195 1.55 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 196 1.1 uwe #options FFS_EI # FFS Endian Independent support 197 1.34 tsutsui options FFS_NO_SNAPSHOT # No FFS snapshot support 198 1.1 uwe 199 1.1 uwe ## Network protocol support. In most environments, INET is required. 200 1.1 uwe options INET # IP (Internet Protocol) v4 201 1.20 martin options INET6 # IPV6 202 1.1 uwe #options IPSEC # IP security 203 1.1 uwe #options IPSEC_DEBUG # debug for IP security 204 1.1 uwe #options GATEWAY # packet forwarding ("router switch") 205 1.1 uwe #options MROUTING # packet forwarding of multicast packets 206 1.23 manu #options PIM # Protocol Independent Multicast 207 1.1 uwe #options NETATALK # AppleTalk (over Ethernet) protocol 208 1.20 martin options NTP # Network Time Protocol in-kernel support 209 1.1 uwe #options PPS_SYNC # Add serial line synchronization for NTP 210 1.20 martin options PPP_BSDCOMP # Add BSD compression to ppp device 211 1.20 martin options PPP_DEFLATE # Add deflate (libz) compression to ppp device 212 1.20 martin options PPP_FILTER # Add active filters for ppp (via bpf) 213 1.1 uwe 214 1.1 uwe 215 1.21 uwe 216 1.1 uwe #### Main bus and CPU .. all systems. 217 1.1 uwe mainbus0 at root 218 1.1 uwe cpu0 at mainbus0 219 1.1 uwe 220 1.1 uwe #### Bus types found on SPARC systems. 221 1.1 uwe 222 1.1 uwe msiiep0 at mainbus0 # microSPARC-IIep PCIC, timer, ... 223 1.1 uwe 224 1.5 uwe mspcic0 at msiiep0 # PCI tree 225 1.5 uwe pci0 at mspcic0 226 1.82 uwe #options PCIVERBOSE 227 1.2 uwe #options PCI_CONFIG_DUMP # hangs reading IGA1682 config past offset 64 228 1.1 uwe 229 1.12 uwe ebus* at pci? dev ? function ? # ebus devices 230 1.1 uwe 231 1.1 uwe 232 1.1 uwe #### Standard system devices -- all required for a given architecture 233 1.1 uwe 234 1.1 uwe # timer is part of ms-IIep PCIC 235 1.4 pk timer0 at msiiep0 236 1.1 uwe 237 1.1 uwe ## ds1287 TOD clock at EBus 238 1.12 uwe rtc* at ebus? 239 1.1 uwe 240 1.1 uwe #### Serial port configuration 241 1.1 uwe 242 1.1 uwe ## NS16x50 serial chips and clones. 243 1.12 uwe com* at ebus? 244 1.1 uwe 245 1.1 uwe 246 1.1 uwe #### Disk controllers and disks 247 1.1 uwe 248 1.1 uwe ## A disk-like interface to files. Can be used to create floppy, CD, 249 1.1 uwe ## miniroot images, etc. 250 1.1 uwe 251 1.82 uwe #pseudo-device vnd 252 1.32 uwe #options VND_COMPRESSION # compressed vnd(4) 253 1.1 uwe 254 1.1 uwe ## Memory disk device, used on boot floppies with compressed 255 1.1 uwe ## kernel-plus-root-disk images. 256 1.1 uwe 257 1.82 uwe #pseudo-device md 258 1.1 uwe 259 1.1 uwe 260 1.1 uwe #### Network interfaces 261 1.1 uwe 262 1.1 uwe ## Happy Meal Ethernet 263 1.1 uwe hme* at pci? dev ? function ? # network "hme" compatible 264 1.1 uwe 265 1.1 uwe # MII/PHY support 266 1.1 uwe qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 267 1.1 uwe 268 1.1 uwe ## Loopback network interface; required 269 1.1 uwe pseudo-device loop 270 1.1 uwe 271 1.1 uwe ## SLIP and CSLIP interfaces, for IP over a serial line. 272 1.82 uwe #pseudo-device sl 273 1.1 uwe 274 1.1 uwe ## PPP, the successor to SLIP. See pppd(8). 275 1.82 uwe #pseudo-device ppp 276 1.1 uwe 277 1.1 uwe ## PPP over Ethernet (RFC 2516) 278 1.1 uwe #pseudo-device pppoe 279 1.1 uwe 280 1.1 uwe ## Network "tunnel" device, allowing protocol stacks to run in the userland. 281 1.1 uwe ## This is used by the third-party user-mode "ppp" program, and others. 282 1.82 uwe #pseudo-device tun 283 1.32 uwe #pseudo-device tap # virtual Ethernet 284 1.1 uwe 285 1.1 uwe ## Generic L3 over IP tunnel 286 1.36 cube #pseudo-device gre # generic L3 over IP tunnel 287 1.1 uwe 288 1.1 uwe ## Berkeley Packet Filter, required to run RARPD. A generic C-language 289 1.1 uwe ## interface that allows selective examining of incoming packets. 290 1.35 rpaulo pseudo-device bpfilter 291 1.1 uwe 292 1.42 uwe #pseudo-device carp # Common Address Redundancy Protocol 293 1.42 uwe 294 1.77 maxv #pseudo-device npf # NPF packet filter 295 1.1 uwe 296 1.1 uwe ## for IPv6 297 1.36 cube #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 298 1.36 cube #pseudo-device faith # IPv[46] tcp relay translation i/f 299 1.36 cube #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 300 1.1 uwe 301 1.1 uwe ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 302 1.1 uwe #pseudo-device vlan 303 1.1 uwe 304 1.1 uwe #### Audio and video devices 305 1.1 uwe 306 1.1 uwe ## /dev/audio support 307 1.12 uwe audiocs* at ebus? # SUNW,CS4231 308 1.12 uwe audio* at audiocs? 309 1.12 uwe 310 1.72 christos spkr* at audio? # PC speaker (synthesized) 311 1.70 nat 312 1.12 uwe # wscons 313 1.12 uwe pckbc* at ebus? # PC keyboard controller 314 1.12 uwe pckbd* at pckbc? # PC keyboard 315 1.12 uwe pms* at pckbc? # PS/2 mouse for wsmouse 316 1.12 uwe igsfb* at pci? dev ? function ? 317 1.12 uwe wsdisplay* at igsfb? console ? 318 1.12 uwe wskbd* at pckbd? console ? 319 1.12 uwe wsmouse* at pms? mux 0 320 1.1 uwe 321 1.1 uwe 322 1.1 uwe #### Other device configuration 323 1.1 uwe 324 1.1 uwe ## Pseudo ttys, required for network logins and programs like screen. 325 1.1 uwe 326 1.1 uwe pseudo-device pty # pseudo-terminals 327 1.1 uwe 328 1.1 uwe ## Random device, used to implement /dev/random (a source of random noise), 329 1.1 uwe ## and generate randomness for some kernel formulae. 330 1.1 uwe 331 1.1 uwe 332 1.1 uwe # a pseudo device needed for Coda # also needs CODA (above) 333 1.63 christos #pseudo-device vcoda # coda minicache <-> venus comm. 334 1.12 uwe 335 1.12 uwe # wscons pseudo-devices 336 1.12 uwe pseudo-device wsmux # mouse & keyboard multiplexor 337 1.12 uwe pseudo-device wsfont 338 1.10 lukem 339 1.10 lukem pseudo-device clockctl # user control of clock subsystem 340 1.80 isaki pseudo-device drvctl # user control of drive subsystem 341 1.17 uwe pseudo-device ksyms # /dev/ksyms 342 1.51 pooka pseudo-device putter # for puffs and pud 343 1.42 uwe 344 1.52 pooka #pseudo-device fss # file system snapshot device 345 1.42 uwe 346 1.42 uwe # Veriexec 347 1.81 sevan # include "dev/veriexec.config" 348 1.42 uwe 349 1.42 uwe #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 350 1.42 uwe # (for static binaries only for now) 351