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