RT305X (221753) | RT305X (224005) |
---|---|
1# RT305X -- Kernel configuration file for FreeBSD/mips for Ralink RT305xF 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# | 1# RT305X -- Kernel configuration file for FreeBSD/mips for Ralink RT305xF 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: head/sys/mips/conf/RT305X 221753 2011-05-11 00:52:41Z gonzo $ | 18# $FreeBSD: head/sys/mips/conf/RT305X 224005 2011-07-14 10:05:28Z ray $ |
19 20ident RT305X 21 22machine mips mipsel 23makeoptions MIPS_LITTLE_ENDIAN=defined 24makeoptions KERNLOADADDR=0x80001000 25 26# Don't build any modules yet. | 19 20ident RT305X 21 22machine mips mipsel 23makeoptions MIPS_LITTLE_ENDIAN=defined 24makeoptions KERNLOADADDR=0x80001000 25 26# Don't build any modules yet. |
27makeoptions 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" | 27makeoptions MODULES_OVERRIDE="if_bridge bridgestp md ipfw dummynet libalias geom/geom_label zlib" |
28makeoptions RT3052F 29 30include "../rt305x/std.rt305x" 31 32hints "RT305X.hints" #Default places to look for devices. 33 | 28makeoptions RT3052F 29 30include "../rt305x/std.rt305x" 31 32hints "RT305X.hints" #Default places to look for devices. 33 |
34#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 35 | |
36# Debugging for use in -current | 34# Debugging for use in -current |
37#options DEADLKRES #Enable the deadlock resolver 38#options INVARIANTS #Enable calls of extra sanity checking 39#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 40#options WITNESS #Enable checks to detect deadlocks and cycles 41#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 42#options DIAGNOSTIC 43#options DEBUG_LOCKS 44#options DEBUG_VFS_LOCKS | 35#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 36#options DEADLKRES #Enable the deadlock resolver 37#options INVARIANTS #Enable calls of extra sanity checking 38#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 39#options WITNESS #Enable checks to detect deadlocks and cycles 40#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 41#options DIAGNOSTIC 42#options DEBUG_LOCKS 43#options DEBUG_VFS_LOCKS |
45#options GDB | 44#options GDB |
46options DDB | 45options DDB |
47options KDB 48 49options SCHED_ULE 50#options SCHED_4BSD #4BSD scheduler 51#options COMPAT_43 52options INET #InterNETworking | 46options KDB 47 48options SCHED_ULE 49#options SCHED_4BSD #4BSD scheduler 50#options COMPAT_43 51options INET #InterNETworking |
53options NFSCL #Network Filesystem Client 54options NFS_ROOT #NFS usable as /, requires NFSCL | |
55options PSEUDOFS #Pseudo-filesystem framework 56#options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 57 | 52options PSEUDOFS #Pseudo-filesystem framework 53#options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 54 |
58options BOOTP 59#options BOOTP_NFSROOT 60options BOOTP_NFSV3 61options BOOTP_WIRED_TO=rt0 62options BOOTP_COMPAT | |
63options CD9660 # ISO 9660 Filesystem 64options ROOTDEVNAME=\"cd9660:/dev/map/rootfs.uncompress\" 65options TMPFS # TMP Memory Filesystem 66 67#options FFS #Berkeley Fast Filesystem 68#options SOFTUPDATES #Enable FFS soft updates support 69#options UFS_ACL #Support for access control lists 70#options UFS_DIRHASH #Improve performance on big directories | 55options CD9660 # ISO 9660 Filesystem 56options ROOTDEVNAME=\"cd9660:/dev/map/rootfs.uncompress\" 57options TMPFS # TMP Memory Filesystem 58 59#options FFS #Berkeley Fast Filesystem 60#options SOFTUPDATES #Enable FFS soft updates support 61#options UFS_ACL #Support for access control lists 62#options UFS_DIRHASH #Improve performance on big directories |
63 64# BOOTP/NFS boot 65#options BOOTP 66#options BOOTP_NFSROOT 67#options BOOTP_NFSV3 68#options BOOTP_WIRED_TO=rt0 69#options BOOTP_COMPAT 70#options NFSCL #Network Filesystem Client 71#options NFS_ROOT #NFS usable as /, requires NFSCL |
|
71#options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\" 72 73# Options for making kernel less hangry 74makeoptions INLINE_LIMIT=1024 75options MAXUSERS=3 76options MAXFILES=512 77options NSFBUFS=256 78options SHMALL=128 --- 5 unchanged lines hidden (view full) --- 84options SCSI_NO_SENSE_STRINGS 85options SCSI_NO_OP_STRINGS 86options RWLOCK_NOINLINE 87options SX_NOINLINE 88options NO_SWAPPING 89options ZERO_COPY_SOCKETS 90options MROUTING # Multicast routing 91options IPFIREWALL_DEFAULT_TO_ACCEPT | 72#options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\" 73 74# Options for making kernel less hangry 75makeoptions INLINE_LIMIT=1024 76options MAXUSERS=3 77options MAXFILES=512 78options NSFBUFS=256 79options SHMALL=128 --- 5 unchanged lines hidden (view full) --- 85options SCSI_NO_SENSE_STRINGS 86options SCSI_NO_OP_STRINGS 87options RWLOCK_NOINLINE 88options SX_NOINLINE 89options NO_SWAPPING 90options ZERO_COPY_SOCKETS 91options MROUTING # Multicast routing 92options IPFIREWALL_DEFAULT_TO_ACCEPT |
93options SCSI_DELAY=1000 # Delay (in ms) before probing SCSI |
|
92 | 94 |
93device random 94device loop 95# RT3050F, RT3052F have only pseudo PHYs 96#device mii 97#device miibus 98device pty # Pseudo-ttys (telnet etc) | 95device rt |
99device ether | 96device ether |
97# RT3050F, RT3052F have only attached switch, so no need to mii/miibus 98 99device pty # Pseudo-ttys (telnet etc) |
|
100device bpf # Berkeley packet filter 101device vlan 102#device lagg 103#device if_bridge | 100device bpf # Berkeley packet filter 101device vlan 102#device lagg 103#device if_bridge |
104device tun # Packet tunnel. 105device random 106device loop 107 108# Chip have two UARTs - UART and UART Light |
|
104device uart 105nodevice uart_ns8250 | 109device uart 110nodevice uart_ns8250 |
106device tun # Packet tunnel. | |
107 | 111 |
108device wlan | 112# Wireless support 113# Work in progress 114#device ral 115#device wlan |
109 | 116 |
110 | 117# GPIO support |
111device gpio 112device gpioled 113 | 118device gpio 119device gpioled 120 |
121# CFI flash support |
|
114device cfi # Detect Flash memmory 115device cfid 116 | 122device cfi # Detect Flash memmory 123device cfid 124 |
125# Read U-Boot environment from flash |
|
117device nvram2env 118 | 126device nvram2env 127 |
119device usb | 128# USB support 129# Partial support. Not included yet. |
120#device dotg # DWC like USB OTG Controller driver | 130#device dotg # DWC like USB OTG Controller driver |
131#options USB_DEBUG 132#device usb |
|
121#device u3g 122#device umodem 123#device uplcom 124#device umass 125#device da 126#device pass 127#device scbus | 133#device u3g 134#device umodem 135#device uplcom 136#device umass 137#device da 138#device pass 139#device scbus |
128options SCSI_DELAY=1000 # Delay (in ms) before probing SCSI | |
129 | 140 |
130#options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 131#options USB_DEBUG 132#options USB_REQ_DEBUG 133 134 | |