head	1.19;
access;
symbols
	netbsd-11-0-RC3:1.19
	netbsd-11-0-RC2:1.19
	netbsd-11-0-RC1:1.19
	perseant-exfatfs-base-20250801:1.19
	netbsd-11:1.19.0.4
	netbsd-11-base:1.19
	netbsd-10-1-RELEASE:1.17
	perseant-exfatfs-base-20240630:1.19
	perseant-exfatfs:1.19.0.2
	perseant-exfatfs-base:1.19
	netbsd-8-3-RELEASE:1.13
	netbsd-9-4-RELEASE:1.15
	netbsd-10-0-RELEASE:1.17
	netbsd-10-0-RC6:1.17
	netbsd-10-0-RC5:1.17
	netbsd-10-0-RC4:1.17
	netbsd-10-0-RC3:1.17
	netbsd-10-0-RC2:1.17
	thorpej-ifq:1.18.0.4
	thorpej-ifq-base:1.18
	thorpej-altq-separation:1.18.0.2
	thorpej-altq-separation-base:1.18
	netbsd-10-0-RC1:1.17
	netbsd-10:1.17.0.4
	netbsd-10-base:1.17
	bouyer-sunxi-drm:1.17.0.2
	bouyer-sunxi-drm-base:1.17
	netbsd-9-3-RELEASE:1.15
	thorpej-i2c-spi-conf2:1.15.0.30
	thorpej-i2c-spi-conf2-base:1.15
	thorpej-futex2:1.15.0.28
	thorpej-futex2-base:1.15
	thorpej-cfargs2:1.15.0.26
	thorpej-cfargs2-base:1.15
	cjep_sun2x-base1:1.15
	cjep_sun2x:1.15.0.24
	cjep_sun2x-base:1.15
	cjep_staticlib_x-base1:1.15
	netbsd-9-2-RELEASE:1.15
	cjep_staticlib_x:1.15.0.22
	cjep_staticlib_x-base:1.15
	thorpej-i2c-spi-conf:1.15.0.20
	thorpej-i2c-spi-conf-base:1.15
	thorpej-cfargs:1.15.0.18
	thorpej-cfargs-base:1.15
	thorpej-futex:1.15.0.16
	thorpej-futex-base:1.15
	netbsd-9-1-RELEASE:1.15
	bouyer-xenpvh-base2:1.15
	phil-wifi-20200421:1.15
	bouyer-xenpvh-base1:1.15
	phil-wifi-20200411:1.15
	bouyer-xenpvh:1.15.0.14
	bouyer-xenpvh-base:1.15
	is-mlppp:1.15.0.12
	is-mlppp-base:1.15
	phil-wifi-20200406:1.15
	netbsd-8-2-RELEASE:1.13
	ad-namecache-base3:1.15
	netbsd-9-0-RELEASE:1.15
	netbsd-9-0-RC2:1.15
	ad-namecache-base2:1.15
	ad-namecache-base1:1.15
	ad-namecache:1.15.0.10
	ad-namecache-base:1.15
	netbsd-9-0-RC1:1.15
	phil-wifi-20191119:1.15
	netbsd-9:1.15.0.8
	netbsd-9-base:1.15
	phil-wifi-20190609:1.15
	netbsd-8-1-RELEASE:1.13
	netbsd-8-1-RC1:1.13
	isaki-audio2:1.15.0.6
	isaki-audio2-base:1.15
	pgoyette-compat-merge-20190127:1.15
	pgoyette-compat-20190127:1.15
	pgoyette-compat-20190118:1.15
	pgoyette-compat-1226:1.15
	pgoyette-compat-1126:1.15
	pgoyette-compat-1020:1.15
	pgoyette-compat-0930:1.15
	pgoyette-compat-0906:1.15
	netbsd-7-2-RELEASE:1.3.2.3
	pgoyette-compat-0728:1.15
	netbsd-8-0-RELEASE:1.13
	phil-wifi:1.15.0.4
	phil-wifi-base:1.15
	pgoyette-compat-0625:1.15
	netbsd-8-0-RC2:1.13
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.15
	pgoyette-compat-0422:1.15
	netbsd-8-0-RC1:1.13
	pgoyette-compat-0415:1.15
	pgoyette-compat-0407:1.15
	pgoyette-compat-0330:1.15
	pgoyette-compat-0322:1.15
	pgoyette-compat-0315:1.15
	netbsd-7-1-2-RELEASE:1.3.2.3
	pgoyette-compat:1.15.0.2
	pgoyette-compat-base:1.15
	netbsd-7-1-1-RELEASE:1.3.2.3
	tls-maxphys-base-20171202:1.15
	matt-nb8-mediatek:1.13.0.10
	matt-nb8-mediatek-base:1.13
	nick-nhusb-base-20170825:1.14
	perseant-stdc-iso10646:1.13.0.8
	perseant-stdc-iso10646-base:1.13
	netbsd-8:1.13.0.6
	netbsd-8-base:1.13
	prg-localcount2-base3:1.13
	prg-localcount2-base2:1.13
	prg-localcount2-base1:1.13
	prg-localcount2:1.13.0.4
	prg-localcount2-base:1.13
	pgoyette-localcount-20170426:1.13
	bouyer-socketcan-base1:1.13
	jdolecek-ncq:1.13.0.2
	jdolecek-ncq-base:1.13
	pgoyette-localcount-20170320:1.13
	netbsd-7-1:1.3.2.3.0.6
	netbsd-7-1-RELEASE:1.3.2.3
	netbsd-7-1-RC2:1.3.2.3
	nick-nhusb-base-20170204:1.12
	netbsd-7-nhusb-base-20170116:1.3.2.3
	bouyer-socketcan:1.12.0.2
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	netbsd-7-1-RC1:1.3.2.3
	nick-nhusb-base-20161204:1.8
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.3.2.3
	nick-nhusb-base-20161004:1.8
	localcount-20160914:1.8
	netbsd-7-nhusb:1.3.2.3.0.4
	netbsd-7-nhusb-base:1.3.2.3
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.4
	pgoyette-localcount-base:1.8
	nick-nhusb-base-20160907:1.8
	nick-nhusb-base-20160529:1.8
	netbsd-7-0-1-RELEASE:1.3.2.3
	nick-nhusb-base-20160422:1.8
	nick-nhusb-base-20160319:1.8
	nick-nhusb-base-20151226:1.8
	netbsd-7-0:1.3.2.3.0.2
	netbsd-7-0-RELEASE:1.3.2.3
	nick-nhusb-base-20150921:1.8
	netbsd-7-0-RC3:1.3.2.3
	netbsd-7-0-RC2:1.3.2.3
	netbsd-7-0-RC1:1.3.2.3
	nick-nhusb-base-20150606:1.8
	nick-nhusb-base-20150406:1.8
	nick-nhusb:1.8.0.2
	nick-nhusb-base:1.8
	netbsd-7:1.3.0.2
	netbsd-7-base:1.3
	yamt-pagecache:1.2.0.8
	yamt-pagecache-base9:1.2
	tls-earlyentropy:1.2.0.6
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	rmind-smpnet-nbase:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.4
	riastradh-drm2-base:1.2
	rmind-smpnet:1.2.0.2
	rmind-smpnet-base:1.2
	tls-maxphys-base:1.3
	tls-maxphys:1.1.0.4
	khorben-n900:1.1.0.2;
