TADPOLE3GX revision 1.1
11.1Smatt# $NetBSD: TADPOLE3GX,v 1.1 1999/07/30 23:55:43 matt Exp $ 21.1Smatt 31.1Smattinclude "arch/sparc/conf/std.sparc" 41.1Smatt 51.1Smattmaxusers 32 61.1Smatt 71.1Smatt## System kernel configuration. See options(4) for more detail. 81.1Smatt 91.1Smatt 101.1Smatt# Options for variants of the Sun SPARC architecure. 111.1Smatt# We currently support three architecture types; at least one is required. 121.1Smattoptions SUN4M # sun4m - SS10, SS20, Classic, etc. 131.1Smatt 141.1Smatt## System options specific to the sparc machine type 151.1Smatt 161.1Smatt# Blink the power LED on some machines to indicate the system load. 171.1Smatt#options BLINK 181.1Smatt 191.1Smatt## Use a faster console than the PROM's slow drawing routines. Not needed 201.1Smatt## for headless (no framebuffer) machines. 211.1Smatt#options RASTERCONSOLE # fast rasterop console 221.1Smatt#options FONT_GALLANT12x22 # the console font 231.1Smatt#options FONT_BOLD8x16 # a somewhat smaller font 241.1Smatt#options RASTERCONSOLE_FGCOL=WSCOL_BLACK 251.1Smatt#options RASTERCONSOLE_BGCOL=WSCOL_WHITE 261.1Smatt 271.1Smatt#### System options that are the same for all ports 281.1Smatt 291.1Smatt## Root device configuration: change the ?'s if you are going to use a 301.1Smatt## nonstandard root partition (other than where the kernel is booted from) 311.1Smatt## and/or nonstandard root type (not ffs or nfs). Normally this can be 321.1Smatt## automagically determined at boot time. 331.1Smatt 341.1Smattconfig netbsd root on ? type ? 351.1Smatt 361.1Smatt## System call tracing (see ktrace(1)). 371.1Smattoptions KTRACE 381.1Smatt 391.1Smatt## Collect statistics on kernel malloc's and free's. This does have a 401.1Smatt## significant performance hit on slower machines, so it is intended for 411.1Smatt## diagnostic use only. 421.1Smatt#options KMEMSTATS 431.1Smatt 441.1Smatt## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 451.1Smattoptions SYSVMSG # System V message queues 461.1Smattoptions SYSVSEM # System V semaphores 471.1Smattoptions SYSVSHM # System V shared memory 481.1Smatt#options SHMMAXPGS=1024 # 1024 pages is the default 491.1Smatt 501.1Smatt## Loadable kernel module support; still under development. 511.1Smattoptions LKM 521.1Smatt 531.1Smatt## NFS boot options; default on sparc is the bootparam protocol 541.1Smattoptions NFS_BOOT_BOOTPARAM 551.1Smatt#options NFS_BOOT_BOOTP 561.1Smatt#options NFS_BOOT_DHCP 571.1Smatt 581.1Smatt#### Debugging options 591.1Smatt 601.1Smatt## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 611.1Smatt## serial console break or keyboard reset, where the PROM would normally 621.1Smatt## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 631.1Smatt#options DDB # kernel dynamic debugger 641.1Smatt#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 651.1Smatt#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 661.1Smatt 671.1Smatt## You may also use gdb, on another computer connected to this machine over 681.1Smatt## a serial port. Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is 691.1Smatt## a dev_t encoded device number of the serial port to use. 701.1Smatt## (0xc01 = ttya, 0xc02 = ttyb.) 711.1Smatt#options KGDB # support for kernel gdb 721.1Smatt#options KGDBDEV=0xc01 # kgdb device number (this sample is `ttyb') 731.1Smatt#options KGDBRATE=38400 # baud rate 741.1Smatt 751.1Smatt 761.1Smatt## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 771.1Smatt## such that gdb(1) can be used on a kernel coredump. 781.1Smatt 791.1Smatt#makeoptions DEBUG="-g" 801.1Smatt 811.1Smatt 821.1Smatt## Adds code to the kernel that does internal consistency checks, and will 831.1Smatt## cause the kernel to panic if corruption of internal data structures 841.1Smatt## is detected. 851.1Smatt#options DIAGNOSTIC # extra kernel sanity checking 861.1Smatt 871.1Smatt## Enable (possibly expensive) debugging code that may also display messages 881.1Smatt## on the system console 891.1Smatt#options DEBUG 901.1Smatt 911.1Smatt## Make SCSI error messages more verbose when explaining their meanings. 921.1Smattoptions SCSIVERBOSE 931.1Smatt 941.1Smatt## `INSECURE' turns off the kernel security level (securelevel = 0 always). 951.1Smatt## This allows writing to /dev/mem, loading kernel modules while multi-user, 961.1Smatt## and other insecurities good only for development work. Do not use this 971.1Smatt## option on a production machine. 981.1Smatt#options INSECURE 991.1Smatt 1001.1Smatt## Allow non-root users to grab /dev/console with programs such as xconsole. 1011.1Smatt## `xconsole' therefore does not need setuid root with this option enabled. 1021.1Smatt#options UCONSOLE 1031.1Smatt 1041.1Smatt## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1051.1Smatt## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1061.1Smatt## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1071.1Smatt## opaque file mechanism. Perl calls this "secure setuid scripts." 1081.1Smatt 1091.1Smatt#options FDSCRIPTS 1101.1Smatt#options SETUIDSCRIPTS 1111.1Smatt 1121.1Smatt## Options for compatibility with previous releases foreign system binaries. 1131.1Smatt## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 1141.1Smatt## additional user-level utilities or system configuration files. See 1151.1Smatt## compat_sunos(8) and compat_svr4(8). 1161.1Smatt 1171.1Smattoptions COMPAT_43 # 4.3BSD system interfaces 1181.1Smattoptions COMPAT_10 # NetBSD 1.0 binary compatibility 1191.1Smattoptions COMPAT_11 # NetBSD 1.1 binary compatibility 1201.1Smattoptions COMPAT_12 # NetBSD 1.2 binary compatibility 1211.1Smattoptions COMPAT_13 # NetBSD 1.3 binary compatibility 1221.1Smattoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1231.1Smattoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 1241.1Smattoptions COMPAT_AOUT # NetBSD a.out compatibility 1251.1Smatt 1261.1Smatt## File systems. You probably need at least one of FFS or NFS. 1271.1Smattfile-system FFS # Berkeley Fast Filesystem 1281.1Smattfile-system NFS # Sun NFS-compatible filesystem client 1291.1Smattfile-system KERNFS # kernel data-structure filesystem 1301.1Smatt#file-system NULLFS # NULL layered filesystem 1311.1Smattfile-system MFS # memory-based filesystem 1321.1Smatt#file-system FDESC # user file descriptor filesystem 1331.1Smatt#file-system UMAPFS # uid/gid remapping filesystem 1341.1Smatt#file-system LFS # Log-based filesystem (still experimental) 1351.1Smatt#file-system PORTAL # portal filesystem (still experimental) 1361.1Smattfile-system PROCFS # /proc 1371.1Smattfile-system CD9660 # ISO 9660 + Rock Ridge file system 1381.1Smatt#file-system UNION # union file system 1391.1Smattfile-system MSDOSFS # MS-DOS FAT filesystem(s). 1401.1Smatt 1411.1Smatt## File system options. 1421.1Smattoptions NFSSERVER # Sun NFS-compatible filesystem server 1431.1Smattoptions QUOTA # FFS quotas 1441.1Smatt#options FFS_EI # FFS Endian Independent support 1451.1Smatt 1461.1Smatt## Network protocol support. In most environments, INET is required. 1471.1Smattoptions INET # IP (Internet Protocol) v4 1481.1Smatt#options TCP_COMPAT_42 # 4.2BSD IP implementation compatibility 1491.1Smatt#options GATEWAY # packet forwarding ("router switch") 1501.1Smatt#options MROUTING # packet forwarding of multicast packets 1511.1Smatt#options DIRECTED_BROADCAST # allow broadcasts through routers 1521.1Smatt#options NS # Xerox NS networking 1531.1Smatt#options NSIP # Xerox NS tunneling over IP 1541.1Smatt#options ISO,TPIP # OSI networking 1551.1Smatt#options EON # OSI tunneling over IP 1561.1Smatt#options CCITT,LLC,HDLC # X.25 packet switched protocol 1571.1Smatt#options NETATALK # AppleTalk (over Ethernet) protocol 1581.1Smattoptions NTP # Network Time Protocol in-kernel support 1591.1Smatt#options PPS_SYNC # Add serial line synchronization for NTP 1601.1Smattoptions PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 1611.1Smattoptions IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 1621.1Smattoptions PPP_BSDCOMP # Add BSD compression to ppp device 1631.1Smattoptions PPP_DEFLATE # Add deflate (libz) compression to ppp device 1641.1Smattoptions PPP_FILTER # Add active filters for ppp (via bpf) 1651.1Smatt 1661.1Smatt 1671.1Smatt 1681.1Smatt#### Main bus and CPU .. all systems. 1691.1Smattmainbus0 at root 1701.1Smattcpu0 at mainbus0 1711.1Smatt 1721.1Smatt#### Bus types found on SPARC systems. 1731.1Smatt 1741.1Smattobio0 at mainbus0 # sun4 and sun4m 1751.1Smattiommu0 at mainbus0 # sun4m 1761.1Smattsbus0 at iommu0 # sun4m 1771.1Smatt 1781.1Smatt## SBus to PCMCIA bridge 1791.1Smatt# Currently enabling nell* with audioamd* causes panic at attach 1801.1Smatt#nell* at sbus? slot ? offset ? # PCMCIA bridge 1811.1Smatt#pcmcia* at nell? 1821.1Smatt#tspcic* at sbus? slot ? offset ? # PCMCIA bridge (tadpole 3gx) 1831.1Smatt#pcmcia* at tspcic? 1841.1Smatt 1851.1Smatt#### Standard system devices -- all required for a given architecture 1861.1Smatt 1871.1Smatt## Auxiliary system registers on sun4c and sun4m 1881.1Smattauxreg0 at obio0 # sun4m 1891.1Smatt 1901.1Smatt## Power status and control register on Sun4m systems 1911.1Smattpower0 at obio0 1921.1Smatt 1931.1Smatt## Mostek clock found on 4/300, sun4c, and sun4m systems. 1941.1Smatt## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 1951.1Smattclock0 at obio0 # sun4m 1961.1Smatt 1971.1Smatt## Memory error registers. 1981.1Smatt#memreg0 at obio0 # sun4m 1991.1Smatt 2001.1Smatt## ECC memory control 2011.1Smatt#eccmemctl0 at mainbus0 # sun4m 2021.1Smatt 2031.1Smatt## Timer chip found on 4/300, sun4c, and sun4m systems. 2041.1Smatttimer0 at obio0 # sun4m 2051.1Smatt 2061.1Smatt#### Serial port configuration 2071.1Smatt 2081.1Smatt## Zilog 8530 serial chips. Each has two-channels. 2091.1Smatt## zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 2101.1Smattzs0 at obio0 # sun4m 2111.1Smattzstty0 at zs0 channel 0 # ttya 2121.1Smattzstty1 at zs0 channel 1 # ttyb 2131.1Smatt 2141.1Smattzs1 at obio0 # sun4m 2151.1Smattkbd0 at zs1 channel 0 # keyboard 2161.1Smattms0 at zs1 channel 1 # mouse 2171.1Smatt 2181.1Smatt## Tadpole 3GX/3XL have a builtin modem that emulates a NS16450. 2191.1Smattcom* at obio0 # sun4m (tadpole) 2201.1Smatt 2211.1Smatt## PCMCIA serial interfaces 2221.1Smatt#com* at pcmcia? 2231.1Smatt#pcmcom* at pcmcia? 2241.1Smatt#com* at pcmcom? 2251.1Smatt 2261.1Smatt#### Disk controllers and disks 2271.1Smatt 2281.1Smatt# 2291.1Smatt 2301.1Smatt## The following flags may be set for the NCR53c94 based esp driver: 2311.1Smatt## bits 0-7: disable disconnect/reselect for the corresponding target 2321.1Smatt## bits 8-15: disable synchronous negotiation for target [bit-8] 2331.1Smatt 2341.1Smatt## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards. 2351.1Smatt## Both `dma' and `esp' are needed in all cases. 2361.1Smatt## Two kinds of additional SBus SCSI interfaces are available. One uses 2371.1Smatt## "esp at sbus" like the sun4c on-board; the other uses "esp at dma". 2381.1Smatt 2391.1Smatt## sun4/300 SCSI - an NCR53c94 or equivalent behind 2401.1Smatt## an LSI Logic DMA controller 2411.1Smatt 2421.1Smattdma0 at sbus0 slot ? offset ? # sun4c/sun4m 2431.1Smattesp0 at dma0 flags 0x0000 # sun4m 2441.1Smatt 2451.1Smattscsibus* at esp? 2461.1Smatt 2471.1Smatt## PCMCIA SCSI controllers 2481.1Smatt#aic* at pcmcia? 2491.1Smatt#scsibus* at aic? 2501.1Smatt 2511.1Smatt## These entries find devices on all SCSI busses and assign 2521.1Smatt## unit numbers dynamically. 2531.1Smattsd* at scsibus? target ? lun ? # SCSI disks 2541.1Smattst* at scsibus? target ? lun ? # SCSI tapes 2551.1Smattcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2561.1Smattch* at scsibus? target ? lun ? # SCSI changer devices 2571.1Smattss* at scsibus? target ? lun ? # SCSI scanners 2581.1Smattuk* at scsibus? target ? lun ? # unknown SCSI 2591.1Smatt 2601.1Smatt## PCMCIA IDE controllers 2611.1Smatt#wdc* at pcmcia? 2621.1Smatt#wd* at wdc? 2631.1Smatt 2641.1Smatt## A disk-like interface to files. Can be used to create floppy, CD, 2651.1Smatt## miniroot images, etc. 2661.1Smatt 2671.1Smattpseudo-device vnd 4 2681.1Smatt 2691.1Smatt## Memory disk device, used on boot floppies with compressed 2701.1Smatt## kernel-plus-root-disk images. 2711.1Smatt 2721.1Smatt#pseudo-device md 1 2731.1Smatt 2741.1Smatt 2751.1Smatt#### Network interfaces 2761.1Smatt 2771.1Smatt## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 2781.1Smatt## Three flavors of additional SBus ethernets are available. One attaches 2791.1Smatt## directly like the sun4c on-board, one uses the ledma device like the 2801.1Smatt## sun4m on-board, and one uses the lebuffer device. 2811.1Smatt 2821.1Smattledma0 at sbus0 slot ? offset ? # sun4m on-board 2831.1Smattle0 at ledma0 # sun4m on-board 2841.1Smatt 2851.1Smatt# PCMCIA ethernet devices 2861.1Smatt#ep* at pcmcia? 2871.1Smatt#mbe* at pcmcia? 2881.1Smatt#ne* at pcmcia? 2891.1Smatt#sm* at pcmcia? 2901.1Smatt 2911.1Smatt## Loopback network interface; required 2921.1Smattpseudo-device loop 2931.1Smatt 2941.1Smatt## PPP, the successor to SLIP. See pppd(8). 2951.1Smattpseudo-device ppp 2 2961.1Smatt 2971.1Smatt## Network "tunnel" device, allowing protocol stacks to run in the userland. 2981.1Smatt## This is used by the third-party user-mode "ppp" program, and others. 2991.1Smattpseudo-device tun 4 3001.1Smatt 3011.1Smatt## Generic L3 over IP tunnel 3021.1Smatt#pseudo-device gre 2 # generic L3 over IP tunnel 3031.1Smatt 3041.1Smatt## Berkeley Packet Filter, required to run RARPD. A generic C-language 3051.1Smatt## interface that allows selective examining of incoming packets. 3061.1Smattpseudo-device bpfilter 16 3071.1Smatt 3081.1Smatt## IP Filter, used in firewall and NAT applications. See ipnat(8) for 3091.1Smatt## one example of the use of the IP Filter. 3101.1Smattpseudo-device ipfilter 3111.1Smatt 3121.1Smatt 3131.1Smatt#### Audio and video devices 3141.1Smatt 3151.1Smatt## /dev/audio support (`audioamd' plus `audio') 3161.1Smatt## 3171.1Smatt# The Tadpole 3GX audio is accessed through the ISDN chip which 3181.1Smatt# is not currently supported. 3191.1Smatt 3201.1Smatt#### Other device configuration 3211.1Smatt 3221.1Smatt## Pseudo ttys, required for network logins and programs like screen. 3231.1Smatt## 32 is a good number for average systems; you may have as many as you 3241.1Smatt## like, though 256 is more or less the upper limit. Increasing this 3251.1Smatt## number still requires you to run /dev/MAKEDEV to create the files 3261.1Smatt## for the ptys. 3271.1Smatt 3281.1Smattpseudo-device pty 32 # pseudo-ttys (for network, etc.) 3291.1Smatt 3301.1Smatt## Random device, used to implement /dev/random (a source of random noise), 3311.1Smatt## and generate randomness for some kernel formulae. 3321.1Smatt 3331.1Smattpseudo-device rnd 334