AP30 revision 1.44
11.44Schristos# $NetBSD: AP30,v 1.44 2024/01/29 18:27:11 christos Exp $ 21.1Sgdamore 31.1Sgdamoreinclude "arch/evbmips/conf/std.atheros" 41.1Sgdamore 51.1Sgdamore#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 61.1Sgdamore 71.44Schristos#ident "AP30-$Revision: 1.44 $" 81.1Sgdamore 91.1Sgdamoremaxusers 32 101.1Sgdamore 111.1Sgdamoremakeoptions COPTS="-Os" # Optimise for space. Implies -O2 121.1Sgdamoremakeoptions ATH_MACHINE_HAL=ap30 131.1Sgdamore 141.1Sgdamoreoptions MIPS32 151.1Sgdamoreoptions NOFPU # No FPU 161.17Smattoptions FPEMUL # emulate FPU insn 171.5Sgdamoreoptions WISOC_AR5312 # WiSoC select 181.1Sgdamore 191.1Sgdamore# Options for necessary to use MD 201.1Sgdamore#options MEMORY_DISK_HOOKS 211.1Sgdamore#options MEMORY_DISK_IS_ROOT # force root on memory disk 221.1Sgdamore#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 231.1Sgdamore#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 241.1Sgdamore#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 251.1Sgdamore#options MEMORY_DISK_ROOT_SIZE=7300 261.1Sgdamore 271.1Sgdamore# Size reduction options 281.1Sgdamoreoptions VNODE_OP_NOINLINE 291.1Sgdamoreoptions PIPE_SOCKETPAIR 301.1Sgdamoreoptions SOSEND_NO_LOAN 311.1Sgdamore 321.1Sgdamore# Standard system options 331.1Sgdamore#options KTRACE # system call tracing support 341.1Sgdamore#options SYSVMSG # System V message queues 351.1Sgdamore#options SYSVSEM # System V semaphores 361.1Sgdamore#options SYSVSHM # System V shared memory 371.1Sgdamoreoptions NTP # network time protocol 381.1Sgdamore 391.1Sgdamore# Debugging options 401.1Sgdamoreoptions DIAGNOSTIC # extra kernel sanity checking 411.1Sgdamore#options DEBUG # extra kernel debugging support 421.1Sgdamore#options USERCONF # userconf(4) support 431.1Sgdamore#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 441.1Sgdamoreoptions DDB # kernel dynamic debugger 451.1Sgdamoreoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 461.1Sgdamoremakeoptions DEBUG="-g" # compile full symbol table 471.32Sjoergmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 481.1Sgdamore 491.1Sgdamore# Compatibility options 501.36Smrginclude "conf/compat_netbsd16.config" 511.36Smrg 521.1Sgdamore#options EXEC_ECOFF # exec ECOFF binaries 531.1Sgdamore#options COMPAT_ULTRIX # binary compatibility with Ultrix 541.1Sgdamore 551.1Sgdamore# File systems 561.1Sgdamorefile-system FFS # Berkeley Fast Filesystem 571.1Sgdamorefile-system MFS # memory-based filesystem 581.1Sgdamore#file-system EXT2FS # second extended file system (linux) 591.1Sgdamorefile-system NFS # Sun NFS-compatible filesystem client 601.1Sgdamore#file-system KERNFS # kernel data-structure filesystem 611.1Sgdamore#file-system NULLFS # NULL layered filesystem 621.1Sgdamore#file-system OVERLAY # overlay file system 631.1Sgdamore#file-system FDESC # user file descriptor filesystem 641.1Sgdamore#file-system UMAPFS # uid/gid remapping filesystem 651.1Sgdamore#file-system LFS # Log-based filesystem (still experimental) 661.1Sgdamore#file-system PROCFS # /proc 671.1Sgdamore#file-system CD9660 # ISO 9660 + Rock Ridge file system 681.1Sgdamore#file-system UNION # union file system 691.1Sgdamore#file-system MSDOSFS # MS-DOS FAT filesystem(s). 701.1Sgdamore#file-system CODA # Coda File System; also needs vcoda (below) 711.1Sgdamore#file-system PTYFS # /dev/pts/N support 721.1Sgdamore 731.1Sgdamore# File system options 741.43Ssimonb#options FFS_EI # FFS Endian Independent support 751.43Ssimonboptions FFS_NO_SNAPSHOT # No FFS snapshot support 761.18Sbouyer#options QUOTA # legacy UFS quotas 771.18Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 781.43Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 791.43Ssimonb#options UFS_EXTATTR # Extended attribute support for UFS1 801.23Sdhollandoptions WAPBL # File system journaling support 811.43Ssimonb#options NFSSERVER # Network File System server 821.1Sgdamore 831.38Ssevan# Alternate buffer queue strategies for better responsiveness under high 841.38Ssevan# disk I/O load. 851.38Ssevan#options BUFQ_READPRIO 861.38Ssevanoptions BUFQ_PRIOCSCAN 871.38Ssevan 881.1Sgdamore# Networking options 891.1Sgdamore#options GATEWAY # IP packet forwarding 901.1Sgdamoreoptions INET # Internet protocols 911.1Sgdamore#options INET6 # IPV6 921.1Sgdamore#options IPSEC # IP security 931.1Sgdamore#options IPSEC_DEBUG # debug for IP security 941.1Sgdamore#options MROUTING # packet forwarding of multicast packets 951.1Sgdamore#options PIM # Protocol Independent Multicast 961.1Sgdamore#options NETATALK # AppleTalk (over Ethernet) protocol 971.1Sgdamore#options PPP_BSDCOMP # BSD-Compress compression support for PPP 981.1Sgdamore#options PPP_DEFLATE # Deflate compression support for PPP 991.1Sgdamore#options PPP_FILTER # Active filter support for PPP (requires bpf) 1001.1Sgdamore 1011.31Salnsn# JIT compiler for bpfilter 1021.31Salnsn#options SLJIT 1031.31Salnsn#options BPFJIT 1041.31Salnsn 1051.1Sgdamore# These options enable verbose messages for several subsystems. 1061.1Sgdamore# Warning, these may compile large string tables into the kernel! 1071.1Sgdamoreoptions MIIVERBOSE # verbose PHY autoconfig messages 1081.1Sgdamore 1091.1Sgdamore# Bitmask for enabling the PCI IDE channels in the southbridge. 1101.1Sgdamore# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 1111.1Sgdamore# 1121.42Sandvar# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE 1131.1Sgdamore# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 1141.1Sgdamore#options PCI_NETBSD_ENABLE_IDE=0x1 1151.1Sgdamore 1161.1Sgdamoreoptions NFS_BOOT_DHCP 1171.1Sgdamoreoptions NFS_V2_ONLY 1181.1Sgdamore 1191.1Sgdamoreconfig netbsd root on ? type ? 1201.1Sgdamore 1211.1Sgdamore 1221.1Sgdamoremainbus0 at root 1231.1Sgdamorecpu0 at mainbus? 1241.2Sgdamorewdog0 at mainbus? 1251.1Sgdamorearbus0 at mainbus? 1261.1Sgdamore 1271.1Sgdamorecom* at arbus? addr ? 1281.1Sgdamoreae* at arbus? addr ? 1291.1Sgdamoreath* at arbus? addr ? 1301.1Sgdamoreathflash* at arbus? addr ? 1311.3Sgdamoreargpio* at arbus? addr ? 1321.3Sgdamoregpio* at argpio? 1331.1Sgdamore 1341.1Sgdamore# no RTC! so fake with a stub (required to prevent evbmips panic) 1351.1Sgdamore 1361.1Sgdamore 1371.1Sgdamore# MII/PHY support 1381.1Sgdamore#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 1391.1Sgdamore#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 1401.1Sgdamore#dmphy* at mii? phy ? # Davicom DM9101 PHYs 1411.1Sgdamore#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1421.1Sgdamore#gphyter* at mii? phy ? # NS83861 Gig-E PHY 1431.1Sgdamore#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 1441.1Sgdamore#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 1451.1Sgdamore#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1461.1Sgdamore#nsphy* at mii? phy ? # NS83840 PHYs 1471.1Sgdamore#nsphyter* at mii? phy ? # NS83843 PHYs 1481.1Sgdamore#pnaphy* at mii? phy ? # generic HomePNA PHYs 1491.1Sgdamore#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1501.1Sgdamore#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1511.1Sgdamore#tlphy* at mii? phy ? # ThunderLAN PHYs 1521.1Sgdamore#tqphy* at mii? phy ? # TDK Semiconductor PHYs 1531.1Sgdamorerlphy* at mii? phy ? # RealTek PHYs 1541.1Sgdamoreukphy* at mii? phy ? # generic unknown PHYs 1551.1Sgdamore 1561.1Sgdamore 1571.1Sgdamore# Pseudo-devices 1581.1Sgdamore 1591.1Sgdamore# Disk/mass storage pseudo-devices 1601.27Schristos#pseudo-device ccd # concatenated disk devices 1611.28Schristos#pseudo-device raid # RAIDframe disk driver 1621.15Spooka#pseudo-device fss # file system snapshot device 1631.16Shannken#pseudo-device md # memory disk device (ramdisk) 1641.1Sgdamore#pseudo-device vnd # disk-like interface to files 1651.1Sgdamore 1661.1Sgdamore# Network pseudo-devices 1671.1Sgdamorepseudo-device bpfilter # Berkeley packet filter 1681.39Ssevanpseudo-device carp # Common Address Redundancy Protocol 1691.37Smaxv#pseudo-device npf # NPF packet filter 1701.1Sgdamorepseudo-device loop # network loopback 1711.1Sgdamore#pseudo-device ppp # Point-to-Point Protocol 1721.1Sgdamore#pseudo-device sl # Serial Line IP 1731.1Sgdamore#pseudo-device tun # network tunneling over tty 1741.1Sgdamore#pseudo-device tap # virtual Ethernet 1751.1Sgdamore#pseudo-device gre # generic L3 over IP tunnel 1761.28Schristos#pseudo-device ipip # RFC 2003 IP Encapsulation 1771.1Sgdamore#pseudo-device gif # RFC1933 tunnel 1781.1Sgdamore#pseudo-device faith # IPv[46] tcp relay translation 1791.1Sgdamore#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1801.1Sgdamore#pseudo-device vlan # IEEE 802.1q encapsulation 1811.1Sgdamore#pseudo-device bridge # simple inter-network bridging 1821.41Sroy#pseudo-device vether # Virtual Ethernet for bridge 1831.1Sgdamore 1841.1Sgdamore# Miscellaneous pseudo-devices 1851.1Sgdamorepseudo-device pty # pseudo-terminals 1861.1Sgdamorepseudo-device clockctl # user control of clock subsystem 1871.1Sgdamorepseudo-device ksyms # /dev/ksyms 1881.1Sgdamore 1891.1Sgdamore# A pseudo device needed for Coda # also needs CODA (above) 1901.28Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 1911.39Ssevan 1921.39Ssevaninclude "dev/veriexec.config" 193