GENERIC revision 1.118
1# $NetBSD: GENERIC,v 1.118 2001/12/28 12:21:57 martin Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/mac68k/conf/std.mac68k" 22 23#ident "GENERIC-$Revision: 1.118 $" 24 25maxusers 16 # estimated number of users 26 27# CPU support. At least one is REQUIRED. 28options M68040 29options M68030 30options M68020 # Note: must have 68851 PMMU 31 32# CPU-related options. 33options FPSP 34options FPU_EMULATE 35 36# Standard system options 37 38options UCONSOLE # users can use TIOCCONS (for xconsole) 39options INSECURE # disable kernel security levels 40 41options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 42#options NTP # NTP phase/frequency locked loop 43 44options KTRACE # system call tracing via ktrace(1) 45 46options SYSVMSG # System V-like message queues 47options SYSVSEM # System V-like semaphores 48#options SEMMNI=10 # number of semaphore identifiers 49#options SEMMNS=60 # number of semaphores in system 50#options SEMUME=10 # max number of undo entries per process 51#options SEMMNU=30 # number of undo structures in system 52options SYSVSHM # System V-like memory sharing 53#options SHMMAXPGS=1024 # 1024 pages is the default 54 55options LKM # loadable kernel modules 56 57# Diagnostic/debugging support options 58options DIAGNOSTIC # cheap kernel consistency checks 59#options DEBUG # expensive debugging checks/support 60options KMEMSTATS # kernel memory statistics (vmstat -m) 61options DDB # in-kernel debugger 62#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 63#options KGDB # remote debugger 64#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 65#options KGDB_DEVRATE=38400 # baud rate 66#makeoptions DEBUG="-g" # compile full symbol table 67 68# Compatibility options 69#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 70#options COMPAT_09 # NetBSD 0.9, 71options COMPAT_10 # NetBSD 1.0, 72options COMPAT_11 # NetBSD 1.1, 73options COMPAT_12 # NetBSD 1.2, 74options COMPAT_13 # NetBSD 1.3, 75options COMPAT_14 # NetBSD 1.4, 76options COMPAT_43 # and 4.3BSD 77#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 78 79options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 80#options COMPAT_SVR4 # compatibility with SVR4 binaries 81#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 82#options COMPAT_LINUX # compatibility with Linux/m68k binaries 83#options EXEC_ELF32 # 32-bit ELF executables (Linux, SVR4) 84 85# File systems 86file-system FFS # UFS 87file-system EXT2FS # second extended file system (linux) 88file-system LFS # log-structured file system 89file-system MFS # memory file system 90file-system NFS # Network File System client 91file-system CD9660 # ISO 9660 + Rock Ridge file system 92file-system MSDOSFS # MS-DOS file system 93file-system FDESC # /dev/fd 94file-system KERNFS # /kern 95file-system NULLFS # loopback file system 96file-system OVERLAY # overlay file system 97file-system PORTAL # portal filesystem (still experimental) 98file-system PROCFS # /proc 99file-system UMAPFS # NULLFS + uid and gid remapping 100file-system UNION # union file system 101file-system CODA # Venus/Coda distributed file system 102 103# File system options 104options QUOTA # UFS quotas 105#options FFS_EI # FFS Endian Independant support 106options SOFTDEP # FFS soft updates support. 107options NFSSERVER # Network File System server 108#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 109 # immutable) behave as system flags. 110 111# Networking options 112options GATEWAY # packet forwarding 113options INET # IP + ICMP + TCP + UDP 114options INET6 # IPV6 115#options IPSEC # IP security 116#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 117#options IPSEC_DEBUG # debug for IP security 118#options MROUTING # IP multicast routing 119options NS # XNS 120#options NSIP # XNS tunneling over IP 121options ISO,TPIP # OSI 122#options EON # OSI tunneling over IP 123options CCITT,LLC,HDLC # X.25 124options NETATALK # AppleTalk networking protocols 125options PPP_BSDCOMP # BSD-Compress compression support for PPP 126options PPP_DEFLATE # Deflate compression support for PPP 127options PPP_FILTER # Active filter support for PPP (requires bpf) 128options PFIL_HOOKS # pfil(9) packet filter hooks 129#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 130 131# These options enable verbose messages for several subsystems. 132# Warning, these may compile large string tables into the kernel! 133options SCSIVERBOSE # human readable SCSI error messages 134 135# wscons options 136#options WSEMUL_SUN # sun terminal emulation 137options WSEMUL_VT100 # VT100 / VT220 emulation 138options WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 139 140# rcons options; note that 1-bit and 8-bit displays are supported by default. 141options RCONS_2BPP # Support for 2-bit display 142options RCONS_4BPP # Support for 4-bit display 143options RCONS_16BPP # Support for 16-bit display 144 145# Mac-specific options 146#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 147#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 148options GRF_COMPAT # Include grf compatibility code 149#options MRG_ADB # Use ROM-based ADB driver 150options ZS_CONSOLE_ABORT 151 152options NFS_BOOT_DHCP 153 154# Kernel root file system and dump configuration. 155config netbsd root on ? type ? 156 157# 158# Device configuration 159# 160 161mainbus0 at root 162 163fpu0 at mainbus? # Floating-Point Coprocessor support 164 165 166# Basic Bus Support 167 168# On-board I/O bus support 169obio0 at mainbus? 170 171# NuBus support 172nubus0 at mainbus? 173 174 175# Console Devices 176 177# Apple Desktop Bus interface 178adb0 at obio? 179aed* at adb? # ADB event device 180akbd* at adb? # ADB keyboard 181ams* at adb? # ADB mouse 182 183# Basic frame buffer support 184intvid0 at obio? # Internal video hardware 185macvid* at nubus? # NuBus video card 186 187# Device-independent frame buffer interface 188macfb* at intvid? 189macfb* at macvid? 190 191# Workstation Console devices 192wsdisplay* at macfb? console ? 193wskbd* at akbd? console ? 194wsmouse* at ams? 195 196 197# Serial Devices 198 199# On-board serial interface 200zsc0 at obio? 201zstty* at zsc? channel ? 202 203 204# SCSI Controllers and Devices 205 206# SCSI controllers 207# XXX - use only one of ncrscsi or sbc 208ncrscsi0 at obio? # SCSI NCR 5380 209#sbc0 at obio? flags 0x1 # MI SCSI NCR 5380 210esp0 at obio? # SCSI NCR 53C9x 211esp1 at obio? # SCSI NCR 53C9x 212 213# SCSI bus support 214scsibus* at scsi? 215 216# SCSI devices 217sd* at scsibus? target ? lun ? # SCSI disk drives 218st* at scsibus? target ? lun ? # SCSI tape drives 219cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 220ch* at scsibus? target ? lun ? # SCSI autochangers 221se* at scsibus? target ? lun ? # SCSI ethernet 222ss* at scsibus? target ? lun ? # SCSI scanners 223uk* at scsibus? target ? lun ? # SCSI unknown 224 225 226# Miscellaneous mass storage devices 227 228# IWM floppy disk controller 229iwm0 at obio? # Sony driver (800K GCR) 230fd* at iwm? drive ? 231 232 233# Network Interfaces 234 235# On-board Ethernet controllers 236sn* at obio? # SONIC-based (DP83932, DP83916) 237mc* at obio? # MACE-based 238 239# NuBus Ethernet controllers 240ae* at nubus? # DP8390-based 241sn* at nubus? # SONIC-based (DP83932, DP83916) 242sm* at nubus? # SMC 91cxx-based 243 244nsphy* at mii? phy ? 245ukphy* at mii? phy ? 246 247# Audio Devices 248 249# On-board audio hardware 250asc0 at obio? # ASC/EASC audio 251 252# Pseudo-Devices 253 254# disk/mass storage pseudo-devices 255pseudo-device ccd 4 # concatenated/striped disk devices 256#pseudo-device raid 4 # RAIDframe disk driver 257#options RAID_AUTOCONFIG # auto-configuration of RAID components 258pseudo-device md 1 # memory disk device (ramdisk) 259pseudo-device vcoda 1 # Venus/Coda distributed file system 260pseudo-device vnd 4 # disk-like interface to files 261 262# network pseudo-devices 263pseudo-device bpfilter 12 # Berkeley packet filter 264pseudo-device ipfilter # IP filter (firewall) and NAT 265pseudo-device loop # network loopback 266pseudo-device ppp 2 # Point-to-Point Protocol 267pseudo-device pppoe # PPP over Ethernet (RFC 2516) 268pseudo-device sl 2 # Serial Line IP 269#pseudo-device strip 2 # Starmode Radio IP (Metricom) 270pseudo-device tun 2 # network tunneling over tty 271#pseudo-device gre 2 # generic L3 over IP tunnel 272pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 273#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 274#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 275pseudo-device vlan # IEEE 802.1q encapsulation 276pseudo-device bridge # simple inter-network bridging 277 278# miscellaneous pseudo-devices 279pseudo-device grf 2 # grf emulation for wscons 280pseudo-device ite 1 # ite emulation for wscons 281pseudo-device pty # pseudo-terminals 282#pseudo-device tb 1 # tablet line discipline 283 284# random number generator pseudo-device 285pseudo-device rnd # /dev/random and in-kernel generator 286#options RND_COM # use "com" randomness as well (BROKEN) 287