GENERIC revision 1.121
11.121Sfredb# $NetBSD: GENERIC,v 1.121 2002/02/06 00:45:53 fredb Exp $ 21.21Scgd# 31.117Sgmcgarry# GENERIC machine description file 41.117Sgmcgarry# 51.117Sgmcgarry# This machine description file is used to generate the default NetBSD 61.117Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.117Sgmcgarry# and device drivers, but should be useful for most applications. 81.117Sgmcgarry# 91.117Sgmcgarry# The machine description file can be customised for your specific 101.117Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.117Sgmcgarry# 121.117Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.117Sgmcgarry# man page. 141.117Sgmcgarry# 151.117Sgmcgarry# For further information on hardware support for this architecture, see 161.117Sgmcgarry# the intro(4) man page. For further information about kernel options 171.117Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.117Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.117Sgmcgarry# device. 201.1Sbriggs 211.117Sgmcgarryinclude "arch/mac68k/conf/std.mac68k" 221.95Shubertf 231.121Sfredb#ident "GENERIC-$Revision: 1.121 $" 241.2Sbriggs 251.74Sscottrmaxusers 16 # estimated number of users 261.71Sscottr 271.71Sscottr# CPU support. At least one is REQUIRED. 281.71Sscottroptions M68040 291.71Sscottroptions M68030 301.71Sscottroptions M68020 # Note: must have 68851 PMMU 311.71Sscottr 321.71Sscottr# CPU-related options. 331.71Sscottroptions FPSP 341.71Sscottroptions FPU_EMULATE 351.2Sbriggs 361.2Sbriggs# Standard system options 371.71Sscottr 381.71Sscottroptions UCONSOLE # users can use TIOCCONS (for xconsole) 391.71Sscottroptions INSECURE # disable kernel security levels 401.71Sscottr 411.71Sscottroptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 421.71Sscottr#options NTP # NTP phase/frequency locked loop 431.71Sscottr 441.71Sscottroptions KTRACE # system call tracing via ktrace(1) 451.71Sscottr 461.71Sscottroptions SYSVMSG # System V-like message queues 471.71Sscottroptions SYSVSEM # System V-like semaphores 481.115Slukem#options SEMMNI=10 # number of semaphore identifiers 491.115Slukem#options SEMMNS=60 # number of semaphores in system 501.115Slukem#options SEMUME=10 # max number of undo entries per process 511.115Slukem#options SEMMNU=30 # number of undo structures in system 521.71Sscottroptions SYSVSHM # System V-like memory sharing 531.54Sscottr#options SHMMAXPGS=1024 # 1024 pages is the default 541.71Sscottr 551.54Sscottroptions LKM # loadable kernel modules 561.120Sjdolecek 571.120Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 581.54Sscottr 591.71Sscottr# Diagnostic/debugging support options 601.121Sfredb#options DIAGNOSTIC # cheap kernel consistency checks 611.71Sscottr#options DEBUG # expensive debugging checks/support 621.71Sscottroptions KMEMSTATS # kernel memory statistics (vmstat -m) 631.114Slukemoptions DDB # in-kernel debugger 641.70Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 651.114Slukem#options KGDB # remote debugger 661.114Slukem#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 671.114Slukem#options KGDB_DEVRATE=38400 # baud rate 681.71Sscottr#makeoptions DEBUG="-g" # compile full symbol table 691.54Sscottr 701.54Sscottr# Compatibility options 711.71Sscottr#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 721.71Sscottr#options COMPAT_09 # NetBSD 0.9, 731.71Sscottroptions COMPAT_10 # NetBSD 1.0, 741.71Sscottroptions COMPAT_11 # NetBSD 1.1, 751.71Sscottroptions COMPAT_12 # NetBSD 1.2, 761.72Skleinkoptions COMPAT_13 # NetBSD 1.3, 771.89Saugustssoptions COMPAT_14 # NetBSD 1.4, 781.71Sscottroptions COMPAT_43 # and 4.3BSD 791.111Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 801.71Sscottr 811.121Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF. 821.121Sfredb#options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 831.121Sfredb 841.121Sfredb#options COMPAT_LINUX # compatibility with Linux/m68k binaries 851.121Sfredb#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 861.121Sfredb#options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 871.86Skleink#options COMPAT_SVR4 # compatibility with SVR4 binaries 881.2Sbriggs 891.65Sscottr# File systems 901.71Sscottrfile-system FFS # UFS 911.71Sscottrfile-system EXT2FS # second extended file system (linux) 921.71Sscottrfile-system LFS # log-structured file system 931.71Sscottrfile-system MFS # memory file system 941.71Sscottrfile-system NFS # Network File System client 951.71Sscottrfile-system CD9660 # ISO 9660 + Rock Ridge file system 961.71Sscottrfile-system MSDOSFS # MS-DOS file system 971.71Sscottrfile-system FDESC # /dev/fd 981.71Sscottrfile-system KERNFS # /kern 991.71Sscottrfile-system NULLFS # loopback file system 1001.94Swrstudenfile-system OVERLAY # overlay file system 1011.71Sscottrfile-system PORTAL # portal filesystem (still experimental) 1021.71Sscottrfile-system PROCFS # /proc 1031.71Sscottrfile-system UMAPFS # NULLFS + uid and gid remapping 1041.71Sscottrfile-system UNION # union file system 1051.90Sfredbfile-system CODA # Venus/Coda distributed file system 1061.55Sthorpej 1071.65Sscottr# File system options 1081.71Sscottroptions QUOTA # UFS quotas 1091.75Sbouyer#options FFS_EI # FFS Endian Independant support 1101.103Sfvdloptions SOFTDEP # FFS soft updates support. 1111.71Sscottroptions NFSSERVER # Network File System server 1121.71Sscottr#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1131.71Sscottr # immutable) behave as system flags. 1141.92Sitojun 1151.7Sbriggs# Networking options 1161.71Sscottroptions GATEWAY # packet forwarding 1171.71Sscottroptions INET # IP + ICMP + TCP + UDP 1181.92Sitojunoptions INET6 # IPV6 1191.92Sitojun#options IPSEC # IP security 1201.92Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1211.92Sitojun#options IPSEC_DEBUG # debug for IP security 1221.71Sscottr#options MROUTING # IP multicast routing 1231.71Sscottroptions NS # XNS 1241.71Sscottr#options NSIP # XNS tunneling over IP 1251.71Sscottroptions ISO,TPIP # OSI 1261.105Ssommerfe#options EON # OSI tunneling over IP 1271.71Sscottroptions CCITT,LLC,HDLC # X.25 1281.71Sscottroptions NETATALK # AppleTalk networking protocols 1291.88Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1301.88Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1311.88Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1321.88Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks 1331.121Sfredboptions IPFILTER_LOG # ipmon(8) log support 1341.111Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1351.71Sscottr 1361.71Sscottr# These options enable verbose messages for several subsystems. 1371.71Sscottr# Warning, these may compile large string tables into the kernel! 1381.71Sscottroptions SCSIVERBOSE # human readable SCSI error messages 1391.1Sbriggs 1401.96Sscottr# wscons options 1411.96Sscottr#options WSEMUL_SUN # sun terminal emulation 1421.96Sscottroptions WSEMUL_VT100 # VT100 / VT220 emulation 1431.96Sscottroptions WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 1441.96Sscottr 1451.96Sscottr# rcons options; note that 1-bit and 8-bit displays are supported by default. 1461.96Sscottroptions RCONS_2BPP # Support for 2-bit display 1471.96Sscottroptions RCONS_4BPP # Support for 4-bit display 1481.96Sscottroptions RCONS_16BPP # Support for 16-bit display 1491.96Sscottr 1501.9Sbriggs# Mac-specific options 1511.79Sscottr#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 1521.87Sbriggs#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 1531.79Sscottroptions GRF_COMPAT # Include grf compatibility code 1541.77Sscottr#options MRG_ADB # Use ROM-based ADB driver 1551.79Sscottroptions ZS_CONSOLE_ABORT 1561.84Sscottr 1571.93Sscottroptions NFS_BOOT_DHCP 1581.71Sscottr 1591.71Sscottr# Kernel root file system and dump configuration. 1601.55Sthorpejconfig netbsd root on ? type ? 1611.1Sbriggs 1621.71Sscottr# 1631.71Sscottr# Device configuration 1641.71Sscottr# 1651.71Sscottr 1661.71Sscottrmainbus0 at root 1671.71Sscottr 1681.71Sscottrfpu0 at mainbus? # Floating-Point Coprocessor support 1691.71Sscottr 1701.71Sscottr 1711.71Sscottr# Basic Bus Support 1721.71Sscottr 1731.71Sscottr# On-board I/O bus support 1741.71Sscottrobio0 at mainbus? 1751.71Sscottr 1761.71Sscottr# NuBus support 1771.71Sscottrnubus0 at mainbus? 1781.71Sscottr 1791.71Sscottr 1801.71Sscottr# Console Devices 1811.71Sscottr 1821.71Sscottr# Apple Desktop Bus interface 1831.80Senderadb0 at obio? 1841.80Senderaed* at adb? # ADB event device 1851.96Sscottrakbd* at adb? # ADB keyboard 1861.96Sscottrams* at adb? # ADB mouse 1871.71Sscottr 1881.71Sscottr# Basic frame buffer support 1891.71Sscottrintvid0 at obio? # Internal video hardware 1901.71Sscottrmacvid* at nubus? # NuBus video card 1911.71Sscottr 1921.71Sscottr# Device-independent frame buffer interface 1931.96Sscottrmacfb* at intvid? 1941.96Sscottrmacfb* at macvid? 1951.71Sscottr 1961.96Sscottr# Workstation Console devices 1971.99Sscottrwsdisplay* at macfb? console ? 1981.99Sscottrwskbd* at akbd? console ? 1991.99Sscottrwsmouse* at ams? 2001.71Sscottr 2011.71Sscottr 2021.71Sscottr# Serial Devices 2031.71Sscottr 2041.71Sscottr# On-board serial interface 2051.71Sscottrzsc0 at obio? 2061.71Sscottrzstty* at zsc? channel ? 2071.71Sscottr 2081.71Sscottr 2091.71Sscottr# SCSI Controllers and Devices 2101.71Sscottr 2111.71Sscottr# SCSI controllers 2121.71Sscottr# XXX - use only one of ncrscsi or sbc 2131.71Sscottrncrscsi0 at obio? # SCSI NCR 5380 2141.71Sscottr#sbc0 at obio? flags 0x1 # MI SCSI NCR 5380 2151.71Sscottresp0 at obio? # SCSI NCR 53C9x 2161.71Sscottresp1 at obio? # SCSI NCR 53C9x 2171.71Sscottr 2181.71Sscottr# SCSI bus support 2191.71Sscottrscsibus* at scsi? 2201.71Sscottr 2211.71Sscottr# SCSI devices 2221.71Sscottrsd* at scsibus? target ? lun ? # SCSI disk drives 2231.71Sscottrst* at scsibus? target ? lun ? # SCSI tape drives 2241.71Sscottrcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2251.71Sscottrch* at scsibus? target ? lun ? # SCSI autochangers 2261.71Sscottrse* at scsibus? target ? lun ? # SCSI ethernet 2271.71Sscottrss* at scsibus? target ? lun ? # SCSI scanners 2281.71Sscottruk* at scsibus? target ? lun ? # SCSI unknown 2291.84Sscottr 2301.84Sscottr 2311.84Sscottr# Miscellaneous mass storage devices 2321.84Sscottr 2331.84Sscottr# IWM floppy disk controller 2341.84Sscottriwm0 at obio? # Sony driver (800K GCR) 2351.84Sscottrfd* at iwm? drive ? 2361.71Sscottr 2371.71Sscottr 2381.71Sscottr# Network Interfaces 2391.71Sscottr 2401.71Sscottr# On-board Ethernet controllers 2411.71Sscottrsn* at obio? # SONIC-based (DP83932, DP83916) 2421.71Sscottrmc* at obio? # MACE-based 2431.71Sscottr 2441.71Sscottr# NuBus Ethernet controllers 2451.71Sscottrae* at nubus? # DP8390-based 2461.71Sscottrsn* at nubus? # SONIC-based (DP83932, DP83916) 2471.106Sbriggssm* at nubus? # SMC 91cxx-based 2481.71Sscottr 2491.106Sbriggsnsphy* at mii? phy ? 2501.106Sbriggsukphy* at mii? phy ? 2511.71Sscottr 2521.71Sscottr# Audio Devices 2531.71Sscottr 2541.71Sscottr# On-board audio hardware 2551.71Sscottrasc0 at obio? # ASC/EASC audio 2561.71Sscottr 2571.71Sscottr# Pseudo-Devices 2581.71Sscottr 2591.71Sscottr# disk/mass storage pseudo-devices 2601.71Sscottrpseudo-device ccd 4 # concatenated/striped disk devices 2611.119Soster#pseudo-device raid 8 # RAIDframe disk driver 2621.98Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2631.119Soster# Options to enable various other RAIDframe RAID types. 2641.119Soster# options RF_INCLUDE_EVENODD=1 2651.119Soster# options RF_INCLUDE_RAID5_RS=1 2661.119Soster# options RF_INCLUDE_PARITYLOGGING=1 2671.119Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2681.119Soster# options RF_INCLUDE_INTERDECLUSTER=1 2691.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2701.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2711.71Sscottrpseudo-device md 1 # memory disk device (ramdisk) 2721.90Sfredbpseudo-device vcoda 1 # Venus/Coda distributed file system 2731.71Sscottrpseudo-device vnd 4 # disk-like interface to files 2741.71Sscottr 2751.71Sscottr# network pseudo-devices 2761.71Sscottrpseudo-device bpfilter 12 # Berkeley packet filter 2771.71Sscottrpseudo-device ipfilter # IP filter (firewall) and NAT 2781.71Sscottrpseudo-device loop # network loopback 2791.71Sscottrpseudo-device ppp 2 # Point-to-Point Protocol 2801.118Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2811.71Sscottrpseudo-device sl 2 # Serial Line IP 2821.71Sscottr#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2831.71Sscottrpseudo-device tun 2 # network tunneling over tty 2841.82Shwr#pseudo-device gre 2 # generic L3 over IP tunnel 2851.92Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2861.92Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2871.100Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2881.109Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2891.116Satatatpseudo-device bridge # simple inter-network bridging 2901.71Sscottr 2911.71Sscottr# miscellaneous pseudo-devices 2921.96Sscottrpseudo-device grf 2 # grf emulation for wscons 2931.96Sscottrpseudo-device ite 1 # ite emulation for wscons 2941.108Sjdolecekpseudo-device pty # pseudo-terminals 2951.71Sscottr#pseudo-device tb 1 # tablet line discipline 2961.71Sscottr 2971.101Sfredb# random number generator pseudo-device 2981.101Sfredbpseudo-device rnd # /dev/random and in-kernel generator 2991.71Sscottr#options RND_COM # use "com" randomness as well (BROKEN) 300