1# MT7620 -- Kernel configuration file for FreeBSD/mips for Ralink MT7620 systems 2# 3# For more information on this file, please read the handbook section on 4# Kernel Configuration Files: 5# 6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7# 8# The handbook is also available locally in /usr/share/doc/handbook 9# if you've installed the doc distribution, otherwise always see the 10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 11# latest information. 12# 13# An exhaustive list of options and more detailed explanations of the 14# device lines is also present in the ../../conf/NOTES and NOTES files. 15# If you are in doubt as to the purpose or necessity of a line, check first 16# in NOTES. 17# 18# $FreeBSD: stable/11/sys/mips/conf/MT7620 345344 2019-03-20 18:49:45Z kib $ 19 20ident MT7620 21 22machine mips mipsel 23makeoptions MIPS_LITTLE_ENDIAN=defined 24makeoptions KERNLOADADDR=0x80010000 25 26# Don't build any modules yet. 27#makeoptions MODULES_OVERRIDE="wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt if_bridge bridgestp msdosfs md ipfw dummynet libalias geom/geom_label ufs usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib" 28makeoptions MODULES_OVERRIDE="" 29makeoptions MT7620 30 31include "../rt305x/std.rt305x" 32 33hints "MT7620.hints" #Default places to look for devices. 34 35#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 36 37options MT7620 38options RT305X_UBOOT 39 40# Debugging for use in -current 41options DEADLKRES #Enable the deadlock resolver 42options INVARIANTS #Enable calls of extra sanity checking 43options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 44options WITNESS #Enable checks to detect deadlocks and cycles 45options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 46#options DIAGNOSTIC 47#options DEBUG_LOCKS 48#options DEBUG_VFS_LOCKS 49#options GDB 50options DDB 51options KDB 52 53options SCHED_ULE 54#options SCHED_4BSD #4BSD scheduler 55#options COMPAT_43 56options INET #InterNETworking 57options NFSCL #Network Filesystem Client 58options NFS_ROOT #NFS usable as /, requires NFSCL 59options PSEUDOFS #Pseudo-filesystem framework 60#options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 61 62#options BOOTP 63#options BOOTP_NFSROOT 64#options BOOTP_NFSV3 65#options BOOTP_WIRED_TO=rt0 66#options BOOTP_COMPAT 67#options CD9660 # ISO 9660 Filesystem 68#options ROOTDEVNAME=\"cd9660:/dev/map/rootfs.uzip\" 69#options TMPFS # TMP Memory Filesystem 70 71options FFS #Berkeley Fast Filesystem 72#options SOFTUPDATES #Enable FFS soft updates support 73#options UFS_ACL #Support for access control lists 74#options UFS_DIRHASH #Improve performance on big directories 75#options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\" 76 77# Options for making kernel less hangry 78#makeoptions INLINE_LIMIT=1024 79#options MAXUSERS=3 80#options MAXFILES=512 81#options NSFBUFS=256 82#options SHMALL=128 83#options MSGBUF_SIZE=65536 84 85# Options for making kernel smallest 86#options NO_SYSCTL_DESCR # No description string of sysctl 87#options NO_FFS_SNAPSHOT # Disable Snapshot supporting 88#options SCSI_NO_SENSE_STRINGS 89#options SCSI_NO_OP_STRINGS 90#options RWLOCK_NOINLINE 91#options SX_NOINLINE 92#options NO_SWAPPING 93options MROUTING # Multicast routing 94options IPFIREWALL_DEFAULT_TO_ACCEPT 95 96device xz 97options GEOM_UZIP 98options MD_ROOT 99options ROOTDEVNAME=\"ufs:da0s1\" 100 101device md 102 103device random 104device loop 105# RT3050F, RT3052F have only pseudo PHYs, so mii not required 106device rt 107 108device spibus 109device mx25l 110 111device ether 112device miibus 113device bpf # Berkeley packet filter 114device vlan 115device lagg 116device if_bridge 117device uart 118nodevice uart_ns8250 119#device tun # Packet tunnel. 120 121#device wlan 122 123 124#device gpio 125#device gpioled 126 127#device cfi # Detect Flash memmory 128#device cfid 129 130#device nvram2env 131 132device usb 133device ehci 134#device ohci 135#device dwcotg # DWC like USB OTG Controller driver 136#device u3g 137#device umodem 138#device uplcom 139device cdce 140device umass 141device da 142device pass 143device scbus 144options SCSI_DELAY=1000 # Delay (in ms) before probing SCSI 145 146#options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 147#options USB_DEBUG 148#options USB_REQ_DEBUG 149 150device pci 151