1220297Sadrian# RT305X -- Kernel configuration file for FreeBSD/mips for Ralink RT305xF systems 2220297Sadrian# 3220297Sadrian# For more information on this file, please read the handbook section on 4220297Sadrian# Kernel Configuration Files: 5220297Sadrian# 6220297Sadrian# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7220297Sadrian# 8220297Sadrian# The handbook is also available locally in /usr/share/doc/handbook 9220297Sadrian# if you've installed the doc distribution, otherwise always see the 10220297Sadrian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 11220297Sadrian# latest information. 12220297Sadrian# 13220297Sadrian# An exhaustive list of options and more detailed explanations of the 14220297Sadrian# device lines is also present in the ../../conf/NOTES and NOTES files. 15220297Sadrian# If you are in doubt as to the purpose or necessity of a line, check first 16220297Sadrian# in NOTES. 17220297Sadrian# 18220297Sadrian# $FreeBSD$ 19220297Sadrian 20220297Sadrianident RT305X 21220297Sadrian 22220297Sadrianmachine mips mipsel 23220297Sadrianmakeoptions MIPS_LITTLE_ENDIAN=defined 24220297Sadrianmakeoptions KERNLOADADDR=0x80001000 25220297Sadrian 26220297Sadrian# Don't build any modules yet. 27253845Sobrienmakeoptions MODULES_OVERRIDE="wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt random if_bridge bridgestp msdosfs md ipfw dummynet libalias geom/geom_label ufs usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib" 28220297Sadrianmakeoptions RT3052F 29220297Sadrian 30220297Sadrianinclude "../rt305x/std.rt305x" 31220297Sadrian 32220297Sadrianhints "RT305X.hints" #Default places to look for devices. 33220297Sadrian 34224008Sray#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 35224008Sray 36224005Sray# Debugging for use in -current 37224008Sray#options DEADLKRES #Enable the deadlock resolver 38266331Sian#options INVARIANTS #Enable calls of extra sanity checking 39266331Sian#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 40266331Sian#options WITNESS #Enable checks to detect deadlocks and cycles 41266331Sian#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 42224008Sray#options DIAGNOSTIC 43224008Sray#options DEBUG_LOCKS 44224008Sray#options DEBUG_VFS_LOCKS 45220297Sadrian#options GDB 46224008Srayoptions DDB 47220297Sadrianoptions KDB 48220297Sadrian 49220297Sadrianoptions SCHED_ULE 50220297Sadrian#options SCHED_4BSD #4BSD scheduler 51266331Sian#options COMPAT_43 52220297Sadrianoptions INET #InterNETworking 53224008Srayoptions NFSCL #Network Filesystem Client 54224008Srayoptions NFS_ROOT #NFS usable as /, requires NFSCL 55220297Sadrianoptions PSEUDOFS #Pseudo-filesystem framework 56220297Sadrian#options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 57220297Sadrian 58224008Srayoptions BOOTP 59224008Sray#options BOOTP_NFSROOT 60224008Srayoptions BOOTP_NFSV3 61224008Srayoptions BOOTP_WIRED_TO=rt0 62224008Srayoptions BOOTP_COMPAT 63220297Sadrianoptions CD9660 # ISO 9660 Filesystem 64266331Sianoptions ROOTDEVNAME=\"cd9660:/dev/map/rootfs.uncompress\" 65220297Sadrianoptions TMPFS # TMP Memory Filesystem 66220297Sadrian 67220297Sadrian#options FFS #Berkeley Fast Filesystem 68220297Sadrian#options SOFTUPDATES #Enable FFS soft updates support 69220297Sadrian#options UFS_ACL #Support for access control lists 70220297Sadrian#options UFS_DIRHASH #Improve performance on big directories 71220297Sadrian#options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\" 72220297Sadrian 73220297Sadrian# Options for making kernel less hangry 74220297Sadrianmakeoptions INLINE_LIMIT=1024 75266331Sianoptions MAXUSERS=3 76266331Sianoptions MAXFILES=512 77266331Sianoptions NSFBUFS=256 78266331Sianoptions SHMALL=128 79266331Sianoptions MSGBUF_SIZE=65536 80220297Sadrian 81220297Sadrian# Options for making kernel smallest 82266331Sianoptions NO_SYSCTL_DESCR # No description string of sysctl 83266331Sian#options NO_FFS_SNAPSHOT # Disable Snapshot supporting 84266331Sianoptions SCSI_NO_SENSE_STRINGS 85266331Sianoptions SCSI_NO_OP_STRINGS 86266331Sianoptions RWLOCK_NOINLINE 87266331Sianoptions SX_NOINLINE 88266331Sianoptions NO_SWAPPING 89220297Sadrianoptions MROUTING # Multicast routing 90266331Sianoptions IPFIREWALL_DEFAULT_TO_ACCEPT 91220297Sadrian 92224008Sraydevice random 93224008Sraydevice loop 94224009Sray# RT3050F, RT3052F have only pseudo PHYs, so mii not required 95224009Sraydevice rt 96224009Sray 97224005Sraydevice ether 98220297Sadriandevice bpf # Berkeley packet filter 99220297Sadriandevice vlan 100220297Sadrian#device lagg 101220297Sadrian#device if_bridge 102220297Sadriandevice uart 103220297Sadriannodevice uart_ns8250 104224008Sraydevice tun # Packet tunnel. 105220297Sadrian 106224008Sraydevice wlan 107220297Sadrian 108224008Sray 109220297Sadriandevice gpio 110220297Sadriandevice gpioled 111220297Sadrian 112220297Sadriandevice cfi # Detect Flash memmory 113220297Sadriandevice cfid 114220297Sadrian 115220297Sadriandevice nvram2env 116220297Sadrian 117224008Sraydevice usb 118220297Sadrian#device dotg # DWC like USB OTG Controller driver 119220297Sadrian#device u3g 120220297Sadrian#device umodem 121220297Sadrian#device uplcom 122220297Sadrian#device umass 123220297Sadrian#device da 124220297Sadrian#device pass 125220297Sadrian#device scbus 126224008Srayoptions SCSI_DELAY=1000 # Delay (in ms) before probing SCSI 127220297Sadrian 128266331Sian#options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 129266331Sian#options USB_DEBUG 130266331Sian#options USB_REQ_DEBUG 131224008Sray 132224008Sray 133