1# $NetBSD: DRACO,v 1.202 2024/01/29 18:27:10 christos Exp $
2#
3# This file was automatically created.
4# Changes will be lost when make is run in this directory.
5#
6# Created from: # NetBSD: GENERIC.in,v 1.149 2022/05/29 10:43:19 andvar Exp $
7#
8##
9# GENERIC machine description file
10#
11# This machine description file is used to generate the default NetBSD
12# kernel.  The generic kernel does not include all options, subsystems
13# and device drivers, but should be useful for most applications.
14#
15# The machine description file can be customised for your specific
16# machine to reduce the kernel size and improve its performance.
17#
18# For further information on compiling NetBSD kernels, see the config(8)
19# man page.
20#
21# For further information on hardware support for this architecture, see
22# the intro(4) man page.  For further information about kernel options
23# for this architecture, see the options(4) man page.  For an explanation
24# of each device driver in this file see the section 4 man page for the
25# device.
26
27
28include "arch/amiga/conf/std.amiga"
29
30options   INCLUDE_CONFIG_FILE # embed config file in kernel binary
31
32#ident              "GENERIC-$Revision: 1.202 $"
33
34makeoptions         COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer"
35          # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
36          # backtraces in DDB.
37
38maxusers  8
39options   RTC_OFFSET=0
40
41#
42# mainboards to support (in addition to Amiga)
43#
44options   DRACO
45#
46# processors this kernel should support
47#
48options   M68060              # support for 060
49options   M060SP              # MC68060 software support (Required for 060)
50
51#
52# Networking options
53#
54options   INET                # IP networking support (Required)
55options   INET6               # IPV6
56#options  IPSEC               # IP security
57#options  IPSEC_DEBUG         # debug for IP security
58#options  GATEWAY             # Packet forwarding
59
60#options  MROUTING  # Multicast routing
61#options  PIM                 # Protocol Independent Multicast
62options   NETATALK  # AppleTalk networking protocols
63#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
64
65options   PPP_BSDCOMP         # BSD-Compress compression support for PPP
66options   PPP_DEFLATE         # Deflate compression support for PPP
67options   PPP_FILTER          # Active filter support for PPP (requires bpf)
68
69#options  ALTQ                # Manipulate network interfaces' output queues
70#options  ALTQ_BLUE # Stochastic Fair Blue
71#options  ALTQ_CBQ  # Class-Based Queueing
72#options  ALTQ_CDNR # Diffserv Traffic Conditioner
73#options  ALTQ_FIFOQ          # First-In First-Out Queue
74#options  ALTQ_FLOWVALVE      # RED/flow-valve (red-penalty-box)
75#options  ALTQ_HFSC # Hierarchical Fair Service Curve
76#options  ALTQ_LOCALQ         # Local queueing discipline
77#options  ALTQ_PRIQ # Priority Queueing
78#options  ALTQ_RED  # Random Early Detection
79#options  ALTQ_RIO  # RED with IN/OUT
80#options  ALTQ_WFQ  # Weighted Fair Queueing
81
82# Filesystems
83file-system         FFS                 # Berkeley fast file system
84file-system         EXT2FS              # second extended file system (linux)
85#file-system        LFS                 # log-structured filesystem (experimental)
86
87file-system         MFS                 # Memory based filesystem
88
89file-system         NFS                 # Network File System client side code
90file-system         ADOSFS              # AmigaDOS file system
91file-system         CD9660              # ISO 9660 + Rock Ridge filesystem
92file-system         MSDOSFS             # MS-DOS filesystem
93
94file-system         KERNFS              # kernel data-structure filesystem
95
96file-system         FDESC               # user file descriptor filesystem
97file-system         NULLFS              # loopback filesystem
98file-system         OVERLAY             # overlay filesystem
99file-system         PROCFS              # /proc filesystem
100file-system         UMAPFS              # NULLFS + uid and gid remapping
101file-system         UNION               # union filesystem
102file-system         PTYFS               # /dev/pts/N support
103file-system         TMPFS               # Efficient memory file-system
104#file-system        UDF                 # experimental - OSTA UDF CD/DVD file-system
105
106# File system options
107#options  FFS_EI              # FFS Endian Independent support
108#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
109options   QUOTA               # legacy UFS quotas
110options   QUOTA2              # new, in-filesystem UFS quotas
111#options  UFS_DIRHASH         # UFS Large Directory Hashing
112options   UFS_EXTATTR         # Extended attribute support for UFS1
113options   WAPBL               # File system journaling support
114#options  LFS_DIRHASH         # LFS version of UFS_DIRHASH - experimental
115options   NFSSERVER # Network File System server
116
117#
118# Compatibility options for various existing systems
119#
120
121
122include   "conf/compat_netbsd09.config"
123
124options   COMPAT_SUNOS        # Support to run Sun (m68k) executables
125options   COMPAT_NOMID        # allow nonvalid machine id executables
126#options  COMPAT_LINUX        # Support to run Linux/m68k executables
127#options  COMPAT_OSSAUDIO     # Support to run Linux/m68k executables
128
129options   EXEC_AOUT # 32-bit aout executables (NetBSD-1.5.x)
130options   COMPAT_AOUT_M68K # actually make some system calls work.
131
132#
133# Support for System V IPC facilities.
134#
135options   SYSVSHM             # System V-like shared memory
136options   SYSVMSG             # System V-like messages
137options   SYSVSEM             # System V-like semaphores
138
139#
140# Support for various kernel options
141#
142
143options   KTRACE              # system call tracing support
144#options  INSECURE  # disable kernel security levels
145options   SCSIVERBOSE         # human readable SCSI error messages
146options   USERCONF  # userconf(4) support
147options   NTP                 # NTP phase/frequency locked loop
148#options  PIPE_SOCKETPAIR     # smaller, but slower pipe(2)
149
150# Alternate buffer queue strategies for better responsiveness under high
151# disk I/O load.
152#options  BUFQ_READPRIO
153options   BUFQ_PRIOCSCAN
154
155#
156# Misc. debugging options
157#
158options   DDB                 # Kernel debugger
159#options  DDB_HISTORY_SIZE=100          # Enable history editing in DDB
160#options  DIAGNOSTIC          # Extra kernel sanity checks
161#options  DEBUG               # Enable misc. kernel debugging code
162makeoptions         DEBUG="-g"          # compile full symbol table
163#options  SYSCALL_DEBUG       # debug all syscalls.
164#options  SCSIDEBUG # Add SCSI debugging statements
165#options  PANICBUTTON         # Forced crash via keypress (?)
166
167#
168# Amiga specific options
169#
170#options  LIMITMEM=24         # Do not use more than LIMITMEM MB of the
171                                        # first bank of RAM. (default: unlimited)
172
173# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
174# before the 10 secondinterval ends, or that KBDRESET does work at all.
175#options  KBDRESET  # sync on Ctrl-Amiga-Amiga
176
177# These options improve performance with the built-in serial port
178# on slower Amigas.  Try the larger buffers first then lev6_defer.
179#options  SERIBUF_SIZE=4096
180#options  SEROBUF_SIZE=32
181#options  LEV6_DEFER          # defers l6 to l4 (below serial l5)
182
183
184options   RETINACONSOLE       # enable code to allow retina to be console
185#options  KFONT_8X11          # 8x11 font
186
187# select a font for the console according to the character set and keymap
188# you want to use
189options        KFONT_CONS_ISO8859_1
190#options         KFONT_CONS_ISO8859_2
191
192# This is how you would tell the kernel the A2410 oscillator frequencies:
193# The used frequencies are the defaults, and do not need option setting
194#options  ULOWELL_OSC1=36000000
195#options  ULOWELL_OSC2=66667000
196
197# This is how you specify the blitting speed, higher values may speed up blits
198# a little bit.  If you raise this value too much some trash may appear.
199# the commented version is the default.
200#options  RH_MEMCLK=61000000
201# this option enables the 64 bit sprite which does not work
202# for quite a few people.  E.g. The cursor sprite will turn to a block
203# when moved to the top of the screen in X.
204#options  RH_64BIT_SPRITE
205# enables fast scroll code appears to now work on 040 systems.
206#options  RETINA_SPEED_HACK
207# enables the Hardwarecursor which does not work on some systems.
208#options  RH_HARDWARECURSOR
209
210
211grfrh0              at zbus0            # retina III
212
213grf2                at grfrh0
214ite2                at grf2                       # terminal emulators for grfs
215
216msc0                at zbus0            # A2232 MSC multiport serial.
217mfc0                at zbus0            # MultiFaceCard I/O board
218mfcs0               at mfc0 unit 0                # MFC serial
219mfcs1               at mfc0 unit 1                # MFC serial
220#mfcp0              at mfc0 unit 0                # MFC parallel [not available yet]
221#mfc1               at zbus0            # MultiFaceCard 2nd I/O board
222#mfcs2              at mfc1 unit 0
223#mfcs3              at mfc1 unit 1
224#mfcp1              at mfc1 unit 0
225
226hyper*              at zbus?            # zbus HyperCom3/3+/4/4+
227#hyper*             at mainbus0                   # not yet: HyperCom1 + HyperCom3
228com*                at hyper? port ?    # Hypercom3/4 serial ports
229lpt*                at hyper? port ?    # Hypercom3+/4+ parallel port
230
231#options  IOBZCLOCK=22118400  # default, uncomment the next line
232#options  IOBZCLOCK=24000000  # if needed.
233
234iobl*               at zbus?            # zbus IOBlix
235com*                at iobl? port ?               # IOBlix serial ports
236lpt*                at iobl? port ?               # IOBlix parallel ports
237
238
239#
240# Keyboard device. Optionally can attach a wskbd.
241# wskbd works together with a wsdisplay so enable them both if you will.
242# Don't enable wskbd if you use ite.
243#
244# XXX in std.amiga: kbd0 at mainbus0
245#wskbd0             at kbd0 console ?
246
247
248
249#wsmouse* at ms?
250
251#
252# DraCo Mainboard devices (sans keyboard)
253#
254
255drbbc0              at mainbus0                   # DraCo battery backed clock
256drsupio0  at mainbus0                   # DraCo superio chip
257com*                at drsupio? port ?  # DraCo serial
258lpt0                at drsupio? port ?  # DraCo parallel
259
260#
261# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics)
262#
263
264
265repulse*  at zbus0            # ALiENDESiGN Repulse
266audio*              at repulse?
267
268toccata*  at zbus0            # MacroSystem GmbH Toccata
269audio*              at toccata?
270
271# Ethernet cards:
272le*                 at zbus0            # A2065, Ameristar, Ariadne
273ne*                 at zbus0            # AriadneII
274ed*                 at zbus0            # Hydra, ASDG LanRover
275es*                 at zbus0            # CEI A4066 EthernetPLUS
276qn*                 at zbus0            # Quicknet
277
278
279# Arcnet
280bah*                at zbus0            # C=/Ameristar A2060 / 560
281
282
283drsc0               at mainbus0                   # DraCo scsi
284scsibus*  at drsc0
285
286
287# each hard drive from low target to high
288# will configure to the next available sd unit number
289sd*       at scsibus? target ? lun ?    # scsi disks
290st*       at scsibus? target ? lun ?    # scsi tapes
291cd*       at scsibus? target ? lun ?    # scsi cds
292ch*       at scsibus? target ? lun ?    # scsi autochangers
293ss*       at scsibus? target ? lun ?    # scsi scanner
294uk*       at scsibus? target ? lun ?    # scsi unknown
295#
296# accept filters
297pseudo-device       accf_data           # "dataready" accept filter
298pseudo-device       accf_http           # "httpready" accept filter
299
300pseudo-device       loop                          # loopback network interface
301pseudo-device       sl                            # SLIP network interfaces
302pseudo-device       ppp                           # PPP network interfaces
303pseudo-device       pppoe                         # PPP over Ethernet (RFC 2516)
304pseudo-device       tun                           # network tunnel line discipline
305pseudo-device       tap                           # virtual Ethernet
306#pseudo-device      gre                           # generic L3 over IP tunnel
307pseudo-device       bpfilter            # Berkeley packet filter
308pseudo-device       carp                          # Common Address Redundancy Protocol
309pseudo-device       npf                           # NPF packet filter
310pseudo-device       gif                           # IPv[46] over IPv[46] tunnel (RFC1933)
311#pseudo-device      faith                         # IPv[46] tcp relay translation i/f
312pseudo-device       stf                           # 6to4 IPv6 over IPv4 encapsulation
313pseudo-device       vlan                          # IEEE 802.1q encapsulation
314pseudo-device       bridge                        # simple inter-network bridging
315pseudo-device       vether                        # Virtual Ethernet for bridge
316pseudo-device       agr                           # IEEE 802.3ad link aggregation
317pseudo-device       fss                           # file system snapshot device
318pseudo-device       putter                        # for puffs and pud
319
320pseudo-device       view                4         # views (needed for grfcc)
321pseudo-device       pty                           # pseudo-terminals
322pseudo-device       clockctl            # user control of clock subsystem
323pseudo-device       drvctl                        # user control of drive subsystem
324
325#pseudo-device      wsfont                        # wsfont(4) dynamic font loading support
326#pseudo-device      wsmux                         # mouse & keyboard multiplexor
327
328pseudo-device       vnd                           # vnode pseudo-disks
329#options  VND_COMPRESSION               # compressed vnd(4)
330pseudo-device       ccd                           # concatenated disk devices
331#pseudo-device      cgd                           # cryptographic disk devices
332pseudo-device       raid                          # RAIDframe disk driver
333options   RAID_AUTOCONFIG               # auto-configuration of RAID components
334# Options to enable various other RAIDframe RAID types.
335# options           RF_INCLUDE_EVENODD=1
336# options           RF_INCLUDE_RAID5_RS=1
337# options           RF_INCLUDE_PARITYLOGGING=1
338# options           RF_INCLUDE_CHAINDECLUSTER=1
339# options           RF_INCLUDE_INTERDECLUSTER=1
340# options           RF_INCLUDE_PARITY_DECLUSTERING=1
341# options           RF_INCLUDE_PARITY_DECLUSTERING_DS=1
342
343#options  RND_COM                       # use "com" randomness as well (BROKEN)
344
345pseudo-device       ksyms                         # /dev/ksyms (kernel symbols)
346
347# Veriexec
348include "dev/veriexec.config"
349
350config    netbsd root on ? type ?
351