locks; strict;
comment	@# @;


1.19
date	2024.01.29.18.27.11;	author christos;	state Exp;
branches;
next	1.18;
commitid	KXsF1U1D4DhafnWE;

1.18
date	2023.02.12.14.50.39;	author abs;	state Exp;
branches;
next	1.17;
commitid	SblLlq95sRoclfdE;

1.17
date	2022.09.29.10.10.06;	author riastradh;	state Exp;
branches;
next	1.16;
commitid	I1zvTyF77D5Z9KVD;

1.16
date	2022.08.07.02.52.25;	author simonb;	state Exp;
branches;
next	1.15;
commitid	HXKRRXLciPDtrTOD;

1.15
date	2017.09.14.07.58.40;	author mrg;	state Exp;
branches;
next	1.14;
commitid	ngZ6fHXwTqlZA87A;

1.14
date	2017.07.28.19.26.16;	author maxv;	state Exp;
branches;
next	1.13;
commitid	3VfcL0hu4dUlX11A;

1.13
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches;
next	1.12;
commitid	ivCr5u3yfBMzbxGz;

1.12
date	2016.12.14.14.01.10;	author martin;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	DiP2Y2C3tPEgqXxz;

1.11
date	2016.12.13.20.42.17;	author christos;	state Exp;
branches;
next	1.10;
commitid	DChNb4lHFyTOFRxz;

1.10
date	2016.12.10.23.03.23;	author christos;	state Exp;
branches;
next	1.9;
commitid	w4dRXIf7WDldyuxz;

1.9
date	2016.12.08.11.31.10;	author nat;	state Exp;
branches;
next	1.8;
commitid	r0h4avej48pZLaxz;

1.8
date	2014.11.16.16.01.40;	author manu;	state Exp;
branches
	1.8.2.1
	1.8.4.1;
next	1.7;
commitid	zlsaQV54cSjhtqYx;

1.7
date	2014.11.12.10.47.21;	author manu;	state Exp;
branches;
next	1.6;
commitid	LLQ29Ezb19EhSSXx;

1.6
date	2014.08.24.07.59.22;	author jnemeth;	state Exp;
branches;
next	1.5;
commitid	SkWajjUme0wZtANx;

1.5
date	2014.08.23.20.26.57;	author dholland;	state Exp;
branches;
next	1.4;
commitid	Ef5fhfmsGe1uFwNx;

1.4
date	2014.08.17.21.17.43;	author joerg;	state Exp;
branches;
next	1.3;
commitid	1Tn1qthIdwV09LMx;

1.3
date	2014.08.03.08.53.56;	author martin;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	Fq8PfzZ3qg4yuTKx;

1.2
date	2013.06.25.13.56.59;	author kiyohara;	state Exp;
branches
	1.2.6.1
	1.2.8.1;
next	1.1;
commitid	Oz9EOQnHknaI80Vw;

1.1
date	2013.04.28.12.11.25;	author kiyohara;	state Exp;
branches
	1.1.4.1;
