head	1.28;
access;
symbols
	perseant-exfatfs-base-20250801:1.28
	perseant-exfatfs-base-20240630:1.28
	perseant-exfatfs:1.28.0.8
	perseant-exfatfs-base:1.28
	netbsd-8-3-RELEASE:1.15.6.1
	netbsd-9-4-RELEASE:1.23
	bouyer-sunxi-drm:1.28.0.6
	bouyer-sunxi-drm-base:1.28
	netbsd-9-3-RELEASE:1.23
	cjep_sun2x:1.28.0.4
	cjep_sun2x-base:1.28
	cjep_staticlib_x-base1:1.28
	netbsd-9-2-RELEASE:1.23
	cjep_staticlib_x:1.28.0.2
	cjep_staticlib_x-base:1.28
	thorpej-futex-base:1.28
	netbsd-9-1-RELEASE:1.23
	bouyer-xenpvh-base2:1.24
	phil-wifi-20200421:1.24
	bouyer-xenpvh-base1:1.24
	phil-wifi-20200411:1.24
	bouyer-xenpvh:1.24.0.4
	bouyer-xenpvh-base:1.24
	is-mlppp:1.24.0.2
	is-mlppp-base:1.24
	phil-wifi-20200406:1.24
	netbsd-8-2-RELEASE:1.15.6.1
	ad-namecache-base3:1.24
	netbsd-9-0-RELEASE:1.23
	netbsd-9-0-RC2:1.23
	ad-namecache-base2:1.24
	ad-namecache-base1:1.23
	ad-namecache:1.23.0.4
	ad-namecache-base:1.23
	netbsd-9-0-RC1:1.23
	phil-wifi-20191119:1.23
	netbsd-9:1.23.0.2
	netbsd-9-base:1.23
	phil-wifi-20190609:1.23
	netbsd-8-1-RELEASE:1.15.6.1
	netbsd-8-1-RC1:1.15.6.1
	isaki-audio2:1.22.0.2
	isaki-audio2-base:1.22
	pgoyette-compat-merge-20190127:1.18.4.3
	pgoyette-compat-20190127:1.21
	pgoyette-compat-20190118:1.21
	pgoyette-compat-1226:1.20
	pgoyette-compat-1126:1.20
	pgoyette-compat-1020:1.20
	pgoyette-compat-0930:1.20
	pgoyette-compat-0906:1.19
	pgoyette-compat-0728:1.18
	netbsd-8-0-RELEASE:1.15
	phil-wifi:1.18.0.6
	phil-wifi-base:1.18
	pgoyette-compat-0625:1.18
	netbsd-8-0-RC2:1.15
	pgoyette-compat-0521:1.18
	pgoyette-compat-0502:1.18
	pgoyette-compat-0422:1.18
	netbsd-8-0-RC1:1.15
	pgoyette-compat-0415:1.18
	pgoyette-compat-0407:1.18
	pgoyette-compat-0330:1.18
	pgoyette-compat-0322:1.18
	pgoyette-compat-0315:1.18
	pgoyette-compat:1.18.0.4
	pgoyette-compat-base:1.18
	tls-maxphys:1.18.0.2
	tls-maxphys-base-20171202:1.18
	matt-nb8-mediatek:1.15.0.10
	matt-nb8-mediatek-base:1.15
	nick-nhusb-base-20170825:1.17
	perseant-stdc-iso10646:1.15.0.8
	perseant-stdc-iso10646-base:1.15
	netbsd-8:1.15.0.6
	netbsd-8-base:1.15
	prg-localcount2-base3:1.15
	prg-localcount2-base2:1.15
	prg-localcount2-base1:1.15
	prg-localcount2:1.15.0.4
	prg-localcount2-base:1.15
	pgoyette-localcount-20170426:1.15
	bouyer-socketcan-base1:1.15
	jdolecek-ncq:1.15.0.2
	jdolecek-ncq-base:1.15
	pgoyette-localcount-20170320:1.15
	nick-nhusb-base-20170204:1.14
	bouyer-socketcan:1.14.0.2
	bouyer-socketcan-base:1.14
	pgoyette-localcount-20170107:1.14
	nick-nhusb-base-20161204:1.13
	pgoyette-localcount-20161104:1.13
	nick-nhusb-base-20161004:1.13
	localcount-20160914:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.2
	pgoyette-localcount-base:1.12
	nick-nhusb-base-20160907:1.12
	nick-nhusb-base-20160529:1.12
	nick-nhusb-base-20160422:1.12
	nick-nhusb-base-20160319:1.12
	nick-nhusb-base-20151226:1.12
	nick-nhusb-base-20150921:1.12
	nick-nhusb:1.9.0.2
	nick-nhusb-base-20150606:1.9;
locks; strict;
comment	@# @;


