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