head	1.36;
access;
symbols
	RELENG_8_4:1.34.0.2
	RELENG_9_1_0_RELEASE:1.21.2.2.2.2
	RELENG_9_1:1.21.2.2.0.2
	RELENG_9_1_BP:1.21.2.2
	RELENG_8_3_0_RELEASE:1.12.2.5.2.1
	RELENG_8_3:1.12.2.5.0.2
	RELENG_8_3_BP:1.12.2.5
	RELENG_9_0_0_RELEASE:1.21.2.1.2.1
	RELENG_9_0:1.21.2.1.0.2
	RELENG_9_0_BP:1.21.2.1
	RELENG_9:1.21.0.2
	RELENG_9_BP:1.21
	RELENG_8_2_0_RELEASE:1.12.2.2.2.1
	RELENG_8_2:1.12.2.2.0.2
	RELENG_8_2_BP:1.12.2.2
	RELENG_8:1.12.0.2;
locks; strict;
comment	@# @;


1.36
date	2013.05.11.00.27.51;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2013.04.05.00.25.43;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2013.01.03.04.57.42;	author svnexp;	state Exp;
branches
	1.34.2.1;
next	1.33;

1.33
date	2012.11.24.02.04.07;	author svnexp;	state Exp;
branches;
next	1.32;

1.32
date	2012.11.17.03.40.16;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.10.26.00.08.50;	author jmallett;	state Exp;
branches;
next	1.29;

1.29
date	2012.05.24.11.20.51;	author mav;	state Exp;
branches;
next	1.28;

1.28
date	2012.03.21.08.38.42;	author ed;	state Exp;
branches;
next	1.27;

1.27
date	2012.03.13.06.22.49;	author jmallett;	state Exp;
branches;
next	1.26;

1.26
date	2012.03.12.21.25.32;	author jmallett;	state Exp;
branches;
next	1.25;

1.25
date	2012.03.09.09.32.20;	author jmallett;	state Exp;
branches;
next	1.24;

1.24
date	2012.03.09.07.53.44;	author jmallett;	state Exp;
branches;
next	1.23;

1.23
date	2012.03.02.21.44.39;	author jmallett;	state Exp;
branches;
next	1.22;

1.22
date	2011.11.26.18.47.09;	author marius;	state Exp;
branches;
next	1.21;

1.21
date	2011.09.11.17.39.51;	author brueffer;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2011.05.11.00.52.41;	author gonzo;	state Exp;
branches;
next	1.19;

1.19
date	2011.04.26.17.01.49;	author mav;	state Exp;
branches;
next	1.18;

1.18
date	2011.04.24.08.58.58;	author mav;	state Exp;
branches;
next	1.17;

1.17
date	2011.03.31.08.07.13;	author adrian;	state Exp;
branches;
next	1.16;

1.16
date	2011.03.19.15.50.34;	author bz;	state Exp;
branches;
next	1.15;

1.15
date	2011.01.20.19.17.05;	author imp;	state Exp;
branches;
next	1.14;

1.14
date	2011.01.17.23.00.23;	author imp;	state Exp;
branches;
next	1.13;

1.13
date	2011.01.10.03.48.41;	author jmallett;	state Exp;
branches;
next	1.12;

1.12
date	2010.11.13.22.34.12;	author imp;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2010.10.13.09.17.44;	author jmallett;	state Exp;
branches;
next	1.10;

1.10
date	2010.10.02.01.24.20;	author jmallett;	state Exp;
branches;
next	1.9;

1.9
date	2010.09.13.16.39.33;	author imp;	state Exp;
branches;
next	1.8;

1.8
date	2010.07.20.19.25.11;	author jmallett;	state Exp;
branches;
next	1.7;

1.7
date	2010.03.11.22.29.45;	author jmallett;	state Exp;
branches;
next	1.6;

1.6
date	2010.02.20.06.39.14;	author neel;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.15.23.44.48;	author attilio;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.10.16.30.04;	author attilio;	state Exp;
branches;
next	1.3;

1.3
date	2010.01.27.16.21.32;	author imp;	state Exp;
branches;
next	1.2;

1.2
date	2010.01.11.04.40.38;	author imp;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.09.18.15.28;	author imp;	state Exp;
branches;
next	;

1.34.2.1
date	2013.01.03.04.57.42;	author svnexp;	state dead;
branches;
next	1.34.2.2;

1.34.2.2
date	2013.03.28.13.05.15;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.21.2.1.2.1;
next	1.21.2.2;

1.21.2.2
date	2012.01.29.12.50.43;	author marius;	state Exp;
branches
	1.21.2.2.2.1;
next	1.21.2.3;

1.21.2.3
date	2012.11.17.11.37.15;	author svnexp;	state Exp;
branches;
next	1.21.2.4;

1.21.2.4
date	2014.05.09.04.01.45;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.21.2.1.2.2;

1.21.2.1.2.2
date	2012.11.17.08.37.11;	author svnexp;	state Exp;
branches;
next	;

1.21.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.21.2.2.2.2;

1.21.2.2.2.2
date	2012.11.17.08.48.02;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2010.11.27.12.26.40;	author jchandra;	state dead;
branches;
next	1.12.2.2;

1.12.2.2
date	2010.11.27.12.26.40;	author jchandra;	state Exp;
branches
	1.12.2.2.2.1;
next	1.12.2.3;

1.12.2.3
date	2011.03.10.17.26.36;	author pluknet;	state Exp;
branches;
next	1.12.2.4;

1.12.2.4
date	2011.04.09.12.04.35;	author bz;	state Exp;
branches;
next	1.12.2.5;

1.12.2.5
date	2012.01.29.12.49.43;	author marius;	state Exp;
branches
	1.12.2.5.2.1;
next	1.12.2.6;

1.12.2.6
date	2012.06.25.12.30.51;	author brueffer;	state Exp;
branches;
next	1.12.2.7;

1.12.2.7
date	2012.11.17.10.36.54;	author svnexp;	state Exp;
branches;
next	;

1.12.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.12.2.5.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.12.2.5.2.2;

1.12.2.5.2.2
date	2012.11.17.08.25.31;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.36
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250429
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#
# OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: head/sys/mips/conf/OCTEON1 250429 2013-05-10 03:05:44Z imp $

ident		OCTEON1