1.28
date	2020.07.15.12.15.30;	author simonb;	state dead;
branches;
next	1.27;
commitid	mzDQy44KGH35LagC;

1.27
date	2020.06.23.05.18.02;	author simonb;	state Exp;
branches;
next	1.26;
commitid	eyhwATUBGq5Z9jdC;

1.26
date	2020.06.05.07.17.38;	author simonb;	state Exp;
branches;
next	1.25;
commitid	ldSIetsW7PDCn0bC;

1.25
date	2020.05.31.04.56.35;	author simonb;	state Exp;
branches;
next	1.24;
commitid	0ful8AmJbaIMLlaC;

1.24
date	2020.01.19.01.25.05;	author thorpej;	state Exp;
branches;
next	1.23;
commitid	JHEWDzmAWJGESeTB;

1.23
date	2019.04.26.21.40.29;	author sevan;	state Exp;
branches
	1.23.4.1;
next	1.22;
commitid	6ehTybiQEayJbUkB;

1.22
date	2019.04.10.15.19.09;	author roy;	state Exp;
branches;
next	1.21;
commitid	ZUxxdS4ePHq6DOiB;

1.21
date	2018.12.30.14.51.36;	author sevan;	state Exp;
branches;
next	1.20;
commitid	7a9Ack56FfqkHP5B;

1.20
date	2018.09.16.10.15.22;	author mrg;	state Exp;
branches;
next	1.19;
commitid	lykMYt3SiWzazjSA;

1.19
date	2018.08.01.20.04.11;	author maxv;	state Exp;
branches;
next	1.18;
commitid	UbIHSaPqOzfNisMA;

1.18
date	2017.09.14.07.58.40;	author mrg;	state Exp;
branches
	1.18.2.1
	1.18.4.1
	1.18.6.1;
next	1.17;
commitid	ngZ6fHXwTqlZA87A;

1.17
date	2017.08.19.09.10.24;	author maya;	state Exp;
branches;
next	1.16;
commitid	MKlbNsvm1cn0QN3A;

1.16
date	2017.07.29.18.08.57;	author maxv;	state Exp;
branches;
next	1.15;
commitid	OtoNC1YDOrKHu91A;

1.15
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches
	1.15.6.1;
next	1.14;
commitid	ivCr5u3yfBMzbxGz;

1.14
date	2016.12.28.03.49.16;	author mrg;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	EkdEhNvy3GDgyHzz;

1.13
date	2016.09.22.08.09.40;	author roy;	state Exp;
branches;
next	1.12;
commitid	egcIADDLF9N99gnz;

1.12
date	2015.08.21.12.26.54;	author jmcneill;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	9Bjp1QYcbG2Am8yy;

1.11
date	2015.06.16.09.37.48;	author martin;	state Exp;
branches;
next	1.10;
commitid	gBZ3m8dWheK3yDpy;

1.10
date	2015.06.08.14.42.38;	author matt;	state Exp;
branches;
next	1.9;
commitid	bEv1mezYQZGAuDoy;

1.9
date	2015.06.01.22.55.12;	author matt;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	94QGgtvoghRjrMny;

1.8
date	2015.05.21.09.53.05;	author jmcneill;	state Exp;
branches;
next	1.7;
commitid	XIn2LGGBr3Z9timy;

1.7
date	2015.05.19.02.30.57;	author matt;	state Exp;
branches;
next	1.6;
commitid	VmAmBqG2OLyn50my;

1.6
date	2015.05.17.14.17.52;	author martin;	state Exp;
branches;
next	1.5;
commitid	9a0qrcbjvXKO3Oly;

1.5
date	2015.05.15.08.19.48;	author martin;	state Exp;
branches;
next	1.4;
commitid	2lbofnIvUeS49wly;

1.4
date	2015.05.08.07.45.53;	author martin;	state Exp;
branches;
next	1.3;
commitid	YrxvtGSwWkyjbCky;

1.3
date	2015.05.06.19.47.59;	author martin;	state Exp;
branches;
next	1.2;
commitid	iNgmongjBuh1fqky;

1.2
date	2015.05.01.07.23.47;	author hikaru;	state Exp;
branches;
next	1.1;
commitid	1nZPvxgr5fhzhIjy;

1.1
date	2015.04.29.08.32.00;	author hikaru;	state Exp;
branches;
next	;
commitid	EV5ih45pdmg1Hsjy;

1.23.4.1
date	2020.01.25.22.38.40;	author ad;	state Exp;
branches;
next	;
commitid	ethRERRmx7bMJ7UB;

1.18.2.1
date	2017.09.14.07.58.40;	author jdolecek;	state dead;
branches;
next	1.18.2.2;
commitid	XcIYRZTAh1LmerhA;

1.18.2.2
date	2017.12.03.11.36.09;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.18.4.1
date	2018.09.06.06.55.33;	author pgoyette;	state Exp;
branches;
next	1.18.4.2;
commitid	HCi1bXD317XIK0RA;

