ZYXELKX revision 1.2
11.2Salnsn# $NetBSD: ZYXELKX,v 1.2 2014/07/20 10:06:11 alnsn Exp $ 21.2Salnsn 31.1Smattinclude "arch/evbmips/conf/std.rasoc" 41.1Smatt 51.1Smattoptions SYMTAB_SPACE=450000 # size for embedded symbol table 61.1Smatt 71.1Smattoptions RALINK_CONSOLE_EARLY 81.1Smattoptions MT7620 91.1Smattoptions RALINK_ETH_NUM_SW_PARTITIONS=5 101.1Smattoptions CONSPEED=57600 111.1Smatt 121.1Smattmaxusers 8 131.1Smatt 141.1Smatt# Size reduction options 151.1Smatt#options VNODE_OP_NOINLINE 161.1Smatt#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 171.1Smatt#options SOSEND_NO_LOAN 181.1Smatt 191.1Smatt# Standard system options 201.1Smatt 211.1Smattoptions INSECURE # disable kernel security levels - X needs this 221.1Smatt 231.1Smattoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 241.1Smattoptions NTP # NTP phase/frequency locked loop 251.1Smatt 261.1Smatt#options KTRACE # system call tracing via ktrace(1) 271.1Smatt 281.1Smatt#options SYSVMSG # System V-like message queues 291.1Smatt#options SYSVSEM # System V-like semaphores 301.1Smatt#options SYSVSHM # System V-like memory sharing 311.1Smatt#options SHMMAXPGS=2048 # 2048 pages is the default 321.1Smatt 331.1Smatt#options NMBCLUSTERS=1024 341.1Smatt#options MCLSHIFT=12 # 4k mbuf clusters (increases pool max's to 4k as well) 351.1Smatt 361.1Smatt#options USERCONF # userconf(4) support 371.1Smatt#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 381.1Smatt 391.1Smatt# Diagnostic/debugging support options 401.1Smattoptions DIAGNOSTIC # expensive kernel consistency checks 411.1Smatt#options LOCKDEBUG 421.1Smatt#options KSTACK_CHECK_MAGIC 431.1Smattoptions DEBUG # expensive debugging checks/support 441.1Smattoptions KMEMSTATS # kernel memory statistics (vmstat -m) 451.1Smattoptions DDB # in-kernel debugger 461.1Smattoptions DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 471.1Smatt#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 481.1Smatt#options DDB_COMMANDONENTER="w/b 0x90000128 0 ; bt" # disable watchdog & drop history on enter 491.1Smatt#options KGDB # remote debugger 501.1Smatt#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=9600 511.1Smatt#makeoptions DEBUG="-g2" # compile full symbol table 521.1Smatt#makeoptions COPTS="-Os" # Optimise for space. 531.1Smatt 541.1Smatt#makeoptions PROF="-p" # build profiling in 551.1Smatt#options GPROF 561.1Smatt 571.1Smatt# Compatibility options 581.1Smatt#options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 591.1Smatt#options COMPAT_09 # NetBSD 0.9 601.1Smatt#options COMPAT_10 # NetBSD 1.0 611.1Smatt#options COMPAT_11 # NetBSD 1.1 621.1Smatt#options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 631.1Smatt#options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 641.1Smatt#options COMPAT_14 # NetBSD 1.4 651.1Smatt#options COMPAT_15 # NetBSD 1.5 661.1Smatt#options COMPAT_16 # NetBSD 1.6 671.1Smatt#options COMPAT_20 # NetBSD 2.0 681.1Smatt#options COMPAT_30 # NetBSD 3.0 compatibility. 691.1Smatt#options COMPAT_40 # NetBSD 4.0 701.1Smattoptions COMPAT_50 # NetBSD 5.0 compatibility. 711.1Smattoptions COMPAT_60 # NetBSD 6.0 compatibility. 721.1Smatt#options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 731.1Smatt#options COMPAT_386BSD_MBRPART # recognize old partition ID 741.1Smatt#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 751.1Smatt 761.1Smatt#options COMPAT_SVR4 # binary compatibility with SVR4 771.1Smatt#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 781.1Smatt#options COMPAT_LINUX # binary compatibility with Linux 791.1Smatt#options COMPAT_FREEBSD # binary compatibility with FreeBSD 801.1Smatt#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 811.1Smatt 821.1Smatt# File systems 831.1Smattfile-system FFS # UFS 841.1Smatt#file-system EXT2FS # second extended file system (linux) 851.1Smatt#file-system LFS # log-structured file system 861.1Smattfile-system MFS # memory file system 871.1Smattfile-system NFS # Network File System client 881.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 891.1Smattfile-system MSDOSFS # MS-DOS file system 901.1Smatt#file-system FDESC # /dev/fd 911.1Smattfile-system KERNFS # /kern 921.1Smatt#file-system NULLFS # loopback file system 931.1Smatt#file-system PORTAL # portal filesystem (still experimental) 941.1Smattfile-system PROCFS # /proc 951.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 961.1Smatt#file-system UNION # union file system 971.1Smatt#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 981.1Smatt#file-system PTYFS # /dev/pts/N support 991.1Smattfile-system TMPFS # Efficient memory file-system 1001.1Smatt 1011.1Smatt# File system options 1021.1Smatt#options QUOTA # UFS quotas 1031.1Smatt#options FFS_EI # FFS Endian Independant support 1041.1Smatt#options NFSSERVER # Network File System server 1051.1Smattoptions FFS_NO_SNAPSHOT # No FF snapshot support 1061.1Smatt#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags. 1071.1Smatt 1081.1Smatt# Networking options 1091.1Smattoptions GATEWAY # packet forwarding 1101.1Smattoptions INET # IP + ICMP + TCP + UDP 1111.1Smattoptions MROUTING # IP multicast routing 1121.1Smatt#options INET6 # IPV6 1131.1Smatt#options IPSEC # IP security 1141.1Smatt#options IPSEC_DEBUG # debug for IP security 1151.1Smatt#options PIM # Protocol Independent Multicast 1161.1Smatt#options NETATALK # AppleTalk networking protocols 1171.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1181.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1191.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1201.1Smatt#options IPFILTER_LOG # ipmon(8) log support 1211.1Smatt#options IPFILTER_LOOKUP # ippool(8) support 1221.1Smatt#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1231.1Smatt#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1241.1Smatt 1251.1Smatt#options ALTQ # Manipulate network interfaces' output queues 1261.1Smatt#options ALTQ_BLUE # Stochastic Fair Blue 1271.1Smatt#options ALTQ_CBQ # Class-Based Queueing 1281.1Smatt#options ALTQ_CDNR # Diffserv Traffic Conditioner 1291.1Smatt#options ALTQ_FIFOQ # First-In First-Out Queue 1301.1Smatt#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1311.1Smatt#options ALTQ_HFSC # Hierarchical Fair Service Curve 1321.1Smatt#options ALTQ_LOCALQ # Local queueing discipline 1331.1Smatt#options ALTQ_PRIQ # Priority Queueing 1341.1Smatt#options ALTQ_RED # Random Early Detection 1351.1Smatt#options ALTQ_RIO # RED with IN/OUT 1361.1Smatt#options ALTQ_WFQ # Weighted Fair Queueing 1371.1Smatt 1381.2Salnsn# JIT compiler for bpfilter 1391.2Salnsn#options SLJIT 1401.2Salnsn#options BPFJIT 1411.2Salnsn 1421.1Smatt# These options enable verbose messages for several subsystems. 1431.1Smatt# Warning, these may compile large string tables into the kernel! 1441.1Smatt#options EISAVERBOSE # verbose EISA device autoconfig messages 1451.1Smatt#options PCIVERBOSE # verbose PCI device autoconfig messages 1461.1Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1471.1Smatt#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1481.1Smatt#options SCSIVERBOSE # human readable SCSI error messages 1491.1Smatt#options USBVERBOSE # verbose USB device autoconfig messages 1501.1Smatt 1511.1Smatt# Options for necessary to use MD 1521.1Smatt#options MEMORY_DISK_HOOKS 1531.1Smatt#options MEMORY_DISK_IS_ROOT # force root on memory disk 1541.1Smatt#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 1551.1Smatt#options MEMORY_DISK_ROOT_SIZE=8192 # embed the FS into the system for now 1561.1Smatt#options MEMORY_RBFLAGS=0 # keep the kernel from forcing single user mode 1571.1Smatt 1581.1Smatt# Options for NFS root boot 1591.1Smattoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC 1601.1Smatt#options NFS_BOOTSTATIC_MYIP="\"192.168.0.1\"" 1611.1Smatt#options NFS_BOOTSTATIC_GWIP="\"192.168.0.1\"" 1621.1Smatt#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 1631.1Smatt#options NFS_BOOTSTATIC_SERVADDR="\"192.168.0.5\"" 1641.1Smatt#options NFS_BOOTSTATIC_SERVER="\"192.168.0.5:/home/andersen/nfs/mbr1400\"" 1651.1Smatt 1661.1Smatt# Need more mbufs for IPsec VPN 1671.1Smatt#options NMBCLUSTERS=4096 1681.1Smatt 1691.1Smatt# rt3052 dev board root on embedded NFS mount disk 1701.1Smattconfig netbsd root on ? type ? 1711.1Smattconfig netbsd-sd0a root on sd0a type ffs dumps none 1721.1Smattconfig netbsd-reth0 root on reth0 type nfs dumps none 1731.1Smatt 1741.1Smattmainbus0 at root 1751.1Smattcpu0 at mainbus? 1761.1Smattcom0 at mainbus? 1771.1Smattreth* at mainbus? flags 1 1781.1Smattrwdog0 at mainbus? 1791.1Smattoptions RA_WDOG_DEFAULT_PERIOD=10 1801.1Smatt#options RA_WDOG_DEFAULT_MODE=WDOG_MODE_DISARMED 1811.1Smattoptions RA_WDOG_DEFAULT_MODE=WDOG_MODE_KTICKLE 1821.1Smatt 1831.1Smatt# PCI/PCIe support 1841.1Smattrpci0 at mainbus? 1851.1Smattpci* at rpci? 1861.1Smatt 1871.1Smatt# USB support on rusb0 1881.1Smattehci* at mainbus? 1891.1Smattusb* at ehci? 1901.1Smatt 1911.1Smatt# USB support on rusb0 1921.1Smattohci* at mainbus? 1931.1Smattusb* at ohci? 1941.1Smatt 1951.1Smatt# GPIO support 1961.1Smattrgpio0 at mainbus? 1971.1Smattgpio* at rgpio? 1981.1Smatt 1991.1Smatt# I2C support 2001.1Smattri2c0 at mainbus? 2011.1Smattiic* at ri2c? 2021.1Smatt 2031.1Smatt# NOR Flash 2041.1Smatt#options NOR_VERBOSE 2051.1Smatt#cfi0 at mainbus0 2061.1Smatt#nor0 at cfi0 2071.1Smatt#flash0 at nor0 offset 0x00000000 size 0x00040000 2081.1Smatt#flash1 at nor0 offset 0x00040000 size 0x00020000 2091.1Smatt#flash2 at nor0 offset 0x00060000 size 0x00020000 2101.1Smatt#flash3 at nor0 offset 0x00080000 size 0x00120000 # kernel 2111.1Smatt#flash4 at nor0 offset 0x001a0000 size 0x006e0000 # filesystem 2121.1Smatt#flash5 at nor0 offset 0x00880000 size 0x01760000 # upgrade 2131.1Smatt#flash6 at nor0 offset 0x01fe0000 size 0x00020000 2141.1Smatt 2151.1Smatt# USB Hubs 2161.1Smattuhub* at usb? 2171.1Smattuhub* at uhub? port ? 2181.1Smatt 2191.1Smatt# USB Mass Storage 2201.1Smattumass* at uhub? port ? 2211.1Smattscsibus* at scsi? 2221.1Smattsd* at scsibus? target ? lun ? 2231.1Smatt 2241.1Smatt# USB Ethernet adapters 2251.1Smatt#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 2261.1Smatt#axe* at uhub? port ? # ASIX AX88172 10/100 based adapters 2271.1Smatt 2281.1Smatt# USB Generic driver 2291.1Smattugen* at uhub? port ? 2301.1Smatt 2311.1Smatt# PHY Support 2321.1Smattukphy* at mii? phy ? # generic unknown PHYs 2331.1Smatt#arphy* at mii? phy ? # Atheros AR8316 switch 2341.1Smatt 2351.1Smatt# Pseudo-Devices 2361.1Smatt 2371.1Smatt# disk/mass storage pseudo-devices 2381.1Smatt 2391.1Smatt# network pseudo-devices 2401.1Smattpseudo-device bpfilter # Berkeley packet filter 2411.1Smattpseudo-device bridge # simple inter-network bridging 2421.1Smattpseudo-device loop # network loopback 2431.1Smattpseudo-device tap # virtual Ethernet 2441.1Smattpseudo-device pf # PF packet filter 2451.1Smattpseudo-device pflog # PF log if 2461.1Smattpseudo-device pppoe # PPPoE protocol 2471.1Smattpseudo-device vlan # 802.1q 2481.1Smatt 2491.1Smatt# miscellaneous pseudo-devices 2501.1Smattpseudo-device pty # pseudo-terminals 2511.1Smattpseudo-device clockctl # /dev/clockctl - user control of clock subsystem 2521.1Smattpseudo-device ksyms # /dev/ksyms - kernel symbols 253