makeoptions	ARCH_FLAGS="-march=octeon -mabi=64"
makeoptions	LDSCRIPT_NAME=ldscript.mips.octeon1

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""
makeoptions	KERNLOADADDR=0xffffffff80100000

# We don't need to build a trampolined version of the kernel.
makeoptions	WITHOUT_KERNEL_TRAMPOLINE=1

include		"../cavium/std.octeon1"

hints		"OCTEON1.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

# Board-specific support that cannot be auto-detected at runtime.
#options 	OCTEON_VENDOR_LANNER		# Support for Lanner boards.
#options 	OCTEON_VENDOR_RADISYS		# Support for Radisys boards.
#options 	OCTEON_VENDOR_UBIQUITI		# Support for Ubiquiti boards.
#options	OCTEON_VENDOR_GEFES		# Support for GE LANIC boards
#options 	OCTEON_BOARD_CAPK_0100ND	# Support for CAPK-0100nd.

# Compile for a specified Octeon model.  If not specified, support for
# detection at runtime will be used instead, which may give inferior
# performance.
#
# See sys/contrib/octeon-sdk/octeon-model.h for possible values.
#options 	OCTEON_MODEL=OCTEON_CN58XX_PASS1_1

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCL			# Network Filesystem Client
options 	NFSD			# Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCL
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_FREEBSD32	# Compatible with o32 binaries
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
options 	AUDIT			# Security event auditing
options 	MAC			# TrustedBSD MAC Framework
#options 	KDTRACE_FRAME		# Ensure frames are compiled in
#options 	KDTRACE_HOOKS		# Kernel DTrace hooks
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	NO_SWAPPING		# Disable support for paging

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	DDB			# Support DDB.
options 	GDB			# Support remote GDB.
options 	DEADLKRES		# Enable the deadlock resolver
options 	INVARIANTS		# Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
options 	WITNESS			# Enable checks to detect deadlocks and cycles
options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones

# Make an SMP-capable kernel by default
options 	SMP			# Symmetric MultiProcessor Kernel

# Bus support.
device		pci

# ATA controllers
device		ahci		# AHCI-compatible SATA controllers
device		ata		# Legacy ATA/SATA controllers
options 	ATA_STATIC_ID	# Static device numbering
device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA

# On-board Compact Flash driver.
device		cf
options 	ROOTDEVNAME=\"ufs:cf0s2a\"	# Default root filesystem.

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
device		esp		# AMD Am53C974 (Tekram DC-390(T))
device		hptiop		# Highpoint RocketRaid 3xxx series
device		isp		# Qlogic family
#device		ispfw		# Firmware for QLogic HBAs- normally a module
device		mpt		# LSI-Logic MPT-Fusion
device		mps		# LSI-Logic MPT-Fusion 2
#device		ncr		# NCR/Symbios Logic
device		trm		# Tekram DC395U/UW/F DC315U adapters

device		adv		# Advansys SCSI adapters
device		adw		# Advansys wide SCSI adapters
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

# ATA/SCSI peripherals
device		scbus		# SCSI bus (required for ATA/SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct ATA/SCSI access)
device		ses		# Enclosure Services (SES and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device		amr		# AMI MegaRAID
#XXX it is not 64-bit clean, -scottl
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device		ciss		# Compaq Smart RAID 5*
device		dpt		# DPT Smartcache III, IV - See NOTES for options
device		iir		# Intel Integrated RAID
device		ips		# IBM (Adaptec) ServeRAID
device		mly		# Mylex AcceleRAID/eXtremeRAID

# RAID controllers
device		aac		# Adaptec FSA RAID
device		aacp		# SCSI passthrough for aac (requires CAM)
device		ida		# Compaq Smart RAID
device		mfi		# LSI MegaRAID SAS
device		mlx		# Mylex DAC960 family
#XXX pointer/int warnings
#device		pst		# Promise Supertrak SX6000
device		twe		# 3ware ATA RAID

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		uart		# Generic UART driver

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# On-board Cavium Octeon Ethernet.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		octe

# Cavium Octeon management Ethernet.
device		octm

# Switch PHY support for the octe driver.  These currently present a VLAN per
# physical port, but may eventually provide support for DSA or similar instead.
#device		mv88e61xxphy	# Marvell 88E61XX

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 Gigabit Ethernet Family
device		igb		# Intel PRO/1000 PCIE Server Gigabit Family
device		ixgbe		# Intel PRO/10GbE PCIE Ethernet Family
device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		ae		# Attansic/Atheros L2 FastEthernet
device		age		# Attansic/Atheros L1 Gigabit Ethernet
device		alc		# Atheros AR8131/AR8132 Ethernet
device		ale		# Atheros AR8121/AR8113/AR8114 Ethernet
device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
device		bfe		# Broadcom BCM440x 10/100 Ethernet
device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		et		# Agere ET1310 10/100/Gigabit Ethernet
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		jme		# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
device		lge		# Level 1 LXT1001 gigabit Ethernet
device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sge		# Silicon Integrated Systems SiS190/191
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vge		# VIA VT612x gigabit Ethernet
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Wireless NIC cards
device		wlan		# 802.11 support
options 	IEEE80211_DEBUG	# enable debug msgs
options 	IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		ath		# Atheros NIC's
device		ath_pci		# Atheros pci/cardbus glue
device		ath_hal		# pci/cardbus chip support
options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
device		ath_rate_sample	# SampleRate tx rate control for ath
device		ral		# Ralink Technology RT2500 wireless NICs.
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		vlan		# 802.1Q VLAN support
device		tun		# Packet tunnel.
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# Hardware watchdog support.
#device		octeon_wdog	# Octeon hardware watchdog