1.18.4.2
date	2018.09.30.01.45.43;	author pgoyette;	state Exp;
branches;
next	1.18.4.3;
commitid	SQ44grEPCeKPh4UA;

1.18.4.3
date	2019.01.18.08.50.16;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.18.6.1
date	2019.06.10.22.06.12;	author christos;	state Exp;
branches;
next	1.18.6.2;
commitid	jtc8rnCzWiEEHGqB;

1.18.6.2
date	2020.04.08.14.07.36;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.15.6.1
date	2019.01.07.13.46.57;	author martin;	state Exp;
branches;
next	;
commitid	RzezcpN4ab5O6R6B;

1.14.2.1
date	2017.04.21.16.53.26;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.12.2.1
date	2016.11.04.14.49.00;	author pgoyette;	state Exp;
branches;
next	1.12.2.2;
commitid	2m1JRwYmpwPkOOsz;

1.12.2.2
date	2017.01.07.08.56.16;	author pgoyette;	state Exp;
branches;
next	1.12.2.3;
commitid	uEL0C1YuiJrlV0Bz;

1.12.2.3
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.9.2.1
date	2015.06.01.22.55.12;	author skrll;	state dead;
branches;
next	1.9.2.2;
commitid	O6LVO5i6UulOvnoy;

1.9.2.2
date	2015.06.06.14.39.59;	author skrll;	state Exp;
branches;
next	1.9.2.3;
commitid	O6LVO5i6UulOvnoy;

1.9.2.3
date	2015.09.22.12.05.41;	author skrll;	state Exp;
branches;
next	1.9.2.4;
commitid	CpNWKp3ozVNTafCy;

1.9.2.4
date	2016.10.05.20.55.26;	author skrll;	state Exp;
branches;
next	1.9.2.5;
commitid	uuAdz3JYHQmaWZoz;

1.9.2.5
date	2017.02.05.13.40.09;	author skrll;	state Exp;
branches;
next	1.9.2.6;
commitid	8hwpk1aHl2UuyLEz;

1.9.2.6
date	2017.08.28.17.51.36;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;


desc
@@


1.28
log
@Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
@
text
@#	$NetBSD: ERLITE,v 1.27 2020/06/23 05:18:02 simonb Exp $

include 	"arch/mips/conf/std.octeon"
include 	"arch/evbmips/conf/files.octeon"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"ERLITE-$Revision: 1.27 $"

maxusers	32

# Options for necessary to use MD
#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=7300

# Size reduction options
#options 	VNODE_OP_NOINLINE
#options 	PIPE_SOCKETPAIR
#options 	SOSEND_NO_LOAN

# Standard system options
options 	KTRACE		# system call tracing support
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory
options 	NTP		# network time protocol

# Debugging options
options 	DIAGNOSTIC	# extra kernel sanity checking
#options 	DEBUG		# extra kernel debugging support
#options 	USERCONF	# userconf(4) support
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	DDB		# kernel dynamic debugger
options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions 	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table

# Compatibility options

include         "conf/compat_netbsd50.config"
#options 	COMPAT_386BSD_MBRPART # recognize old partition ID

#options 	EXEC_ECOFF	# exec ECOFF binaries
#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix

# File systems
file-system	FFS		# Berkeley Fast Filesystem
file-system	MFS		# memory-based filesystem
file-system	EXT2FS		# second extended file system (linux)
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	TMPFS		# Efficient memory file-system
file-system	KERNFS		# kernel data-structure filesystem
file-system	NULLFS		# NULL layered filesystem
#file-system	OVERLAY		# overlay file system
#file-system	FDESC		# user file descriptor filesystem
#file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
file-system	PROCFS		# /proc
file-system	CD9660		# ISO 9660 + Rock Ridge file system
#file-system	UNION		# union file system
file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/pts/N support

# File system options
options 	NFSSERVER	# Sun NFS-compatible filesystem server
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# Internet protocols
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# packet forwarding of multicast packets
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk (over Ethernet) protocol
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
options 	BPFJIT
options 	SLJIT

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	MIIVERBOSE	# verbose PHY autoconfig messages

options 	NFS_BOOT_DHCP

config		netbsd	root on ? type ?
#config		netbsd	root on cnmac0 type nfs

mainbus0	at root
cpunode0	at mainbus?
cpu*		at cpunode? core ?
wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot

iobus0		at mainbus?
bootbus0	at mainbus?

com*		at iobus?

octsmi*		at iobus?		# MDIO controller
octpip*		at iobus?		# PIP packet processing controller

octgmx*		at octpip?
cnmac*		at octgmx?

octrnm*		at iobus?		# Random Number Memory (and generator)

dwctwo*		at iobus?

usb*		at dwctwo?

