GENERICSBC revision 1.41
1# $NetBSD: GENERICSBC,v 1.41 2005/02/25 13:46:50 simonb 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.41 $" 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_20 # NetBSD 2.0, 69options COMPAT_43 # and 4.3BSD 70#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 71 72# The following is needed to run pre-NetBSD 1.6 binaries under ELF. 73options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 74options EXEC_AOUT # support for exec'ing a.out 75 76#options COMPAT_LINUX # compatibility with Linux/m68k binaries 77#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 78#options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 79#options COMPAT_SVR4 # compatibility with SVR4 binaries 80options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 81 82# File systems 83file-system FFS # UFS 84file-system EXT2FS # second extended file system (linux) 85file-system LFS # log-structured file system 86file-system MFS # memory file system 87file-system NFS # Network File System client 88file-system CD9660 # ISO 9660 + Rock Ridge file system 89file-system MSDOSFS # MS-DOS file system 90file-system FDESC # /dev/fd 91file-system KERNFS # /kern 92file-system NULLFS # loopback file system 93file-system OVERLAY # overlay file system 94file-system PORTAL # portal filesystem (still experimental) 95file-system PROCFS # /proc 96file-system UMAPFS # NULLFS + uid and gid remapping 97file-system UNION # union file system 98file-system CODA # Venus/Coda distributed file system 99 100# File system options 101options QUOTA # UFS quotas 102#options FFS_EI # FFS Endian Independant support 103options SOFTDEP # FFS soft updates support. 104#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 105options NFSSERVER # Network File System server 106#options FFS_NO_SNAPSHOT # ffs snapshots 107#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 108 # immutable) behave as system flags. 109 110# Networking options 111options GATEWAY # packet forwarding 112options INET # IP + ICMP + TCP + UDP 113options INET6 # IPV6 114#options IPSEC # IP security 115#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 116#options IPSEC_DEBUG # debug for IP security 117#options MROUTING # IP multicast routing 118#options PIM # Protocol Independent Multicast 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 129options IPFILTER_LOG # ipmon(8) log support 130#options IPFILTER_DEFAULT_BLOCK # block all packets by default 131#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 132 133#options ALTQ # Manipulate network interfaces' output queues 134#options ALTQ_BLUE # Stochastic Fair Blue 135#options ALTQ_CBQ # Class-Based Queueing 136#options ALTQ_CDNR # Diffserv Traffic Conditioner 137#options ALTQ_FIFOQ # First-In First-Out Queue 138#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 139#options ALTQ_HFSC # Hierarchical Fair Service Curve 140#options ALTQ_LOCALQ # Local queueing discipline 141#options ALTQ_PRIQ # Priority Queueing 142#options ALTQ_RED # Random Early Detection 143#options ALTQ_RIO # RED with IN/OUT 144#options ALTQ_WFQ # Weighted Fair Queueing 145 146# These options enable verbose messages for several subsystems. 147# Warning, these may compile large string tables into the kernel! 148options SCSIVERBOSE # human readable SCSI error messages 149 150# wscons options 151#options WSEMUL_SUN # sun terminal emulation 152options WSEMUL_VT100 # VT100 / VT220 emulation 153options WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 154 155# rcons options; note that 1-bit and 8-bit displays are supported by default. 156options RCONS_2BPP # Support for 2-bit display 157options RCONS_4BPP # Support for 4-bit display 158options RCONS_16BPP # Support for 16-bit display 159 160# Mac-specific options 161#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 162#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 163options GRF_COMPAT # Include grf compatibility code 164#options MRG_ADB # Use ROM-based ADB driver 165options ZS_CONSOLE_ABORT 166 167options NFS_BOOT_DHCP 168 169# Kernel root file system and dump configuration. 170config netbsd root on ? type ? 171 172# 173# Device configuration 174# 175 176mainbus0 at root 177 178fpu0 at mainbus? # Floating-Point Coprocessor support 179 180 181# Basic Bus Support 182 183# On-board I/O bus support 184obio0 at mainbus? 185 186# NuBus support 187nubus0 at mainbus? 188 189 190# Console Devices 191 192# Apple Desktop Bus interface 193adb0 at obio? 194aed* at adb? # ADB event device 195akbd* at adb? # ADB keyboard 196ams* at adb? # ADB mouse 197 198# Basic frame buffer support 199intvid0 at obio? # Internal video hardware 200macvid* at nubus? # NuBus video card 201 202# Device-independent frame buffer interface 203macfb* at intvid? 204macfb* at macvid? 205 206# Workstation Console devices 207wsdisplay* at macfb? console ? 208wskbd* at akbd? console ? 209wsmouse* at ams? 210 211 212# Serial Devices 213 214# On-board serial interface 215zsc0 at obio? 216zstty* at zsc? channel ? 217 218 219# SCSI Controllers and Devices 220 221# SCSI controllers 222# XXX - use only one of ncrscsi or sbc 223#ncrscsi0 at obio? addr 0 # SCSI NCR 5380 224sbc0 at obio? addr 0 flags 0x1 # MI SCSI NCR 5380 225esp0 at obio? addr 0 # SCSI NCR 53C9x 226esp1 at obio? addr 1 # SCSI NCR 53C9x 227 228# SCSI bus support 229scsibus* at scsi? 230 231# SCSI devices 232sd* at scsibus? target ? lun ? # SCSI disk drives 233st* at scsibus? target ? lun ? # SCSI tape drives 234cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 235ch* at scsibus? target ? lun ? # SCSI autochangers 236se* at scsibus? target ? lun ? # SCSI ethernet 237ss* at scsibus? target ? lun ? # SCSI scanners 238uk* at scsibus? target ? lun ? # SCSI unknown 239 240# IDE controller and devices 241wdc* at obio? flags 0x1000 242atabus* at ata? 243wd* at atabus? drive ? 244 245 246# Miscellaneous mass storage devices 247 248# IWM floppy disk controller 249iwm0 at obio? # Sony driver (800K GCR) 250fd* at iwm? drive ? 251 252 253# Network Interfaces 254 255# On-board Ethernet controllers 256sn* at obio? # SONIC-based (DP83932, DP83916) 257mc* at obio? # MACE-based 258 259# NuBus Ethernet controllers 260ae* at nubus? # DP8390-based 261sn* at nubus? # SONIC-based (DP83932, DP83916) 262sm* at nubus? # SMC 91cxx-based 263netdock* at nubus? # Asante NetDock, Newer Ether MicroDock 264 265nsphy* at mii? phy ? 266ukphy* at mii? phy ? 267 268# Audio Devices 269 270# On-board audio hardware 271asc0 at obio? # ASC/EASC audio 272 273# Pseudo-Devices 274 275# disk/mass storage pseudo-devices 276pseudo-device ccd 4 # concatenated/striped disk devices 277#pseudo-device cgd 4 # cryptographic disk devices 278#pseudo-device raid 8 # RAIDframe disk driver 279#options RAID_AUTOCONFIG # auto-configuration of RAID components 280# Options to enable various other RAIDframe RAID types. 281# options RF_INCLUDE_EVENODD=1 282# options RF_INCLUDE_RAID5_RS=1 283# options RF_INCLUDE_PARITYLOGGING=1 284# options RF_INCLUDE_CHAINDECLUSTER=1 285# options RF_INCLUDE_INTERDECLUSTER=1 286# options RF_INCLUDE_PARITY_DECLUSTERING=1 287# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 288pseudo-device fss 4 # file system snapshot device 289pseudo-device md 1 # memory disk device (ramdisk) 290pseudo-device vcoda 1 # Venus/Coda distributed file system 291pseudo-device vnd 4 # disk-like interface to files 292 293# network pseudo-devices 294pseudo-device bpfilter 12 # Berkeley packet filter 295pseudo-device ipfilter # IP filter (firewall) and NAT 296pseudo-device loop # network loopback 297pseudo-device ppp 2 # Point-to-Point Protocol 298pseudo-device pppoe # PPP over Ethernet (RFC 2516) 299pseudo-device sl 2 # Serial Line IP 300#pseudo-device strip 2 # Starmode Radio IP (Metricom) 301pseudo-device tun 2 # network tunneling over tty 302pseudo-device tap # virtual Ethernet 303#pseudo-device gre 2 # generic L3 over IP tunnel 304pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 305#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 306#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 307pseudo-device vlan # IEEE 802.1q encapsulation 308pseudo-device bridge # simple inter-network bridging 309 310# miscellaneous pseudo-devices 311pseudo-device grf 2 # grf emulation for wscons 312pseudo-device ite 1 # ite emulation for wscons 313pseudo-device pty # pseudo-terminals 314#pseudo-device tb 1 # tablet line discipline 315pseudo-device clockctl # user control of clock subsystem 316 317# random number generator pseudo-device 318pseudo-device rnd # /dev/random and in-kernel generator 319#options RND_COM # use "com" randomness as well (BROKEN) 320