1#
2# AR724X -- Kernel configuration file for FreeBSD/MIPS for Atheros 724x systems
3#
4# This includes all the common drivers for the AR724x boards.
5# Since the AR724x boards tend to have minimal flash (sometimes 4MB!),
6# the majority of the kernel framework will be built as modules.
7#
8# $FreeBSD$
9#
10
11machine		mips mips
12#ident		AR724X_BASE
13cpu		CPU_MIPS24K
14makeoptions	KERNLOADADDR=0x80050000
15options 	HZ=1000
16options 	HWPMC_HOOKS
17
18files		"../atheros/files.ar71xx"
19
20# For now, hints are per-board.
21
22hints		"AR724X_BASE.hints"
23
24makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
25
26options 	DDB
27options 	KDB
28options 	EARLY_PRINTF
29
30options 	SCHED_4BSD		#4BSD scheduler
31options 	INET			#InterNETworking
32#options 	INET6			# IPv6
33options 	TCP_HHOOK		# hhook(9) framework for TCP
34#options 	NFSCL			#Network Filesystem Client
35options 	PSEUDOFS		#Pseudo-filesystem framework
36options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
37
38# PMC
39options 	HWPMC_HOOKS
40
41
42#options 	NFS_LEGACYRPC
43# Debugging for use in -current
44options 	INVARIANTS
45options 	INVARIANT_SUPPORT
46options 	WITNESS
47options 	WITNESS_SKIPSPIN
48options 	DEBUG_REDZONE
49options 	DEBUG_MEMGUARD
50
51options         FFS                     #Berkeley Fast Filesystem
52options 	NO_FFS_SNAPSHOT
53
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
59include 	"std.AR_MIPS_BASE"
60
61makeoptions 	MODULES_OVERRIDE+="hwpmc_mips24k"
62
63device		pci
64device		ar724x_pci
65
66device		usb
67device		ehci
68
69device		umass
70device		scbus
71device		da
72
73device		uart_ar71xx
74device		ar71xx_apb
75