GENERIC revision 1.114 1 # $NetBSD: GENERIC,v 1.114 2013/04/27 21:43:33 christos 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/mmeye/conf/std.mmeye"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.114 $"
26
27 maxusers 16 # estimated number of users
28
29 # CPU support
30 options SH3
31 options SH7708R # 100MHz
32 options MMEYE
33 options MMEYE_NEW_INT=0xb000000e
34 #options MMEYE_NO_CACHE
35 options PCLOCK=33330000 # 33.33MHz
36 options INITTODR_ALWAYS_USE_RTC
37
38 options IOM_RAM_SIZE=0x01000000 # 16MB
39 options IOM_RAM_BEGIN=0x0c000000
40 makeoptions DEFTEXTADDR="0x8c010000"
41
42 # Standard system options
43 #options INSECURE # disable kernel security levels
44
45 options HZ=50 # clock interrupt generates every 1/HZ sec
46 options NTP # NTP phase/frequency locked loop
47 options KTRACE # system call tracing via ktrace(1)
48
49 options SYSVMSG # System V-like message queues
50 options SYSVSEM # System V-like semaphores
51 options SYSVSHM # System V-like memory sharing
52
53 options USERCONF # userconf(4) support
54 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
55 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
56
57 # Diagnostic/debugging support options
58 #options DIAGNOSTIC # cheap kernel consistency checks
59 #options DEBUG # expensive debugging checks/support
60 #options KMEMSTATS # kernel memory statistics (vmstat -m)
61 #options DDB # in-kernel debugger
62 #options SYSCALL_DEBUG
63 #makeoptions DEBUG="-g" # compile full symbol table
64
65 # Compatibility options
66 options COMPAT_14 # NetBSD 1.4,
67 options COMPAT_15 # NetBSD 1.5,
68 options COMPAT_16 # NetBSD 1.6,
69 options COMPAT_20 # NetBSD 2.0,
70 options COMPAT_30 # NetBSD 3.0,
71 options COMPAT_40 # NetBSD 4.0 compatibility.
72 options COMPAT_50 # NetBSD 5.0 compatibility.
73 options COMPAT_60 # NetBSD 6.0 compatibility.
74 options COMPAT_43 # and 4.3BSD
75 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
76 options BSDDISKLABEL_EI # endian independent disklabel support
77 options COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support
78 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
79
80 # Executable format options
81 options EXEC_COFF # COFF executables
82
83 # File systems
84 file-system FFS # UFS
85 file-system EXT2FS # second extended file system (linux)
86 file-system LFS # log-structured file system
87 file-system MFS # memory file system
88 file-system NFS # Network File System client
89 file-system CD9660 # ISO 9660 + Rock Ridge file system
90 file-system MSDOSFS # MS-DOS file system
91 file-system FDESC # /dev/fd
92 file-system KERNFS # /kern
93 file-system NULLFS # loopback file system
94 file-system OVERLAY # overlay file system
95 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
96 file-system PROCFS # /proc
97 file-system UMAPFS # NULLFS + uid and gid remapping
98 file-system UNION # union file system
99 file-system CODA # Coda File System; also needs vcoda (below)
100 file-system PTYFS # /dev/pts/N support
101 file-system TMPFS # Efficient memory file-system
102 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
103
104 # File system options
105 #options QUOTA # legacy UFS quotas
106 #options QUOTA2 # new, in-filesystem UFS quotas
107 #options FFS_EI # FFS Endian Independent support
108 options WAPBL # File system journaling support
109 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
110 options NFSSERVER # Network File System server
111 #options FFS_NO_SNAPSHOT # No FFS snapshot support
112 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
113 # immutable) behave as system flags.
114
115 # Networking options
116 #options GATEWAY # packet forwarding
117 options INET # IP + ICMP + TCP + UDP
118 options INET6 # IPV6
119 #options IPSEC # IP security
120 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
121 #options IPSEC_DEBUG # debug for IP security
122 #options MROUTING # IP multicast routing
123 #options PIM # Protocol Independent Multicast
124 #options NETATALK # AppleTalk networking protocols
125 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
126 #options PPP_DEFLATE # Deflate compression support for PPP
127 #options PPP_FILTER # Active filter support for PPP (requires bpf)
128 #options PFIL_HOOKS # pfil(9) packet filter hooks
129 #options IPFILTER_LOG # ipmon(8) log support
130 #options IPFILTER_LOOKUP # ippool(8) support
131 options IPFILTER_COMPAT # Compat for IP-Filter
132 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
133 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
134
135 #options ALTQ # Manipulate network interfaces' output queues
136 #options ALTQ_BLUE # Stochastic Fair Blue
137 #options ALTQ_CBQ # Class-Based Queueing
138 #options ALTQ_CDNR # Diffserv Traffic Conditioner
139 #options ALTQ_FIFOQ # First-In First-Out Queue
140 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
141 #options ALTQ_HFSC # Hierarchical Fair Service Curve
142 #options ALTQ_LOCALQ # Local queueing discipline
143 #options ALTQ_PRIQ # Priority Queueing
144 #options ALTQ_RED # Random Early Detection
145 #options ALTQ_RIO # RED with IN/OUT
146 #options ALTQ_WFQ # Weighted Fair Queueing
147
148 options NFS_BOOT_DHCP # Support DHCP NFS root
149
150 # These options enable verbose messages for several subsystems.
151 # Warning, these may compile large string tables into the kernel!
152 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
153
154 # Kernel root file system and dump configuration.
155 config netbsd root on ? type ?
156
157 #
158 # Device configuration
159 #
160
161 mainbus0 at root
162
163 shb* at mainbus?
164
165 rtc* at shb?
166
167 com0 at mainbus? addr1 0xa4000000 irq1 11
168 com1 at mainbus? addr1 0xa4000008 irq1 12
169
170 # SH PCMCIA controllers
171 mmeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
172 mmeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
173
174 # PCMCIA bus support
175 pcmcia* at mmeyepcmcia? controller ? socket ?
176
177 com* at pcmcia? function ? # Modems and serial cards
178 wdc* at pcmcia? function ?
179 atabus* at ata?
180 wd* at atabus? drive ? # the drives themselves
181
182 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
183 mbe* at pcmcia? function ? # MB8696x based Ethernet
184 ne* at pcmcia? function ? # NE2000-compatible Ethernet
185 sm* at pcmcia? function ? # Megahertz Ethernet
186
187 # Pseudo-Devices
188
189 #
190 # accept filters
191 pseudo-device accf_data # "dataready" accept filter
192 pseudo-device accf_http # "httpready" accept filter
193
194 pseudo-device ccd # concatenated/striped disk devices
195 #pseudo-device cgd # cryptographic disk devices
196 #pseudo-device raid # RAIDframe disk driver
197 #options RAID_AUTOCONFIG # auto-configuration of RAID components
198 # Options to enable various other RAIDframe RAID types.
199 # options RF_INCLUDE_EVENODD=1
200 # options RF_INCLUDE_RAID5_RS=1
201 # options RF_INCLUDE_PARITYLOGGING=1
202 # options RF_INCLUDE_CHAINDECLUSTER=1
203 # options RF_INCLUDE_INTERDECLUSTER=1
204 # options RF_INCLUDE_PARITY_DECLUSTERING=1
205 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
206 pseudo-device fss # file system snapshot device
207 pseudo-device vnd # disk-like interface to files
208 #options VND_COMPRESSION # compressed vnd(4)
209 pseudo-device bpfilter # Berkeley packet filter
210 #pseudo-device carp # Common Address Redundancy Protocol
211 pseudo-device ipfilter # IP filter (firewall) and NAT
212 pseudo-device loop # network loopback
213 pseudo-device ppp # Point-to-Point Protocol
214 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
215 pseudo-device sl # Serial Line IP
216 pseudo-device strip # Starmode Radio IP (Metricom)
217 pseudo-device tun # network tunneling over tty
218 pseudo-device tap # virtual Ethernet
219 pseudo-device gre # generic L3 over IP tunnel
220 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
221 #pseudo-device faith # IPv[46] tcp relay translation i/f
222 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
223 pseudo-device vlan # IEEE 802.1q encapsulation
224 pseudo-device bridge # simple inter-network bridging
225 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
226 #pseudo-device agr # IEEE 802.3ad link aggregation
227 pseudo-device pty # pseudo-terminals
228 pseudo-device vcoda # coda minicache <-> venus comm.
229 #pseudo-device md # memory disk device (ramdisk)
230 pseudo-device clockctl # user control of clock subsystem
231 pseudo-device ksyms # /dev/ksyms
232 #pseudo-device pf # PF packet filter
233 #pseudo-device pflog # PF log if
234 pseudo-device putter # for puffs and pud
235
236 # Enable the hooks used for initializing the root memory-disk.
237 #options MEMORY_DISK_HOOKS
238 #options MEMORY_DISK_IS_ROOT # force root on memory disk
239 #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
240 #options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks
241
242 # Veriexec
243 #
244 # a pseudo device needed for veriexec
245 #pseudo-device veriexec
246 #
247 # Uncomment the fingerprint methods below that are desired. Note that
248 # removing fingerprint methods will have almost no impact on the kernel
249 # code size.
250 #
251 #options VERIFIED_EXEC_FP_RMD160
252 #options VERIFIED_EXEC_FP_SHA256
253 #options VERIFIED_EXEC_FP_SHA384
254 #options VERIFIED_EXEC_FP_SHA512
255 #options VERIFIED_EXEC_FP_SHA1
256 #options VERIFIED_EXEC_FP_MD5
257