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