GENERIC revision 1.13
1#	$NetBSD: GENERIC,v 1.13 2017/02/19 07:47:00 rin Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include		"arch/epoc32/conf/std.epoc32"
22
23#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.13 $"
26
27maxusers	32			# estimated number of users
28
29# CPU options
30options 	CPU_ARM7		# Series 5/Geofox one/Osaris
31options 	CPU_ARM7TDMI		# Series 5mx/Revo/Revo+
32#options 	CPU_SA1100		# Series 7/netBook
33
34# Standard system options
35#options 	INSECURE	# disable kernel security levels
36
37# File systems
38file-system	FFS		# UFS
39#file-system	EXT2FS		# second extended file system (linux)
40file-system	MFS		# memory file system
41file-system	NFS		# Network File System client
42file-system	MSDOSFS		# MS-DOS file system
43#file-system	FDESC		# /dev/fd
44file-system	KERNFS		# /kern
45file-system	NULLFS		# loopback file system
46file-system	PTYFS		# /dev/pts/N support
47file-system	TMPFS		# Efficient memory file-system
48
49# File system options
50#options 	QUOTA		# legacy UFS quotas
51#options 	QUOTA2		# new, in-filesystem UFS quotas
52#options 	DISKLABEL_EI	# disklabel Endian Independent support
53options 	FFS_EI		# FFS Endian Independent support
54#options 	NFSSERVER
55options 	WAPBL		# File system journaling support
56#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
57#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
58#options 	UFS_EXTATTR	# Extended attribute support for UFS1
59#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
60				# immutable) behave as system flags.
61
62# Networking options
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPv6
65#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
66#options 	PPP_DEFLATE	# Deflate compression support for PPP
67options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
68
69# Compatibility options
70options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
71#options 	COMPAT_09	# NetBSD 0.9,
72#options 	COMPAT_10	# NetBSD 1.0,
73#options 	COMPAT_11	# NetBSD 1.1,
74#options 	COMPAT_12	# NetBSD 1.2,
75#options 	COMPAT_13	# NetBSD 1.3,
76#options 	COMPAT_14	# NetBSD 1.4,
77#options 	COMPAT_15	# NetBSD 1.5,
78#options 	COMPAT_16	# NetBSD 1.6,
79#options 	COMPAT_20	# NetBSD 2.0,
80#options 	COMPAT_30	# NetBSD 3.0,
81#options 	COMPAT_40	# NetBSD 4.0,
82#options 	COMPAT_50	# NetBSD 5.0 binary compatibility.
83#options 	COMPAT_43	# 4.3BSD binary compatibility.
84#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
85
86#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
87options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
88
89# Shared memory options
90#options 	SYSVMSG		# System V-like message queues
91#options 	SYSVSEM		# System V-like semaphores
92#options 	SYSVSHM		# System V-like memory sharing
93
94# Loadable kernel module support
95#options 	MODULAR		# new style module(7) framework
96#options 	MODULAR_DEFAULT_AUTOLOAD
97
98#
99# wscons options
100#
101# builtin terminal emulations
102options 	WSEMUL_VT100
103# allocate a number of virtual screens at autoconfiguration time
104#options 	WSDISPLAY_DEFAULTSCREENS=2
105
106# compatibility to other console drivers
107options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
108options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
109options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
110
111# Development and Debugging options
112
113#options 	DIAGNOSTIC      # internal consistency checks
114#options 	DEBUG
115#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
116options 	DDB             # in-kernel debugger
117options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
118#makeoptions 	DEBUG="-g"  # compile full symbol table
119makeoptions	COPY_SYMTAB=1
120
121
122# Kernel root file system and dump configuration.
123config		netbsd		root on ? type ?
124
125mainbus0 at root
126
127cpu0 at mainbus?
128
129internal0 at mainbus? base 0x80000000		# Internal Register Space
130external0 at mainbus?
131
132# SoC
133clpssoc0 at internal?				# Cirrus CL-PS711x
134windermere0 at internal?			# Windermere
135#saip0	at internal?				# StrongARM SA-1100
136
137#options CONSPEED=115200			# EPOC use 115200bps
138
139# CL-PS711x Peripherals
140#clpsaudio* at clpssoc?				# Audio
141clpscom* at clpssoc?				# UART/IrDA
142clpslcd* at clpssoc?				# LCD
143#clpspm* at clpssoc?				# Power
144clpsrtc* at clpssoc?				# RTC
145#clpsssi* at clpssoc?				# SSI bus
146
147# Windermere Peripherals
148#wmaudio* at windermere?			# Audio
149wmcom*	at windermere?				# IrDA/UART
150wmlcd*	at windermere?				# LCD
151#wmpm*	at windermere?				# Power
152wmrtc*	at windermere?				# RTC
153#wmssi*	at clpssoc?				# SSI bus
154
155# SA-1100 Peripherals
156#sacom*	at saip? addr 0x80050000 size 0x24 intr 17 # Serial
157#saost*	at saip? addr 0x90000000 size 0x20	#OS Timer
158
159wsdisplay* at clpslcd? console ?
160wsdisplay* at wmlcd? console ?
161
162epockbd* at clpssoc?
163epockbd* at windermere?
164wskbd*	at epockbd?
165
166#spi*	at clpsssi*
167#spi*	at wmssi*
168#tp*	at spi*					# ADS7843 Touch screen
169
170#audio* at audio?
171#spkr*	at audio?		# PC speaker (synthesized)
172
173# External devices
174
175#epockbd* at external? addr 0x10000030 addr2 0x10000004		# Series 7
176
177# ETNA Controller
178etna* at external? addr 0x20000000 addr2 0x40000000 irq 5	# 5mx
179etna* at external? addr 0x50000000 addr2 0x30000000 irq 5	# 5mx Pro
180pcmcia* at etna?
181
182wdc* at pcmcia?					# CF
183atabus* at wdc? channel ?
184wd* at atabus? drive ? flags 0x0000
185
186
187# Pseudo-Devices
188
189# disk/mass storage pseudo-devices
190#pseudo-device	md			# memory disk device (ramdisk)
191#pseudo-device	vnd			# disk-like interface to files
192#options 	VND_COMPRESSION		# compressed vnd(4)
193
194# network pseudo-devices
195#pseudo-device	bpfilter                # Berkeley packet filter
196pseudo-device	loop			# network loopback
197pseudo-device	ppp			# Point-to-Point Protocol
198pseudo-device	sl			# Serial Line IP
199
200# miscellaneous pseudo-devices
201pseudo-device	pty			# pseudo-terminals
202pseudo-device	clockctl		# user control of clock subsystem
203pseudo-device	ksyms			# /dev/ksyms
204
205# wscons pseudo-devices
206#pseudo-device	wsmux			# mouse & keyboard multiplexor
207#pseudo-device	wsfont
208