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