# USB support
options 	USB_DEBUG	# enable debug msgs
device		octusb		# Cavium Octeon on-board USB interface (USB 2.0)
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		urio		# Diamond Rio 500 MP3 player
# USB Serial devices
device		u3g		# USB-based 3G modems (Option, Huawei, Sierra)
device		uark		# Technologies ARK3116 based serial adapters
device		ubsa		# Belkin F5U103 and compatible serial adapters
device		uftdi		# For FTDI usb serial adapters
device		uipaq		# Some WinCE based devices
device		uplcom		# Prolific PL-2303 serial adapters
device		uslcom		# SI Labs CP2101/CP2102 serial adapters
device		uvisor		# Visor and Palm devices
device		uvscom		# USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device		aue		# ADMtek USB Ethernet
device		axe		# ASIX Electronics USB Ethernet
device		cdce		# Generic USB over Ethernet
device		cue		# CATC USB Ethernet
device		kue		# Kawasaki LSI USB Ethernet
device		rue		# RealTek RTL8150 USB Ethernet
device		udav		# Davicom DM9601E USB
# USB Wireless
device		rum		# Ralink Technology RT2501USB wireless NICs
device		uath		# Atheros AR5523 wireless NICs
device		ural		# Ralink Technology RT2500USB wireless NICs
device		zyd		# ZyDAS zd1211/zd1211b wireless NICs

# crypto subsystem
device		crypto		# core crypto support
device		cryptodev	# /dev/crypto for access to h/w
device		cryptocteon	# Octeon coprocessor 2 crypto offload

# GPIO support
#device		gpio

# PMC support
#device		hwpmc
@


1.35
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249083
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d19 1
a19 1
# $FreeBSD: head/sys/mips/conf/OCTEON1 249083 2013-04-04 07:12:24Z mav $
d43 1
@


1.34
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244984
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d19 1
a19 1
# $FreeBSD: head/sys/mips/conf/OCTEON1 244984 2013-01-02 23:17:50Z jmallett $
a109 1
options 	ATA_CAM		# Handle legacy controllers with CAM
@


1.34.2.1
log
@file OCTEON1 was added on branch RELENG_8_4 on 2013-03-28 13:05:15 +0000
@
text
@d1 321
@


1.34.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 298
#
# OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: releng/8.4/sys/mips/conf/OCTEON1 237562 2012-06-25 12:30:51Z brueffer $

machine		mips
cpu		CPU_CNMIPS
ident		OCTEON1

makeoptions	ARCH_FLAGS="-march=octeon -mabi=64"
makeoptions	LDSCRIPT_NAME=ldscript.mips.octeon1.64

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""
makeoptions	TARGET_BIG_ENDIAN=defined
makeoptions	KERNLOADADDR=0xffffffff80100000

include		"../cavium/std.octeon1"

hints		"OCTEON1.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

# Board-specific support that cannot be auto-detected at runtime.
#options 	OCTEON_VENDOR_LANNER		# Support for Lanner boards.
#options 	OCTEON_BOARD_CAPK_0100ND	# Support for CAPK-0100nd.

# XXX This option is very nearly irrelevant.
options 	ISA_MIPS64

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
#options 	COMPAT_FREEBSD32	# Compatible with o32 binaries (not yet)
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
options 	AUDIT			# Security event auditing
options 	MAC			# TrustedBSD MAC Framework
#options 	KDTRACE_FRAME		# Ensure frames are compiled in
#options 	KDTRACE_HOOKS		# Kernel DTrace hooks
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	NO_SWAPPING		# Disable support for paging

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	DDB			# Support DDB.
options 	GDB			# Support remote GDB.
options 	DEADLKRES		# Enable the deadlock resolver
options 	INVARIANTS		# Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
options 	WITNESS			# Enable checks to detect deadlocks and cycles
options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed

# Make an SMP-capable kernel by default
options 	SMP			# Symmetric MultiProcessor Kernel

# Bus support.
device		pci

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# On-board Compact Flash driver.
device		cf
options 	ROOTDEVNAME=\"ufs:cf0s2a\"	# Default root filesystem.

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
device		esp		# AMD Am53C974 (Tekram DC-390(T))
device		hptiop		# Highpoint RocketRaid 3xxx series
device		isp		# Qlogic family
#device		ispfw		# Firmware for QLogic HBAs- normally a module
device		mpt		# LSI-Logic MPT-Fusion
device		mps		# LSI-Logic MPT-Fusion 2
#device		ncr		# NCR/Symbios Logic
device		trm		# Tekram DC395U/UW/F DC315U adapters

device		adv		# Advansys SCSI adapters
device		adw		# Advansys wide SCSI adapters
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device		amr		# AMI MegaRAID
#XXX it is not 64-bit clean, -scottl
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device		ciss		# Compaq Smart RAID 5*
device		dpt		# DPT Smartcache III, IV - See NOTES for options
device		iir		# Intel Integrated RAID
device		ips		# IBM (Adaptec) ServeRAID
device		mly		# Mylex AcceleRAID/eXtremeRAID

# RAID controllers
device		aac		# Adaptec FSA RAID
device		aacp		# SCSI passthrough for aac (requires CAM)
device		ida		# Compaq Smart RAID
device		mfi		# LSI MegaRAID SAS
device		mlx		# Mylex DAC960 family
#XXX pointer/int warnings
#device		pst		# Promise Supertrak SX6000
device		twe		# 3ware ATA RAID

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		uart		# Generic UART driver

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# On-board Cavium Octeon Ethernet.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		octe

