Add example config file for Netgear WGT624 v3 wireless router.

This commit is contained in:
jmcneill 2007-02-17 23:26:03 +00:00
parent 692a0ae545
commit e9a5822887
1 changed files with 190 additions and 0 deletions

View File

@ -0,0 +1,190 @@
# $NetBSD: WGT624V3,v 1.1 2007/02/17 23:26:03 jmcneill Exp $
include "arch/evbmips/conf/std.atheros"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "AP30-$Revision: 1.1 $"
maxusers 32
makeoptions COPTS="-Os" # Optimise for space. Implies -O2
makeoptions ATH_MACHINE_HAL=ap51
options MIPS32
options NOFPU # No FPU
options SOFTFLOAT # emulate FPU insn
options WISOC_AR5315 # WiSoC select
options COM_ARBUS_BAUD=9600
# Options for necessary to use MD
#options MEMORY_DISK_HOOKS
#options MEMORY_DISK_IS_ROOT # force root on memory disk
#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks
#options MEMORY_DISK_ROOT_SIZE=7300
# Size reduction options
options VNODE_OP_NOINLINE
options PIPE_SOCKETPAIR
options SOSEND_NO_LOAN
# Standard system options
#options KTRACE # system call tracing support
#options SYSVMSG # System V message queues
#options SYSVSEM # System V semaphores
#options SYSVSHM # System V shared memory
#options SHMMAXPGS=1024 # 1024 pages is the default
#options LKM # loadable kernel modules
options NTP # network time protocol
# Debugging options
options DIAGNOSTIC # extra kernel sanity checking
#options DEBUG # extra kernel debugging support
#options KMEMSTATS # kernel memory statistics (vmstat -m)
#options USERCONF # userconf(4) support
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options DDB # kernel dynamic debugger
options DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions DEBUG="-g" # compile full symbol table
options SYMTAB_SPACE=150000 # size for embedded symbol table
# Compatibility options
#options COMPAT_43 # compatibility with 4.3BSD binaries
#options COMPAT_09 # NetBSD 0.9 binary compatibility
#options COMPAT_10 # NetBSD 1.0 binary compatibility
#options COMPAT_11 # NetBSD 1.1 binary compatibility
#options COMPAT_12 # NetBSD 1.2 binary compatibility
#options COMPAT_13 # NetBSD 1.3 binary compatibility
#options COMPAT_14 # NetBSD 1.4 binary compatibility
#options COMPAT_15 # NetBSD 1.5 binary compatibility
#options COMPAT_16 # NetBSD 1.6 binary compatibility
#options COMPAT_20 # NetBSD 2.0 binary compatibility
#options COMPAT_30 # NetBSD 3.0 compatibility.
#options EXEC_ECOFF # exec ECOFF binaries
#options COMPAT_ULTRIX # binary compatibility with Ultrix
#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# File systems
file-system FFS # Berkeley Fast Filesystem
file-system MFS # memory-based filesystem
#file-system EXT2FS # second extended file system (linux)
file-system NFS # Sun NFS-compatible filesystem client
#file-system KERNFS # kernel data-structure filesystem
#file-system NULLFS # NULL layered filesystem
#file-system OVERLAY # overlay file system
#file-system FDESC # user file descriptor filesystem
#file-system UMAPFS # uid/gid remapping filesystem
#file-system LFS # Log-based filesystem (still experimental)
#file-system PORTAL # portal filesystem (still experimental)
#file-system PROCFS # /proc
#file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system UNION # union file system
#file-system MSDOSFS # MS-DOS FAT filesystem(s).
#file-system CODA # Coda File System; also needs vcoda (below)
#file-system PTYFS # /dev/pts/N support
# File system options
#options NFSSERVER # Sun NFS-compatible filesystem server
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
options FFS_NO_SNAPSHOT # No FFS snapshot support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
# Networking options
#options GATEWAY # IP packet forwarding
options INET # Internet protocols
#options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
#options ISO,TPIP # OSI networking
#options EON # OSI tunneling over IP
#options NETATALK # AppleTalk (over Ethernet) protocol
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options PFIL_HOOKS # pfil(9) packet filter hooks
#options IPFILTER_LOG # ipmon(8) log support
#options IPFILTER_LOOKUP # ippool(8) support
# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
#options TCP_COMPAT_42
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options MIIVERBOSE # verbose PHY autoconfig messages
# Bitmask for enabling the PCI IDE channels in the southbridge.
# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
#
# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
#options PCI_NETBSD_ENABLE_IDE=0x1
options NFS_BOOT_DHCP
options NFS_V2_ONLY
#config netbsd root on ? type ?
config netbsd root on ae0 type nfs
mainbus0 at root
cpu0 at mainbus?
wdog0 at mainbus?
arbus0 at mainbus?
com* at arbus? addr ?
ae* at arbus? addr ?
ath* at arbus? addr ?
athflash* at arbus? addr ?
argpio* at arbus? addr ?
gpio* at argpio?
# no RTC! so fake with a stub (required to prevent evbmips panic)
# MII/PHY support
mvphy* at mii? phy ?
# Pseudo-devices
# Disk/mass storage pseudo-devices
#pseudo-device ccd 4 # concatenated disk devices
#pseudo-device raid 4 # RAIDframe disk driver
#pseudo-device fss 4 # file system snapshot device
#pseudo-device md 1 # memory disk device (ramdisk)
#pseudo-device vnd # disk-like interface to files
# Network pseudo-devices
pseudo-device bpfilter # Berkeley packet filter
#pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
#pseudo-device ppp # Point-to-Point Protocol
#pseudo-device sl # Serial Line IP
#pseudo-device strip # Starmode Radio IP (Metricom)
#pseudo-device tun # network tunneling over tty
#pseudo-device tap # virtual Ethernet
#pseudo-device gre # generic L3 over IP tunnel
#pseudo-device ipip 2 # RFC 2003 IP Encapsulation
#pseudo-device gif # RFC1933 tunnel
#pseudo-device faith # IPv[46] tcp relay translation
#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
#pseudo-device vlan # IEEE 802.1q encapsulation
#pseudo-device bridge # simple inter-network bridging
# Miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random & kernel generator
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
# A pseudo device needed for Coda # also needs CODA (above)
#pseudo-device vcoda 4 # coda minicache <-> venus comm.