next	;

1.12.2.1
date	2017.04.21.16.53.25;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.8.2.1
date	2017.02.05.13.40.06;	author skrll;	state Exp;
branches;
next	1.8.2.2;
commitid	8hwpk1aHl2UuyLEz;

1.8.2.2
date	2017.08.28.17.51.33;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.8.4.1
date	2017.01.07.08.56.13;	author pgoyette;	state Exp;
branches;
next	1.8.4.2;
commitid	uEL0C1YuiJrlV0Bz;

1.8.4.2
date	2017.03.20.06.57.12;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.3.2.1
date	2014.11.14.15.16.17;	author martin;	state Exp;
branches;
next	1.3.2.2;
commitid	TWzeZLB2jdoFiaYx;

1.3.2.2
date	2014.11.18.19.05.29;	author snj;	state Exp;
branches;
next	1.3.2.3;
commitid	1724w5Tz6msgrHYx;

1.3.2.3
date	2015.05.15.03.44.17;	author snj;	state Exp;
branches;
next	;
commitid	ro7V5s9WBO35Culy;

1.2.6.1
date	2014.08.10.06.53.54;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.2.8.1
date	2013.06.25.13.56.59;	author yamt;	state dead;
branches;
next	1.2.8.2;
commitid	VUUXuyNWnt3AKwBx;

1.2.8.2
date	2014.05.22.11.39.38;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.1.4.1
date	2013.04.28.12.11.25;	author tls;	state dead;
branches;
next	1.1.4.2;
commitid	eVjr9caYRQbRGHUw;

1.1.4.2
date	2013.06.23.06.20.02;	author tls;	state Exp;
branches;
next	1.1.4.3;
commitid	eVjr9caYRQbRGHUw;

1.1.4.3
date	2014.08.20.00.02.52;	author tls;	state Exp;
branches;
next	1.1.4.4;
commitid	jTnpym9Qu0o4R1Nx;

1.1.4.4
date	2017.12.03.11.36.01;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;


desc
@@


1.19
log
@PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
@
text
@#	$NetBSD: GENERIC,v 1.18 2023/02/12 14:50:39 abs Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include 	"arch/epoc32/conf/std.epoc32"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision: 1.18 $"

maxusers	32			# estimated number of users

# CPU options
options 	CPU_ARM7		# Series 5/Geofox one/Osaris
options 	CPU_ARM7TDMI		# Series 5mx/Revo/Revo+
#options 	CPU_SA1100		# Series 7/netBook

# Standard system options
#options 	INSECURE	# disable kernel security levels

# File systems
file-system	FFS		# UFS
#file-system	EXT2FS		# second extended file system (linux)
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
file-system	PTYFS		# /dev/pts/N support
file-system	TMPFS		# Efficient memory file-system

# File system options
options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	NFSSERVER	# Network File System server

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6
#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)

# Compatibility options
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#include 	"conf/compat_netbsd09.config"

#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options
#options 	SYSVMSG		# System V-like message queues
#options 	SYSVSEM		# System V-like semaphores
#options 	SYSVSHM		# System V-like memory sharing

# Loadable kernel module support
#options 	MODULAR		# new style module(7) framework
#options 	MODULAR_DEFAULT_AUTOLOAD

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=2

# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes

# Development and Debugging options

#options 	DIAGNOSTIC      # internal consistency checks
#options 	DEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB             # in-kernel debugger
options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#makeoptions 	DEBUG="-g"  # compile full symbol table
makeoptions	COPY_SYMTAB=1


# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?

mainbus0 at root

cpu0 at mainbus?

internal0 at mainbus? base 0x80000000		# Internal Register Space
external0 at mainbus?

# SoC
clpssoc0 at internal?				# Cirrus CL-PS711x
windermere0 at internal?			# Windermere
#saip0	at internal?				# StrongARM SA-1100

#options CONSPEED=115200			# EPOC use 115200bps

# CL-PS711x Peripherals
#clpsaudio* at clpssoc?				# Audio
clpscom* at clpssoc?				# UART/IrDA
clpslcd* at clpssoc?				# LCD
#clpspm* at clpssoc?				# Power
clpsrtc* at clpssoc?				# RTC
#clpsssi* at clpssoc?				# SSI bus

# Windermere Peripherals
#wmaudio* at windermere?			# Audio
wmcom*	at windermere?				# IrDA/UART
wmlcd*	at windermere?				# LCD
#wmpm*	at windermere?				# Power
wmrtc*	at windermere?				# RTC
#wmssi*	at clpssoc?				# SSI bus

# SA-1100 Peripherals
#sacom*	at saip? addr 0x80050000 size 0x24 intr 17 # Serial
#saost*	at saip? addr 0x90000000 size 0x20	#OS Timer

wsdisplay* at clpslcd? console ?
wsdisplay* at wmlcd? console ?

epockbd* at clpssoc?
epockbd* at windermere?
wskbd*	at epockbd?

#spi*	at clpsssi*
#spi*	at wmssi*
#tp*	at spi*					# ADS7843 Touch screen

#audio* at audio?
#spkr*	at audio?		# PC speaker (synthesized)

# External devices

#epockbd* at external? addr 0x10000030 addr2 0x10000004		# Series 7

