1# 2# Custom kernel for Marvell Armada XP 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 21#NO_UNIVERSE 22 23ident MV-88F78XX0 24 25include "std.armv7" 26include "../mv/armadaxp/std.mv78x60" 27 28options SOC_MV_ARMADAXP 29 30makeoptions WERROR="-Werror" 31 32options SCHED_ULE # ULE scheduler 33options SMP # Enable multiple cores 34 35# NFS root from boopt/dhcp 36options BOOTP 37options BOOTP_NFSROOT 38options BOOTP_NFSV3 39options BOOTP_WIRED_TO=mge0 40 41options ROOTDEVNAME=\"ufs:/dev/da0p1\" 42 43options MUTEX_NOINLINE 44options RWLOCK_NOINLINE 45options NO_FFS_SNAPSHOT 46options NO_SWAPPING 47 48# Pseudo devices 49device random 50device pty 51device loop 52device md 53 54# USB 55device usb 56device ehci 57device umass 58device scbus 59device pass 60device da 61 62# SATA 63device mvs 64 65# Serial ports 66device uart 67 68# I2C (TWSI) 69device iic 70device iicbus 71device twsi 72 73#Network 74device ether 75device mge # Marvell Gigabit Ethernet controller 76device mii 77device mdio 78device e1000phy 79device bpf 80options DEVICE_POLLING 81device vlan 82 83#PCI/PCIE 84device pci 85 86# Flattened Device Tree 87options FDT # Configure using FDT/DTB data 88options FDT_DTB_STATIC 89makeoptions FDT_DTS_FILE=db78460.dts 90 91options PLATFORM 92