uhub*		at usb?

# USB Mass Storage
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at umass? channel ?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

# Ethernet PHYs
atphy*		at mii? phy ?		# Attansic/Atheros PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# Pseudo-devices

# Disk/mass storage pseudo-devices
#pseudo-device	ccd				# concatenated disk devices
#pseudo-device	raid				# RAIDframe disk driver
#pseudo-device	fss				# file system snapshot device
#pseudo-device	md				# memory disk device (ramdisk)
#pseudo-device	vnd				# disk-like interface to files

# Network pseudo-devices
pseudo-device	bpfilter			# Berkeley packet filter
pseudo-device 	carp				# Common Address Redundancy Protocol
pseudo-device	npf				# NPF packet filter
pseudo-device	loop				# network loopback
pseudo-device	ppp				# Point-to-Point Protocol
pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
#pseudo-device	sl				# Serial Line IP
pseudo-device	tun				# network tunneling over tty
pseudo-device	tap				# virtual Ethernet
#pseudo-device	gre				# generic L3 over IP tunnel
#pseudo-device	ipip				# RFC 2003 IP Encapsulation
pseudo-device	gif				# RFC1933 tunnel
#pseudo-device	faith				# IPv[46] tcp relay translation
#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	vlan				# IEEE 802.1q encapsulation
pseudo-device	bridge				# simple inter-network bridging

# Miscellaneous pseudo-devices
pseudo-device	pty				# pseudo-terminals
pseudo-device	clockctl			# user control of clock subsystem
pseudo-device	ksyms				# /dev/ksyms
pseudo-device	drvctl				# driver control

# A pseudo device needed for Coda		# also needs CODA (above)
#pseudo-device	vcoda				# coda minicache <-> venus comm.

include "dev/veriexec.config"

cinclude 	"arch/evbmips/conf/ERLITE.local"
@


1.27
log
@Redo cnmac attachments - cnmacM @@ gmxN @@ pip0 @@ iobus
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.26 2020/06/05 07:17:38 simonb Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.26 $"
@


1.26
log
@Now that we don't zero out the second link in the U-boot bootmem
descripter, use that to configure free memory.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.25 2020/05/31 04:56:35 simonb Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.25 $"
d119 2
a120 1
octrnm*		at iobus?
d122 1
a122 1
octgmx*		at iobus?
d125 2
d128 1
d138 1
a180 1

@


1.25
log
@Clean up Cavium Octeon device names.  Rename devices from "octeon_foo"
to "octfoo" - this follows the naming conventions used by many other
MIPS CPUs.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.24 2020/01/19 01:25:05 thorpej Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.24 $"
a11 4
# XXX UVM freelists vs 4GB issue.  Enable this if you see hangs
# waiting for memory when there are actual free pages around.
#options 	OCTEON_MEMSIZE="(256*1024*1024)"

@


1.24
log
@Remove the strip(4) - Starmode Radio IP - pseudo-device driver.  It is
long since obsolete.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.23 2019/04/26 21:40:29 sevan Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.23 $"
d123 1
a123 1
octeon_rnm*	at iobus?
d125 2
a126 2
octeon_gmx*	at iobus?
cnmac*		at octeon_gmx?
@


1.23
log
@Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.22 2019/04/10 15:19:09 roy Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.22 $"
a157 1
#pseudo-device	strip				# Starmode Radio IP (Metricom)
@


1.23.4.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.24 2020/01/19 01:25:05 thorpej Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.24 $"
d158 1
@


1.22
log
@ELRITE is a router .... enable gif(4) by default.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.21 2018/12/30 14:51:36 sevan Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.21 $"
d152 1
d178 2
@


1.21
log
@Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
	612.90 real       103.45 user       194.98 sys
priocscan   nolog
	1345.48 real       103.57 user       274.32 sys
fcfs + log
	736.02 real       101.71 user       192.95 sys
fcfs   nolog
	1475.16 real       103.06 user       271.14 sys
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.20 2018/09/16 10:15:22 mrg Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.20 $"
d162 1
a162 1
#pseudo-device	gif				# RFC1933 tunnel
@


1.20
log
@enable ext2fs, nullfs, cd9660, disable FFS_NO_SNAPSHOT, and remove
not relevant PCI IDE stuff.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.19 2018/08/01 20:04:11 maxv Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.19 $"
d84 5
@


1.19
log
@Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.18 2017/09/14 07:58:40 mrg Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.18 $"
d57 1
a57 1
#file-system	EXT2FS		# second extended file system (linux)
d61 1
a61 1
#file-system	NULLFS		# NULL layered filesystem
d67 1
a67 1
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
d80 1
a80 1
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
a102 7
# Bitmask for enabling the PCI IDE channels in the southbridge.
# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
#
# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
#options 	PCI_NETBSD_ENABLE_IDE=0x1

@


