AP30 revision 1.37
1# $NetBSD: AP30,v 1.37 2018/08/01 20:04:11 maxv 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.37 $" 8 9maxusers 32 10 11makeoptions COPTS="-Os" # Optimise for space. Implies -O2 12makeoptions ATH_MACHINE_HAL=ap30 13 14options MIPS32 15options NOFPU # No FPU 16options FPEMUL # emulate FPU insn 17options WISOC_AR5312 # WiSoC select 18 19# Options for necessary to use MD 20#options MEMORY_DISK_HOOKS 21#options MEMORY_DISK_IS_ROOT # force root on memory disk 22#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 23#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 24#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 25#options MEMORY_DISK_ROOT_SIZE=7300 26 27# Size reduction options 28options VNODE_OP_NOINLINE 29options PIPE_SOCKETPAIR 30options SOSEND_NO_LOAN 31 32# Standard system options 33#options KTRACE # system call tracing support 34#options SYSVMSG # System V message queues 35#options SYSVSEM # System V semaphores 36#options SYSVSHM # System V shared memory 37options NTP # network time protocol 38 39# Debugging options 40options DIAGNOSTIC # extra kernel sanity checking 41#options DEBUG # extra kernel debugging support 42#options USERCONF # userconf(4) support 43#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 44options DDB # kernel dynamic debugger 45options DDB_HISTORY_SIZE=100 # enable history editing in DDB 46makeoptions DEBUG="-g" # compile full symbol table 47makeoptions COPY_SYMTAB=1 # size for embedded symbol table 48 49# Compatibility options 50include "conf/compat_netbsd16.config" 51 52#options EXEC_ECOFF # exec ECOFF binaries 53#options COMPAT_ULTRIX # binary compatibility with Ultrix 54 55# File systems 56file-system FFS # Berkeley Fast Filesystem 57file-system MFS # memory-based filesystem 58#file-system EXT2FS # second extended file system (linux) 59file-system NFS # Sun NFS-compatible filesystem client 60#file-system KERNFS # kernel data-structure filesystem 61#file-system NULLFS # NULL layered filesystem 62#file-system OVERLAY # overlay file system 63#file-system FDESC # user file descriptor filesystem 64#file-system UMAPFS # uid/gid remapping filesystem 65#file-system LFS # Log-based filesystem (still experimental) 66#file-system PROCFS # /proc 67#file-system CD9660 # ISO 9660 + Rock Ridge file system 68#file-system UNION # union file system 69#file-system MSDOSFS # MS-DOS FAT filesystem(s). 70#file-system CODA # Coda File System; also needs vcoda (below) 71#file-system PTYFS # /dev/pts/N support 72 73# File system options 74#options NFSSERVER # Sun NFS-compatible filesystem server 75#options QUOTA # legacy UFS quotas 76#options QUOTA2 # new, in-filesystem UFS quotas 77#options FFS_EI # FFS Endian Independent support 78options WAPBL # File system journaling support 79options FFS_NO_SNAPSHOT # No FFS snapshot support 80#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 81 # immutable) behave as system flags. 82 83# Networking options 84#options GATEWAY # IP packet forwarding 85options INET # Internet protocols 86#options INET6 # IPV6 87#options IPSEC # IP security 88#options IPSEC_DEBUG # debug for IP security 89#options MROUTING # packet forwarding of multicast packets 90#options PIM # Protocol Independent Multicast 91#options NETATALK # AppleTalk (over Ethernet) protocol 92#options PPP_BSDCOMP # BSD-Compress compression support for PPP 93#options PPP_DEFLATE # Deflate compression support for PPP 94#options PPP_FILTER # Active filter support for PPP (requires bpf) 95 96# JIT compiler for bpfilter 97#options SLJIT 98#options BPFJIT 99 100# These options enable verbose messages for several subsystems. 101# Warning, these may compile large string tables into the kernel! 102options MIIVERBOSE # verbose PHY autoconfig messages 103 104# Bitmask for enabling the PCI IDE channels in the southbridge. 105# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 106# 107# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE 108# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 109#options PCI_NETBSD_ENABLE_IDE=0x1 110 111options NFS_BOOT_DHCP 112options NFS_V2_ONLY 113 114config netbsd root on ? type ? 115 116 117mainbus0 at root 118cpu0 at mainbus? 119wdog0 at mainbus? 120arbus0 at mainbus? 121 122com* at arbus? addr ? 123ae* at arbus? addr ? 124ath* at arbus? addr ? 125athflash* at arbus? addr ? 126argpio* at arbus? addr ? 127gpio* at argpio? 128 129# no RTC! so fake with a stub (required to prevent evbmips panic) 130 131 132# MII/PHY support 133#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 134#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 135#dmphy* at mii? phy ? # Davicom DM9101 PHYs 136#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 137#gphyter* at mii? phy ? # NS83861 Gig-E PHY 138#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 139#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 140#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 141#nsphy* at mii? phy ? # NS83840 PHYs 142#nsphyter* at mii? phy ? # NS83843 PHYs 143#pnaphy* at mii? phy ? # generic HomePNA PHYs 144#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 145#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 146#tlphy* at mii? phy ? # ThunderLAN PHYs 147#tqphy* at mii? phy ? # TDK Semiconductor PHYs 148rlphy* at mii? phy ? # RealTek PHYs 149ukphy* at mii? phy ? # generic unknown PHYs 150 151 152# Pseudo-devices 153 154# Disk/mass storage pseudo-devices 155#pseudo-device ccd # concatenated disk devices 156#pseudo-device raid # RAIDframe disk driver 157#pseudo-device fss # file system snapshot device 158#pseudo-device md # memory disk device (ramdisk) 159#pseudo-device vnd # disk-like interface to files 160 161# Network pseudo-devices 162pseudo-device bpfilter # Berkeley packet filter 163#pseudo-device npf # NPF packet filter 164pseudo-device loop # network loopback 165#pseudo-device ppp # Point-to-Point Protocol 166#pseudo-device sl # Serial Line IP 167#pseudo-device strip # Starmode Radio IP (Metricom) 168#pseudo-device tun # network tunneling over tty 169#pseudo-device tap # virtual Ethernet 170#pseudo-device gre # generic L3 over IP tunnel 171#pseudo-device ipip # RFC 2003 IP Encapsulation 172#pseudo-device gif # RFC1933 tunnel 173#pseudo-device faith # IPv[46] tcp relay translation 174#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 175#pseudo-device vlan # IEEE 802.1q encapsulation 176#pseudo-device bridge # simple inter-network bridging 177 178# Miscellaneous pseudo-devices 179pseudo-device pty # pseudo-terminals 180pseudo-device clockctl # user control of clock subsystem 181pseudo-device ksyms # /dev/ksyms 182 183# A pseudo device needed for Coda # also needs CODA (above) 184#pseudo-device vcoda # coda minicache <-> venus comm. 185