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