MMTA revision 1.29
1# $NetBSD: MMTA,v 1.29 2005/07/31 04:04:43 yamt Exp $ 2# 3# GENERIC -- everything that's currently supported 4# 5 6include "arch/mmeye/conf/std.mmeye" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# Enable the hooks used for initializing the root memory-disk. 11#options MEMORY_DISK_HOOKS 12#options MEMORY_DISK_IS_ROOT # force root on memory disk 13#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 14#options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks 15 16maxusers 32 # estimated number of users 17 18# Standard system options 19options SH3 20options SH7708R # 100MHz 21options PCLOCK=33330000 # 33.33MHz 22options INITTODR_ALWAYS_USE_RTC 23 24options INSECURE # disable kernel security levels 25 26options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 27options HZ=50 # clock interrupt generates every 1/HZ sec 28#options NTP # NTP phase/frequency locked loop 29 30#options KTRACE # system call tracing via ktrace(1) 31 32options SYSVMSG # System V-like message queues 33options SYSVSEM # System V-like semaphores 34options SYSVSHM # System V-like memory sharing 35#options SHMMAXPGS=1024 # 1024 pages is the default 36 37#options LKM # loadable kernel modules 38 39#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 40#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 41 42# Diagnostic/debugging support options 43#options DIAGNOSTIC # cheap kernel consistency checks 44#options DEBUG # expensive debugging checks/support 45#options KMEMSTATS # kernel memory statistics (vmstat -m) 46#options DDB # in-kernel debugger 47#options KGDB # remote debugger 48#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 49#makeoptions DEBUG="-g" # compile full symbol table 50options SYSCALL_DEBUG 51 52# Compatibility options 53options COMPAT_43 # and 4.3BSD 54#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 55options BSDDISKLABEL_EI # endian independent disklabel support 56options COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support 57options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 58 59# Executable format options 60options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux) 61options EXEC_COFF # 32-bit COFF executables (sh-compiler) 62 63# File systems 64file-system FFS # UFS 65#file-system EXT2FS # second extended file system (linux) 66#file-system LFS # log-structured file system 67file-system MFS # memory file system 68file-system NFS # Network File System client 69#file-system CD9660 # ISO 9660 + Rock Ridge file system 70#file-system MSDOSFS # MS-DOS file system 71file-system FDESC # /dev/fd 72file-system KERNFS # /kern 73file-system NULLFS # loopback file system 74#file-system PORTAL # portal filesystem (still experimental) 75file-system PROCFS # /proc 76file-system UMAPFS # NULLFS + uid and gid remapping 77#file-system UNION # union file system 78 79# File system options 80#options QUOTA # UFS quotas 81options NFSSERVER # Network File System server 82#options FIFO # FIFOs; RECOMMENDED 83options FFS_NO_SNAPSHOT # No FFS snapshots 84#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 85 # immutable) behave as system flags. 86 87# Networking options 88#options GATEWAY # packet forwarding 89options INET # IP + ICMP + TCP + UDP 90#options MROUTING # IP multicast routing 91#options PIM # Protocol Independent Multicast 92options NS # XNS 93#options NSIP # XNS tunneling over IP 94#options ISO,TPIP # OSI 95#options EON # OSI tunneling over IP 96#options CCITT,LLC,HDLC # X.25 97#options NETATALK # AppleTalk networking protocols 98#options PPP_BSDCOMP # BSD-Compress compression support for PPP 99#options PPP_DEFLATE # Deflate compression support for PPP 100#options PPP_FILTER # Active filter support for PPP (requires bpf) 101#options PFIL_HOOKS # pfil(9) packet filter hooks 102#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 103 104# These options enable verbose messages for several subsystems. 105# Warning, these may compile large string tables into the kernel! 106options PCMCIAVERBOSE # verbose PCMCIA configuration messages 107options MIIVERBOSE # verbose PHY autoconfig messages 108#options SCSIVERBOSE # human readable SCSI error messages 109 110# Kernel root file system and dump configuration. 111#config netbsd root on ? type ? 112#config netbsd root on sd0a type ffs 113#config netbsd root on ? type nfs 114config netbsd root on wd0a type ffs 115 116# 117# Device configuration 118# 119 120mainbus0 at root 121 122shb* at mainbus? 123 124com0 at mainbus? 125com1 at mainbus? 126 127# SH PCMCIA controllers 128mmeyepcmcia0 at mainbus? 129mmeyepcmcia1 at mainbus? 130 131# PCMCIA bus support 132pcmcia* at mmeyepcmcia? controller ? socket ? 133 134# Console Devices 135 136# XXX 137 138# PCMCIA serial interfaces 139com* at pcmcia? function ? # Modems and serial cards 140 141 142# SCSI Controllers and Devices 143 144# PCMCIA SCSI controllers 145#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 146 147# SCSI bus support 148#scsibus* at aic? 149 150# SCSI devices 151#sd* at scsibus? target ? lun ? # SCSI disk drives 152#st* at scsibus? target ? lun ? # SCSI tape drives 153#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 154#ch* at scsibus? target ? lun ? # SCSI autochangers 155#ss* at scsibus? target ? lun ? # SCSI scanners 156#uk* at scsibus? target ? lun ? # SCSI unknown 157 158 159# IDE and Related Devices 160 161wdc* at pcmcia? function ? 162 163# ATA (IDE) bus support 164atabus* at ata? 165 166# IDE drives 167wd* at atabus? drive ? 168 169# ATAPI bus support 170#atapibus* at atapi? 171 172# ATAPI devices 173#cd* at atapibus? drive ? # ATAPI CD-ROM drives 174 175 176# Miscellaneous mass storage devices 177 178 179# Network Interfaces 180 181# PCMCIA network interfaces 182ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 183ne* at pcmcia? function ? # NE2000-compatible Ethernet 184#sm* at pcmcia? function ? # Megahertz Ethernet 185 186# MII/PHY support 187exphy* at mii? phy ? # 3Com internal PHYs 188icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 189inphy* at mii? phy ? # Intel 82555 PHYs 190lxtphy* at mii? phy ? # Level One LXT-970 PHYs 191nsphy* at mii? phy ? # NS83840 PHYs 192qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 193sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 194#tlphy* at mii? phy ? # ThunderLAN PHYs 195ukphy* at mii? phy ? # generic unknown PHYs 196 197 198# Pull in optional local configuration 199include "arch/mmeye/conf/GENERIC.local" 200 201 202# Pseudo-Devices 203 204# disk/mass storage pseudo-devices 205pseudo-device ccd 4 # concatenated/striped disk devices 206#pseudo-device fss 4 # file system snapshot device 207pseudo-device md 1 # memory disk device (ramdisk) 208pseudo-device vnd 4 # disk-like interface to files 209 210# network pseudo-devices 211#pseudo-device bpfilter 8 # Berkeley packet filter 212#pseudo-device ipfilter # IP filter (firewall) and NAT 213pseudo-device loop # network loopback 214pseudo-device ppp 2 # Point-to-Point Protocol 215#pseudo-device sl 2 # Serial Line IP 216#pseudo-device strip 2 # Starmode Radio IP (Metricom) 217pseudo-device tun 2 # network tunneling over tty 218 219# miscellaneous pseudo-devices 220pseudo-device pty # pseudo-terminals 221#pseudo-device tb 1 # tablet line discipline 222pseudo-device clockctl # user control of clock subsystem 223 224# rnd is EXPERIMENTAL at this point. 225#pseudo-device rnd # /dev/random and in-kernel generator 226#options RND_COM # use "com" randomness as well (BROKEN) 227