1#
2# AR5312 -- Kernel configuration file for FreeBSD/MIPS for Atheros 5312 systems
3#
4# This includes all the common drivers for the AR5312 boards
5#
6# $FreeBSD$
7#
8
9machine		mips mips
10#ident		AR5312_BASE
11cpu		CPU_MIPS4KC
12makeoptions	KERNLOADADDR=0x80050000
13options 	HZ=1000
14
15makeoptions	MODULES_OVERRIDE=""
16
17files		"../atheros/ar531x/files.ar5315"
18
19options 	INTRNG
20options 	AR531X_1ST_GENERATION
21
22# For now, hints are per-board.
23
24hints		"AR5312_BASE.hints"
25
26makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
27
28# For small memory footprints
29options VM_KMEM_SIZE_SCALE=1
30
31options 	DDB
32options 	KDB
33
34options 	SCHED_4BSD		#4BSD scheduler
35options 	INET			#InterNETworking
36options 	INET6			# IPv6
37options 	TCP_HHOOK		# hhook(9) framework for TCP
38
39# options 	NFSCL		#Network Filesystem Client
40
41options 	PSEUDOFS		#Pseudo-filesystem framework
42options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
43
44# options 	NFS_LEGACYRPC
45# Debugging for use in -current
46options 	INVARIANTS
47options 	INVARIANT_SUPPORT
48options 	WITNESS
49options 	WITNESS_SKIPSPIN
50options 	DEBUG_REDZONE
51options 	DEBUG_MEMGUARD
52
53options         FFS                     #Berkeley Fast Filesystem
54# options         SOFTUPDATES             #Enable FFS soft updates support
55# options         UFS_ACL                 #Support for access control lists
56# options         UFS_DIRHASH             #Improve performance on big directories
57# options 	MSDOSFS			# Read MSDOS filesystems; useful for USB/CF
58
59device		mii
60device		are
61
62device		cfi
63options		CFI_HARDWAREBYTESWAP
64device		geom_redboot
65
66device		ar5315_wdog
67
68device		uart
69device		uart_ar5315
70
71device		loop
72device		ether
73device		md
74device		bpf
75
76options 	ARGE_DEBUG	# Enable if_arge debugging for now
77
78# Enable GPIO
79device		gpio
80device		gpioled
81