2 # $NetBSD: GENERIC.in,v 1.81 2009/11/23 00:18:37 abs Exp $
6 # Note: We have size targets for gzipped kernels:
7 # - ATARITT and FALCON - 1.44M floppy
8 # - SMALL030 - 720K (or worst case 800K) floppy
10 #if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
11 include "arch/atari/conf/std.atari"
12 #elif defined (HADES_KERNEL)
13 include "arch/atari/conf/std.hades"
14 #elif defined (MILAN_KERNEL)
15 include "arch/atari/conf/std.milan"
16 #endif /* TT030_KERNEL / FALCON_KERNEL / HADES_KERNEL / MILAN_KERNEL */
18 #if defined(SMALL030_KERNEL)
19 makeoptions COPTS="-Os"
22 #if !defined(SMALL030_KERNEL)
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 #endif /* !SMALL030_KERNEL */
26 #if defined(SMALL030_KERNEL) || \
27 (!defined(TT030_KERNEL) && !defined(HADES_KERNEL) && !defined(MILAN_KERNEL))
28 #define NO_PHYS_NETWORK 1
29 #endif /* SMALL030_KERNEL || ... */
32 # Add support for about 16 users. This variable is used to size
33 # various kernel structures.
37 options HZ=64 # Set the clock-rate (48/64/96)
39 # Standard system options
40 options INSECURE # disable kernel security levels
41 #options NTP # NTP phase/frequency locked loop
43 # Enable experimental buffer queue strategy for better responsiveness under
44 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
45 #options BUFQ_READPRIO
46 #options BUFQ_PRIOCSCAN
49 # (Co)processors this kernel should support
51 #if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
52 options M68030 # support for 030
53 #endif /* TT030_KERNEL || FALCON_KERNEL */
54 #if defined(FALCON_KERNEL)
55 options FPU_EMULATE # Support for MC68881/MC68882 emulator
56 #endif /* FALCON_KERNEL */
57 #if (defined(FALCON_KERNEL) && !defined(SMALL030_KERNEL)) || \
58 defined(HADES_KERNEL) || defined(MILAN_KERNEL)
59 options M68040 # support for 040
60 options M68060 # support for 060
61 options FPSP # 68040 Floatingpoint support
62 options M060SP # MC68060 software support (Required for 060)
63 #endif /* ! FALCON_KERNEL & ! SMALL030_KERNEL ... */
68 options INET # IP + ICMP + TCP + UDP
70 #if !defined(SMALL030_KERNEL)
72 #options IPSEC # IP security
73 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
74 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
75 #options IPSEC_DEBUG # debug for IP security
76 #options GATEWAY # packet forwarding
77 #options MROUTING # IP multicast routing
78 #options PIM # Protocol Independent Multicast
79 #options ISO,TPIP # OSI
80 #options EON # OSI tunneling over IP
81 #if !defined(NO_PHYS_NETWORK)
82 #options NETATALK # AppleTalk networking protocols
83 #endif /* NO_PHYS_NETWORK */
85 options PPP_BSDCOMP # BSD-Compress compression support for PPP
86 options PPP_DEFLATE # Deflate compression support for PPP
87 options PPP_FILTER # Active filter support for PPP (requires bpf)
89 options PFIL_HOOKS # pfil(9) packet filter hooks
90 options IPFILTER_LOG # ipmon(8) log support
91 options IPFILTER_LOOKUP # ippool(8) support
92 #options IPFILTER_DEFAULT_BLOCK # block packages by default
94 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
96 #options ALTQ # Manipulate network interfaces' output queues
97 #options ALTQ_BLUE # Stochastic Fair Blue
98 #options ALTQ_CBQ # Class-Based Queueing
99 #options ALTQ_CDNR # Diffserv Traffic Conditioner
100 #options ALTQ_FIFOQ # First-In First-Out Queue
101 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
102 #options ALTQ_HFSC # Hierarchical Fair Service Curve
103 #options ALTQ_LOCALQ # Local queueing discipline
104 #options ALTQ_PRIQ # Priority Queueing
105 #options ALTQ_RED # Random Early Detection
106 #options ALTQ_RIO # RED with IN/OUT
107 #options ALTQ_WFQ # Weighted Fair Queueing
108 #endif /* !SMALL030_KERNEL */
111 file-system FFS # Berkeley fast file system
112 file-system MFS # Memory based filesystem
113 file-system MSDOSFS # MSDOS filesystem
114 file-system CD9660 # ISO 9660 filesystem with Rock Ridge
115 #file-system PTYFS # experimental - /dev/ptm support
116 #file-system TMPFS # Efficient memory file-system
117 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
119 #if !defined(SMALL030_KERNEL)
120 file-system KERNFS # Kernel parameter filesystem
121 file-system NFS # Network File System client side code
122 file-system PROCFS # Process filesystem
123 file-system FDESC # /dev/fd
124 file-system NULLFS # Loopback filesystem
125 file-system OVERLAY # overlay filesystem
126 file-system UNION # union file system
127 file-system UMAPFS # null file system (with uid & gid remapping)
128 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
129 file-system EXT2FS # second extended file system (linux)
130 #file-system LFS # log-structured file system
131 file-system PTYFS # /dev/pts/N support
132 #endif /* !SMALL030_KERNEL */
134 # File system options
135 options WAPBL # File system journaling support - Experimental
136 #if !defined(SMALL030_KERNEL)
137 #options QUOTA # Disk quotas for local disks
138 #options FFS_EI # FFS Endian Independant support
139 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
140 options NFSSERVER # Network File System server side code
141 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
142 # immutable) behave as system flags.
143 #endif /* !SMALL030_KERNEL */
146 # Misc. debugging options
148 options PANICWAIT # Require keystroke to dump/reboot
149 #if !defined(SMALL030_KERNEL)
150 options DDB # Kernel debugger
151 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
152 #options DEBUG # expensive debugging checks/support
153 #endif /* !SMALL030_KERNEL */
156 # Compatibility options for various existing systems
158 #if !defined(SMALL030_KERNEL)
159 options COMPAT_43 # 4.3 BSD compatible system calls
160 options COMPAT_10 # Compatibility with NetBSD 1.0
161 options COMPAT_11 # Compatibility with NetBSD 1.1
162 options COMPAT_12 # Compatibility with NetBSD 1.2
163 options COMPAT_13 # Compatibility with NetBSD 1.3
164 options COMPAT_14 # Compatibility with NetBSD 1.4
165 options COMPAT_15 # Compatibility with NetBSD 1.5
166 #endif /* !SMALL030_KERNEL */
167 options COMPAT_16 # Compatibility with NetBSD 1.6
168 options COMPAT_20 # Compatibility with NetBSD 2.0
169 options COMPAT_30 # NetBSD 3.0 compatibility.
170 options COMPAT_40 # NetBSD 4.0 compatibility.
171 options COMPAT_50 # NetBSD 5.0 compatibility.
172 #if !defined(SMALL030_KERNEL)
173 #options COMPAT_09 # has no meaning on the atari
174 #options COMPAT_SUNOS # Support to run Sun-3 executables
175 #options COMPAT_SVR4 # Support to run SVR4 executables
176 #options COMPAT_LINUX # Support to run Linux/m68k executables
177 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
178 options COMPAT_AOUT_M68K # Compatibility to a.out executables
179 options EXEC_AOUT # a.out format executables
180 #endif /* !SMALL030_KERNEL */
181 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
183 #if !defined(SMALL030_KERNEL)
185 # Support for System V IPC facilities.
187 options SYSVSHM # System V shared memory
188 options SYSVMSG # System V messages
189 options SYSVSEM # System V semaphores
190 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
191 #endif /* !SMALL030_KERNEL */
193 #if !defined(SMALL030_KERNEL)
195 # Support for various kernel options
197 options KTRACE # Add kernel tracing system call
198 #options DIAGNOSTIC # Add additional error checking code
199 options USERCONF # userconf(4) support
200 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
201 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
202 #else /* SMALL030_KERNEL */
203 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
204 #endif /* !SMALL030_KERNEL */
206 # These options enable verbose messages for several subsystems.
207 # Warning, these may compile large string tables into the kernel!
208 #if !defined(SMALL030_KERNEL)
209 options SCSIVERBOSE # human readable SCSI error messages
210 #endif /* !SMALL030_KERNEL */
211 #if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
212 options MIIVERBOSE # verbose PHY autoconfig messages
213 #options PCIVERBOSE # verbose PCI device autoconfig messages
214 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
218 # Atari specific options
220 #options KFONT_8x8 # Use 8x8 font instead of 8x16
221 options ST_POOL_SIZE=24 # smallest that allows TT-HIGH
222 #if defined(TT030_KERNEL) || defined(HADES_KERNEL)
223 options TT_SCSI # SCSI-support for TT
224 options TT_VIDEO # Graphics support for TT
225 #options ET4000_HAS_2MB_MEM # et4000 with 2 MB video memory
227 #if defined(FALCON_KERNEL)
228 options FALCON_SCSI # SCSI-support for Falcon
229 options FALCON_VIDEO # Graphics support for FALCON
230 #endif /* FALCON_KERNEL */
231 options MEMORY_DISK_HOOKS # Boot RAM-disk
232 options DISKLABEL_NBDA # NetBSD disklabels (required)
233 options DISKLABEL_AHDI # NetBSD/AHDI disklabels
234 #if !defined(SMALL030_KERNEL)
235 #if !defined(FALCON_KERNEL)
236 options SERCONSOLE # modem1 console support, breaks Falcon
237 #endif /* !FALCON_KERNEL */
238 options RELOC_KERNEL # TT/Falcon: relocate kernel to TT-RAM
239 options MSGBUFSIZE=32768 # size of kernel msg. buffer
240 #options STATCLOCK # Separate {stat,prof}clock
241 #endif /* !SMALL030_KERNEL */
243 #if !defined(SMALL030_KERNEL)
244 # Try linked commands on all targets
245 options TRY_SCSI_LINKED_COMMANDS=0x7f
246 #endif /* !SMALL030_KERNEL */
249 # Build one kernel that can boot from any disk.
251 config netbsd root on ? type ?
253 pseudo-device sl # Slip
254 #if !defined(SMALL030_KERNEL)
255 pseudo-device ppp # ppp
256 #endif /* !SMALL030_KERNEL */
257 #if !defined(NO_PHYS_NETWORK)
258 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
259 #endif /* NO_PHYS_NETWORK */
260 pseudo-device pty # pseudo-terminals
261 pseudo-device loop # Loopback network
262 #options VND_COMPRESSION # compressed vnd(4)
263 pseudo-device md 3 # Boot memory disk
264 pseudo-device putter # for puffs and pud
266 #if !defined(SMALL030_KERNEL)
267 pseudo-device vnd # 3 pseudo disks (see vnconfig)
268 pseudo-device bpfilter # berkeley packet filters
269 #pseudo-device carp # Common Address Redundancy Protocol
270 pseudo-device tun # network tunnel
271 pseudo-device tap # virtual Ethernet
272 #pseudo-device gre # generic L3 over IP tunnel
273 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
274 #pseudo-device faith # IPv[46] tcp relay translation i/f
275 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
276 #if !defined(NO_PHYS_NETWORK)
277 #pseudo-device vlan # IEEE 802.1q encapsulation
278 #pseudo-device bridge # simple inter-network bridging
279 #pseudo-device agr # IEEE 802.3ad link aggregation
280 #endif /* NO_PHYS_NETWORK */
281 pseudo-device ccd 4 # concatenating disk driver
282 #pseudo-device cgd 4 # cryptographic disk driver
283 #pseudo-device raid 8 # RAIDframe disk driver
284 #options RAID_AUTOCONFIG # auto-configuration of RAID components
285 # Options to enable various other RAIDframe RAID types.
286 # options RF_INCLUDE_EVENODD=1
287 # options RF_INCLUDE_RAID5_RS=1
288 # options RF_INCLUDE_PARITYLOGGING=1
289 # options RF_INCLUDE_CHAINDECLUSTER=1
290 # options RF_INCLUDE_INTERDECLUSTER=1
291 # options RF_INCLUDE_PARITY_DECLUSTERING=1
292 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
293 pseudo-device fss 4 # file system snapshot device
294 pseudo-device ipfilter # IP filtering device
295 pseudo-device rnd # /dev/random and in-kernel generator
296 pseudo-device clockctl # user control of clock subsystem
297 #pseudo-device pf # PF packet filter
298 #pseudo-device pflog # PF log if
299 #endif /* !SMALL030_KERNEL */
301 #if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
304 exphy* at mii? phy ? # 3Com internal PHYs
305 inphy* at mii? phy ? # Intel 82555 PHYs
306 iophy* at mii? phy ? # Intel 82553 PHYs
307 ukphy* at mii? phy ? # generic unknown PHYs
309 # PCI network interfaces
310 # If unsure, check the port-atari page for tested cards.
311 ep* at pci? dev ? function ? # 3Com 3c59x
312 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
316 # This is the only tested audio card at the moment.
318 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
321 #endif /* defined(HADES_KERNEL) || defined(MILAN_KERNEL) */
324 # Hardware options for HADES and MILAN are in their machine type specific files
327 #if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
329 pseudo-device view 4 # View (graphics mapping)
330 #if !defined (SMALL030_KERNEL)
331 pseudo-device mouse 1 # mouse
332 #endif /* ! SMALL030_KERNEL */
335 # The following sections describe various hardware options.
337 ncrscsi0 at mainbus0 # NCR5380 SCSI driver
338 zs0 at mainbus0 # Serial support through 8530
339 grfbus0 at mainbus0 # bitmapped display's
340 grfcc0 at grfbus0 # graphics driver
341 ite0 at grfcc0 # console
342 nvr0 at mainbus0 # nvram driver
344 #if !defined(SMALL030_KERNEL)
345 grfcc1 at grfbus0 # 2nd graphics driver
346 ite1 at grfcc1 # 2nd tty
347 grfcc2 at grfbus0 # 3rd graphics driver
348 ite2 at grfcc2 # 3rd tty
349 lp0 at mainbus0 # centronics printer
350 ser0 at mainbus0 # UART on first 68901 (ttyB0)
352 #if defined(TT030_KERNEL)
353 avmebus0 at mainbus0 # VME bus
355 le0 at vme0 irq 5 # Lance ethernet (Riebl/PAM).
356 le0 at vme0 irq 4 # Lance ethernet (BVME410).
357 et0 at vme0 # Crazy Dots II
358 #endif /* TT030_KERNEL */
359 #endif /* SMALL030_KERNEL */
361 #if defined(FALCON_KERNEL)
362 wdc0 at mainbus0 # IDE-bus
363 atabus* at wdc? channel ?
364 wd* at atabus? drive ?
370 cd* at atapibus? drive ? # ATAPI CD-ROM drives
371 #endif /* FALCON_KERNEL */
374 scsibus* at scsi? # SCSI bus
375 sd* at scsibus? target ? lun ? # SCSI disk drives
376 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
377 #if !defined (SMALL030_KERNEL)
378 st* at scsibus? target ? lun ? # SCSI tape drives
379 ch* at scsibus? target ? lun ? # SCSI autochangers
380 ss* at scsibus? target ? lun ? # SCSI scanners
381 se* at scsibus? target ? lun ? # SCSI ethernet
382 uk* at scsibus? target ? lun ? # SCSI unknown
383 #endif /* ! SMALL030_KERNEL */
385 #endif /* TT030_KERNEL || FALCON_KERNEL */