# ETNA Controller
etna* at external? addr 0x20000000 addr2 0x40000000 irq 5	# 5mx
etna* at external? addr 0x50000000 addr2 0x30000000 irq 5	# 5mx Pro
pcmcia* at etna?

wdc* at pcmcia?					# CF
atabus* at wdc? channel ?
wd* at atabus? drive ? flags 0x0000


# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
#pseudo-device	bpfilter                # Berkeley packet filter
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	sl			# Serial Line IP

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)

# wscons pseudo-devices
#pseudo-device	wsmux			# mouse & keyboard multiplexor
#pseudo-device	wsfont

# Pull in optional local configuration - always at end
cinclude	"arch/epoc32/conf/GENERIC.local"
@


1.18
log
@Add optoion GENERIC.local include to the end of ~all GENERIC configs

This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm
all of which have somewhat specific kernel config file layouts
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.17 2022/09/29 10:10:06 riastradh Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.17 $"
a56 2
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
@


1.17
log
@swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with.  Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.16 2022/08/07 02:52:25 simonb Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.16 $"
d196 3
@


1.16
log
@UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
  file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
  and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.15 2017/09/14 07:58:40 mrg Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.15 $"
d191 1
@


1.15
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: GENERIC,v 1.14 2017/07/28 19:26:16 maxv Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.14 $"
d50 2
d54 2
a55 3
#options 	DISKLABEL_EI	# disklabel Endian Independent support
options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
a56 3
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
d59 2
@


1.14
log
@Remove TCP_COMPAT_42 from the config files. Pass 1.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.13 2017/02/19 07:47:00 rin Exp $
d21 1
a21 1
include		"arch/epoc32/conf/std.epoc32"
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.13 $"
d70 2
a71 14
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#options 	COMPAT_09	# NetBSD 0.9,
#options 	COMPAT_10	# NetBSD 1.0,
#options 	COMPAT_11	# NetBSD 1.1,
#options 	COMPAT_12	# NetBSD 1.2,
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_20	# NetBSD 2.0,
#options 	COMPAT_30	# NetBSD 3.0,
#options 	COMPAT_40	# NetBSD 4.0,
#options 	COMPAT_50	# NetBSD 5.0 binary compatibility.
#options 	COMPAT_43	# 4.3BSD binary compatibility.
@


1.13
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: GENERIC,v 1.12 2016/12/14 14:01:10 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.12 $"
a83 1
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
@


1.12
log
@Comment out spkr at audio, as audio is commented out too
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.11 2016/12/13 20:42:17 christos Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.11 $"
d52 1
@


1.12.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.13 2017/02/19 07:47:00 rin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.13 $"
a51 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.11
log
@wildcard speaker attachments, now that we can handle many of them.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.10 2016/12/10 23:03:23 christos Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.10 $"
d170 1
a170 2

spkr*	at audio?		# PC speaker (synthesized)
@


1.10
log
@remove VAUDIOSPEAKER for now, will be done differently.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.9 2016/12/08 11:31:10 nat Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.9 $"
d171 1
a171 1
#spkr0	at audio0		# PC speaker (synthesized)
@


1.9
log
@Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.8 2014/11/16 16:01:40 manu Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.8 $"
a170 1
#options VAUDIOSPEAKER
@


1.8
log
@Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.7 2014/11/12 10:47:21 manu Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.7 $"
d171 3
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.12 2016/12/14 14:01:10 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.12 $"
a169 1
#spkr*	at audio?		# PC speaker (synthesized)
@


1.8.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.8.2.1 2017/02/05 13:40:06 skrll Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.8.2.1 $"
a51 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d83 1
@


1.8.4.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.12 2016/12/14 14:01:10 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.12 $"
a169 1
#spkr*	at audio?		# PC speaker (synthesized)
@


1.8.4.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.13 2017/02/19 07:47:00 rin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.13 $"
a51 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.7
log
@Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels

This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.6 2014/08/24 07:59:22 jnemeth Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.6 $"
a57 2
#options 	UFS_EXTATTR_AUTOSTART
#options 	UFS_EXTATTR_AUTOCREATE=1024
@


1.6
log
@Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.5 2014/08/23 20:26:57 dholland Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.5 $"
d57 3
@


1.5
log
@Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.4 2014/08/17 21:17:43 joerg Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.4 $"
d94 1
@


1.4
log
@Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.3 2014/08/03 08:53:56 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.3 $"
d80 2
a81 2
#options 	COMPAT_50	# NetBSD 5.0 compatibility.
#options 	COMPAT_43	# and 4.3BSD
@


1.3
log
@Add COMPAT_NETBSD32, following the switch to eabi by default.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.2 2013/06/25 13:56:59 kiyohara Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.2 $"
d116 1
a116 1
options 	SYMTAB_SPACE=500000
@


