GENERIC32_IP2x revision 1.46
11.46Scube# $NetBSD: GENERIC32_IP2x,v 1.46 2006/02/05 05:02:02 cube Exp $ 21.8Spooka# 31.8Spooka# GENERIC32_IP2x machine description file 41.8Spooka# 51.8Spooka# This machine description file is used to generate the default NetBSD 61.8Spooka# kernel. The generic kernel does not include all options, subsystems 71.8Spooka# and device drivers, but should be useful for most applications. 81.8Spooka# 91.8Spooka# The machine description file can be customised for your specific 101.8Spooka# machine to reduce the kernel size and improve its performance. 111.8Spooka# 121.8Spooka# For further information on compiling NetBSD kernels, see the config(8) 131.8Spooka# man page. 141.8Spooka# 151.8Spooka# For further information on hardware support for this architecture, see 161.8Spooka# the intro(4) man page. For further information about kernel options 171.8Spooka# for this architecture, see the options(4) man page. For an explanation 181.8Spooka# of each device driver in this file see the section 4 man page for the 191.8Spooka# device. 201.8Spooka# 211.8Spooka# 221.8Spooka# Currently this config file supports Indigo R4k, Indigo2 and Indy 231.8Spooka# (IP20, IP22 and IP24, respectively). 241.1Ssekiya# 251.1Ssekiya 261.1Ssekiyainclude "arch/sgimips/conf/std.sgimips" 271.1Ssekiya 281.8Spookamakeoptions TEXTADDR=0x88069000 # entry point 291.1Ssekiya 301.1Ssekiyaoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 311.1Ssekiya 321.46Scube#ident "GENERIC32-IP2x-$Revision: 1.46 $" 331.1Ssekiya 341.1Ssekiyamaxusers 32 351.1Ssekiya 361.1Ssekiya# CPU related options 371.1Ssekiyaoptions MIPS3 # MIPS3 support 381.9Ssekiyaoptions INDY_R4600_CACHE # Include routines to handle special 391.9Ssekiya # R4600 cache -- required for Indy. 401.1Ssekiya 411.22Ssekiyamakeoptions WANT_ECOFF="yes" # Create an ECOFF kernel in addition 421.22Ssekiya # to an ELF kernel -- required for 431.22Ssekiya # netbooting Indigo (IP20) and some 441.22Ssekiya # Indigo2 (IP22) machines 451.22Ssekiya 461.5Ssekiya#options BLINK # blinkenlitzen 471.5Ssekiya 481.1Ssekiya# Standard system options 491.1Ssekiya#options INSECURE # disable kernel security levels 501.1Ssekiya 511.1Ssekiya#options NTP # NTP phase/frequence locked loop 521.1Ssekiyaoptions KTRACE # system call tracing via ktrace(1) 531.1Ssekiyaoptions SYSTRACE # system call vetting via systrace(1) 541.1Ssekiya 551.1Ssekiyaoptions SYSVMSG # System V message queues 561.1Ssekiyaoptions SYSVSEM # System V semaphores 571.1Ssekiya#options SEMMNI=10 # number of semaphore identifiers 581.1Ssekiya#options SEMMNS=60 # number of semaphores in system 591.1Ssekiya#options SEMUME=10 # max number of undo entries per process 601.1Ssekiya#options SEMMNU=30 # number of undo structures in system 611.1Ssekiyaoptions SYSVSHM # System V shared memory 621.1Ssekiya#options SHMMAXPGS=1024 # 1024 pages is the default 631.13Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 641.1Ssekiya 651.1Ssekiya#options LKM # loadable kernel modules (XXX: working?) 661.1Ssekiya 671.1Ssekiyaoptions USERCONF # userconf(4) support 681.1Ssekiya#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 691.19Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 701.1Ssekiya 711.1Ssekiya# Enable experimental buffer queue strategy for better responsiveness under 721.1Ssekiya# high disk I/O load. Use it with caution - it's not proven to be stable yet. 731.31Stsutsui#options BUFQ_READPRIO 741.31Stsutsui#options BUFQ_PRIOCSCAN 751.1Ssekiya 761.1Ssekiya# Diagnostic/debugging support options 771.1Ssekiya#options DIAGNOSTIC # expensive kernel consistency checks 781.1Ssekiya#options DEBUG # expensive debugging checks/support 791.1Ssekiya#options KMEMSTATS # kernel memory statistics (vmstat -m) 801.1Ssekiyaoptions DDB # in-kernel debugger 811.1Ssekiyaoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 821.1Ssekiya#options KGDB # remote debugger 831.1Ssekiya#options KGDB_DEV=0x2301 # KGDB port - this is Serial(1) 841.1Ssekiya#options KGDB_DEVRATE=19200 # KGDB Baud Rate 851.1Ssekiya#makeoptions DEBUG="-g" # compile full symbol table 861.1Ssekiya 871.1Ssekiya# Compatibility options 881.21Ssekiyaoptions COMPAT_15 # NetBSD 1.5 891.21Ssekiyaoptions COMPAT_16 # NetBSD 1.6 901.21Ssekiyaoptions COMPAT_20 # NetBSD 2.0 911.37Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 921.1Ssekiya#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 931.1Ssekiya 941.1Ssekiyaoptions COMPAT_IRIX # binary compatibility with IRIX 951.1Ssekiya#options COMPAT_LINUX # binary compatibility with Linux 961.1Ssekiya#options COMPAT_ULTRIX # binary compatibility with Ultrix 971.23Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 981.1Ssekiya 991.1Ssekiya# File systems 1001.1Ssekiyafile-system FFS # UFS 1011.1Ssekiyafile-system EXT2FS # second extended file system (linux) 1021.1Ssekiyafile-system LFS # log-structured file system 1031.1Ssekiyafile-system MFS # memory file system 1041.1Ssekiyafile-system NFS # Network File System client 1051.1Ssekiyafile-system NTFS # Windows/NT file system (experimental) 1061.1Ssekiyafile-system CD9660 # ISO 9660 + Rock Ridge file system 1071.1Ssekiyafile-system MSDOSFS # MS-DOS file system 1081.1Ssekiyafile-system FDESC # /dev/fd 1091.1Ssekiyafile-system KERNFS # /kern 1101.1Ssekiyafile-system NULLFS # loopback file system 1111.1Ssekiyafile-system OVERLAY # overlay file system 1121.1Ssekiyafile-system PORTAL # portal filesystem (still experimental) 1131.1Ssekiyafile-system PROCFS # /proc 1141.1Ssekiyafile-system UMAPFS # NULLFS + uid and gid remapping 1151.1Ssekiyafile-system UNION # union file system 1161.1Ssekiyafile-system CODA # Coda File System; also needs vcoda (below) 1171.38Schristosfile-system PTYFS # /dev/pts/N support 1181.39Stsutsui#file-system TMPFS # experimental - Efficient memory file-system 1191.44Stsutsui#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1201.1Ssekiya 1211.1Ssekiya# File system options 1221.1Ssekiyaoptions QUOTA # UFS quotas 1231.1Ssekiya#options FFS_EI # FFS Endian Independent support 1241.1Ssekiyaoptions SOFTDEP # FFS soft updates support. 1251.27Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1261.1Ssekiyaoptions NFSSERVER # Network File System server 1271.40Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1281.1Ssekiya#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1291.1Ssekiya # immutable) behave as system flags. 1301.1Ssekiya 1311.1Ssekiya# Networking options 1321.1Ssekiya#options GATEWAY # packet forwarding 1331.1Ssekiyaoptions INET # IP + ICMP + TCP + UDP 1341.1Ssekiyaoptions INET6 # IPV6 1351.1Ssekiya#options IPSEC # IP security 1361.1Ssekiya#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1371.33Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1381.1Ssekiya#options IPSEC_DEBUG # debug for IP security 1391.1Ssekiya#options MROUTING # IP multicast routing 1401.20Smanu#options PIM # Protocol Independent Multicast 1411.1Ssekiyaoptions NS # XNS 1421.1Ssekiya#options NSIP # XNS tunneling over IP 1431.1Ssekiyaoptions ISO,TPIP # OSI 1441.1Ssekiya#options EON # OSI tunneling over IP 1451.1Ssekiyaoptions CCITT,LLC,HDLC # X.25 1461.1Ssekiyaoptions NETATALK # AppleTalk networking protocols 1471.1Ssekiyaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1481.1Ssekiyaoptions PPP_DEFLATE # Deflate compression support for PPP 1491.1Ssekiyaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1501.1Ssekiyaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1511.1Ssekiyaoptions IPFILTER_LOG # ipmon(8) log support 1521.1Ssekiya#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1531.1Ssekiya#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1541.1Ssekiya 1551.12Sabs#options ALTQ # Manipulate network interfaces' output queues 1561.12Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1571.12Sabs#options ALTQ_CBQ # Class-Based Queueing 1581.12Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1591.12Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1601.12Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1611.12Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1621.12Sabs#options ALTQ_LOCALQ # Local queueing discipline 1631.12Sabs#options ALTQ_PRIQ # Priority Queueing 1641.12Sabs#options ALTQ_RED # Random Early Detection 1651.12Sabs#options ALTQ_RIO # RED with IN/OUT 1661.12Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1671.12Sabs 1681.1Ssekiya# These options enable verbose messages for several subsystems. 1691.1Ssekiya# Warning, these may compile large string tables into the kernel! 1701.1Ssekiyaoptions MIIVERBOSE # verbose PHY autoconfig messages 1711.1Ssekiyaoptions SCSIVERBOSE # human readable SCSI error messages 1721.1Ssekiya 1731.1Ssekiyaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1741.1Ssekiya 1751.1Ssekiya#options MEMORY_DISK_HOOKS 1761.1Ssekiya#options MEMORY_DISK_IS_ROOT 1771.1Ssekiya#options MEMORY_DISK_SERVER=0 1781.1Ssekiya#options MINIROOTSIZE=8192 1791.1Ssekiya 1801.1Ssekiya#options SCSI_DELAY=5 1811.1Ssekiya 1821.4Slonewolf# 1831.4Slonewolf# wscons options 1841.4Slonewolf# 1851.4Slonewolf# builtin terminal emulations 1861.4Slonewolf#options WSEMUL_SUN # sun terminal emulation 1871.4Slonewolfoptions WSEMUL_VT100 # VT100 / VT220 emulation 1881.4Slonewolf# different kernel output - see dev/wscons/wsdisplayvar.h 1891.4Slonewolfoptions WS_KERNEL_FG=WSCOL_GREEN 1901.4Slonewolf#options WS_KERNEL_BG=WSCOL_BLACK 1911.4Slonewolf# compatibility to other console drivers 1921.4Slonewolfoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1931.4Slonewolf# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 1941.4Slonewolf#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 1951.4Slonewolf# the following enables some functions to get mouse console support. 1961.4Slonewolf# if you want a really secure system, it may be better not to enable them, 1971.4Slonewolf# see wsmoused(8), section SECURITY CONSIDERATIONS for more info. 1981.4Slonewolf#options WSDISPLAY_CHARFUNCS # mouse console support 1991.4Slonewolf 2001.4Slonewolf 2011.1Ssekiya# Kernel root file system and dump configuration. 2021.1Ssekiyaconfig netbsd root on ? type ? 2031.1Ssekiya 2041.1Ssekiya# Main bus and CPU 2051.1Ssekiyamainbus0 at root 2061.1Ssekiyacpu0 at mainbus? 2071.1Ssekiya 2081.1Ssekiyasd* at scsibus? target ? lun ? # SCSI disks 2091.1Ssekiyast* at scsibus? target ? lun ? # SCSI tapes 2101.1Ssekiyacd* at scsibus? target ? lun ? # SCSI CD-ROMs 2111.1Ssekiyach* at scsibus? target ? lun ? # SCSI changer devices 2121.1Ssekiyass* at scsibus? target ? lun ? # SCSI scanners 2131.1Ssekiyases* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices 2141.1Ssekiyauk* at scsibus? target ? lun ? # unknown SCSI 2151.1Ssekiya 2161.24Ssekiya# Personal Iris / Indigo R3k 2171.24Ssekiyapic0 at mainbus0 addr 0x1fa00000 2181.24Ssekiyagio0 at pic0 2191.24Ssekiya 2201.1Ssekiya# Indy / Indigo^2 2211.1Ssekiyaimc0 at mainbus0 addr 0x1fa00000 2221.1Ssekiyagio0 at imc0 2231.1Ssekiyaeisa0 at imc0 2241.9Ssekiyaint0 at mainbus0 # Interrupt controller 2251.1Ssekiya 2261.1Ssekiyahpc0 at gio? addr 0x1fb80000 2271.1Ssekiyahpc1 at gio? addr 0x1fb00000 2281.1Ssekiyahpc2 at gio? addr 0x1f980000 2291.1Ssekiya 2301.4Slonewolfnewport* at gio? slot ? 2311.4Slonewolfwsdisplay* at newport? console ? 2321.4Slonewolf 2331.16Ssekiyagrtwo* at gio? slot ? 2341.16Ssekiyawsdisplay* at grtwo? console ? 2351.14Ssekiya 2361.1Ssekiya# HPC devices 2371.1Ssekiyasq* at hpc0 offset ? 2381.1Ssekiyawdsc* at hpc0 offset ? 2391.24Ssekiyadpclock* at hpc0 offset ? # IP12 / IP20 2401.24Ssekiyadsclock* at hpc0 offset ? # IP22 / 24 2411.24Ssekiyahaltwo* at hpc0 offset ? # IP22 / 24 2421.4Slonewolfpckbc* at hpc0 offset ? 2431.4Slonewolf 2441.4Slonewolfpckbd* at pckbc? 2451.4Slonewolfpms* at pckbc? 2461.4Slonewolfwskbd* at pckbd? console ? 2471.17Ssekiyawskbd* at zskbd? console ? 2481.4Slonewolfwsmouse* at pms? mux 0 2491.18Ssekiyawsmouse* at zsms? mux 0 2501.5Ssekiya 2511.5Ssekiya# I/O Controller -- IP22/24 2521.5Ssekiyaioc0 at mainbus0 addr 0x1fbd9800 2531.1Ssekiya 2541.43Skurahone# IOC's parallel port 2551.43Skurahonepi1ppc0 at hpc0 offset ? 2561.43Skurahoneoptions PI1PPC_INDY_ACK_HACK # Indy hardware bug workaround. 2571.43Skurahoneppbus* at pi1ppc? 2581.43Skurahonelpt* at ppbus? # Parallel printer 2591.43Skurahone 2601.1Ssekiya# 2611.1Ssekiya# As always, the zs chip is wired funny, so channel 1 is actually the 2621.1Ssekiya# first serial port and channel 0 is the second. 2631.1Ssekiya# 2641.7Ssekiyazsc0 at hpc0 offset ? 2651.7Ssekiyazstty* at zsc0 channel ? 2661.7Ssekiya 2671.7Ssekiyazsc1 at hpc0 offset ? # IP20 keyboard/mouse 2681.17Ssekiyazskbd0 at zsc1 channel 0 2691.17Ssekiyazsms0 at zsc1 channel 1 2701.1Ssekiya 2711.1Ssekiyascsibus* at scsi? # HPC SCSI 2721.1Ssekiyaaudio* at audiobus? 2731.1Ssekiya 2741.1Ssekiya# Pseudo-Devices 2751.1Ssekiya 2761.1Ssekiya# disk/mass storage pseudo-devices 2771.1Ssekiyapseudo-device ccd 4 # concatenated/striped disk devices 2781.1Ssekiya#pseudo-device cgd 4 # cryptographic disk devices 2791.1Ssekiya#pseudo-device raid 4 # RAIDframe disk driver 2801.1Ssekiya#options RAID_AUTOCONFIG # auto-configuration of RAID components 2811.28Shannkenpseudo-device fss 4 # file system snapshot device 2821.1Ssekiyapseudo-device md 1 # memory disk device (ramdisk) 2831.46Scubepseudo-device vnd # disk-like interface to files 2841.34Shubertf#options VND_COMPRESSION # compressed vnd(4) 2851.1Ssekiya 2861.1Ssekiya# network pseudo-devices 2871.45Srpaulopseudo-device bpfilter # Berkeley packet filter 2881.1Ssekiyapseudo-device ipfilter # IP filter (firewall) and NAT 2891.1Ssekiyapseudo-device loop # network loopback 2901.46Scubepseudo-device ppp # Point-to-Point Protocol 2911.46Scubepseudo-device sl # Serial Line IP 2921.46Scubepseudo-device strip # Starmode Radio IP (Metricom) 2931.46Scubepseudo-device tun # network tunneling over tty 2941.26Scubepseudo-device tap # virtual Ethernet 2951.46Scubepseudo-device gre # generic L3 over IP tunnel 2961.46Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2971.46Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2981.46Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2991.1Ssekiyapseudo-device vlan # IEEE 802.1q encapsulation 3001.1Ssekiyapseudo-device bridge # simple inter-network bridging 3011.1Ssekiya#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3021.25Srumble#pseudo-device pf # PF packet filter 3031.25Srumble#pseudo-device pflog # PF log if 3041.1Ssekiya 3051.1Ssekiya# miscellaneous pseudo-devices 3061.1Ssekiyapseudo-device pty # pseudo-terminals 3071.1Ssekiyapseudo-device sequencer 1 # MIDI sequencer 3081.1Ssekiyapseudo-device rnd # /dev/random and in-kernel generator 3091.1Ssekiyapseudo-device clockctl # user control of clock subsystem 3101.1Ssekiyapseudo-device ksyms # /dev/ksyms 3111.4Slonewolfpseudo-device wsmux # mouse & keyboard multiplexor 3121.4Slonewolfpseudo-device wsfont 3131.1Ssekiya 3141.1Ssekiya# a pseudo device needed for Coda # also needs CODA (above) 3151.1Ssekiyapseudo-device vcoda 4 # coda minicache <-> venus comm. 3161.1Ssekiya 3171.1Ssekiya# pseudo devices used for IRIX binary compatibility 3181.1Ssekiyapseudo-device irix_kmem # IRIX /dev/kmem 3191.1Ssekiyapseudo-device irix_usema # IRIX /dev/usema 3201.41Stsutsui 3211.41Stsutsui# Veriexec 3221.41Stsutsui#options VERIFIED_EXEC 3231.41Stsutsui# 3241.41Stsutsui# a pseudo device needed for veriexec 3251.41Stsutsui#pseudo-device veriexec 1 3261.41Stsutsui# 3271.41Stsutsui# Uncomment the fingerprint methods below that are desired. Note that 3281.41Stsutsui# removing fingerprint methods will have almost no impact on the kernel 3291.41Stsutsui# code size. 3301.41Stsutsui# 3311.41Stsutsui#options VERIFIED_EXEC_FP_RMD160 3321.41Stsutsui#options VERIFIED_EXEC_FP_SHA256 3331.41Stsutsui#options VERIFIED_EXEC_FP_SHA384 3341.41Stsutsui#options VERIFIED_EXEC_FP_SHA512 3351.41Stsutsui#options VERIFIED_EXEC_FP_SHA1 3361.41Stsutsui#options VERIFIED_EXEC_FP_MD5 3371.41Stsutsui 338