1#
2# Kernel configuration for Samsung Exynos 5 SoC.
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21makeoptions	WERROR="-Werror"
22
23include 	"std.armv7"
24options 	SCHED_ULE		# ULE scheduler
25options 	PLATFORM		# Platform based SoC
26options 	PREEMPTION		# Enable kernel thread preemption
27options 	INET			# InterNETworking
28options 	INET6			# IPv6 communications protocols
29options 	TCP_HHOOK		# hhook(9) framework for TCP
30options 	SCTP			# Stream Control Transmission Protocol
31options 	FFS			# Berkeley Fast Filesystem
32options 	SOFTUPDATES		# Enable FFS soft updates support
33options 	UFS_ACL			# Support for access control lists
34options 	UFS_DIRHASH		# Improve performance on big directories
35options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
36options 	QUOTA			# Enable disk quotas for UFS
37options 	NFSCL			# Network Filesystem Client
38options 	NFSLOCKD		# Network Lock Manager
39options 	NFS_ROOT		# NFS usable as /, requires NFSCL
40options 	MSDOSFS			# MSDOS Filesystem
41options 	CD9660			# ISO 9660 Filesystem
42options 	PROCFS			# Process filesystem (requires PSEUDOFS)
43options 	PSEUDOFS		# Pseudo-filesystem framework
44options 	TMPFS			# Efficient memory filesystem
45options 	GEOM_PART_GPT		# GUID Partition Tables
46options 	GEOM_PART_BSD		# BSD partition scheme
47options 	GEOM_PART_MBR		# MBR partition scheme
48options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
49options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
50options 	KTRACE			# ktrace(1) support
51options 	SYSVSHM			# SYSV-style shared memory
52options 	SYSVMSG			# SYSV-style message queues
53options 	SYSVSEM			# SYSV-style semaphores
54options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
55options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
56options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
57options 	VFP			# Enable floating point hardware support
58options 	SMP			# Enable multiple cores
59
60# NFS root from boopt/dhcp
61#options 	BOOTP
62#options 	BOOTP_NFSROOT
63#options 	BOOTP_COMPAT
64#options 	BOOTP_NFSV3
65#options 	BOOTP_WIRED_TO=ue0
66
67options 	ROOTDEVNAME=\"ufs:/dev/da0\"
68
69# MMC/SD/SDIO Card slot support
70device		mmc			# mmc/sd bus
71device		mmcsd			# mmc/sd flash cards
72device		dwmmc
73
74# Interrupt controller
75device		gic
76
77# ARM Generic Timer
78device		generic_timer
79
80# Pseudo devices
81
82device		loop
83device		random
84device		pty
85device		md
86device		gpio
87
88# USB support
89options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
90device		usb
91#device		musb
92device		ehci
93#device		ohci
94device		xhci
95
96device		umass
97device		scbus			# SCSI bus (required for ATA/SCSI)
98device		da			# Direct Access (disks)
99device		pass
100
101# SATA
102#device		ata
103#device		atadisk
104#device		mvs
105
106# Serial ports
107device		uart
108
109# I2C (TWSI)
110device		iic
111device		iicbus
112
113# SPI
114device		spibus
115device		exynos_spi
116
117# Ethernet
118device		ether
119device		mii
120device		smsc
121device		smscphy
122
123# USB ethernet support, requires miibus
124device		miibus
125device		axe			# ASIX Electronics USB Ethernet
126device		bpf			# Berkeley packet filter
127