ZYXELKX revision 1.4
11.4Sjoerg# $NetBSD: ZYXELKX,v 1.4 2014/08/17 21:17:43 joerg Exp $ 21.2Salnsn 31.1Smattinclude "arch/evbmips/conf/std.rasoc" 41.1Smatt 51.4Sjoergmakeoptions COPY_SYMTAB=1 # 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.3Sapboptions COMPAT_70 # NetBSD 7.0 compatibility. 731.1Smatt#options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 741.1Smatt#options COMPAT_386BSD_MBRPART # recognize old partition ID 751.1Smatt#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 761.1Smatt 771.1Smatt#options COMPAT_SVR4 # binary compatibility with SVR4 781.1Smatt#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 791.1Smatt#options COMPAT_LINUX # binary compatibility with Linux 801.1Smatt#options COMPAT_FREEBSD # binary compatibility with FreeBSD 811.1Smatt#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 821.1Smatt 831.1Smatt# File systems 841.1Smattfile-system FFS # UFS 851.1Smatt#file-system EXT2FS # second extended file system (linux) 861.1Smatt#file-system LFS # log-structured file system 871.1Smattfile-system MFS # memory file system 881.1Smattfile-system NFS # Network File System client 891.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 901.1Smattfile-system MSDOSFS # MS-DOS file system 911.1Smatt#file-system FDESC # /dev/fd 921.1Smattfile-system KERNFS # /kern 931.1Smatt#file-system NULLFS # loopback file system 941.1Smatt#file-system PORTAL # portal filesystem (still experimental) 951.1Smattfile-system PROCFS # /proc 961.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 971.1Smatt#file-system UNION # union file system 981.1Smatt#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 991.1Smatt#file-system PTYFS # /dev/pts/N support 1001.1Smattfile-system TMPFS # Efficient memory file-system 1011.1Smatt 1021.1Smatt# File system options 1031.1Smatt#options QUOTA # UFS quotas 1041.1Smatt#options FFS_EI # FFS Endian Independant support 1051.1Smatt#options NFSSERVER # Network File System server 1061.1Smattoptions FFS_NO_SNAPSHOT # No FF snapshot support 1071.1Smatt#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags. 1081.1Smatt 1091.1Smatt# Networking options 1101.1Smattoptions GATEWAY # packet forwarding 1111.1Smattoptions INET # IP + ICMP + TCP + UDP 1121.1Smattoptions MROUTING # IP multicast routing 1131.1Smatt#options INET6 # IPV6 1141.1Smatt#options IPSEC # IP security 1151.1Smatt#options IPSEC_DEBUG # debug for IP security 1161.1Smatt#options PIM # Protocol Independent Multicast 1171.1Smatt#options NETATALK # AppleTalk networking protocols 1181.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1191.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 1201.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 1211.1Smatt#options IPFILTER_LOG # ipmon(8) log support 1221.1Smatt#options IPFILTER_LOOKUP # ippool(8) support 1231.1Smatt#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1241.1Smatt#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1251.1Smatt 1261.1Smatt#options ALTQ # Manipulate network interfaces' output queues 1271.1Smatt#options ALTQ_BLUE # Stochastic Fair Blue 1281.1Smatt#options ALTQ_CBQ # Class-Based Queueing 1291.1Smatt#options ALTQ_CDNR # Diffserv Traffic Conditioner 1301.1Smatt#options ALTQ_FIFOQ # First-In First-Out Queue 1311.1Smatt#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1321.1Smatt#options ALTQ_HFSC # Hierarchical Fair Service Curve 1331.1Smatt#options ALTQ_LOCALQ # Local queueing discipline 1341.1Smatt#options ALTQ_PRIQ # Priority Queueing 1351.1Smatt#options ALTQ_RED # Random Early Detection 1361.1Smatt#options ALTQ_RIO # RED with IN/OUT 1371.1Smatt#options ALTQ_WFQ # Weighted Fair Queueing 1381.1Smatt 1391.2Salnsn# JIT compiler for bpfilter 1401.2Salnsn#options SLJIT 1411.2Salnsn#options BPFJIT 1421.2Salnsn 1431.1Smatt# These options enable verbose messages for several subsystems. 1441.1Smatt# Warning, these may compile large string tables into the kernel! 1451.1Smatt#options EISAVERBOSE # verbose EISA device autoconfig messages 1461.1Smatt#options PCIVERBOSE # verbose PCI device autoconfig messages 1471.1Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1481.1Smatt#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1491.1Smatt#options SCSIVERBOSE # human readable SCSI error messages 1501.1Smatt#options USBVERBOSE # verbose USB device autoconfig messages 1511.1Smatt 1521.1Smatt# Options for necessary to use MD 1531.1Smatt#options MEMORY_DISK_HOOKS 1541.1Smatt#options MEMORY_DISK_IS_ROOT # force root on memory disk 1551.1Smatt#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 1561.1Smatt#options MEMORY_DISK_ROOT_SIZE=8192 # embed the FS into the system for now 1571.1Smatt#options MEMORY_RBFLAGS=0 # keep the kernel from forcing single user mode 1581.1Smatt 1591.1Smatt# Options for NFS root boot 1601.1Smattoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC 1611.1Smatt#options NFS_BOOTSTATIC_MYIP="\"192.168.0.1\"" 1621.1Smatt#options NFS_BOOTSTATIC_GWIP="\"192.168.0.1\"" 1631.1Smatt#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 1641.1Smatt#options NFS_BOOTSTATIC_SERVADDR="\"192.168.0.5\"" 1651.1Smatt#options NFS_BOOTSTATIC_SERVER="\"192.168.0.5:/home/andersen/nfs/mbr1400\"" 1661.1Smatt 1671.1Smatt# Need more mbufs for IPsec VPN 1681.1Smatt#options NMBCLUSTERS=4096 1691.1Smatt 1701.1Smatt# rt3052 dev board root on embedded NFS mount disk 1711.1Smattconfig netbsd root on ? type ? 1721.1Smattconfig netbsd-sd0a root on sd0a type ffs dumps none 1731.1Smattconfig netbsd-reth0 root on reth0 type nfs dumps none 1741.1Smatt 1751.1Smattmainbus0 at root 1761.1Smattcpu0 at mainbus? 1771.1Smattcom0 at mainbus? 1781.1Smattreth* at mainbus? flags 1 1791.1Smattrwdog0 at mainbus? 1801.1Smattoptions RA_WDOG_DEFAULT_PERIOD=10 1811.1Smatt#options RA_WDOG_DEFAULT_MODE=WDOG_MODE_DISARMED 1821.1Smattoptions RA_WDOG_DEFAULT_MODE=WDOG_MODE_KTICKLE 1831.1Smatt 1841.1Smatt# PCI/PCIe support 1851.1Smattrpci0 at mainbus? 1861.1Smattpci* at rpci? 1871.1Smatt 1881.1Smatt# USB support on rusb0 1891.1Smattehci* at mainbus? 1901.1Smattusb* at ehci? 1911.1Smatt 1921.1Smatt# USB support on rusb0 1931.1Smattohci* at mainbus? 1941.1Smattusb* at ohci? 1951.1Smatt 1961.1Smatt# GPIO support 1971.1Smattrgpio0 at mainbus? 1981.1Smattgpio* at rgpio? 1991.1Smatt 2001.1Smatt# I2C support 2011.1Smattri2c0 at mainbus? 2021.1Smattiic* at ri2c? 2031.1Smatt 2041.1Smatt# NOR Flash 2051.1Smatt#options NOR_VERBOSE 2061.1Smatt#cfi0 at mainbus0 2071.1Smatt#nor0 at cfi0 2081.1Smatt#flash0 at nor0 offset 0x00000000 size 0x00040000 2091.1Smatt#flash1 at nor0 offset 0x00040000 size 0x00020000 2101.1Smatt#flash2 at nor0 offset 0x00060000 size 0x00020000 2111.1Smatt#flash3 at nor0 offset 0x00080000 size 0x00120000 # kernel 2121.1Smatt#flash4 at nor0 offset 0x001a0000 size 0x006e0000 # filesystem 2131.1Smatt#flash5 at nor0 offset 0x00880000 size 0x01760000 # upgrade 2141.1Smatt#flash6 at nor0 offset 0x01fe0000 size 0x00020000 2151.1Smatt 2161.1Smatt# USB Hubs 2171.1Smattuhub* at usb? 2181.1Smattuhub* at uhub? port ? 2191.1Smatt 2201.1Smatt# USB Mass Storage 2211.1Smattumass* at uhub? port ? 2221.1Smattscsibus* at scsi? 2231.1Smattsd* at scsibus? target ? lun ? 2241.1Smatt 2251.1Smatt# USB Ethernet adapters 2261.1Smatt#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 2271.1Smatt#axe* at uhub? port ? # ASIX AX88172 10/100 based adapters 2281.1Smatt 2291.1Smatt# USB Generic driver 2301.1Smattugen* at uhub? port ? 2311.1Smatt 2321.1Smatt# PHY Support 2331.1Smattukphy* at mii? phy ? # generic unknown PHYs 2341.1Smatt#arphy* at mii? phy ? # Atheros AR8316 switch 2351.1Smatt 2361.1Smatt# Pseudo-Devices 2371.1Smatt 2381.1Smatt# disk/mass storage pseudo-devices 2391.1Smatt 2401.1Smatt# network pseudo-devices 2411.1Smattpseudo-device bpfilter # Berkeley packet filter 2421.1Smattpseudo-device bridge # simple inter-network bridging 2431.1Smattpseudo-device loop # network loopback 2441.1Smattpseudo-device tap # virtual Ethernet 2451.1Smattpseudo-device pf # PF packet filter 2461.1Smattpseudo-device pflog # PF log if 2471.1Smattpseudo-device pppoe # PPPoE protocol 2481.1Smattpseudo-device vlan # 802.1q 2491.1Smatt 2501.1Smatt# miscellaneous pseudo-devices 2511.1Smattpseudo-device pty # pseudo-terminals 2521.1Smattpseudo-device clockctl # /dev/clockctl - user control of clock subsystem 2531.1Smattpseudo-device ksyms # /dev/ksyms - kernel symbols 254