# Switch PHY support for the octe driver.  These currently present a VLAN per
# physical port, but may eventually provide support for DSA or similar instead.
#device		mv88e61xxphy	# Marvell 88E61XX

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 Gigabit Ethernet Family
device		igb		# Intel PRO/1000 PCIE Server Gigabit Family
device		ixgbe		# Intel PRO/10GbE PCIE Ethernet Family
device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		ae		# Attansic/Atheros L2 FastEthernet
device		age		# Attansic/Atheros L1 Gigabit Ethernet
device		alc		# Atheros AR8131/AR8132 Ethernet
device		ale		# Atheros AR8121/AR8113/AR8114 Ethernet
device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
device		bfe		# Broadcom BCM440x 10/100 Ethernet
device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		et		# Agere ET1310 10/100/Gigabit Ethernet
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		jme		# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
device		lge		# Level 1 LXT1001 gigabit Ethernet
device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sge		# Silicon Integrated Systems SiS190/191
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vge		# VIA VT612x gigabit Ethernet
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Wireless NIC cards
device		wlan		# 802.11 support
options 	IEEE80211_DEBUG	# enable debug msgs
options 	IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# pci/cardbus chip support
options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
device		ath_rate_sample	# SampleRate tx rate control for ath
device		ral		# Ralink Technology RT2500 wireless NICs.
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		vlan		# 802.1Q VLAN support
device		tun		# Packet tunnel.
device		pty		# BSD-style compatibility pseudo ttys
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
options 	USB_DEBUG	# enable debug msgs
device		octusb		# Cavium Octeon on-board USB interface (USB 2.0)
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		urio		# Diamond Rio 500 MP3 player
# USB Serial devices
device		u3g		# USB-based 3G modems (Option, Huawei, Sierra)
device		uark		# Technologies ARK3116 based serial adapters
device		ubsa		# Belkin F5U103 and compatible serial adapters
device		uftdi		# For FTDI usb serial adapters
device		uipaq		# Some WinCE based devices
device		uplcom		# Prolific PL-2303 serial adapters
device		uslcom		# SI Labs CP2101/CP2102 serial adapters
device		uvisor		# Visor and Palm devices
device		uvscom		# USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device		aue		# ADMtek USB Ethernet
device		axe		# ASIX Electronics USB Ethernet
device		cdce		# Generic USB over Ethernet
device		cue		# CATC USB Ethernet
device		kue		# Kawasaki LSI USB Ethernet
device		rue		# RealTek RTL8150 USB Ethernet
device		udav		# Davicom DM9601E USB
# USB Wireless
device		rum		# Ralink Technology RT2501USB wireless NICs
device		uath		# Atheros AR5523 wireless NICs
device		ural		# Ralink Technology RT2500USB wireless NICs
device		zyd		# ZyDAS zd1211/zd1211b wireless NICs
@


1.33
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 243469
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243469 | jmallett | 2012-11-24 02:00:29 +0000 (Sat, 24 Nov 2012) | 6 lines
## SVN ##
## SVN ## o) Add support for specifying a model of Octeon to target at compile-time,
## SVN ##    reducing the number of runtime checks done by the SDK code.
## SVN ## o) Group board/CPU information at early startup by subject matter, so that e.g.
## SVN ##    CPU information is adjacent to CPU information and board information is
## SVN ##    adjacent to board information.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d19 1
a19 1
# $FreeBSD: head/sys/mips/conf/OCTEON1 243469 2012-11-24 02:00:29Z jmallett $
d42 1
@


1.32
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/242953
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242953 | jmallett | 2012-11-13 07:34:46 +0000 (Tue, 13 Nov 2012) | 2 lines
## SVN ##
## SVN ## Add some useful options to consider.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d19 1
a19 1
# $FreeBSD: head/sys/mips/conf/OCTEON1 242953 2012-11-13 07:34:46Z jmallett $
d44 7
@


1.31
log
@Switching exporter and resync
@
text
@d19 1
a19 1
# $FreeBSD: head/sys/mips/conf/OCTEON1 242104 2012-10-26 00:08:50Z jmallett $
d264 3
d303 11
@


1.30
log
@SVN rev 242104 on 2012-10-26 00:08:50Z by jmallett

Add support for Radisys as a vendor of Octeon hardware.  Add some preliminary
support for what their boot loader refers to as the "RSYS4GBE", of which there
are two instances ("Data Processing Blocks") on the Radisys ATCA-7220.
@
text
@d19 1
a19 1
# $FreeBSD$
@


1.29
log
@SVN rev 235898 on 2012-05-24 11:20:51Z by mav

MFprojects/zfsd:
Generalize and unify ses device description.
@
text
@d41 1
@


1.28
log
@SVN rev 233271 on 2012-03-21 08:38:42Z by ed

Remove pty(4) from our kernel configurations.

As of FreeBSD 8, this driver should not be used. Applications that use
posix_openpt(2) and openpty(3) use the pts(4) that is built into the
kernel unconditionally. If it turns out high profile depend on the
pty(4) module anyway, I'd rather get those fixed. So please report any
issues to me.

