AP30 revision 1.43
1# $NetBSD: AP30,v 1.43 2022/08/07 02:52:25 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.43 $" 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 FFS_EI # FFS Endian Independent support 75options FFS_NO_SNAPSHOT # No FFS snapshot support 76#options QUOTA # legacy UFS quotas 77#options QUOTA2 # new, in-filesystem UFS quotas 78#options UFS_DIRHASH # UFS Large Directory Hashing 79#options UFS_EXTATTR # Extended attribute support for UFS1 80options WAPBL # File system journaling support 81#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 82 # immutable) behave as system flags. 83#options NFSSERVER # Network File System server 84 85# Alternate buffer queue strategies for better responsiveness under high 86# disk I/O load. 87#options BUFQ_READPRIO 88options BUFQ_PRIOCSCAN 89 90# Networking options 91#options GATEWAY # IP packet forwarding 92options INET # Internet protocols 93#options INET6 # IPV6 94#options IPSEC # IP security 95#options IPSEC_DEBUG # debug for IP security 96#options MROUTING # packet forwarding of multicast packets 97#options PIM # Protocol Independent Multicast 98#options NETATALK # AppleTalk (over Ethernet) protocol 99#options PPP_BSDCOMP # BSD-Compress compression support for PPP 100#options PPP_DEFLATE # Deflate compression support for PPP 101#options PPP_FILTER # Active filter support for PPP (requires bpf) 102 103# JIT compiler for bpfilter 104#options SLJIT 105#options BPFJIT 106 107# These options enable verbose messages for several subsystems. 108# Warning, these may compile large string tables into the kernel! 109options MIIVERBOSE # verbose PHY autoconfig messages 110 111# Bitmask for enabling the PCI IDE channels in the southbridge. 112# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 113# 114# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE 115# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 116#options PCI_NETBSD_ENABLE_IDE=0x1 117 118options NFS_BOOT_DHCP 119options NFS_V2_ONLY 120 121config netbsd root on ? type ? 122 123 124mainbus0 at root 125cpu0 at mainbus? 126wdog0 at mainbus? 127arbus0 at mainbus? 128 129com* at arbus? addr ? 130ae* at arbus? addr ? 131ath* at arbus? addr ? 132athflash* at arbus? addr ? 133argpio* at arbus? addr ? 134gpio* at argpio? 135 136# no RTC! so fake with a stub (required to prevent evbmips panic) 137 138 139# MII/PHY support 140#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 141#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 142#dmphy* at mii? phy ? # Davicom DM9101 PHYs 143#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 144#gphyter* at mii? phy ? # NS83861 Gig-E PHY 145#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 146#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 147#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 148#nsphy* at mii? phy ? # NS83840 PHYs 149#nsphyter* at mii? phy ? # NS83843 PHYs 150#pnaphy* at mii? phy ? # generic HomePNA PHYs 151#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 152#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 153#tlphy* at mii? phy ? # ThunderLAN PHYs 154#tqphy* at mii? phy ? # TDK Semiconductor PHYs 155rlphy* at mii? phy ? # RealTek PHYs 156ukphy* at mii? phy ? # generic unknown PHYs 157 158 159# Pseudo-devices 160 161# Disk/mass storage pseudo-devices 162#pseudo-device ccd # concatenated disk devices 163#pseudo-device raid # RAIDframe disk driver 164#pseudo-device fss # file system snapshot device 165#pseudo-device md # memory disk device (ramdisk) 166#pseudo-device vnd # disk-like interface to files 167 168# Network pseudo-devices 169pseudo-device bpfilter # Berkeley packet filter 170pseudo-device carp # Common Address Redundancy Protocol 171#pseudo-device npf # NPF packet filter 172pseudo-device loop # network loopback 173#pseudo-device ppp # Point-to-Point Protocol 174#pseudo-device sl # Serial Line IP 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 # 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#pseudo-device vether # Virtual Ethernet for bridge 185 186# Miscellaneous pseudo-devices 187pseudo-device pty # pseudo-terminals 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 # coda minicache <-> venus comm. 193 194include "dev/veriexec.config" 195