GENERICSBC revision 1.26
11.26Sbouyer# $NetBSD: GENERICSBC,v 1.26 2003/10/08 11:10:55 bouyer Exp $ 21.1Stoddpw# 31.5Sfredb# GENERICSBC 41.1Stoddpw 51.1Stoddpwinclude "arch/mac68k/conf/std.mac68k" 61.1Stoddpw 71.16Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 81.16Satatat 91.26Sbouyer#ident "GENERICSBC-$Revision: 1.26 $" 101.1Stoddpw 111.1Stoddpwmaxusers 16 # estimated number of users 121.1Stoddpw 131.1Stoddpw# CPU support. At least one is REQUIRED. 141.1Stoddpwoptions M68040 151.1Stoddpwoptions M68030 161.1Stoddpwoptions M68020 # Note: must have 68851 PMMU 171.1Stoddpw 181.1Stoddpw# CPU-related options. 191.1Stoddpwoptions FPSP 201.1Stoddpwoptions FPU_EMULATE 211.1Stoddpw 221.1Stoddpw# Standard system options 231.1Stoddpw 241.1Stoddpwoptions INSECURE # disable kernel security levels 251.1Stoddpw 261.1Stoddpwoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 271.1Stoddpw#options NTP # NTP phase/frequency locked loop 281.1Stoddpw 291.1Stoddpwoptions KTRACE # system call tracing via ktrace(1) 301.1Stoddpw 311.1Stoddpwoptions SYSVMSG # System V-like message queues 321.1Stoddpwoptions SYSVSEM # System V-like semaphores 331.7Slukem#options SEMMNI=10 # number of semaphore identifiers 341.7Slukem#options SEMMNS=60 # number of semaphores in system 351.7Slukem#options SEMUME=10 # max number of undo entries per process 361.7Slukem#options SEMMNU=30 # number of undo structures in system 371.1Stoddpwoptions SYSVSHM # System V-like memory sharing 381.1Stoddpw#options SHMMAXPGS=1024 # 1024 pages is the default 391.1Stoddpw 401.1Stoddpwoptions LKM # loadable kernel modules 411.11Sjdolecek 421.20Slukemoptions USERCONF # userconf(4) support 431.11Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 441.1Stoddpw 451.1Stoddpw# Diagnostic/debugging support options 461.12Sfredb#options DIAGNOSTIC # cheap kernel consistency checks 471.1Stoddpw#options DEBUG # expensive debugging checks/support 481.1Stoddpwoptions KMEMSTATS # kernel memory statistics (vmstat -m) 491.12Sfredboptions DDB # in-kernel debugger 501.1Stoddpw#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 511.6Slukem#options KGDB # remote debugger 521.6Slukem#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 531.6Slukem#options KGDB_DEVRATE=38400 # baud rate 541.1Stoddpw#makeoptions DEBUG="-g" # compile full symbol table 551.1Stoddpw 561.1Stoddpw# Compatibility options 571.1Stoddpw#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 581.1Stoddpw#options COMPAT_09 # NetBSD 0.9, 591.1Stoddpwoptions COMPAT_10 # NetBSD 1.0, 601.1Stoddpwoptions COMPAT_11 # NetBSD 1.1, 611.1Stoddpwoptions COMPAT_12 # NetBSD 1.2, 621.1Stoddpwoptions COMPAT_13 # NetBSD 1.3, 631.1Stoddpwoptions COMPAT_14 # NetBSD 1.4, 641.13Sfredboptions COMPAT_15 # NetBSD 1.5, 651.25Scloptions COMPAT_16 # NetBSD 1.6, 661.1Stoddpwoptions COMPAT_43 # and 4.3BSD 671.2Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 681.1Stoddpw 691.12Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF. 701.14Sshibaoptions COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 711.14Sshibaoptions EXEC_AOUT # support for exec'ing a.out 721.12Sfredb 731.12Sfredb#options COMPAT_LINUX # compatibility with Linux/m68k binaries 741.12Sfredb#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 751.12Sfredb#options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 761.1Stoddpw#options COMPAT_SVR4 # compatibility with SVR4 binaries 771.1Stoddpw 781.1Stoddpw# File systems 791.1Stoddpwfile-system FFS # UFS 801.1Stoddpwfile-system EXT2FS # second extended file system (linux) 811.1Stoddpwfile-system LFS # log-structured file system 821.1Stoddpwfile-system MFS # memory file system 831.1Stoddpwfile-system NFS # Network File System client 841.1Stoddpwfile-system CD9660 # ISO 9660 + Rock Ridge file system 851.1Stoddpwfile-system MSDOSFS # MS-DOS file system 861.1Stoddpwfile-system FDESC # /dev/fd 871.1Stoddpwfile-system KERNFS # /kern 881.1Stoddpwfile-system NULLFS # loopback file system 891.1Stoddpwfile-system OVERLAY # overlay file system 901.1Stoddpwfile-system PORTAL # portal filesystem (still experimental) 911.1Stoddpwfile-system PROCFS # /proc 921.1Stoddpwfile-system UMAPFS # NULLFS + uid and gid remapping 931.1Stoddpwfile-system UNION # union file system 941.1Stoddpwfile-system CODA # Venus/Coda distributed file system 951.1Stoddpw 961.1Stoddpw# File system options 971.1Stoddpwoptions QUOTA # UFS quotas 981.1Stoddpw#options FFS_EI # FFS Endian Independant support 991.1Stoddpwoptions SOFTDEP # FFS soft updates support. 1001.1Stoddpwoptions NFSSERVER # Network File System server 1011.1Stoddpw#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1021.1Stoddpw # immutable) behave as system flags. 1031.1Stoddpw 1041.1Stoddpw# Networking options 1051.1Stoddpwoptions GATEWAY # packet forwarding 1061.1Stoddpwoptions INET # IP + ICMP + TCP + UDP 1071.1Stoddpwoptions INET6 # IPV6 1081.1Stoddpw#options IPSEC # IP security 1091.1Stoddpw#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1101.1Stoddpw#options IPSEC_DEBUG # debug for IP security 1111.1Stoddpw#options MROUTING # IP multicast routing 1121.1Stoddpwoptions NS # XNS 1131.1Stoddpw#options NSIP # XNS tunneling over IP 1141.1Stoddpwoptions ISO,TPIP # OSI 1151.1Stoddpw#options EON # OSI tunneling over IP 1161.1Stoddpwoptions CCITT,LLC,HDLC # X.25 1171.1Stoddpwoptions NETATALK # AppleTalk networking protocols 1181.1Stoddpwoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1191.1Stoddpwoptions PPP_DEFLATE # Deflate compression support for PPP 1201.1Stoddpwoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1211.1Stoddpwoptions PFIL_HOOKS # pfil(9) packet filter hooks 1221.12Sfredboptions IPFILTER_LOG # ipmon(8) log support 1231.22Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1241.2Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1251.1Stoddpw 1261.1Stoddpw# These options enable verbose messages for several subsystems. 1271.1Stoddpw# Warning, these may compile large string tables into the kernel! 1281.1Stoddpwoptions SCSIVERBOSE # human readable SCSI error messages 1291.1Stoddpw 1301.1Stoddpw# wscons options 1311.1Stoddpw#options WSEMUL_SUN # sun terminal emulation 1321.1Stoddpwoptions WSEMUL_VT100 # VT100 / VT220 emulation 1331.1Stoddpwoptions WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 1341.1Stoddpw 1351.1Stoddpw# rcons options; note that 1-bit and 8-bit displays are supported by default. 1361.1Stoddpwoptions RCONS_2BPP # Support for 2-bit display 1371.1Stoddpwoptions RCONS_4BPP # Support for 4-bit display 1381.1Stoddpwoptions RCONS_16BPP # Support for 16-bit display 1391.1Stoddpw 1401.1Stoddpw# Mac-specific options 1411.1Stoddpw#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 1421.1Stoddpw#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 1431.1Stoddpwoptions GRF_COMPAT # Include grf compatibility code 1441.1Stoddpw#options MRG_ADB # Use ROM-based ADB driver 1451.1Stoddpwoptions ZS_CONSOLE_ABORT 1461.1Stoddpw 1471.1Stoddpwoptions NFS_BOOT_DHCP 1481.1Stoddpw 1491.1Stoddpw# Kernel root file system and dump configuration. 1501.1Stoddpwconfig netbsd root on ? type ? 1511.1Stoddpw 1521.1Stoddpw# 1531.1Stoddpw# Device configuration 1541.1Stoddpw# 1551.1Stoddpw 1561.1Stoddpwmainbus0 at root 1571.1Stoddpw 1581.1Stoddpwfpu0 at mainbus? # Floating-Point Coprocessor support 1591.1Stoddpw 1601.1Stoddpw 1611.1Stoddpw# Basic Bus Support 1621.1Stoddpw 1631.1Stoddpw# On-board I/O bus support 1641.1Stoddpwobio0 at mainbus? 1651.1Stoddpw 1661.1Stoddpw# NuBus support 1671.1Stoddpwnubus0 at mainbus? 1681.1Stoddpw 1691.1Stoddpw 1701.1Stoddpw# Console Devices 1711.1Stoddpw 1721.1Stoddpw# Apple Desktop Bus interface 1731.1Stoddpwadb0 at obio? 1741.1Stoddpwaed* at adb? # ADB event device 1751.1Stoddpwakbd* at adb? # ADB keyboard 1761.1Stoddpwams* at adb? # ADB mouse 1771.1Stoddpw 1781.1Stoddpw# Basic frame buffer support 1791.1Stoddpwintvid0 at obio? # Internal video hardware 1801.1Stoddpwmacvid* at nubus? # NuBus video card 1811.1Stoddpw 1821.1Stoddpw# Device-independent frame buffer interface 1831.1Stoddpwmacfb* at intvid? 1841.1Stoddpwmacfb* at macvid? 1851.1Stoddpw 1861.1Stoddpw# Workstation Console devices 1871.1Stoddpwwsdisplay* at macfb? console ? 1881.1Stoddpwwskbd* at akbd? console ? 1891.1Stoddpwwsmouse* at ams? 1901.1Stoddpw 1911.1Stoddpw 1921.1Stoddpw# Serial Devices 1931.1Stoddpw 1941.1Stoddpw# On-board serial interface 1951.1Stoddpwzsc0 at obio? 1961.1Stoddpwzstty* at zsc? channel ? 1971.1Stoddpw 1981.1Stoddpw 1991.1Stoddpw# SCSI Controllers and Devices 2001.1Stoddpw 2011.1Stoddpw# SCSI controllers 2021.1Stoddpw# XXX - use only one of ncrscsi or sbc 2031.1Stoddpw#ncrscsi0 at obio? # SCSI NCR 5380 2041.1Stoddpwsbc0 at obio? flags 0x1 # MI SCSI NCR 5380 2051.1Stoddpwesp0 at obio? # SCSI NCR 53C9x 2061.1Stoddpwesp1 at obio? # SCSI NCR 53C9x 2071.1Stoddpw 2081.1Stoddpw# SCSI bus support 2091.1Stoddpwscsibus* at scsi? 2101.1Stoddpw 2111.1Stoddpw# SCSI devices 2121.1Stoddpwsd* at scsibus? target ? lun ? # SCSI disk drives 2131.1Stoddpwst* at scsibus? target ? lun ? # SCSI tape drives 2141.1Stoddpwcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2151.1Stoddpwch* at scsibus? target ? lun ? # SCSI autochangers 2161.1Stoddpwse* at scsibus? target ? lun ? # SCSI ethernet 2171.1Stoddpwss* at scsibus? target ? lun ? # SCSI scanners 2181.1Stoddpwuk* at scsibus? target ? lun ? # SCSI unknown 2191.17Sshiba 2201.17Sshiba# IDE controller and devices 2211.17Sshibawdc* at obio? flags 0x1000 2221.26Sbouyeratabus* at wdc? channel ? 2231.26Sbouyerwd* at atabus? drive ? 2241.1Stoddpw 2251.1Stoddpw 2261.1Stoddpw# Miscellaneous mass storage devices 2271.1Stoddpw 2281.1Stoddpw# IWM floppy disk controller 2291.1Stoddpwiwm0 at obio? # Sony driver (800K GCR) 2301.1Stoddpwfd* at iwm? drive ? 2311.1Stoddpw 2321.1Stoddpw 2331.1Stoddpw# Network Interfaces 2341.1Stoddpw 2351.1Stoddpw# On-board Ethernet controllers 2361.1Stoddpwsn* at obio? # SONIC-based (DP83932, DP83916) 2371.1Stoddpwmc* at obio? # MACE-based 2381.1Stoddpw 2391.1Stoddpw# NuBus Ethernet controllers 2401.1Stoddpwae* at nubus? # DP8390-based 2411.1Stoddpwsn* at nubus? # SONIC-based (DP83932, DP83916) 2421.1Stoddpwsm* at nubus? # SMC 91cxx-based 2431.19Sitojunnetdock* at nubus? # Asante NetDock, Newer Ether MicroDock 2441.1Stoddpw 2451.1Stoddpwnsphy* at mii? phy ? 2461.1Stoddpwukphy* at mii? phy ? 2471.1Stoddpw 2481.1Stoddpw# Audio Devices 2491.1Stoddpw 2501.1Stoddpw# On-board audio hardware 2511.1Stoddpwasc0 at obio? # ASC/EASC audio 2521.1Stoddpw 2531.1Stoddpw# Pseudo-Devices 2541.1Stoddpw 2551.1Stoddpw# disk/mass storage pseudo-devices 2561.1Stoddpwpseudo-device ccd 4 # concatenated/striped disk devices 2571.23Selric#pseudo-device cgd 4 # cryptographic disk devices 2581.10Soster#pseudo-device raid 8 # RAIDframe disk driver 2591.1Stoddpw#options RAID_AUTOCONFIG # auto-configuration of RAID components 2601.10Soster# Options to enable various other RAIDframe RAID types. 2611.10Soster# options RF_INCLUDE_EVENODD=1 2621.10Soster# options RF_INCLUDE_RAID5_RS=1 2631.10Soster# options RF_INCLUDE_PARITYLOGGING=1 2641.10Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2651.10Soster# options RF_INCLUDE_INTERDECLUSTER=1 2661.10Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2671.10Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2681.1Stoddpwpseudo-device md 1 # memory disk device (ramdisk) 2691.1Stoddpwpseudo-device vcoda 1 # Venus/Coda distributed file system 2701.1Stoddpwpseudo-device vnd 4 # disk-like interface to files 2711.1Stoddpw 2721.1Stoddpw# network pseudo-devices 2731.1Stoddpwpseudo-device bpfilter 12 # Berkeley packet filter 2741.1Stoddpwpseudo-device ipfilter # IP filter (firewall) and NAT 2751.1Stoddpwpseudo-device loop # network loopback 2761.1Stoddpwpseudo-device ppp 2 # Point-to-Point Protocol 2771.9Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2781.1Stoddpwpseudo-device sl 2 # Serial Line IP 2791.1Stoddpw#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2801.1Stoddpwpseudo-device tun 2 # network tunneling over tty 2811.1Stoddpw#pseudo-device gre 2 # generic L3 over IP tunnel 2821.1Stoddpwpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2831.1Stoddpw#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2841.1Stoddpw#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2851.5Sfredbpseudo-device vlan # IEEE 802.1q encapsulation 2861.8Satatatpseudo-device bridge # simple inter-network bridging 2871.1Stoddpw 2881.1Stoddpw# miscellaneous pseudo-devices 2891.1Stoddpwpseudo-device grf 2 # grf emulation for wscons 2901.1Stoddpwpseudo-device ite 1 # ite emulation for wscons 2911.1Stoddpwpseudo-device pty # pseudo-terminals 2921.1Stoddpw#pseudo-device tb 1 # tablet line discipline 2931.18Slukempseudo-device clockctl # user control of clock subsystem 2941.1Stoddpw 2951.1Stoddpw# random number generator pseudo-device 2961.1Stoddpwpseudo-device rnd # /dev/random and in-kernel generator 2971.1Stoddpw#options RND_COM # use "com" randomness as well (BROKEN) 298