The pty(4) module is still available as a kernel module of course, so a
simple `kldload pty' can be used to run old-style pseudo-terminals.
@
text
@d138 1
a138 1
device		ses		# SCSI Environmental Services (and SAF-TE)
@


1.27
log
@SVN rev 232913 on 2012-03-13 06:22:49Z by jmallett

Don't build kernel.tramp on Octeon.  Probably building it should be opt-in
not opt-out, but I don't know enough about which ports need it to get the
defaults right.
@
text
@a252 1
device		pty		# BSD-style compatibility pseudo ttys
@


1.26
log
@SVN rev 232896 on 2012-03-12 21:25:32Z by jmallett

o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern
   required for the ABI the kernel is being built for.
   XXX This is implemented in a kind-of nasty way that involves including source
       files, but it's still an improvement.
o) Retire ISA_* options since they're unused and were always wrong.
@
text
@d30 3
@


1.25
log
@SVN rev 232720 on 2012-03-09 09:32:20Z by jmallett

"Did you still want the not yet? I think we just arrived at yet."

Submitted by:	thompsa
@
text
@a39 3
# XXX This option is very nearly irrelevant.
options 	ISA_MIPS64

@


1.24
log
@SVN rev 232718 on 2012-03-09 07:53:44Z by jmallett

Enable COMPAT_FREEBSD32 for the Octeon kernel config by default.
@
text
@d64 1
a64 1
options 	COMPAT_FREEBSD32	# Compatible with o32 binaries (not yet)
@


1.23
log
@SVN rev 232409 on 2012-03-02 21:44:39Z by jmallett

If an Atheros device is attached to an Octeon, it's going to be by PCI.
@
text
@d64 1
a64 1
#options 	COMPAT_FREEBSD32	# Compatible with o32 binaries (not yet)
@


1.22
log
@SVN rev 228005 on 2011-11-26 18:47:09Z by marius

Change another instance of amd(4) to esp(4) missed in r227006.

Submitted by:	Garrett Cooper
MFC after:	3 days
@
text
@d240 1
@


1.21
log
@SVN rev 225482 on 2011-09-11 17:39:51Z by brueffer

Fix a zyd(4) comment typo that was copy+pasted into most kernel config files.

PR:		160276
Submitted by:	MATSUMIYA Ryo <matsumiya@@mma.club.uec.ac.jp>
Approved by:	re (kib)
MFC after:	1 week
@
text
@d117 1
a117 1
device		amd		# AMD 53C974 (Tekram DC-390(T))
@


1.21.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.2
log
@SVN rev 230733 on 2012-01-29 12:50:43Z by marius

MFC: r228005

Change another instance of amd(4) to esp(4) missed in r227006 (MFC'ed to
stable/9 in r227305).

Submitted by:	Garrett Cooper
@
text
@d117 1
a117 1
device		esp		# AMD Am53C974 (Tekram DC-390(T))
@


1.21.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d19 1
a19 1
# $FreeBSD: stable/9/sys/mips/conf/OCTEON1 230733 2012-01-29 12:50:43Z marius $
@


1.21.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/265729
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d19 1
a19 1
# $FreeBSD: stable/9/sys/mips/conf/OCTEON1 265729 2014-05-09 03:52:10Z ken $
a122 1
device		mpr		# LSI-Logic MPT-Fusion 3
@


1.21.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.21.2.2.2.2
log
@Switch importer
@
text
@d19 1
a19 1
# $FreeBSD: releng/9.1/sys/mips/conf/OCTEON1 230733 2012-01-29 12:50:43Z marius $
@


1.21.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.1.2.2
log
@Switch importer
@
text
@d19 1
a19 1
# $FreeBSD: releng/9.0/sys/mips/conf/OCTEON1 225482 2011-09-11 17:39:51Z brueffer $
@


1.20
log
@SVN rev 221753 on 2011-05-11 00:52:41Z by gonzo

Use new option names for NFS client and NFS server

See UPDATING entry for 20110427
@
text
@d298 1
a298 1
device		zyd		# ZyDAS zb1211/zb1211b wireless NICs
@


1.19
log
@SVN rev 221071 on 2011-04-26 17:01:49Z by mav

 - Add shim to simplify migration to the CAM-based ATA. For each new adaX
device in /dev/ create symbolic link with adY name, trying to mimic old ATA
numbering. Imitation is not complete, but should be enough in most cases to
mount file systems without touching /etc/fstab.
 - To know what behavior to mimic, restore ATA_STATIC_ID option in cases
where it was present before.
 - Add some more details to UPDATING.
@
text
@d54 2
a55 2
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
d57 1
a57 1
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
@


1.18
log
@SVN rev 220982 on 2011-04-24 08:58:58Z by mav

Switch the GENERIC kernels for all architectures to the new CAM-based ATA
stack. It means that all legacy ATA drivers are disabled and replaced by
respective CAM drivers. If you are using ATA device names in /etc/fstab or
other places, make sure to update them respectively (adX -> adaY,
acdX -> cdY, afdX -> daY, astX -> saY, where 'Y's are the sequential
numbers for each type in order of detection, unless configured otherwise
with tunables, see cam(4)).

ataraid(4) functionality is now supported by the RAID GEOM class.
To use it you can load geom_raid kernel module and use graid(8) tool
for management. Instead of /dev/arX device names, use /dev/raid/rX.
@
text
@d102 1
@


1.17
log
@SVN rev 220185 on 2011-03-31 08:07:13Z by adrian

Break out the ath PCI logic into a separate device/module.

Introduce the AHB glue for Atheros embedded systems. Right now it's
hard-coded for the AR9130 chip whose support isn't yet in this HAL;
it'll be added in a subsequent commit.

Kernel configuration files now need both 'ath' and 'ath_pci' devices; both
modules need to be loaded for the ath device to work.
@
text
@d98 6
a103 8
# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering
d130 2
a131 2
# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
d136 1
a136 1
device		pass		# Passthrough device (direct SCSI access)
@


1.16
log
@SVN rev 219775 on 2011-03-19 15:50:34Z by bz

For now remove options FLOWTABLE from the remaining GENERIC kernel
configurations and make it opt-in for those who want it.  LINT will
still build it.

While it may be a perfect win in some scenarios, it still troubles users
(see PRs) in general cases.  In addition we are still allocating resources
even if disabled by sysctl and still leak arp/nd6 entries in case of
interface destruction.

Discussed with:	qingli (2010-11-24, just never executed)
Discussed with: juli (OCTEON1)
PR:		kern/148018, kern/155604, kern/144917, kern/146792
MFC after:	2 weeks
@
text
@d240 1
a240 1
device		ath		# Atheros pci/cardbus NIC's
@


1.15
log
@SVN rev 217653 on 2011-01-20 19:17:05Z by imp

Use simplified ldscripts rather than specific ones
@
text
@a75 1
options 	FLOWTABLE		# per-cpu routing cache
@


1.14
log
@SVN rev 217517 on 2011-01-17 23:00:23Z by imp

Kill redundant cpu line
@
text
@d24 1
a24 1
makeoptions	LDSCRIPT_NAME=ldscript.mips.octeon1.64
@


1.13
log
@SVN rev 217214 on 2011-01-10 03:48:41Z by jmallett

o) Expand the CIU driver to be aware of newly-allocated parts of the IRQ range.
o) Add 'octm', a trivial driver for the 10/100 management ports found on some
   Octeon systems.
o) Make the Simple Executive's management port helper routines compile on
   FreeBSD (namely by not doing math on void pointers.)
o) Add a cvmx_mgmt_port_sendm routine to the Simple Executive to send an mbuf
   so there is only one copy in the transmit path, rather than having to first
   copy the mbuf to an intermediate buffer and then copy that to the Simple
   Executive's transmit ring.
o) Properly work out MII addresses of management ports on the Lanner MR-730.
   XXX The MR-730 also needs some patches to the MII read/write routines, but
       this is sufficient for now.  Media detection will be fixed in the future
       when I can spend more time reading the vendor-supplied patches.
@
text
@a20 1
cpu		CPU_CNMIPS
@


1.12
log
@SVN rev 215270 on 2010-11-13 22:34:12Z by imp

Remove the 'machine mips' from DEFAULTS.  Put the proper 'machine mips
mipsel' or 'machine mips mipseb' into the config file (with a few 64's
tossed in for good measure).  This will let us build the proper
kernels with different worlds as part of make universe.
@
text
@d181 3
@


1.12.2.1
log
@file OCTEON1 was added on branch RELENG_8 on 2010-11-27 12:29:01 +0000
@
text
@d1 298
@


1.12.2.2
log
@SVN rev 215938 on 2010-11-27 12:26:40Z by jchandra

Merge MIPS platform support to 8-STABLE.

This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:

r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.

r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.

r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.

r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.

r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.

r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.

r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()

r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.

r210327:  (changes to sys/vm/)
Support for MIPS page table page allocation.  Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.

Reviewed by:	alc(vm changes only)
Approved by:	kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
@
text
@a0 300
#
# OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD$

machine		mips
cpu		CPU_CNMIPS
ident		OCTEON1

makeoptions	ARCH_FLAGS="-march=octeon -mabi=64"
makeoptions	LDSCRIPT_NAME=ldscript.mips.octeon1.64

# Don't build any modules yet.
makeoptions	MODULES_OVERRIDE=""
makeoptions	TARGET_BIG_ENDIAN=defined
makeoptions	KERNLOADADDR=0xffffffff80100000

include		"../cavium/std.octeon1"

hints		"OCTEON1.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

# Board-specific support that cannot be auto-detected at runtime.
#options 	OCTEON_VENDOR_LANNER		# Support for Lanner boards.
#options 	OCTEON_BOARD_CAPK_0100ND	# Support for CAPK-0100nd.

# XXX This option is very nearly irrelevant.
options 	ISA_MIPS64

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
#options 	COMPAT_FREEBSD32	# Compatible with o32 binaries (not yet)
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
options 	AUDIT			# Security event auditing
options 	MAC			# TrustedBSD MAC Framework
options 	FLOWTABLE		# per-cpu routing cache
#options 	KDTRACE_FRAME		# Ensure frames are compiled in
#options 	KDTRACE_HOOKS		# Kernel DTrace hooks
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	NO_SWAPPING		# Disable support for paging

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	DDB			# Support DDB.
options 	GDB			# Support remote GDB.
options 	DEADLKRES		# Enable the deadlock resolver
options 	INVARIANTS		# Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
options 	WITNESS			# Enable checks to detect deadlocks and cycles
options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones

# Make an SMP-capable kernel by default
options 	SMP			# Symmetric MultiProcessor Kernel

# Bus support.
device		pci

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# On-board Compact Flash driver.
device		cf
options 	ROOTDEVNAME=\"ufs:cf0s2a\"	# Default root filesystem.

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
device		amd		# AMD 53C974 (Tekram DC-390(T))
device		hptiop		# Highpoint RocketRaid 3xxx series
device		isp		# Qlogic family
#device		ispfw		# Firmware for QLogic HBAs- normally a module
device		mpt		# LSI-Logic MPT-Fusion
device		mps		# LSI-Logic MPT-Fusion 2
#device		ncr		# NCR/Symbios Logic
device		trm		# Tekram DC395U/UW/F DC315U adapters

device		adv		# Advansys SCSI adapters
device		adw		# Advansys wide SCSI adapters
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device		amr		# AMI MegaRAID
#XXX it is not 64-bit clean, -scottl
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device		ciss		# Compaq Smart RAID 5*
device		dpt		# DPT Smartcache III, IV - See NOTES for options
device		iir		# Intel Integrated RAID
device		ips		# IBM (Adaptec) ServeRAID
device		mly		# Mylex AcceleRAID/eXtremeRAID

# RAID controllers
device		aac		# Adaptec FSA RAID
device		aacp		# SCSI passthrough for aac (requires CAM)
device		ida		# Compaq Smart RAID
device		mfi		# LSI MegaRAID SAS
device		mlx		# Mylex DAC960 family
#XXX pointer/int warnings
#device		pst		# Promise Supertrak SX6000
device		twe		# 3ware ATA RAID

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		uart		# Generic UART driver

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# On-board Cavium Octeon Ethernet.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		octe

# Switch PHY support for the octe driver.  These currently present a VLAN per
# physical port, but may eventually provide support for DSA or similar instead.
#device		mv88e61xxphy	# Marvell 88E61XX

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 Gigabit Ethernet Family
device		igb		# Intel PRO/1000 PCIE Server Gigabit Family
device		ixgbe		# Intel PRO/10GbE PCIE Ethernet Family
device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		ae		# Attansic/Atheros L2 FastEthernet
device		age		# Attansic/Atheros L1 Gigabit Ethernet
device		alc		# Atheros AR8131/AR8132 Ethernet
device		ale		# Atheros AR8121/AR8113/AR8114 Ethernet
device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
device		bfe		# Broadcom BCM440x 10/100 Ethernet
device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		et		# Agere ET1310 10/100/Gigabit Ethernet
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		jme		# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
device		lge		# Level 1 LXT1001 gigabit Ethernet
device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sge		# Silicon Integrated Systems SiS190/191
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vge		# VIA VT612x gigabit Ethernet
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Wireless NIC cards
device		wlan		# 802.11 support
options 	IEEE80211_DEBUG	# enable debug msgs
options 	IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# pci/cardbus chip support
options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
device		ath_rate_sample	# SampleRate tx rate control for ath
device		ral		# Ralink Technology RT2500 wireless NICs.
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		vlan		# 802.1Q VLAN support
device		tun		# Packet tunnel.
device		pty		# BSD-style compatibility pseudo ttys
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
options 	USB_DEBUG	# enable debug msgs
device		octusb		# Cavium Octeon on-board USB interface (USB 2.0)
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		urio		# Diamond Rio 500 MP3 player
# USB Serial devices
device		u3g		# USB-based 3G modems (Option, Huawei, Sierra)
device		uark		# Technologies ARK3116 based serial adapters
device		ubsa		# Belkin F5U103 and compatible serial adapters
device		uftdi		# For FTDI usb serial adapters
device		uipaq		# Some WinCE based devices
device		uplcom		# Prolific PL-2303 serial adapters
device		uslcom		# SI Labs CP2101/CP2102 serial adapters
device		uvisor		# Visor and Palm devices
device		uvscom		# USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device		aue		# ADMtek USB Ethernet
device		axe		# ASIX Electronics USB Ethernet
device		cdce		# Generic USB over Ethernet
device		cue		# CATC USB Ethernet
device		kue		# Kawasaki LSI USB Ethernet
device		rue		# RealTek RTL8150 USB Ethernet
device		udav		# Davicom DM9601E USB
# USB Wireless
device		rum		# Ralink Technology RT2501USB wireless NICs
device		uath		# Atheros AR5523 wireless NICs
device		ural		# Ralink Technology RT2500USB wireless NICs
device		zyd		# ZyDAS zb1211/zb1211b wireless NICs
@


1.12.2.3
log
@SVN rev 219454 on 2011-03-10 17:26:36Z by pluknet

Unbreak mips OCTEON1: there's no options MALLOC_DEBUG_MAXZONES in stable/8.

This is a direct commit to 8.

Approved by:	avg (mentor)
@
text
@d94 1
@


1.12.2.4
log
@SVN rev 220486 on 2011-04-09 12:04:35Z by bz

MFC r219775:

  For now remove options FLOWTABLE from the remaining GENERIC kernel
  configurations and make it opt-in for those who want it.  LINT will
  still build it.

  While it may be a perfect win in some scenarios, it still troubles users
  (see PRs) in general cases.  In addition we are still allocating resources
  even if disabled by sysctl and still leak arp/nd6 entries in case of
  interface destruction.

  Discussed with:	qingli (2010-11-24, just never executed)
  Discussed with:	juli (OCTEON1)
PR:			kern/148018, kern/155604, kern/144917, kern/146792
@
text
@d79 1
@


1.12.2.5
log
@SVN rev 230732 on 2012-01-29 12:49:43Z by marius

MFC: r228005

Change another instance of amd(4) to esp(4) missed in r227006 (MFC'ed to
stable/8 in r227306).

Submitted by:	Garrett Cooper
@
text
@d120 1
a120 1
device		esp		# AMD Am53C974 (Tekram DC-390(T))
@


1.12.2.6
log
@SVN rev 237562 on 2012-06-25 12:30:51Z by brueffer

MFC: r225482

Fix a zyd(4) comment typo that was copy+pasted into most kernel config files.
@
text
@d298 1
a298 1
device		zyd		# ZyDAS zd1211/zd1211b wireless NICs
@


1.12.2.7
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d19 1
a19 1
# $FreeBSD: stable/8/sys/mips/conf/OCTEON1 237562 2012-06-25 12:30:51Z brueffer $
@


1.12.2.5.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.12.2.5.2.2
log
@Switch importer
@
text
@d19 1
a19 1
# $FreeBSD: releng/8.3/sys/mips/conf/OCTEON1 230732 2012-01-29 12:49:43Z marius $
@


1.12.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.11
log
@SVN rev 213762 on 2010-10-13 09:17:44Z by jmallett

o) Make it possible to attach a PHY directly to an octe device rather than
   using miibus, since for some devices that use multiple addresses on the bus,
   going through miibus may be unclear, and for devices that are not standard
   MII PHYs, miibus may throw a fit, necessitating complicated interfaces to
   fake the interface that it expects during probe/attach.
o) Make the mv88e61xx SMI interface in octe attach a PHY directly and fix some
   mistakes in the code that resulted from trying too hard to present a nice
   interface to miibus.
o) Add a PHY driver for the mv88e61xx.  If attached (it is optional in kernel
   compiles so the default behavior of having a dumb switch is preserved) it
   will place the switch in a VLAN-tagging mode such that each physical port
   has a VLAN associated with it and interfaces for the VLANs can be created to
   address or bridge between them.
   XXX It would be nice for this to be part of a single module including the
       SMI interface, and for it to fit into a generic switch configuration
       framework and for it to use DSA rather than VLANs, but this is a start
       and gives some sense of the parameters of such frameworks that are not
       currently present in FreeBSD.  In lieu of a switch configuration
       interface, per-port media status and VLAN settings are in a sysctl tree.
   XXX There may be some minor nits remaining in the handling of broadcast,
       multicast and unknown destination traffic.  It would also be nice to go
       through and replace the few remaining magic numbers with macros at some
       point in the future.
   XXX This has only been tested with the MV88E6161, but it should work with
       minimal or no modification on related switches, so support for probing
       them was included.

Thanks to Pat Saavedra of TELoIP and Rafal Jaworowski of Semihalf for their
assistance in understanding the switch chipset.
@
text
@a20 1
machine		mips
a28 1
makeoptions	TARGET_BIG_ENDIAN=defined
@


1.10
log
@SVN rev 213340 on 2010-10-02 01:24:20Z by jmallett

Make the OCTEON1 configuration look like a normal GENERIC configuration.  In
particular, add PCI and USB buses and most devices.  Also move to using ULE,
adding INET6, turning on WITNESS by default, etc.
@
text
@d183 4
@


1.9
log
@SVN rev 212560 on 2010-09-13 16:39:33Z by imp

TARGET_64BIT isn't needed anymore, GC it (partial merge from tbemd).
@
text
@a0 1
# OCTEON1 -- Configuration kernel for all Octeon1 SoCs from Cavium Networks
d2 4
a5 2
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
d15 2
a16 2
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
a20 7
##############################################################################
###                                                                        ###
### PLEASE NOTE: This file is the experimental 64-bit kernel.  If you want ###
### a stable kernel, please use the 32-bit OCTEON1-32 instead.             ###
###                                                                        ###
##############################################################################

a38 31
#XXXimp: Need to make work with 64-bit too
options 	ISA_MIPS64

options 	DDB
options 	KDB

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	NFSCLIENT		#Network Filesystem Client
#options	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
#options	ROOTDEVNAME=\"ufs:ad0s1a\"	# Original
options 	NO_SWAPPING


options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories


# Debugging for use in -current
#options 	DEADLKRES	#Enable the deadlock resolver
options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

options 	SMP

d43 2
a44 8
device		loop
device		ether
device		md
device		uart
nodevice	uart_ns8250
device		miibus
device	 	octe
#options 	VERBOSE_SYSINIT
d46 38
a83 2
device		bpf
device		random
d85 212
a296 11
#
# Use the following for  Compact Flash file-system
device 		cf
options 	ROOTDEVNAME=\"ufs:cf0s2a\"	# Unmask if compact flash is needed as RFS

#
# Use the following for RFS in mem-device
#options 	MD_ROOT
#options 	ROOTDEVNAME=\"ufs:md0\"

#options 	MD_ROOT_SIZE=21264
@


1.8
log
@SVN rev 210311 on 2010-07-20 19:25:11Z by jmallett

Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executive
library:
o) Increase inline unit / large function growth limits for MIPS to accommodate
   the needs of the Simple Executive, which uses a shocking amount of inlining.
o) Remove TARGET_OCTEON and use CPU_CNMIPS to do things required by cnMIPS and
   the Octeon SoC.
o) Add OCTEON_VENDOR_LANNER to use Lanner's allocation of vendor-specific
   board numbers, specifically to support the MR320.
o) Add OCTEON_BOARD_CAPK_0100ND to hard-wire configuration for the CAPK-0100nd,
   which improperly uses an evaluation board's board number and breaks board
   detection at runtime.  This board is sold by Portwell as the CAM-0100.
o) Add support for the RTC available on some Octeon boards.
o) Add support for the Octeon PCI bus.  Note that rman_[sg]et_virtual for IO
   ports can not work unless building for n64.
o) Clean up the CompactFlash driver to use Simple Executive macros and
   structures where possible (it would be advisable to use the Simple Executive
   API to set the PIO mode, too, but that is not done presently.)  Also use
   structures from FreeBSD's ATA layer rather than structures copied from
   Linux.
o) Print available Octeon SoC features on boot.
o) Add support for the Octeon timecounter.
o) Use the Simple Executive's routines rather than local copies for doing reads
   and writes to 64-bit addresses and use its macros for various device
   addresses rather than using local copies.
o) Rename octeon_board_real to octeon_is_simulation to reduce differences with
   Cavium-provided code originally written for Linux.  Also make it use the
   same simplified test that the Simple Executive and Linux both use rather
   than our complex one.
o) Add support for the Octeon CIU, which is the main interrupt unit, as a bus
   to use normal interrupt allocation and setup routines.
o) Use the Simple Executive's bootmem facility to allocate physical memory for
   the kernel, rather than assuming we know which addresses we can steal.
   NB: This may reduce the amount of RAM the kernel reports you as having if
       you are leaving large temporary allocations made by U-Boot allocated
       when starting FreeBSD.
o) Add a port of the Cavium-provided Ethernet driver for Linux.  This changes
   Ethernet interface naming from rgmxN to octeN.  The new driver has vast
   improvements over the old one, both in performance and functionality, but
   does still have some features which have not been ported entirely and there
   may be unimplemented code that can be hit in everyday use.  I will make
   every effort to correct those as they are reported.
o) Support loading the kernel on non-contiguous cores.
o) Add very conservative support for harvesting randomness from the Octeon
   random number device.
o) Turn SMP on by default.
o) Clean up the style of the Octeon kernel configurations a little and make
   them compile with -march=octeon.
o) Add support for the Lanner MR320 and the CAPK-0100nd to the Simple
   Executive.
o) Modify the Simple Executive to build on FreeBSD and to build without
   executive-config.h or cvmx-config.h.  In the future we may want to
   revert part of these changes and supply executive-config.h and
   cvmx-config.h and access to the options contained in those files via
   kernel configuration files.
o) Modify the Simple Executive USB routines to support getting and setting
   of the USB PID.
@
text
@a36 1
makeoptions	TARGET_64BIT=defined
@


1.7
log
@SVN rev 205049 on 2010-03-11 22:29:45Z by jmallett

Add bpf and random to Octeon configurations, since they're needed to run
dhclient and ssh respectively.

Reviewed by:	imp
@
text
@d28 1
a28 1
cpu		CPU_MIPS4KC
d31 1
a31 1
makeoptions	ARCH_FLAGS="-march=mips64 -mabi=64"
d36 2
a37 2
makeoptions     TARGET_BIG_ENDIAN=defined
makeoptions     TARGET_64BIT=defined
d49 2
a50 2
options		DDB
options		KDB
d52 3
a54 3
options		SCHED_4BSD		#4BSD scheduler
options		INET			#InterNETworking
options		NFSCLIENT		#Network Filesystem Client
d56 2
a57 2
options         PSEUDOFS		#Pseudo-filesystem framework
options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
d59 1
a59 1
options		NO_SWAPPING
d62 4
a65 4
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big directories
d69 11
a79 5
#options		DEADLKRES	#Enable the deadlock resolver
options		INVARIANTS		#Enable calls of extra sanity checking
options		INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options		WITNESS			#Enable checks to detect deadlocks and cycles
#options		WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
a80 1
#XXXimp device		genclock
d86 2
a87 1
device 		rgmii
d96 1
a96 1
options         ROOTDEVNAME = \"ufs:cf0s2\"	# Unmask if compact flash is needed as RFS
d100 2
a101 2
#options         MD_ROOT
#options         ROOTDEVNAME = \"ufs:md0\"
d103 1
a103 3
#options         MD_ROOT_SIZE = 21264
#XXX: Bring up UP first, then generalize.
#options		SMP
@


1.6
log
@SVN rev 204108 on 2010-02-20 06:39:14Z by neel

Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BIT

Discussed with: gonzo, imp
@
text
@d84 2
@


1.5
log
@SVN rev 203938 on 2010-02-15 23:44:48Z by attilio

Adjust style (following the already existing rules) for the newly
introduced option DEADLKRES.

Reported by:	danfe, julian, avg
@
text
@a39 1
options		KERNVIRTADDR=0xffffffff80100000
@


1.4
log
@SVN rev 203758 on 2010-02-10 16:30:04Z by attilio

Add the options DEADLKRES (introducing the deadlock resolver thread) in
the 'debugging' section of any HEAD kernel and enable for the mainstream
ones, excluding the embedded architectures.
It may, of course, enabled on a case-by-case basis.

Sponsored by:	Sandvine Incorporated
Requested by:	emaste
Discussed with:	kib
@
text
@d70 1
a70 1
#options	DEADLKRES		#Enable the deadlock resolver
@


1.3
log
@SVN rev 203076 on 2010-01-27 16:21:32Z by imp

Make a note that this file is the 64-bit version and experimental and
point people at the OCTEON1-32 file instead.
@
text
@d70 1
@


1.2
log
@SVN rev 202065 on 2010-01-11 04:40:38Z by imp

Cope with the octeon1->cavium move.
@
text
@d20 7
@


1.1
log
@SVN rev 201914 on 2010-01-09 18:15:28Z by imp

Merge from projects/mips to head by hand:

Copy over the OCTEON1 kernel config file.   This is the 64-bit version.
@
text
@d34 1
a34 1
include		"../octeon1/std.octeon1"
@

