xref: /freebsd/sys/arm/conf/ALPINE (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1# Kernel configuration for Alpine Board.
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on 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$
19
20ident		ALPINE
21
22include 	"std.armv6"
23include 	"../annapurna/alpine/std.alpine"
24
25makeoptions	MODULES_OVERRIDE=""
26makeoptions	WERROR="-Werror"
27
28options 	HZ=100
29options 	SCHED_4BSD		# 4BSD scheduler
30options 	SMP			# Enable multiple cores
31
32# Debugging
33makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
34options 	ALT_BREAK_TO_DEBUGGER
35options 	KDB
36options 	DDB			#Enable the kernel debugger
37
38# Interrupt controller
39device		gic
40
41# Pseudo devices
42device		loop
43device		random
44device		pty
45device		md
46device		gpio
47
48# ATA controllers
49device		ahci		# AHCI-compatible SATA controllers
50device		ata		# Legacy ATA/SATA controllers
51options 	ATA_STATIC_ID	# Static device numbering
52
53# ATA/SCSI peripherals
54device		scbus		# SCSI bus (required for ATA/SCSI)
55device		ch		# SCSI media changers
56device		da		# Direct Access (disks)
57device		sa		# Sequential Access (tape etc)
58device		cd		# CD
59device		pass		# Passthrough device (direct ATA/SCSI access)
60device		ses		# Enclosure Services (SES and SAF-TE)
61#device		ctl		# CAM Target Layer
62
63# Serial ports
64device		uart
65
66# Ethernet
67device		ether
68device		mii
69device		bpf
70options 	DEVICE_POLLING
71
72# USB ethernet support, requires miibus
73device		miibus
74
75#FDT
76options 	FDT
77options 	FDT_DTB_STATIC
78makeoptions	FDT_DTS_FILE=annapurna-alpine.dts
79