1.3.2.1
log
@Pull up following revision(s) (requested by manu in ticket #232):
	sys/arch/next68k/conf/GENERIC: revision 1.138
	sys/arch/cobalt/conf/GENERIC: revision 1.146
	sys/arch/mvme68k/conf/GENERIC: revision 1.93
	sys/arch/vax/conf/VAX780: revision 1.18
	sys/arch/newsmips/conf/GENERIC: revision 1.128
	sys/arch/luna68k/conf/GENERIC: revision 1.118
	sys/arch/sbmips/conf/GENERIC: revision 1.100
	sys/arch/pmax/conf/GENERIC: revision 1.184
	sys/arch/alpha/conf/GENERIC: revision 1.361
	sys/arch/sparc64/conf/GENERIC: revision 1.176
	sys/arch/sun3/conf/GENERIC: revision 1.170
	sys/arch/shark/conf/GENERIC: revision 1.120
	sys/arch/landisk/conf/GENERIC: revision 1.44
	sys/arch/bebox/conf/GENERIC: revision 1.144
	sys/arch/sparc64/conf/NONPLUS64: revision 1.43
	sys/arch/sandpoint/conf/GENERIC: revision 1.87
	sys/arch/emips/conf/GENERIC: revision 1.14
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.111
	sys/arch/dreamcast/conf/GENERIC: revision 1.120
	sys/arch/cesfic/conf/GENERIC: revision 1.64
	sys/arch/mmeye/conf/GENERIC: revision 1.119
	sys/arch/epoc32/conf/GENERIC: revision 1.7
	sys/arch/x68k/conf/GENERIC: revision 1.178
	sys/arch/iyonix/conf/GENERIC: revision 1.87
	sys/arch/sun2/conf/GENERIC: revision 1.93
	sys/arch/ews4800mips/conf/GENERIC: revision 1.50
	sys/arch/amd64/conf/XEN3_DOMU: revision 1.59
	sys/arch/acorn26/conf/GENERIC: revision 1.80
	sys/arch/acorn32/conf/GENERIC: revision 1.115
	sys/arch/macppc/conf/POWERMAC_G5: revision 1.24
	sys/arch/i386/conf/GENERIC: revision 1.1117
	sys/arch/arc/conf/GENERIC: revision 1.183
	sys/arch/cats/conf/GENERIC: revision 1.154
	sys/arch/amiga/conf/GENERIC.in: revision 1.128
	sys/arch/zaurus/conf/GENERIC: revision 1.64
	sys/arch/netwinder/conf/GENERIC: revision 1.125
	sys/arch/hppa/conf/GENERIC: revision 1.5
	sys/arch/mvmeppc/conf/GENERIC: revision 1.23
	sys/arch/macppc/conf/GENERIC: revision 1.319
	sys/arch/amiga/conf/GENERIC: revision 1.310
	sys/arch/pmax/conf/GENERIC64: revision 1.20
	sys/arch/macppc/conf/MAMBO: revision 1.23
	sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.27
	sys/arch/amigappc/conf/GENERIC: revision 1.23
	sys/arch/amd64/conf/GENERIC: revision 1.403
	sys/arch/ofppc/conf/GENERIC: revision 1.156
	sys/arch/mac68k/conf/GENERIC: revision 1.219
	sys/arch/i386/conf/XEN3_DOMU: revision 1.64
	sys/arch/mipsco/conf/GENERIC: revision 1.87
	sys/arch/hp300/conf/GENERIC: revision 1.189
	sys/arch/vax/conf/GENERIC: revision 1.192
	sys/arch/news68k/conf/GENERIC: revision 1.124
	sys/arch/ibmnws/conf/GENERIC: revision 1.45
	sys/arch/hpcsh/conf/GENERIC: revision 1.105
	sys/arch/sparc/conf/TADPOLE3GX: revision 1.64
	sys/arch/i386/conf/XEN3_DOM0: revision 1.92
	sys/arch/sparc/conf/GENERIC: revision 1.247
	sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.105
	sys/arch/prep/conf/GENERIC: revision 1.173
	sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.103
	sys/arch/rs6000/conf/GENERIC: revision 1.32
	sys/arch/hpcmips/conf/GENERIC: revision 1.228
Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr
Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.3 2014/08/03 08:53:56 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.3 $"
a56 3
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
#options 	UFS_EXTATTR_AUTOSTART
#options 	UFS_EXTATTR_AUTOCREATE=1024
@


1.3.2.2
log
@Pull up following revision(s) (requested by manu in ticket #251):
	sys/arch/acorn26/conf/GENERIC: revision 1.81
	sys/arch/acorn32/conf/GENERIC: revision 1.116
	sys/arch/alpha/conf/GENERIC: revision 1.362
	sys/arch/amd64/conf/ALL: revision 1.23
	sys/arch/amd64/conf/GENERIC: revision 1.404
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.112
	sys/arch/amd64/conf/XEN3_DOMU: revision 1.60
	sys/arch/amiga/conf/GENERIC.in: revision 1.129
	sys/arch/amiga/conf/GENERIC: revision 1.311
	sys/arch/amigappc/conf/GENERIC: revision 1.24
	sys/arch/arc/conf/GENERIC: revision 1.184
	sys/arch/bebox/conf/GENERIC: revision 1.145
	sys/arch/cats/conf/GENERIC: revision 1.155
	sys/arch/cesfic/conf/GENERIC: revision 1.65
	sys/arch/cobalt/conf/GENERIC: revision 1.147
	sys/arch/dreamcast/conf/GENERIC: revision 1.121
	sys/arch/emips/conf/GENERIC: revision 1.15
	sys/arch/epoc32/conf/GENERIC: revision 1.8
	sys/arch/ews4800mips/conf/GENERIC: revision 1.51
	sys/arch/hp300/conf/GENERIC: revision 1.190
	sys/arch/hpcmips/conf/GENERIC: revision 1.229
	sys/arch/hpcsh/conf/GENERIC: revision 1.106
	sys/arch/hppa/conf/GENERIC: revision 1.6
	sys/arch/i386/conf/ALL: revision 1.389
	sys/arch/i386/conf/GENERIC: revision 1.1118
	sys/arch/i386/conf/XEN3_DOM0: revision 1.93
	sys/arch/i386/conf/XEN3_DOMU: revision 1.65
	sys/arch/ibmnws/conf/GENERIC: revision 1.46
	sys/arch/iyonix/conf/GENERIC: revision 1.88
	sys/arch/landisk/conf/GENERIC: revision 1.45
	sys/arch/luna68k/conf/GENERIC: revision 1.119
	sys/arch/mac68k/conf/GENERIC: revision 1.220
	sys/arch/macppc/conf/GENERIC: revision 1.320
	sys/arch/macppc/conf/MAMBO: revision 1.24
	sys/arch/macppc/conf/POWERMAC_G5: revision 1.25
	sys/arch/mipsco/conf/GENERIC: revision 1.88
	sys/arch/mmeye/conf/GENERIC: revision 1.120
	sys/arch/mvme68k/conf/GENERIC: revision 1.94
	sys/arch/mvmeppc/conf/GENERIC: revision 1.24
	sys/arch/netwinder/conf/GENERIC: revision 1.126
	sys/arch/news68k/conf/GENERIC: revision 1.125
	sys/arch/newsmips/conf/GENERIC: revision 1.129
	sys/arch/next68k/conf/GENERIC: revision 1.139
	sys/arch/ofppc/conf/GENERIC: revision 1.157
	sys/arch/pmax/conf/GENERIC64: revision 1.21
	sys/arch/pmax/conf/GENERIC: revision 1.185
	sys/arch/prep/conf/GENERIC: revision 1.174
	sys/arch/rs6000/conf/GENERIC: revision 1.33
	sys/arch/sandpoint/conf/GENERIC: revision 1.88
	sys/arch/sbmips/conf/GENERIC: revision 1.101
	sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.28
	sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.104
	sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.106
	sys/arch/shark/conf/GENERIC: revision 1.121
	sys/arch/sparc/conf/GENERIC: revision 1.248
	sys/arch/sparc/conf/TADPOLE3GX: revision 1.65
	sys/arch/sparc64/conf/GENERIC: revision 1.177
	sys/arch/sparc64/conf/NONPLUS64: revision 1.44
	sys/arch/sun2/conf/GENERIC: revision 1.94
	sys/arch/sun3/conf/GENERIC: revision 1.171
	sys/arch/vax/conf/GENERIC: revision 1.193
	sys/arch/vax/conf/VAX780: revision 1.19
	sys/arch/x68k/conf/GENERIC: revision 1.179
	sys/arch/zaurus/conf/GENERIC: revision 1.65
	sys/ufs/files.ufs: revision 1.38
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.3.2.1 2014/11/14 15:16:17 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.3.2.1 $"
d58 2
@


1.3.2.3
log
@Pull up following revision(s) (requested by jnemeth in ticket #762):
	share/man/man4/options.4: revision 1.442
	sys/arch/amd64/conf/ALL: revision 1.18
	sys/arch/amd64/conf/GENERIC: revision 1.396
	sys/arch/dreamcast/conf/GENERIC: revision 1.119
	sys/arch/epoc32/conf/GENERIC: revision 1.6
	sys/arch/evbarm/conf/BCM5301X: revision 1.24
	sys/arch/evbarm/conf/BCM56340: revision 1.9
	sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
	sys/arch/evbarm/conf/std.beagle: revision 1.13
	sys/arch/evbarm/conf/std.kobo: revision 1.2
	sys/arch/evbarm/conf/std.netwalker: revision 1.10
	sys/arch/evbppc/conf/P2020DS: revision 1.25
	sys/arch/evbppc/conf/RB800: revision 1.30
	sys/arch/evbppc/conf/TWRP1025: revision 1.18
	sys/arch/hp300/conf/GENERIC: revision 1.187
	sys/arch/hpcsh/conf/GENERIC: revision 1.104
	sys/arch/i386/conf/GENERIC: revision 1.1111
	sys/arch/i386/conf/MONOLITHIC: revision 1.17
	sys/arch/landisk/conf/GENERIC: revision 1.43
	sys/arch/luna68k/conf/GENERIC: revision 1.117
	sys/arch/macppc/conf/GENERIC: revision 1.316
	sys/arch/macppc/conf/GENERIC_601: revision 1.5
	sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
	sys/arch/news68k/conf/GENERIC: revision 1.123
	sys/arch/sandpoint/conf/GENERIC: revision 1.85
	sys/arch/shark/conf/GENERIC: revision 1.119
	sys/arch/sparc/conf/GENERIC: revision 1.246
	sys/arch/sparc64/conf/GENERIC: revision 1.174
	sys/arch/sun3/conf/GENERIC3X: revision 1.125
	sys/arch/sun3/conf/GENERIC: revision 1.169
	sys/arch/x68k/conf/GENERIC: revision 1.177
	sys/arch/zaurus/conf/GENERIC: revision 1.62
	sys/conf/files: revision 1.1099
	sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.3.2.2 2014/11/18 19:05:29 snj Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.3.2.2 $"
a94 1
#options 	MODULAR_DEFAULT_AUTOLOAD
@


1.2
log
@Configuration of external devices move to GENERIC.  External bus does't know
attaching devices.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.1 2013/04/28 12:11:25 kiyohara Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.1 $"
d68 1
@


1.2.6.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: GENERIC,v 1.3 2014/08/03 08:53:56 martin Exp $
d25 1
a25 1
#ident 		"GENERIC-$Revision: 1.3 $"
a67 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
@


1.2.8.1
log
@file GENERIC was added on branch yamt-pagecache on 2014-05-22 11:39:38 +0000
@
text
@d1 202
@


1.2.8.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 202
#	$NetBSD$
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include		"arch/epoc32/conf/std.epoc32"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision$"

maxusers	32			# estimated number of users

# CPU options
options 	CPU_ARM7		# Series 5/Geofox one/Osaris
options 	CPU_ARM7TDMI		# Series 5mx/Revo/Revo+
#options 	CPU_SA1100		# Series 7/netBook

# Standard system options
#options 	INSECURE	# disable kernel security levels

# File systems
file-system	FFS		# UFS
#file-system	EXT2FS		# second extended file system (linux)
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
file-system	PTYFS		# /dev/pts/N support
file-system	TMPFS		# Efficient memory file-system

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
#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 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6
#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)

# Compatibility options
#options 	COMPAT_09	# NetBSD 0.9,
#options 	COMPAT_10	# NetBSD 1.0,
#options 	COMPAT_11	# NetBSD 1.1,
#options 	COMPAT_12	# NetBSD 1.2,
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_20	# NetBSD 2.0,
#options 	COMPAT_30	# NetBSD 3.0,
#options 	COMPAT_40	# NetBSD 4.0,
#options 	COMPAT_50	# NetBSD 5.0 compatibility.
#options 	COMPAT_43	# and 4.3BSD
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options
#options 	SYSVMSG		# System V-like message queues
#options 	SYSVSEM		# System V-like semaphores
#options 	SYSVSHM		# System V-like memory sharing

# Loadable kernel module support
#options 	MODULAR		# new style module(7) framework

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=2

# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes

# Development and Debugging options

#options 	DIAGNOSTIC      # internal consistency checks
#options 	DEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB             # in-kernel debugger
options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#makeoptions 	DEBUG="-g"  # compile full symbol table
options 	SYMTAB_SPACE=500000


# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?

mainbus0 at root

cpu0 at mainbus?

internal0 at mainbus? base 0x80000000		# Internal Register Space
external0 at mainbus?

# SoC
clpssoc0 at internal?				# Cirrus CL-PS711x
windermere0 at internal?			# Windermere
#saip0	at internal?				# StrongARM SA-1100

#options CONSPEED=115200			# EPOC use 115200bps

# CL-PS711x Peripherals
#clpsaudio* at clpssoc?				# Audio
clpscom* at clpssoc?				# UART/IrDA
clpslcd* at clpssoc?				# LCD
#clpspm* at clpssoc?				# Power
clpsrtc* at clpssoc?				# RTC
#clpsssi* at clpssoc?				# SSI bus

# Windermere Peripherals
#wmaudio* at windermere?			# Audio
wmcom*	at windermere?				# IrDA/UART
wmlcd*	at windermere?				# LCD
#wmpm*	at windermere?				# Power
wmrtc*	at windermere?				# RTC
#wmssi*	at clpssoc?				# SSI bus

# SA-1100 Peripherals
#sacom*	at saip? addr 0x80050000 size 0x24 intr 17 # Serial
#saost*	at saip? addr 0x90000000 size 0x20	#OS Timer

wsdisplay* at clpslcd? console ?
wsdisplay* at wmlcd? console ?

epockbd* at clpssoc?
epockbd* at windermere?
wskbd*	at epockbd?

#spi*	at clpsssi*
#spi*	at wmssi*
#tp*	at spi*					# ADS7843 Touch screen

#audio* at audio?

# External devices

#epockbd* at external? addr 0x10000030 addr2 0x10000004		# Series 7

# ETNA Controller
etna* at external? addr 0x20000000 addr2 0x40000000 irq 5	# 5mx
etna* at external? addr 0x50000000 addr2 0x30000000 irq 5	# 5mx Pro
pcmcia* at etna?

wdc* at pcmcia?					# CF
atabus* at wdc? channel ?
wd* at atabus? drive ? flags 0x0000


# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
#pseudo-device	bpfilter                # Berkeley packet filter
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	sl			# Serial Line IP

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

# wscons pseudo-devices
#pseudo-device	wsmux			# mouse & keyboard multiplexor
#pseudo-device	wsfont
@


1.1
log
@Add new port NetBSD/epoc32.
@
text
@d1 1
a1 1
#	$NetBSD$
d25 1
a25 1
#ident 		"GENERIC-$Revision$"
a159 1
#epockbd* at external? addr 0x10000030, 0x10000004
d169 6
a174 1
etna* at external?				# ETNA Controller
@


1.1.4.1
log
@file GENERIC was added on branch tls-maxphys on 2013-06-23 06:20:02 +0000
@
text
@d1 198
@


1.1.4.2
log
@resync from head
@
text
@a0 198
#	$NetBSD$
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include		"arch/epoc32/conf/std.epoc32"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision$"

maxusers	32			# estimated number of users

# CPU options
options 	CPU_ARM7		# Series 5/Geofox one/Osaris
options 	CPU_ARM7TDMI		# Series 5mx/Revo/Revo+
#options 	CPU_SA1100		# Series 7/netBook

# Standard system options
#options 	INSECURE	# disable kernel security levels

# File systems
file-system	FFS		# UFS
#file-system	EXT2FS		# second extended file system (linux)
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
file-system	PTYFS		# /dev/pts/N support
file-system	TMPFS		# Efficient memory file-system

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
#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 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6
#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)

# Compatibility options
#options 	COMPAT_09	# NetBSD 0.9,
#options 	COMPAT_10	# NetBSD 1.0,
#options 	COMPAT_11	# NetBSD 1.1,
#options 	COMPAT_12	# NetBSD 1.2,
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_20	# NetBSD 2.0,
#options 	COMPAT_30	# NetBSD 3.0,
#options 	COMPAT_40	# NetBSD 4.0,
#options 	COMPAT_50	# NetBSD 5.0 compatibility.
#options 	COMPAT_43	# and 4.3BSD
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options
#options 	SYSVMSG		# System V-like message queues
#options 	SYSVSEM		# System V-like semaphores
#options 	SYSVSHM		# System V-like memory sharing

# Loadable kernel module support
#options 	MODULAR		# new style module(7) framework

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=2

# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes

# Development and Debugging options

#options 	DIAGNOSTIC      # internal consistency checks
#options 	DEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB             # in-kernel debugger
options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#makeoptions 	DEBUG="-g"  # compile full symbol table
options 	SYMTAB_SPACE=500000


# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?

mainbus0 at root

cpu0 at mainbus?

internal0 at mainbus? base 0x80000000		# Internal Register Space
external0 at mainbus?

# SoC
clpssoc0 at internal?				# Cirrus CL-PS711x
windermere0 at internal?			# Windermere
#saip0	at internal?				# StrongARM SA-1100

#options CONSPEED=115200			# EPOC use 115200bps

# CL-PS711x Peripherals
#clpsaudio* at clpssoc?				# Audio
clpscom* at clpssoc?				# UART/IrDA
clpslcd* at clpssoc?				# LCD
#clpspm* at clpssoc?				# Power
clpsrtc* at clpssoc?				# RTC
#clpsssi* at clpssoc?				# SSI bus

# Windermere Peripherals
#wmaudio* at windermere?			# Audio
wmcom*	at windermere?				# IrDA/UART
wmlcd*	at windermere?				# LCD
#wmpm*	at windermere?				# Power
wmrtc*	at windermere?				# RTC
#wmssi*	at clpssoc?				# SSI bus

# SA-1100 Peripherals
#sacom*	at saip? addr 0x80050000 size 0x24 intr 17 # Serial
#saost*	at saip? addr 0x90000000 size 0x20	#OS Timer

wsdisplay* at clpslcd? console ?
wsdisplay* at wmlcd? console ?

epockbd* at clpssoc?
epockbd* at windermere?
#epockbd* at external? addr 0x10000030, 0x10000004
wskbd*	at epockbd?

#spi*	at clpsssi*
#spi*	at wmssi*
#tp*	at spi*					# ADS7843 Touch screen

#audio* at audio?

# External devices
etna* at external?				# ETNA Controller
pcmcia* at etna?

wdc* at pcmcia?					# CF
atabus* at wdc? channel ?
wd* at atabus? drive ? flags 0x0000


# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
#pseudo-device	bpfilter                # Berkeley packet filter
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	sl			# Serial Line IP

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

# wscons pseudo-devices
#pseudo-device	wsmux			# mouse & keyboard multiplexor
#pseudo-device	wsfont
@


1.1.4.3
log
@Rebase to HEAD as of a few days ago.
@
text
@a67 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d160 1
d170 1
a170 6

#epockbd* at external? addr 0x10000030 addr2 0x10000004		# Series 7

# ETNA Controller
etna* at external? addr 0x20000000 addr2 0x40000000 irq 5	# 5mx
etna* at external? addr 0x50000000 addr2 0x30000000 irq 5	# 5mx Pro
@


1.1.4.4
log
@update from HEAD
@
text
@d21 1
a21 1
include 	"arch/epoc32/conf/std.epoc32"
a51 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
a56 1
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
d68 15
a82 2
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#include 	"conf/compat_netbsd09.config"
a93 1
#options 	MODULAR_DEFAULT_AUTOLOAD
d116 1
a116 1
makeoptions	COPY_SYMTAB=1
a167 1
#spkr*	at audio?		# PC speaker (synthesized)
@