1.18
log
@clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
  since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
  many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.17 2017/08/19 09:10:24 maya Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.17 $"
a95 1
#options 	IPFILTER_LOG	# ipmon(8) log support
a153 1
#pseudo-device	ipfilter			# IP filter (firewall) and NAT
@


1.18.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.23 2019/04/26 21:40:29 sevan Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.23 $"
d57 1
a57 1
file-system	EXT2FS		# second extended file system (linux)
d61 1
a61 1
file-system	NULLFS		# NULL layered filesystem
d67 1
a67 1
file-system	CD9660		# ISO 9660 + Rock Ridge file system
d80 1
a80 1
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
a83 5
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

d96 1
d104 7
d155 1
a155 1
pseudo-device 	carp				# Common Address Redundancy Protocol
d166 1
a166 1
pseudo-device	gif				# RFC1933 tunnel
a180 2
include "dev/veriexec.config"

@


1.18.6.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
#ident 		"ERLITE-$Revision$"
d158 1
@


1.18.4.1
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.19 2018/08/01 20:04:11 maxv Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.19 $"
d96 1
d155 1
@


1.18.4.2
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.20 2018/09/16 10:15:22 mrg Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.20 $"
d57 1
a57 1
file-system	EXT2FS		# second extended file system (linux)
d61 1
a61 1
file-system	NULLFS		# NULL layered filesystem
d67 1
a67 1
file-system	CD9660		# ISO 9660 + Rock Ridge file system
d80 1
a80 1
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
d103 7
@


1.18.4.3
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.18.4.2 2018/09/30 01:45:43 pgoyette Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.18.4.2 $"
a83 5
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

@


1.18.2.1
log
@file ERLITE was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
@
text
@d1 182
@


1.18.2.2
log
@update from HEAD
@
text
@a0 182
#	$NetBSD$

include 	"arch/mips/conf/std.octeon"
include 	"arch/evbmips/conf/files.octeon"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"ERLITE-$Revision$"

maxusers	32

# XXX UVM freelists vs 4GB issue.  Enable this if you see hangs
# waiting for memory when there are actual free pages around.
#options 	OCTEON_MEMSIZE="(256*1024*1024)"

# Options for necessary to use MD
#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=7300

# Size reduction options
#options 	VNODE_OP_NOINLINE
#options 	PIPE_SOCKETPAIR
#options 	SOSEND_NO_LOAN

# Standard system options
options 	KTRACE		# system call tracing support
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory
options 	NTP		# network time protocol

# Debugging options
options 	DIAGNOSTIC	# extra kernel sanity checking
#options 	DEBUG		# extra kernel debugging support
#options 	USERCONF	# userconf(4) support
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	DDB		# kernel dynamic debugger
options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions 	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table

# Compatibility options

include         "conf/compat_netbsd50.config"
#options 	COMPAT_386BSD_MBRPART # recognize old partition ID

#options 	EXEC_ECOFF	# exec ECOFF binaries
#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix

# File systems
file-system	FFS		# Berkeley Fast Filesystem
file-system	MFS		# memory-based filesystem
#file-system	EXT2FS		# second extended file system (linux)
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	TMPFS		# Efficient memory file-system
file-system	KERNFS		# kernel data-structure filesystem
#file-system	NULLFS		# NULL layered filesystem
#file-system	OVERLAY		# overlay file system
#file-system	FDESC		# user file descriptor filesystem
#file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
file-system	PROCFS		# /proc
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
#file-system	UNION		# union file system
file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/pts/N support

# File system options
options 	NFSSERVER	# Sun NFS-compatible filesystem server
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# Internet protocols
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# packet forwarding of multicast packets
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk (over Ethernet) protocol
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	IPFILTER_LOG	# ipmon(8) log support
options 	BPFJIT
options 	SLJIT

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	MIIVERBOSE	# verbose PHY autoconfig messages

# Bitmask for enabling the PCI IDE channels in the southbridge.
# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
#
# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
#options 	PCI_NETBSD_ENABLE_IDE=0x1

options 	NFS_BOOT_DHCP

config		netbsd	root on ? type ?
#config		netbsd	root on cnmac0 type nfs

mainbus0	at root
cpunode0	at mainbus?
cpu*		at cpunode? core ?
wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot

iobus0		at mainbus?
bootbus0	at mainbus?

com*		at iobus?

octeon_rnm*	at iobus?

octeon_gmx*	at iobus?
cnmac*		at octeon_gmx?

dwctwo*		at iobus?
usb*		at dwctwo?

uhub*		at usb?

# USB Mass Storage
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at umass? channel ?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

atphy*		at mii? phy ?		# Attansic/Atheros PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# Pseudo-devices

