GENERIC revision 1.21 1 # $NetBSD: GENERIC,v 1.21 2002/10/14 18:39:23 elric Exp $
2 #
3 # GENERIC --- NetBSD/acorn32 complete configuration
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/acorn32/conf/std.acorn32"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.21 $"
26
27 # estimated number of users
28 maxusers 32
29
30 # Standard system options
31
32 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
33 #options NTP # NTP phase/frequency locked loop
34
35 # CPU options
36 options CPU_SA110 # Support the SA110 core
37 options CPU_ARM6 # Support the ARM6 core
38 options CPU_ARM7 # Support the ARM7 core
39 #options CPU_ARM8 # Support the ARM8 core
40 #options ARM6_LATE_ABORT # ARM6XX late abort support
41
42 # For StrongARM only kernels
43 #makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
44
45 # FPA options
46 #options ARMFPE # ARM Ltd FPE
47
48 # File systems
49
50 file-system FFS # UFS
51 #file-system LFS # log-structured file system
52 file-system MFS # memory file system
53 file-system NFS # Network file system
54 file-system ADOSFS # AmigaDOS-compatible file system
55 file-system EXT2FS # second extended file system (linux)
56 file-system CD9660 # ISO 9660 + Rock Ridge file system
57 file-system MSDOSFS # MS-DOS file system
58 file-system FDESC # /dev/fd
59 file-system FILECORE # Acorn filecore file system
60 file-system KERNFS # /kern
61 file-system NULLFS # loopback file system
62 file-system OVERLAY # overlay filesystem
63 file-system PORTAL # portal filesystem (still experimental)
64 file-system PROCFS # /proc
65 file-system UMAPFS # NULLFS + uid and gid remapping
66 file-system UNION # union file system
67
68 # File system options
69 options QUOTA # UFS quotas
70 #options FFS_EI # FFS Endian Independant support
71 options SOFTDEP # FFS soft updates support.
72 options NFSSERVER
73
74 # Networking options
75
76 options GATEWAY # packet forwarding
77 options INET # IP + ICMP + TCP + UDP
78 options INET6 # IPV6
79 #options IPSEC # IP security
80 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
81 #options IPSEC_DEBUG # debug for IP security
82 #options MROUTING # IP multicast routing
83 options NS # XNS
84 #options NSIP # XNS tunneling over IP
85 options ISO,TPIP # OSI
86 #options EON # OSI tunneling over IP
87 options CCITT,LLC,HDLC # X.25
88 options NETATALK # AppleTalk networking
89 options PFIL_HOOKS # pfil(9) packet filter hooks
90 options PPP_BSDCOMP # BSD-Compress compression support for PPP
91 options PPP_DEFLATE # Deflate compression support for PPP
92 options PPP_FILTER # Active filter support for PPP (requires bpf)
93 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
94
95 # Compatibility options
96
97 options COMPAT_43 # 4.3BSD compatibility.
98 options COMPAT_15 # NetBSD 1.5 compatibility.
99 options COMPAT_14 # NetBSD 1.4 compatibility.
100 options COMPAT_13 # NetBSD 1.3 compatibility.
101 options COMPAT_12 # NetBSD 1.2 compatibility.
102 #options COMPAT_11 # NetBSD 1.1 compatibility.
103 #options COMPAT_10 # NetBSD 1.0 compatibility.
104 #options COMPAT_09 # NetBSD 0.9 compatibility.
105 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
106
107 # Shared memory options
108
109 options SYSVMSG # System V-like message queues
110 options SYSVSEM # System V-like semaphores
111 #options SEMMNI=10 # number of semaphore identifiers
112 #options SEMMNS=60 # number of semaphores in system
113 #options SEMUME=10 # max number of undo entries per process
114 #options SEMMNU=30 # number of undo structures in system
115 options SYSVSHM # System V-like memory sharing
116 options SHMMAXPGS=1024 # 1024 pages is the default
117
118 # Device options
119
120 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
121 #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks
122 #options MEMORY_DISK_IS_ROOT # use memory disk as root
123
124 # Miscellaneous kernel options
125 options KTRACE # system call tracing, a la ktrace(1)
126 options SYSTRACE # system call vetting via systrace(1)
127 options IRQSTATS # manage IRQ statistics
128 options LKM # loadable kernel modules
129 options KMEMSTATS # kernel memory statistics
130 #options SCSIVERBOSE # Verbose SCSI errors
131 options USERCONF # userconf(4) support
132 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
133
134 # Development and Debugging options
135
136 #options ARM700BUGTRACK # track the ARM700 swi bug
137 #options PORTMASTER # Enable PortMaster only options
138 options DIAGNOSTIC # internal consistency checks
139 #options PMAP_DEBUG # Enable pmap_debug_level code
140 #options IPKDB # remote kernel debugging
141 options DDB # in-kernel debugger
142 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
143 #makeoptions DEBUG="-g" # compile full symbol table
144
145 config netbsd root on ? type ?
146
147 # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
148 # this really be fixed some day
149 #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
150
151 # The main bus device
152 mainbus0 at root
153
154 # The boot cpu
155 cpu0 at mainbus?
156
157 # The IOMD
158 iomd0 at mainbus?
159
160 # system clock via IOMD
161 clock* at iomd?
162
163 # IIC bus device
164 iic* at iomd?
165
166 # RTC device via IIC bus
167 rtc* at iic? addr 0xa0
168
169 # time-of-day device via rtc device
170 todclock0 at rtc?
171
172 # VIDC device
173 vidc0 at mainbus?
174
175 # WSCONS
176 # ws console uses DUMB, SUN or VT100 terminal emulation
177 #options WSEMUL_NODUMB
178 #options WSEMUL_SUN
179 #options WSEMUL_VT100
180
181 #options WSDISPLAY_COMPAT_RAWKBD
182
183 #options FONT_BOLD8x16
184 #options FONT_GALLANT12x22 # Very nice font
185 #options FONT_LUCIDA16x29
186 #options FONT_OMRON12x20 # looks funny
187 #options FONT_QVSS8x15 # broken ?
188 #options FONT_SONY12x25 # looks like VT220 font
189 #options FONT_SONY8x16 # not tested
190 #options FONT_VT220L8x8 # 8x8 font as in Arch. cons
191 #options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons
192 #options FONT_VT220L8x10 # not tested
193 #options FONT_VT220L8x20 # not tested
194
195 #vidcvideo0 at vidc? # wscons driver for VIDC
196 #wsdisplay* at vidcvideo? console ? # display itself
197
198 #rpckbd* at iomd? # based on old `kbd' driver
199 #wskbd* at rpckbd? # wskbd on RiscPC keyboard
200
201 #wsqms* at iomd? # ws quadmouse driver
202 #wsmouse* at wsqms? # wsmouse on ws quadmouse
203
204 #pseudo-device wsmux
205
206 # The origional vidcconsole :
207 # vidcconsole kbd at IOMD
208 # vidcconsole PS2 mouse at IOMD
209 vidcconsole0 at vidc? # display + vt100 emulation
210 kbd* at iomd? # PS/2 keyboard for vidcconsole
211 qms* at iomd? # RiscPC mouse for vidcconsole
212 opms* at iomd? # A7000/NC? mouse for vidcconsole
213
214 # generic VT console device
215 vt0 at vidc?
216 vt1 at vidc?
217 vt2 at vidc?
218 vt3 at vidc?
219 vt4 at vidc?
220 vt5 at vidc?
221
222 # Peripheral IO Controller
223 pioc0 at mainbus? base 0x00210000
224
225 # IDE disk controller
226 wdc0 at pioc? offset 0x01f0 irq 9
227 #wdc* at pioc? offset 0x0170 irq -1
228 wd* at wdc? channel ? drive ?
229 atapibus* at wdc? channel ?
230 cd* at atapibus? drive ?
231 sd* at atapibus? drive ?
232
233 # Floppy disk controller
234 fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
235 fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
236 fd0 at fdc? drive ?
237
238 # Serial ports
239 com* at pioc? offset 0x03f8 irq 10
240 #com* at pioc? offset 0x02f8 irq -1
241 #com* at pioc? offset 0x0338 irq -1
242 #com* at pioc? offset 0x0238 irq -1
243
244 # Parallel ports
245 lpt* at pioc? offset 0x0278 irq 0
246 #lpt* at pioc? offset 0x0378 irq -1
247 #lpt* at pioc? offset 0x03bc irq -1
248
249 # Crude sound device
250 beep0 at vidc?
251
252 # Audio device
253 vidcaudio0 at vidc?
254 audio* at vidcaudio0
255
256 # System beep
257 sysbeep0 at vidc?
258
259 # Podule bus device
260 podulebus0 at root
261
262 asc* at podulebus? # Acorn SCSI card
263 scsibus* at asc?
264
265 cosc* at podulebus? # MCS Connect32 SCSI II card
266 scsibus* at cosc?
267
268 ptsc* at podulebus? # Power-Tec SCSI II card
269 scsibus* at ptsc?
270
271 csc* at podulebus? # Cumana SCSI II card
272 scsibus* at csc?
273
274 oak* at podulebus? # Oak SCSI I card
275 scsibus* at oak?
276
277 csa* at podulebus? # Cumana SCSI I adpater
278 scsibus* at csa?
279
280 hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
281 scsibus* at hcsc?
282
283 sd* at scsibus? target ? lun ? # SCSI disk drives
284 st* at scsibus? target ? lun ? # SCSI tape drives
285 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
286 ch* at scsibus? target ? lun ? # SCSI auto-changers
287 uk* at scsibus? target ? lun ? # SCSI unknown device
288 ss* at scsibus? target ? lun ? # SCSI scanner
289
290 dtide* at podulebus? # D.T. Software IDE card
291 wd* at dtide? channel ? drive ?
292 atapibus* at dtide? channel ?
293
294 hcide* at podulebus? # HCCS IDE card
295 wd* at hcide? channel ? drive ?
296 atapibus* at hcide? channel ?
297
298 icside* at podulebus? # ICS IDE card
299 wd* at icside? channel ? drive ?
300 atapibus* at icside? channel ?
301
302 rapide* at podulebus? # Yellowstone RapIDE card
303 wd* at rapide? channel ? drive ?
304 atapibus* at rapide? channel ?
305
306 simide* at podulebus? # Simtec IDE card
307 wd* at simide? channel ? drive ?
308 atapibus* at simide? channel ?
309
310 amps* at podulebus? # Atomwide Multi-Port Serial card
311 com* at amps?
312
313 ie* at podulebus? # Ether1 podules
314 ea* at podulebus? # Ether3 podules
315 eb0 at podulebus? # EtherB network slot cards
316 ne* at podulebus? # NE2000 clone cards
317
318 pseudo-device loop 1 # network loopback
319 pseudo-device bpfilter 8 # packet filter
320 pseudo-device sl 2 # CSLIP
321 pseudo-device ppp 2 # PPP
322 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
323 pseudo-device tun 2 # network tunneling over tty
324 #pseudo-device gre 2 # generic L3 over IP tunnel
325 #pseudo-device ipfilter 1 # ip filter
326 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
327 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
328 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
329 #pseudo-device strip 4 # STarmode Radio IP (Metricon Ricochet)
330 pseudo-device vlan # IEEE 802.1q encapsulation
331 pseudo-device bridge # simple inter-network bridging
332 pseudo-device pty # pseudo-terminals
333 pseudo-device tb 1 # tablet line discipline
334 pseudo-device vnd 4 # disk-like interface to files
335 pseudo-device ccd 2 # concatenated disk devices
336 #pseudo-device cgd 4 # cryptographic disk devices
337 pseudo-device raid 8 # RAIDframe disk driver
338 options RAID_AUTOCONFIG # auto-configuration of RAID components
339 # Options to enable various other RAIDframe RAID types.
340 # options RF_INCLUDE_EVENODD=1
341 # options RF_INCLUDE_RAID5_RS=1
342 # options RF_INCLUDE_PARITYLOGGING=1
343 # options RF_INCLUDE_CHAINDECLUSTER=1
344 # options RF_INCLUDE_INTERDECLUSTER=1
345 # options RF_INCLUDE_PARITY_DECLUSTERING=1
346 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
347 pseudo-device md 1 # Ramdisk driver
348 pseudo-device rnd # /dev/random and in-kernel generator
349 pseudo-device clockctl # user control of clock subsystem
350
351 makeoptions MONITOR="Taxan875+LR"
352 #makeoptions MONITOR="AKF60"
353 makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
354