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