# Disk/mass storage pseudo-devices
#pseudo-device	ccd				# concatenated disk devices
#pseudo-device	raid				# RAIDframe disk driver
#pseudo-device	fss				# file system snapshot device
#pseudo-device	md				# memory disk device (ramdisk)
#pseudo-device	vnd				# disk-like interface to files

# Network pseudo-devices
pseudo-device	bpfilter			# Berkeley packet filter
#pseudo-device	ipfilter			# IP filter (firewall) and NAT
pseudo-device	npf				# NPF packet filter
pseudo-device	loop				# network loopback
pseudo-device	ppp				# Point-to-Point Protocol
pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
#pseudo-device	sl				# Serial Line IP
#pseudo-device	strip				# Starmode Radio IP (Metricom)
pseudo-device	tun				# network tunneling over tty
pseudo-device	tap				# virtual Ethernet
#pseudo-device	gre				# generic L3 over IP tunnel
#pseudo-device	ipip				# RFC 2003 IP Encapsulation
#pseudo-device	gif				# RFC1933 tunnel
#pseudo-device	faith				# IPv[46] tcp relay translation
#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	vlan				# IEEE 802.1q encapsulation
pseudo-device	bridge				# simple inter-network bridging

# Miscellaneous pseudo-devices
pseudo-device	pty				# pseudo-terminals
pseudo-device	clockctl			# user control of clock subsystem
pseudo-device	ksyms				# /dev/ksyms
pseudo-device	drvctl				# driver control

# A pseudo device needed for Coda		# also needs CODA (above)
#pseudo-device	vcoda				# coda minicache <-> venus comm.

cinclude 	"arch/evbmips/conf/ERLITE.local"

@


1.17
log
@Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.16 2017/07/29 18:08:57 maxv Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.16 $"
d47 4
a50 12
#options 	COMPAT_43	# compatibility with 4.3BSD binaries
#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
#options 	COMPAT_20	# NetBSD 2.0 binary compatibility
#options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
a52 1
#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
@


1.16
log
@Remove TCP_COMPAT_42 from the config files. Pass 3.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.15 2017/02/19 07:47:00 rin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.15 $"
d38 1
a38 1
options 	DEBUG		# extra kernel debugging support
@


1.15
log
@PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.14 2016/12/28 03:49:16 mrg Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.14 $"
a108 3
# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
#options 	TCP_COMPAT_42

@


