WGT624V3 revision 1.3
1# $NetBSD: WGT624V3,v 1.3 2008/07/31 07:41:00 simonb Exp $ 2 3include "arch/evbmips/conf/std.atheros" 4 5#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6 7#ident "AP30-$Revision: 1.3 $" 8 9maxusers 32 10 11makeoptions COPTS="-Os" # Optimise for space. Implies -O2 12makeoptions ATH_MACHINE_HAL=ap51 13 14options MIPS32 15options NOFPU # No FPU 16options SOFTFLOAT # emulate FPU insn 17options WISOC_AR5315 # WiSoC select 18options COM_ARBUS_BAUD=9600 19 20# Options for necessary to use MD 21#options MEMORY_DISK_HOOKS 22#options MEMORY_DISK_IS_ROOT # force root on memory disk 23#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 24#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 25#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 26#options MEMORY_DISK_ROOT_SIZE=7300 27 28# Size reduction options 29options VNODE_OP_NOINLINE 30options PIPE_SOCKETPAIR 31options SOSEND_NO_LOAN 32 33# Standard system options 34#options KTRACE # system call tracing support 35#options SYSVMSG # System V message queues 36#options SYSVSEM # System V semaphores 37#options SYSVSHM # System V shared memory 38#options SHMMAXPGS=1024 # 1024 pages is the default 39#options LKM # loadable kernel modules 40options NTP # network time protocol 41 42# Debugging options 43options DIAGNOSTIC # extra kernel sanity checking 44#options DEBUG # extra kernel debugging support 45#options KMEMSTATS # kernel memory statistics (vmstat -m) 46#options USERCONF # userconf(4) support 47#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 48options DDB # kernel dynamic debugger 49options DDB_HISTORY_SIZE=100 # enable history editing in DDB 50makeoptions DEBUG="-g" # compile full symbol table 51options SYMTAB_SPACE=150000 # size for embedded symbol table 52 53# Compatibility options 54#options COMPAT_43 # compatibility with 4.3BSD binaries 55#options COMPAT_09 # NetBSD 0.9 binary compatibility 56#options COMPAT_10 # NetBSD 1.0 binary compatibility 57#options COMPAT_11 # NetBSD 1.1 binary compatibility 58#options COMPAT_12 # NetBSD 1.2 binary compatibility 59#options COMPAT_13 # NetBSD 1.3 binary compatibility 60#options COMPAT_14 # NetBSD 1.4 binary compatibility 61#options COMPAT_15 # NetBSD 1.5 binary compatibility 62#options COMPAT_16 # NetBSD 1.6 binary compatibility 63#options COMPAT_20 # NetBSD 2.0 binary compatibility 64#options COMPAT_30 # NetBSD 3.0 compatibility. 65#options COMPAT_40 # NetBSD 4.0 compatibility. 66#options EXEC_ECOFF # exec ECOFF binaries 67#options COMPAT_ULTRIX # binary compatibility with Ultrix 68#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 69 70# File systems 71file-system FFS # Berkeley Fast Filesystem 72file-system MFS # memory-based filesystem 73#file-system EXT2FS # second extended file system (linux) 74file-system NFS # Sun NFS-compatible filesystem client 75#file-system KERNFS # kernel data-structure filesystem 76#file-system NULLFS # NULL layered filesystem 77#file-system OVERLAY # overlay file system 78#file-system FDESC # user file descriptor filesystem 79#file-system UMAPFS # uid/gid remapping filesystem 80#file-system LFS # Log-based filesystem (still experimental) 81#file-system PORTAL # portal filesystem (still experimental) 82#file-system PROCFS # /proc 83#file-system CD9660 # ISO 9660 + Rock Ridge file system 84#file-system UNION # union file system 85#file-system MSDOSFS # MS-DOS FAT filesystem(s). 86#file-system CODA # Coda File System; also needs vcoda (below) 87#file-system PTYFS # /dev/pts/N support 88 89# File system options 90#options NFSSERVER # Sun NFS-compatible filesystem server 91#options QUOTA # FFS quotas 92#options FFS_EI # FFS Endian Independant support 93#options SOFTDEP # FFS soft updates support. 94options WAPBL # File system journaling support - Experimental 95options FFS_NO_SNAPSHOT # No FFS snapshot support 96#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 97 # immutable) behave as system flags. 98 99# Networking options 100#options GATEWAY # IP packet forwarding 101options INET # Internet protocols 102#options INET6 # IPV6 103#options IPSEC # IP security 104#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 105#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 106#options IPSEC_DEBUG # debug for IP security 107#options MROUTING # packet forwarding of multicast packets 108#options PIM # Protocol Independent Multicast 109#options ISO,TPIP # OSI networking 110#options EON # OSI tunneling over IP 111#options NETATALK # AppleTalk (over Ethernet) protocol 112#options PPP_BSDCOMP # BSD-Compress compression support for PPP 113#options PPP_DEFLATE # Deflate compression support for PPP 114#options PPP_FILTER # Active filter support for PPP (requires bpf) 115#options PFIL_HOOKS # pfil(9) packet filter hooks 116#options IPFILTER_LOG # ipmon(8) log support 117#options IPFILTER_LOOKUP # ippool(8) support 118 119# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 120#options TCP_COMPAT_42 121 122# These options enable verbose messages for several subsystems. 123# Warning, these may compile large string tables into the kernel! 124options MIIVERBOSE # verbose PHY autoconfig messages 125 126# Bitmask for enabling the PCI IDE channels in the southbridge. 127# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 128# 129# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE 130# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 131#options PCI_NETBSD_ENABLE_IDE=0x1 132 133options NFS_BOOT_DHCP 134options NFS_V2_ONLY 135 136#config netbsd root on ? type ? 137config netbsd root on ae0 type nfs 138 139 140mainbus0 at root 141cpu0 at mainbus? 142wdog0 at mainbus? 143arbus0 at mainbus? 144 145com* at arbus? addr ? 146ae* at arbus? addr ? 147ath* at arbus? addr ? 148athflash* at arbus? addr ? 149argpio* at arbus? addr ? 150gpio* at argpio? 151 152# no RTC! so fake with a stub (required to prevent evbmips panic) 153 154 155# MII/PHY support 156mvphy* at mii? phy ? 157 158 159# Pseudo-devices 160 161# Disk/mass storage pseudo-devices 162#pseudo-device ccd 4 # concatenated disk devices 163#pseudo-device raid 4 # RAIDframe disk driver 164#pseudo-device fss 4 # file system snapshot device 165#pseudo-device md 1 # memory disk device (ramdisk) 166#pseudo-device vnd # disk-like interface to files 167 168# Network pseudo-devices 169pseudo-device bpfilter # Berkeley packet filter 170#pseudo-device ipfilter # IP filter (firewall) and NAT 171pseudo-device loop # network loopback 172#pseudo-device ppp # Point-to-Point Protocol 173#pseudo-device sl # Serial Line IP 174#pseudo-device strip # Starmode Radio IP (Metricom) 175#pseudo-device tun # network tunneling over tty 176#pseudo-device tap # virtual Ethernet 177#pseudo-device gre # generic L3 over IP tunnel 178#pseudo-device ipip 2 # RFC 2003 IP Encapsulation 179#pseudo-device gif # RFC1933 tunnel 180#pseudo-device faith # IPv[46] tcp relay translation 181#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 182#pseudo-device vlan # IEEE 802.1q encapsulation 183#pseudo-device bridge # simple inter-network bridging 184 185# Miscellaneous pseudo-devices 186pseudo-device pty # pseudo-terminals 187pseudo-device rnd # /dev/random & kernel generator 188pseudo-device clockctl # user control of clock subsystem 189pseudo-device ksyms # /dev/ksyms 190 191# A pseudo device needed for Coda # also needs CODA (above) 192#pseudo-device vcoda 4 # coda minicache <-> venus comm. 193