11.27Schristos# $NetBSD: DB120,v 1.27 2024/01/29 18:27:11 christos Exp $ 21.1Smatt# 31.1Smatt# Qualcomm Atheros AR9344 DB120 evaluation board. 41.1Smatt# 51.1Smatt 61.1Smattinclude "arch/evbmips/conf/std.atheros" 71.1Smatt 81.1Smatt#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Smatt 101.27Schristos#ident "DB120-$Revision: 1.27 $" 111.1Smatt 121.1Smattmaxusers 32 131.1Smatt 141.1Smatt#makeoptions COPTS="-Os" # Optimise for space. Implies -O2 151.1Smatt 161.1Smattoptions MIPS32R2 171.1Smattmakeoptions CPUFLAGS+="-mips32r2" 181.2Smattmakeoptions NEED_MDSETIMAGE="yes" 191.2Smattmakeoptions NEED_BINARY="yes" 201.4Smattmakeoptions NEED_UBOOTIMAGE="gz" 211.3Smattoptions NOFPU # No FPU 221.3Smattoptions FPEMUL # emulate FPU insn 231.3Smattoptions WISOC_AR9344 # WiSoC select 241.3Smattoptions COM_16650,COM_TOLERANCE=50 # +/- 5% 251.1Smatt 261.1Smatt# Options for necessary to use MD 271.1Smatt#options MEMORY_DISK_HOOKS 281.1Smatt#options MEMORY_DISK_IS_ROOT # force root on memory disk 291.1Smatt#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 301.1Smatt#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 311.1Smatt#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 321.1Smatt#options MEMORY_DISK_ROOT_SIZE=7300 331.1Smatt 341.1Smatt# Size reduction options 351.1Smatt#options VNODE_OP_NOINLINE 361.1Smatt#options PIPE_SOCKETPAIR 371.1Smattoptions SOSEND_NO_LOAN 381.1Smatt 391.1Smatt# Standard system options 401.1Smattoptions KTRACE # system call tracing support 411.1Smatt#options SYSVMSG # System V message queues 421.1Smatt#options SYSVSEM # System V semaphores 431.1Smatt#options SYSVSHM # System V shared memory 441.1Smattoptions NTP # network time protocol 451.1Smatt 461.1Smatt# Debugging options 471.1Smattoptions DIAGNOSTIC # extra kernel sanity checking 481.18Smaya#options DEBUG # extra kernel debugging support 491.1Smatt#options USERCONF # userconf(4) support 501.1Smatt#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 511.1Smattoptions DDB # kernel dynamic debugger 521.1Smattoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 531.1Smattmakeoptions DEBUG="-g" # compile full symbol table 541.14Sjoergmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 551.1Smatt 561.1Smatt# Compatibility options 571.19Smrg 581.19Smrginclude "conf/compat_netbsd50.config" 591.19Smrg#options COMPAT_386BSD_MBRPART # recognize old partition ID 601.19Smrg 611.1Smatt#options EXEC_ECOFF # exec ECOFF binaries 621.1Smatt#options COMPAT_ULTRIX # binary compatibility with Ultrix 631.1Smatt 641.1Smatt# File systems 651.1Smattfile-system FFS # Berkeley Fast Filesystem 661.1Smattfile-system MFS # memory-based filesystem 671.1Smatt#file-system EXT2FS # second extended file system (linux) 681.1Smattfile-system NFS # Sun NFS-compatible filesystem client 691.1Smatt#file-system KERNFS # kernel data-structure filesystem 701.1Smatt#file-system NULLFS # NULL layered filesystem 711.1Smatt#file-system OVERLAY # overlay file system 721.1Smatt#file-system FDESC # user file descriptor filesystem 731.1Smatt#file-system UMAPFS # uid/gid remapping filesystem 741.1Smatt#file-system LFS # Log-based filesystem (still experimental) 751.1Smatt#file-system PROCFS # /proc 761.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 771.1Smatt#file-system UNION # union file system 781.1Smatt#file-system MSDOSFS # MS-DOS FAT filesystem(s). 791.1Smatt#file-system CODA # Coda File System; also needs vcoda (below) 801.1Smatt#file-system PTYFS # /dev/pts/N support 811.1Smatt 821.1Smatt# File system options 831.26Ssimonb#options FFS_EI # FFS Endian Independent support 841.26Ssimonboptions FFS_NO_SNAPSHOT # No FFS snapshot support 851.1Smatt#options QUOTA # legacy UFS quotas 861.1Smatt#options QUOTA2 # new, in-filesystem UFS quotas 871.26Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 881.26Ssimonb#options UFS_EXTATTR # Extended attribute support for UFS1 891.6Sdhollandoptions WAPBL # File system journaling support 901.26Ssimonb#options NFSSERVER # Network File System server 911.1Smatt 921.21Ssevan# Alternate buffer queue strategies for better responsiveness under high 931.21Ssevan# disk I/O load. 941.21Ssevan#options BUFQ_READPRIO 951.21Ssevanoptions BUFQ_PRIOCSCAN 961.21Ssevan 971.1Smatt# Networking options 981.1Smatt#options GATEWAY # IP packet forwarding 991.1Smattoptions INET # Internet protocols 1001.1Smatt#options INET6 # IPV6 1011.1Smatt#options IPSEC # IP security 1021.1Smatt#options IPSEC_DEBUG # debug for IP security 1031.1Smatt#options MROUTING # packet forwarding of multicast packets 1041.1Smatt#options PIM # Protocol Independent Multicast 1051.1Smatt#options NETATALK # AppleTalk (over Ethernet) protocol 1061.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1071.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1081.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1091.1Smatt 1101.13Salnsn# JIT compiler for bpfilter 1111.13Salnsn#options SLJIT 1121.13Salnsn#options BPFJIT 1131.13Salnsn 1141.1Smatt# These options enable verbose messages for several subsystems. 1151.1Smatt# Warning, these may compile large string tables into the kernel! 1161.1Smattoptions MIIVERBOSE # verbose PHY autoconfig messages 1171.1Smatt 1181.1Smatt# Bitmask for enabling the PCI IDE channels in the southbridge. 1191.1Smatt# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1. 1201.1Smatt# 1211.25Sandvar# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE 1221.1Smatt# channels for you (thus causing the NetBSD `pciide' driver to ignore them). 1231.1Smatt#options PCI_NETBSD_ENABLE_IDE=0x1 1241.1Smatt 1251.1Smattoptions NFS_BOOT_BOOTP 1261.1Smatt#options NFS_BOOT_DHCP 1271.1Smatt#options NFS_V2_ONLY 1281.1Smatt 1291.1Smattconfig netbsd root on ? type ? 1301.1Smatt 1311.1Smattmainbus0 at root 1321.1Smattcpu0 at mainbus? 1331.1Smattwdog0 at mainbus? 1341.1Smattarbus0 at mainbus? 1351.1Smatt 1361.1Smattcom* at arbus? addr ? 1371.4Smattarpcie* at arbus? addr ? 1381.4Smattpci* at arpcie? 1391.4Smattarpci* at arbus? addr ? 1401.4Smattpci* at arpci? 1411.4Smattehci* at arbus? addr ? 1421.4Smattusb* at ehci? 1431.4Smattuhub* at usb? 1441.4Smattuhub* at uhub? port ? 1451.4Smattumass* at uhub? port ? configuration ? interface ? 1461.4Smattscsibus* at umass? channel ? 1471.4Smattsd* at scsibus? target ? lun ? 1481.1Smatt#ae* at arbus? addr ? 1491.1Smatt#ath* at arbus? addr ? 1501.1Smatt#athflash* at arbus? addr ? 1511.1Smatt#argpio* at arbus? addr ? 1521.1Smatt#gpio* at argpio? 1531.1Smatt 1541.1Smatt# no RTC! so fake with a stub (required to prevent evbmips panic) 1551.1Smatt 1561.1Smatt 1571.1Smatt# MII/PHY support 1581.1Smatt#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 1591.1Smatt#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 1601.1Smatt#dmphy* at mii? phy ? # Davicom DM9101 PHYs 1611.1Smatt#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1621.1Smatt#gphyter* at mii? phy ? # NS83861 Gig-E PHY 1631.1Smatt#icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 1641.1Smatt#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 1651.1Smatt#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1661.1Smatt#nsphy* at mii? phy ? # NS83840 PHYs 1671.1Smatt#nsphyter* at mii? phy ? # NS83843 PHYs 1681.1Smatt#pnaphy* at mii? phy ? # generic HomePNA PHYs 1691.1Smatt#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1701.1Smatt#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1711.1Smatt#tlphy* at mii? phy ? # ThunderLAN PHYs 1721.1Smatt#tqphy* at mii? phy ? # TDK Semiconductor PHYs 1731.1Smatt#rlphy* at mii? phy ? # RealTek PHYs 1741.1Smatt#ukphy* at mii? phy ? # generic unknown PHYs 1751.1Smatt 1761.1Smatt 1771.1Smatt# Pseudo-devices 1781.1Smatt 1791.1Smatt# Disk/mass storage pseudo-devices 1801.9Schristos#pseudo-device ccd # concatenated disk devices 1811.10Schristos#pseudo-device raid # RAIDframe disk driver 1821.1Smatt#pseudo-device fss # file system snapshot device 1831.1Smatt#pseudo-device md # memory disk device (ramdisk) 1841.1Smatt#pseudo-device vnd # disk-like interface to files 1851.1Smatt 1861.1Smatt# Network pseudo-devices 1871.1Smattpseudo-device bpfilter # Berkeley packet filter 1881.22Ssevanpseudo-device carp # Common Address Redundancy Protocol 1891.20Smaxv#pseudo-device npf # NPF packet filter 1901.1Smattpseudo-device loop # network loopback 1911.1Smatt#pseudo-device ppp # Point-to-Point Protocol 1921.1Smatt#pseudo-device sl # Serial Line IP 1931.1Smatt#pseudo-device tun # network tunneling over tty 1941.1Smatt#pseudo-device tap # virtual Ethernet 1951.1Smatt#pseudo-device gre # generic L3 over IP tunnel 1961.10Schristos#pseudo-device ipip # RFC 2003 IP Encapsulation 1971.1Smatt#pseudo-device gif # RFC1933 tunnel 1981.1Smatt#pseudo-device faith # IPv[46] tcp relay translation 1991.1Smatt#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2001.1Smatt#pseudo-device vlan # IEEE 802.1q encapsulation 2011.1Smatt#pseudo-device bridge # simple inter-network bridging 2021.24Sroy#pseudo-device vether # Virtual Ethernet for bridge 2031.24Sroy 2041.1Smatt 2051.1Smatt# Miscellaneous pseudo-devices 2061.1Smattpseudo-device pty # pseudo-terminals 2071.1Smattpseudo-device clockctl # user control of clock subsystem 2081.1Smattpseudo-device ksyms # /dev/ksyms 2091.1Smatt 2101.1Smatt# A pseudo device needed for Coda # also needs CODA (above) 2111.10Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 2121.22Ssevan 2131.22Ssevaninclude "dev/veriexec.config" 214