1.15.6.1
log
@Pull up following revision(s) (requested by sevan in ticket #1156):

	sys/arch/evbmips/conf/ERLITE: revision 1.21
	sys/arch/evbmips/conf/LOONGSON: revision 1.41
	sys/arch/evbmips/conf/SBMIPS: revision 1.8
	sys/arch/evbmips/conf/MALTA: revision 1.94
	sys/arch/evbmips/conf/WGT624V3: revision 1.29
	sys/arch/evbmips/conf/ZYXELKX: revision 1.15
	sys/arch/evbmips/conf/XLSATX: revision 1.28
	sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
	sys/arch/evbmips/conf/ADM5120: revision 1.27
	sys/arch/evbmips/conf/MERAKI: revision 1.32
	sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
	sys/arch/evbmips/conf/DB120: revision 1.21
	sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
	sys/arch/evbmips/conf/AP30: revision 1.38
	sys/arch/evbmips/conf/ALCHEMY: revision 1.65
	sys/arch/evbmips/conf/RB153: revision 1.22
	sys/arch/evbmips/conf/RB433UAH: revision 1.18
	sys/arch/evbmips/conf/CI20: revision 1.27
	sys/arch/evbmips/conf/GDIUM: revision 1.35
	sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
	612.90 real       103.45 user       194.98 sys
priocscan   nolog
	1345.48 real       103.57 user       274.32 sys
fcfs + log
	736.02 real       101.71 user       192.95 sys
fcfs   nolog
	1475.16 real       103.06 user       271.14 sys
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.15 2017/02/19 07:47:00 rin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.15 $"
a92 5
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

@


1.14
log
@enable a few things that make sense for a router-style box:

BPFJIT, SJIT, bpf, ppp, pppoe, tun, tap, vlan, and bridge.

add a commented out OCTEON_MEMSIZE setting for users who see
that problem.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.13 2016/09/22 08:09:40 roy Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.13 $"
d86 1
@


1.14.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.15 2017/02/19 07:47:00 rin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.15 $"
a85 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.13
log
@Add COMPAT_70 to ERLITE for ifa_msghdr changes.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.12 2015/08/21 12:26:54 jmcneill Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.12 $"
d12 4
d105 2
d167 1
d169 2
a170 1
#pseudo-device	ppp				# Point-to-Point Protocol
d173 2
a174 2
#pseudo-device	tun				# network tunneling over tty
#pseudo-device	tap				# virtual Ethernet
d180 2
a181 2
#pseudo-device	vlan				# IEEE 802.1q encapsulation
#pseudo-device	bridge				# simple inter-network bridging
@


1.12
log
@enable NFSSERVER
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.11 2015/06/16 09:37:48 martin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.11 $"
d54 1
@


1.12.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.13 2016/09/22 08:09:40 roy Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.13 $"
a53 1
options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
@


1.12.2.2
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.14 2016/12/28 03:49:16 mrg Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.14 $"
a11 4
# XXX UVM freelists vs 4GB issue.  Enable this if you see hangs
# waiting for memory when there are actual free pages around.
#options 	OCTEON_MEMSIZE="(256*1024*1024)"

a100 2
options 	BPFJIT
options 	SLJIT
a160 1
pseudo-device	npf				# NPF packet filter
d162 1
a162 2
pseudo-device	ppp				# Point-to-Point Protocol
pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
d165 2
a166 2
pseudo-device	tun				# network tunneling over tty
pseudo-device	tap				# virtual Ethernet
d172 2
a173 2
pseudo-device	vlan				# IEEE 802.1q encapsulation
pseudo-device	bridge				# simple inter-network bridging
@


1.12.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.15 2017/02/19 07:47:00 rin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.15 $"
a85 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.11
log
@Remove options NFS_V2_ONLY
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.10 2015/06/08 14:42:38 matt Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.10 $"
d78 1
a78 1
#options 	NFSSERVER	# Sun NFS-compatible filesystem server
@


1.10
log
@Add wdog0
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.9 2015/06/01 22:55:12 matt Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.9 $"
a115 1
options 	NFS_V2_ONLY
@


1.9
log
@Rework cavium support in preparation for MULTIPROCESSOR support
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.8 2015/05/21 09:53:05 jmcneill Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.8 $"
d124 1
@


1.9.2.1
log
@file ERLITE was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
@
text
@d1 184
@


1.9.2.2
log
@Sync with HEAD
@
text
@a0 184
#	$NetBSD: ERLITE,v 1.9 2015/06/01 22:55:12 matt Exp $

include 	"arch/mips/conf/std.octeon"
include 	"arch/evbmips/conf/files.octeon"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"ERLITE-$Revision: 1.9 $"

maxusers	32

# Options for necessary to use MD
#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=7300

# Size reduction options
#options 	VNODE_OP_NOINLINE
#options 	PIPE_SOCKETPAIR
#options 	SOSEND_NO_LOAN

# Standard system options
options 	KTRACE		# system call tracing support
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory
options 	NTP		# network time protocol

# Debugging options
options 	DIAGNOSTIC	# extra kernel sanity checking
options 	DEBUG		# extra kernel debugging support
#options 	USERCONF	# userconf(4) support
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	DDB		# kernel dynamic debugger
options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions 	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table

# Compatibility options
#options 	COMPAT_43	# compatibility with 4.3BSD binaries
#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
#options 	COMPAT_20	# NetBSD 2.0 binary compatibility
#options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_40	# NetBSD 4.0 compatibility.
#options 	EXEC_ECOFF	# exec ECOFF binaries
#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# File systems
file-system	FFS		# Berkeley Fast Filesystem
file-system	MFS		# memory-based filesystem
#file-system	EXT2FS		# second extended file system (linux)
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	TMPFS		# Efficient memory file-system
file-system	KERNFS		# kernel data-structure filesystem
#file-system	NULLFS		# NULL layered filesystem
#file-system	OVERLAY		# overlay file system
#file-system	FDESC		# user file descriptor filesystem
#file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
file-system	PROCFS		# /proc
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
#file-system	UNION		# union file system
file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	NFSSERVER	# Sun NFS-compatible filesystem server
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# Internet protocols
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# packet forwarding of multicast packets
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk (over Ethernet) protocol
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	IPFILTER_LOG	# ipmon(8) log support

# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
#options 	TCP_COMPAT_42

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	MIIVERBOSE	# verbose PHY autoconfig messages

# Bitmask for enabling the PCI IDE channels in the southbridge.
# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
#
# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
#options 	PCI_NETBSD_ENABLE_IDE=0x1

options 	NFS_BOOT_DHCP
options 	NFS_V2_ONLY

config		netbsd	root on ? type ?
#config		netbsd	root on cnmac0 type nfs

mainbus0	at root
cpunode0	at mainbus?
cpu*		at cpunode? core ?

iobus0		at mainbus?
bootbus0	at mainbus?

com*		at iobus?

octeon_rnm*	at iobus?

octeon_gmx*	at iobus?
cnmac*		at octeon_gmx?

dwctwo*		at iobus?
usb*		at dwctwo?

uhub*		at usb?

# USB Mass Storage
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at umass? channel ?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

atphy*		at mii? phy ?		# Attansic/Atheros PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# Pseudo-devices

# Disk/mass storage pseudo-devices
#pseudo-device	ccd				# concatenated disk devices
#pseudo-device	raid				# RAIDframe disk driver
#pseudo-device	fss				# file system snapshot device
#pseudo-device	md				# memory disk device (ramdisk)
#pseudo-device	vnd				# disk-like interface to files

# Network pseudo-devices
pseudo-device	bpfilter			# Berkeley packet filter
#pseudo-device	ipfilter			# IP filter (firewall) and NAT
pseudo-device	loop				# network loopback
#pseudo-device	ppp				# Point-to-Point Protocol
#pseudo-device	sl				# Serial Line IP
#pseudo-device	strip				# Starmode Radio IP (Metricom)
#pseudo-device	tun				# network tunneling over tty
#pseudo-device	tap				# virtual Ethernet
#pseudo-device	gre				# generic L3 over IP tunnel
#pseudo-device	ipip				# RFC 2003 IP Encapsulation
#pseudo-device	gif				# RFC1933 tunnel
#pseudo-device	faith				# IPv[46] tcp relay translation
#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	vlan				# IEEE 802.1q encapsulation
#pseudo-device	bridge				# simple inter-network bridging

# Miscellaneous pseudo-devices
pseudo-device	pty				# pseudo-terminals
pseudo-device	clockctl			# user control of clock subsystem
pseudo-device	ksyms				# /dev/ksyms
pseudo-device	drvctl				# driver control

# A pseudo device needed for Coda		# also needs CODA (above)
#pseudo-device	vcoda				# coda minicache <-> venus comm.

cinclude 	"arch/evbmips/conf/ERLITE.local"

@


1.9.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.9.2.2 2015/06/06 14:39:59 skrll Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.9.2.2 $"
d78 1
a78 1
options 	NFSSERVER	# Sun NFS-compatible filesystem server
d116 1
a123 1
wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
@


1.9.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.9.2.3 2015/09/22 12:05:41 skrll Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.9.2.3 $"
a53 1
options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
@


1.9.2.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.9.2.4 2016/10/05 20:55:26 skrll Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.9.2.4 $"
a11 4
# XXX UVM freelists vs 4GB issue.  Enable this if you see hangs
# waiting for memory when there are actual free pages around.
#options 	OCTEON_MEMSIZE="(256*1024*1024)"

a100 2
options 	BPFJIT
options 	SLJIT
a160 1
pseudo-device	npf				# NPF packet filter
d162 1
a162 2
pseudo-device	ppp				# Point-to-Point Protocol
pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
d165 2
a166 2
pseudo-device	tun				# network tunneling over tty
pseudo-device	tap				# virtual Ethernet
d172 2
a173 2
pseudo-device	vlan				# IEEE 802.1q encapsulation
pseudo-device	bridge				# simple inter-network bridging
@


1.9.2.6
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.9.2.5 2017/02/05 13:40:09 skrll Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.9.2.5 $"
d38 1
a38 1
#options 	DEBUG		# extra kernel debugging support
a85 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d108 3
@


1.8
log
@add drvctl
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.7 2015/05/19 02:30:57 matt Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.7 $"
d27 3
a29 3
#options 	SYSVMSG		# System V message queues
#options 	SYSVSEM		# System V semaphores
#options 	SYSVSHM		# System V shared memory
d122 2
a123 1
cpu0		at mainbus?
@


1.7
log
@Enable MSDOSFS since the kernel lives on a MSDOS fs.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.6 2015/05/17 14:17:52 martin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.6 $"
d177 1
@


1.6
log
@Allow overriding/adding configuration in ERLITE.local
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.5 2015/05/15 08:19:48 martin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.5 $"
d73 1
a73 1
#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
@


1.5
log
@Enable ktrace by default
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.4 2015/05/08 07:45:53 martin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.4 $"
d180 3
@


1.4
log
@Add COPY_SYMTAB
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.3 2015/05/06 19:47:59 martin Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.3 $"
d26 1
a26 1
#options 	KTRACE		# system call tracing support
@


1.3
log
@Enable INET6 by default
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.2 2015/05/01 07:23:47 hikaru Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.2 $"
d40 1
a40 1
options 	SYMTAB_SPACE=360000	# size for embedded symbol table
@


1.2
log
@Use dwc2 instead of octeon_usbc, and unify octeon_usbn to new octeon_dwctwo.
Internal USB memory stick of EdgeRouter Lite works now.
@
text
@d1 1
a1 1
#	$NetBSD: ERLITE,v 1.1 2015/04/29 08:32:00 hikaru Exp $
d8 1
a8 1
#ident 		"ERLITE-$Revision: 1.1 $"
d90 1
a90 1
#options 	INET6		# IPV6
@


1.1
log
@Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
#ident 		"ERLITE-$Revision$"
d134 2
a135 2
#octeon_usbn*	at iobus?
#usb*		at octeon_usbn?
d137 6
a142 2
#uhub*		at usb?
#ugen*		at uhub? port ?
@


