1*e622eac4Sisaki# $NetBSD: TADPOLE3GX,v 1.78 2019/05/08 13:40:16 isaki Exp $ 28c0f3c5aSmatt 38c0f3c5aSmattinclude "arch/sparc/conf/std.sparc" 48c0f3c5aSmatt 5d1b38523Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6d1b38523Satatat 7d091c8c1Smacallan# all supported SPARCbooks have V8 CPUs 8d091c8c1Smacallanmakeoptions CCPUOPTS="-mcpu=v8 -mtune=v8" 9d091c8c1Smacallan 108c0f3c5aSmattmaxusers 32 118c0f3c5aSmatt 128c0f3c5aSmatt## System kernel configuration. See options(4) for more detail. 138c0f3c5aSmatt 148c0f3c5aSmatt 158c0f3c5aSmatt# Options for variants of the Sun SPARC architecure. 168c0f3c5aSmatt# We currently support three architecture types; at least one is required. 178c0f3c5aSmattoptions SUN4M # sun4m - SS10, SS20, Classic, etc. 188c0f3c5aSmatt 198c0f3c5aSmatt## System options specific to the sparc machine type 208c0f3c5aSmatt 218c0f3c5aSmatt# Blink the power LED on some machines to indicate the system load. 228c0f3c5aSmatt#options BLINK 238c0f3c5aSmatt 24c415b408Smacallan# wsdisplay options 256c4d0ceaSmacallan#options WSEMUL_SUN 266c4d0ceaSmacallanoptions WSEMUL_VT100 27c415b408Smacallanoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 28c415b408Smacallanoptions WSDISPLAY_CUSTOM_OUTPUT # wsconsctl(8) 29c415b408Smacallan 30c415b408Smacallan# black on white, kernel output in green 31c415b408Smacallanoptions WS_DEFAULT_FG=WSCOL_BLACK 32c415b408Smacallanoptions WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 33c415b408Smacallanoptions WS_KERNEL_FG=WSCOL_GREEN 34c415b408Smacallanoptions WS_KERNEL_BG=WSCOL_LIGHT_WHITE 35c415b408Smacallan 36c415b408Smacallanoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 37c415b408Smacallanoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 388f45a592Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 39c415b408Smacallan 40c415b408Smacallanoptions WSDISPLAY_DEFAULTSCREENS=1 41c415b408Smacallan 42c415b408Smacallanoptions SPARCBOOK_CMD # enable screen switching with lAlt-Fn 438c0f3c5aSmatt#options FONT_GALLANT12x22 # the console font 444b814be9Smattoptions FONT_BOLD8x16 # a somewhat smaller font 458c0f3c5aSmatt 468c0f3c5aSmatt#### System options that are the same for all ports 478c0f3c5aSmatt 488c0f3c5aSmatt## Root device configuration: change the ?'s if you are going to use a 498c0f3c5aSmatt## nonstandard root partition (other than where the kernel is booted from) 508c0f3c5aSmatt## and/or nonstandard root type (not ffs or nfs). Normally this can be 518c0f3c5aSmatt## automagically determined at boot time. 528c0f3c5aSmatt 538c0f3c5aSmattconfig netbsd root on ? type ? 548c0f3c5aSmatt 558c0f3c5aSmatt## System call tracing (see ktrace(1)). 568c0f3c5aSmattoptions KTRACE 578c0f3c5aSmatt 588c0f3c5aSmatt## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 598c0f3c5aSmattoptions SYSVMSG # System V message queues 608c0f3c5aSmattoptions SYSVSEM # System V semaphores 618c0f3c5aSmattoptions SYSVSHM # System V shared memory 628c0f3c5aSmatt 633ea2e21fSlukemoptions USERCONF # userconf(4) support 646d265bd8Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 65f68a9f1fSatatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 666d265bd8Sjdolecek 67aaa7dba0Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM 688c0f3c5aSmattoptions NFS_BOOT_BOOTPARAM 698c0f3c5aSmatt#options NFS_BOOT_BOOTP 70aaa7dba0Slukemoptions NFS_BOOT_DHCP 718c0f3c5aSmatt 728c0f3c5aSmatt#### Debugging options 738c0f3c5aSmatt 748c0f3c5aSmatt## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 758c0f3c5aSmatt## serial console break or keyboard reset, where the PROM would normally 768c0f3c5aSmatt## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 777b14dcf7Stsutsuioptions DDB # kernel dynamic debugger 787fe7089aSuebayasipseudo-device ksyms 797b14dcf7Stsutsuioptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 80a66bf666Sszptvlfn#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 818c0f3c5aSmatt 828c0f3c5aSmatt## You may also use gdb, on another computer connected to this machine over 8399bccc3cSlukem## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 8499bccc3cSlukem## KGDB_DEV is a dev_t encoded device number of the serial port to use. 858c0f3c5aSmatt## (0xc01 = ttya, 0xc02 = ttyb.) 868c0f3c5aSmatt#options KGDB # support for kernel gdb 8799bccc3cSlukem#options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 8899bccc3cSlukem#options KGDB_DEVRATE=38400 # baud rate 898c0f3c5aSmatt 908c0f3c5aSmatt 918c0f3c5aSmatt## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 928c0f3c5aSmatt## such that gdb(1) can be used on a kernel coredump. 938c0f3c5aSmatt 941138f7e7Smattmakeoptions DEBUG="-g" 958c0f3c5aSmatt 968c0f3c5aSmatt 978c0f3c5aSmatt## Adds code to the kernel that does internal consistency checks, and will 988c0f3c5aSmatt## cause the kernel to panic if corruption of internal data structures 998c0f3c5aSmatt## is detected. 1008c0f3c5aSmatt#options DIAGNOSTIC # extra kernel sanity checking 1018c0f3c5aSmatt 1028c0f3c5aSmatt## Enable (possibly expensive) debugging code that may also display messages 1038c0f3c5aSmatt## on the system console 1048c0f3c5aSmatt#options DEBUG 10535725a69Sjdc#options LOCKDEBUG 10635725a69Sjdc#options SYSCALL_DEBUG 1078c0f3c5aSmatt 1088c0f3c5aSmatt## Make SCSI error messages more verbose when explaining their meanings. 1098c0f3c5aSmattoptions SCSIVERBOSE 1108c0f3c5aSmatt 1118c0f3c5aSmatt## `INSECURE' turns off the kernel security level (securelevel = 0 always). 1128c0f3c5aSmatt## This allows writing to /dev/mem, loading kernel modules while multi-user, 1138c0f3c5aSmatt## and other insecurities good only for development work. Do not use this 1148c0f3c5aSmatt## option on a production machine. 1151138f7e7Smattoptions INSECURE 1168c0f3c5aSmatt 1178c0f3c5aSmatt## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1188c0f3c5aSmatt## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1198c0f3c5aSmatt## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1208c0f3c5aSmatt## opaque file mechanism. Perl calls this "secure setuid scripts." 1218c0f3c5aSmatt 1228c0f3c5aSmatt#options FDSCRIPTS 1238c0f3c5aSmatt#options SETUIDSCRIPTS 1248c0f3c5aSmatt 1258c0f3c5aSmatt## Options for compatibility with previous releases foreign system binaries. 12643c93207Smaxv## In the cases of COMPAT_SUNOS, you may need to set up additional user-level 12743c93207Smaxv## utilities or system configuration files. See compat_sunos(8). 1288c0f3c5aSmatt 12995772a88Smrginclude "conf/compat_netbsd10.config" 1308c0f3c5aSmattoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1318c0f3c5aSmatt 1328c0f3c5aSmatt## File systems. You probably need at least one of FFS or NFS. 1338c0f3c5aSmattfile-system FFS # Berkeley Fast Filesystem 1348c0f3c5aSmattfile-system NFS # Sun NFS-compatible filesystem client 1358c0f3c5aSmattfile-system KERNFS # kernel data-structure filesystem 1368c0f3c5aSmatt#file-system NULLFS # NULL layered filesystem 1378c0f3c5aSmattfile-system MFS # memory-based filesystem 1388c0f3c5aSmatt#file-system FDESC # user file descriptor filesystem 1398c0f3c5aSmatt#file-system UMAPFS # uid/gid remapping filesystem 1408c0f3c5aSmatt#file-system LFS # Log-based filesystem (still experimental) 1418c0f3c5aSmattfile-system PROCFS # /proc 1428c0f3c5aSmattfile-system CD9660 # ISO 9660 + Rock Ridge file system 1438c0f3c5aSmatt#file-system UNION # union file system 1448c0f3c5aSmattfile-system MSDOSFS # MS-DOS FAT filesystem(s). 14593c362d7Schristosfile-system PTYFS # /dev/pts/N support 1468c0f3c5aSmatt 1478c0f3c5aSmatt## File system options. 1488c0f3c5aSmattoptions NFSSERVER # Sun NFS-compatible filesystem server 149063f96f3Sbouyeroptions QUOTA # legacy UFS quotas 150063f96f3Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1518c0f3c5aSmatt#options FFS_EI # FFS Endian Independent support 152ff9b47d6Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1532cab231dSmanuoptions UFS_EXTATTR # Extended attribute support for UFS1 1548c0f3c5aSmatt 1558c0f3c5aSmatt## Network protocol support. In most environments, INET is required. 1568c0f3c5aSmattoptions INET # IP (Internet Protocol) v4 1578c0f3c5aSmatt#options GATEWAY # packet forwarding ("router switch") 1588c0f3c5aSmatt#options MROUTING # packet forwarding of multicast packets 1596e3c6399Smanu#options PIM # Protocol Independent Multicast 1608c0f3c5aSmatt#options NETATALK # AppleTalk (over Ethernet) protocol 1618c0f3c5aSmattoptions NTP # Network Time Protocol in-kernel support 1628c0f3c5aSmatt#options PPS_SYNC # Add serial line synchronization for NTP 1638c0f3c5aSmattoptions PPP_BSDCOMP # Add BSD compression to ppp device 1648c0f3c5aSmattoptions PPP_DEFLATE # Add deflate (libz) compression to ppp device 1658c0f3c5aSmattoptions PPP_FILTER # Add active filters for ppp (via bpf) 16601b024cdSabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1678c0f3c5aSmatt 1688c0f3c5aSmatt 1698c0f3c5aSmatt#### Main bus and CPU .. all systems. 1708c0f3c5aSmattmainbus0 at root 1718c0f3c5aSmattcpu0 at mainbus0 1728c0f3c5aSmatt 1738c0f3c5aSmatt#### Bus types found on SPARC systems. 1748c0f3c5aSmatt 1758c0f3c5aSmattobio0 at mainbus0 # sun4 and sun4m 1768c0f3c5aSmattiommu0 at mainbus0 # sun4m 1778c0f3c5aSmattsbus0 at iommu0 # sun4m 1788c0f3c5aSmatt 1798c0f3c5aSmatt## SBus to PCMCIA bridge 180d091c8c1Smacallantslot* at sbus? slot ? offset ? # PCMCIA bridge (tadpole 3gx) 181d091c8c1Smacallanpcmcia* at tslot? 1828c0f3c5aSmatt 1838c0f3c5aSmatt#### Standard system devices -- all required for a given architecture 1848c0f3c5aSmatt 1858c0f3c5aSmatt## Auxiliary system registers on sun4c and sun4m 1868c0f3c5aSmattauxreg0 at obio0 # sun4m 1878c0f3c5aSmatt 188ecf1c1ebSjdc## Additional auxiliary system registers on Sparcbook 189ecf1c1ebSjdcauxiotwo0 at obio0 # sun4m 190ecf1c1ebSjdc 191c415b408Smacallan## Clock control on SPARCbook - used to put the CPU to sleep when idle 192e98ce313Smacallanclkctrl0 at obio0 193e98ce313Smacallan 1948c0f3c5aSmatt## Mostek clock found on 4/300, sun4c, and sun4m systems. 1958c0f3c5aSmatt## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 1968c0f3c5aSmattclock0 at obio0 # sun4m 1978c0f3c5aSmatt 1988c0f3c5aSmatt## Timer chip found on 4/300, sun4c, and sun4m systems. 1998c0f3c5aSmatttimer0 at obio0 # sun4m 2008c0f3c5aSmatt 2018c0f3c5aSmatt#### Serial port configuration 2028c0f3c5aSmatt 2038c0f3c5aSmatt## Zilog 8530 serial chips. Each has two-channels. 2048c0f3c5aSmatt## zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 2058c0f3c5aSmattzs0 at obio0 # sun4m 2068c0f3c5aSmattzstty0 at zs0 channel 0 # ttya 2078c0f3c5aSmattzstty1 at zs0 channel 1 # ttyb 2088c0f3c5aSmatt 2098c0f3c5aSmattzs1 at obio0 # sun4m 210c415b408Smacallanzstty* at zs1 channel ? # mouse/keyboard 211c415b408Smacallan 212c415b408Smacallankbd0 at zstty? 213c415b408Smacallanms0 at zstty? 214c415b408Smacallan 215c415b408Smacallanwskbd* at kbd? console ? 216c415b408Smacallanwsmouse* at ms? 2178c0f3c5aSmatt 2188c0f3c5aSmatt## Tadpole 3GX/3XL have a builtin modem that emulates a NS16450. 2198c0f3c5aSmattcom* at obio0 # sun4m (tadpole) 2208c0f3c5aSmatt 2218c0f3c5aSmatt## PCMCIA serial interfaces 222d091c8c1Smacallancom* at pcmcia? 223d091c8c1Smacallanpcmcom* at pcmcia? 224d091c8c1Smacallancom* at pcmcom? 2258c0f3c5aSmatt 2268c0f3c5aSmatt#### Disk controllers and disks 2278c0f3c5aSmatt 2288c0f3c5aSmatt# 2298c0f3c5aSmatt 2308c0f3c5aSmatt## The following flags may be set for the NCR53c94 based esp driver: 2318c0f3c5aSmatt## bits 0-7: disable disconnect/reselect for the corresponding target 2328c0f3c5aSmatt## bits 8-15: disable synchronous negotiation for target [bit-8] 2338c0f3c5aSmatt 2348c0f3c5aSmatt## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards. 2358c0f3c5aSmatt## Both `dma' and `esp' are needed in all cases. 2368c0f3c5aSmatt## Two kinds of additional SBus SCSI interfaces are available. One uses 2378c0f3c5aSmatt## "esp at sbus" like the sun4c on-board; the other uses "esp at dma". 2388c0f3c5aSmatt 2398c0f3c5aSmatt## sun4/300 SCSI - an NCR53c94 or equivalent behind 2408c0f3c5aSmatt## an LSI Logic DMA controller 2418c0f3c5aSmatt 2428c0f3c5aSmattdma0 at sbus0 slot ? offset ? # sun4c/sun4m 2438c0f3c5aSmattesp0 at dma0 flags 0x0000 # sun4m 2448c0f3c5aSmatt 2458c0f3c5aSmattscsibus* at esp? 2468c0f3c5aSmatt 2478c0f3c5aSmatt## PCMCIA SCSI controllers 2488c0f3c5aSmatt#aic* at pcmcia? 2498c0f3c5aSmatt#scsibus* at aic? 2508c0f3c5aSmatt 2518c0f3c5aSmatt## These entries find devices on all SCSI busses and assign 2528c0f3c5aSmatt## unit numbers dynamically. 2538c0f3c5aSmattsd* at scsibus? target ? lun ? # SCSI disks 2548c0f3c5aSmattst* at scsibus? target ? lun ? # SCSI tapes 2558c0f3c5aSmattcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2568c0f3c5aSmattch* at scsibus? target ? lun ? # SCSI changer devices 2578c0f3c5aSmattss* at scsibus? target ? lun ? # SCSI scanners 2588c0f3c5aSmattuk* at scsibus? target ? lun ? # unknown SCSI 2598c0f3c5aSmatt 2608c0f3c5aSmatt## PCMCIA IDE controllers 261d091c8c1Smacallanwdc* at pcmcia? 262d091c8c1Smacallan 263d091c8c1Smacallanatabus* at ata? 264d091c8c1Smacallanwd* at atabus? drive ? flags 0x0000 2658c0f3c5aSmatt 2668c0f3c5aSmatt## A disk-like interface to files. Can be used to create floppy, CD, 2678c0f3c5aSmatt## miniroot images, etc. 2688c0f3c5aSmatt 2696ff13154Scubepseudo-device vnd 2708c0f3c5aSmatt 2718c0f3c5aSmatt## Memory disk device, used on boot floppies with compressed 2728c0f3c5aSmatt## kernel-plus-root-disk images. 2738c0f3c5aSmatt 274afdfce8eShannken#pseudo-device md 2758c0f3c5aSmatt 2768c0f3c5aSmatt 2778c0f3c5aSmatt#### Network interfaces 2788c0f3c5aSmatt 2798c0f3c5aSmatt## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 2808c0f3c5aSmatt## Three flavors of additional SBus ethernets are available. One attaches 2818c0f3c5aSmatt## directly like the sun4c on-board, one uses the ledma device like the 2828c0f3c5aSmatt## sun4m on-board, and one uses the lebuffer device. 2838c0f3c5aSmatt 2848c0f3c5aSmattledma0 at sbus0 slot ? offset ? # sun4m on-board 2858c0f3c5aSmattle0 at ledma0 # sun4m on-board 2868c0f3c5aSmatt 2878c0f3c5aSmatt# PCMCIA ethernet devices 288d091c8c1Smacallanep* at pcmcia? 2898c0f3c5aSmatt#mbe* at pcmcia? 2908c0f3c5aSmatt#ne* at pcmcia? 2918c0f3c5aSmatt#sm* at pcmcia? 2928c0f3c5aSmatt 293d091c8c1Smacallanwi* at pcmcia? 294d091c8c1Smacallan 2958c0f3c5aSmatt## Loopback network interface; required 2968c0f3c5aSmattpseudo-device loop 2978c0f3c5aSmatt 2988c0f3c5aSmatt## PPP, the successor to SLIP. See pppd(8). 2996ff13154Scubepseudo-device ppp 3008c0f3c5aSmatt 3018c0f3c5aSmatt## Network "tunnel" device, allowing protocol stacks to run in the userland. 3028c0f3c5aSmatt## This is used by the third-party user-mode "ppp" program, and others. 3036ff13154Scubepseudo-device tun 3048c0f3c5aSmatt 3058c0f3c5aSmatt## Generic L3 over IP tunnel 3066ff13154Scube#pseudo-device gre # generic L3 over IP tunnel 3078c0f3c5aSmatt 3088c0f3c5aSmatt## Berkeley Packet Filter, required to run RARPD. A generic C-language 3098c0f3c5aSmatt## interface that allows selective examining of incoming packets. 31023b8c231Srpaulopseudo-device bpfilter 3118c0f3c5aSmatt 312f71d13bdSmaxvpseudo-device npf # NPF packet filter 3138c0f3c5aSmatt 3148c0f3c5aSmatt 3158c0f3c5aSmatt#### Audio and video devices 3168c0f3c5aSmatt 3174adcd899Smacallan## /dev/audio support 3184adcd899Smacallan 319494a6eb7Smacallan#options DBRI_DEBUG # noisy debug output from the dbri driver 3204adcd899Smacallandbri0 at sbus0 slot ? offset ? # SUNW,DBRI[s3|e] 3214adcd899Smacallanaudio* at audiobus? 3228c0f3c5aSmatt 323ef2deb33Schristosspkr* at audio? # PC speaker (synthesized) 32403783bb5Snat 3254b814be9Smatt# Tadpole 3GX/3GS (P9100 -- P Nine One Zero Zero -> pnozz) 3264b814be9Smattpnozz0 at sbus? slot ? offset ? 327c415b408Smacallan#options PNOZZ_EMUL_CG3 # emulate a CG3 for Xsun instead of 328c415b408Smacallan # running natively 329c415b408Smacallan 330c415b408Smacallanwsdisplay* at wsemuldisplaydev? console ? 3314b814be9Smatt 3328c0f3c5aSmatt#### Other device configuration 3338c0f3c5aSmatt 3344efe97d0Smatt# Tadpole microcontroller 3354efe97d0Smatttctrl0 at obio0 3364efe97d0Smatt 3378c0f3c5aSmatt## Pseudo ttys, required for network logins and programs like screen. 3388c0f3c5aSmatt 339b1f94e26Sjdolecekpseudo-device pty # pseudo-ttys (for network, etc.) 3408c0f3c5aSmatt 3418c0f3c5aSmatt## Random device, used to implement /dev/random (a source of random noise), 3428c0f3c5aSmatt## and generate randomness for some kernel formulae. 3438c0f3c5aSmatt 344fde6ae6fSlukem 345fde6ae6fSlukempseudo-device clockctl # user control of clock subsystem 34647655f2dSisakipseudo-device drvctl # user control of drive subsystem 347835e533bSpooka#pseudo-device fss # file system snapshot device 348c415b408Smacallan 349c415b408Smacallanpseudo-device wsmux # mouse and keyboard multiplexor 350c415b408Smacallanpseudo-device wsfont 351