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