Home | History | Annotate | Line # | Download | only in conf
MILAN-PCIIDE revision 1.6
      1 #
      2 # $NetBSD: MILAN-PCIIDE,v 1.6 2001/11/20 11:30:44 lukem Exp $
      3 #
      4 # This file was automatically created. Changes will be
      5 # lost when running makeconf in this directory.
      6 #
      7 # Created from:
      8 #		NetBSD: MILAN.in,v 1.8 2001/11/20 11:29:41 lukem Exp $
      9 #		NetBSD: GENERIC.in,v 1.10 2001/11/20 11:29:41 lukem Exp $
     10 
     11 #This configuration file is for a generic Milan
     12 
     13 #Generic atari
     14 
     15 include "arch/atari/conf/std.milan"
     16 
     17 #Add support for about 16 users. This variable is used to size
     18 #various kernel structures.
     19 
     20 maxusers	16
     21 
     22 options 	HZ=64		# Set the clock-rate (48/64/96)
     23 
     24 #X11R6 related options
     25 
     26 options 	UCONSOLE	# Allow xconsole to work
     27 
     28 #Standard system options
     29 options 	INSECURE	# disable kernel security levels
     30 #options 	NTP		# NTP phase/frequency locked loop
     31 
     32 #(Co)processors this kernel should support
     33 
     34 options 	M68040		# support for 040
     35 options 	M68060		# support for 060
     36 options 	FPSP		# 68040 Floatingpoint support
     37 options 	M060SP		# MC68060 software support (Required for 060)
     38 
     39 #Networking options
     40 
     41 options 	INET		# IP + ICMP + TCP + UDP
     42 
     43 options 	INET6		# IPV6
     44 #options 	IPSEC		# IP security
     45 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
     46 #options 	IPSEC_DEBUG	# debug for IP security
     47 #options 	GATEWAY		# packet forwarding
     48 #options 	MROUTING	# IP multicast routing
     49 options 	NS		# XNS
     50 #options 	NSIP		# XNS tunneling over IP
     51 options 	ISO,TPIP	# OSI
     52 #options 	EON		# OSI tunneling over IP
     53 options 	CCITT,LLC,HDLC	# X.25
     54 options 	NETATALK	# AppleTalk networking protocols
     55 
     56 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     57 options 	PPP_DEFLATE	# Deflate compression support for PPP
     58 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     59 
     60 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     61 options 	IPFILTER_LOG	# ipmon(8) log support
     62 #options 	IPFILTER_DEFAULT_BLOCK	# block packages by default
     63 
     64 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     65 
     66 #File systems
     67 file-system 	FFS		# Berkeley fast file system
     68 file-system 	MFS		# Memory based filesystem
     69 file-system 	KERNFS		# Kernel parameter filesystem
     70 file-system 	MSDOSFS		# MSDOS filesystem
     71 file-system 	CD9660		# ISO 9660 filesystem with Rock Ridge
     72 
     73 file-system 	NFS		# Network File System client side code
     74 file-system 	PROCFS		# Process filesystem
     75 file-system 	FDESC		# /dev/fd
     76 file-system 	NULLFS		# Loopback filesystem
     77 file-system 	OVERLAY		# overlay filesystem
     78 file-system 	UNION		# union file system
     79 file-system 	UMAPFS		# null file system (with uid & gid remapping)
     80 file-system 	PORTAL		# portal file system
     81 file-system 	EXT2FS		# second extended file system (linux)
     82 file-system 	LFS		# log-structured file system
     83 
     84 #File system options
     85 options 	QUOTA		# Disk quotas for local disks
     86 #options 	FFS_EI		# FFS Endian Independant support
     87 options 	SOFTDEP		# FFS soft updates support.
     88 options 	NFSSERVER	# Network File System server side code
     89 #options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
     90 				# immutable) behave as system flags.
     91 
     92 #Misc. debugging options
     93 
     94 options 	PANICWAIT	# Require keystroke to dump/reboot
     95 options 	DDB		# Kernel debugger
     96 
     97 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
     98 #options 	DEBUG		# expensive debugging checks/support
     99 
    100 #Compatibility options for various existing systems
    101 
    102 options 	COMPAT_43	# 4.3 BSD compatible system calls (required)
    103 options 	COMPAT_10	# Compatibility to NetBSD1.0
    104 options 	COMPAT_11	# Compatibility to NetBSD1.1
    105 options 	COMPAT_12	# Compatibility to NetBSD1.2
    106 options 	COMPAT_13	# Compatibility to NetBSD1.3
    107 options 	COMPAT_14	# Compatibility to NetBSD1.4
    108 
    109 #options 	COMPAT_09	# has no meaning on the atari
    110 #options 	COMPAT_SUNOS	# Support to run Sun-3 executables
    111 #options 	COMPAT_SVR4	# Support to run SVR4 executables
    112 #options 	COMPAT_LINUX	# Support to run Linux/m68k executables
    113 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    114 
    115 options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
    116 options 	EXEC_AOUT	# a.out format executables
    117 
    118 #Support for System V IPC facilities.
    119 
    120 options 	SYSVSHM			# System V shared memory
    121 options 	SYSVMSG			# System V messages
    122 options 	SYSVSEM			# System V semaphores
    123 #options 	SEMMNI=10		# number of semaphore identifiers
    124 #options 	SEMUME=10		# max number of undo entries per proc.
    125 #options 	SEMMNU=30		# number of undo structures in system
    126 
    127 #Support for various kernel options
    128 
    129 options 	KTRACE			# Add kernel tracing system call
    130 options 	DIAGNOSTIC		# Add additional error checking code
    131 
    132 #These options enable verbose messages for several subsystems.
    133 #Warning, these may compile large string tables into the kernel!
    134 
    135 options 	SCSIVERBOSE		# human readable SCSI error messages
    136 
    137 options 	PCIVERBOSE		# verbose PCI device autoconfig messages
    138 #options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
    139 
    140 #Atari specific options
    141 
    142 #options 	KFONT_8x8		# Use 8x8 font instead of 8x16
    143 options 	ST_POOL_SIZE=22		# smallest that allows TT-HIGH
    144 
    145 options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
    146 options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
    147 options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
    148 
    149 options 	SERCONSOLE		# modem1 console support
    150 options 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
    151 options 	STATCLOCK		# Separate {stat,prof}clock
    152 
    153 #Try linked commands on all targets
    154 options 	TRY_SCSI_LINKED_COMMANDS=0x7f
    155 
    156 #Build one kernel that can boot from any disk.
    157 
    158 config		netbsd root on ? type ?
    159 
    160 pseudo-device	sl			# Slip
    161 pseudo-device	ppp			# ppp
    162 pseudo-device	pty			# pseudo-terminals
    163 pseudo-device	loop			# Loopback network
    164 pseudo-device	vnd		3	# 3 pseudo disks (see vnconfig)
    165 pseudo-device	md		2	# Boot memory disk
    166 
    167 pseudo-device	bpfilter	2	# berkeley packet filters
    168 pseudo-device	tun		2	# network tunnel
    169 #pseudo-device	gre		2	# generic L3 over IP tunnel
    170 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    171 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    172 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    173 pseudo-device	vlan			# IEEE 802.1q encapsulation
    174 #pseudo-device	bridge			# simple inter-network bridging
    175 pseudo-device	ccd		4	# concatenating disk driver
    176 #pseudo-device	raid		4	# RAIDframe disk driver
    177 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    178 pseudo-device	ipfilter		# IP filtering device
    179 pseudo-device	rnd			# /dev/random and in-kernel generator
    180 
    181 #Hardware options for GENERIC are in the various machine type specific files
    182 
    183 #For the moment, the MILAN will be the only one to use wscons, so define
    184 #the wscons options here too for the moment.
    185 #wscons options
    186 
    187 #builtin terminal emulations
    188 #options 	WSEMUL_SUN	# sun terminal emulation
    189 options 	WSEMUL_VT100	# VT100 / VT220 emulation
    190 #different kernel output - see dev/wscons/wsdisplayvar.h
    191 #XXX:	Since the Milan VGA works in monochrome for the moment, _only_
    192 #use black and white here!
    193 options 	WS_KERNEL_FG=WSCOL_WHITE
    194 options 	WS_KERNEL_BG=WSCOL_BLACK
    195 
    196 #compatibility to other console drivers
    197 #options 	WSDISPLAY_COMPAT_USL	# VT handling
    198 #options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
    199 
    200 #see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    201 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    202 #allocate a number of virtual screens at autoconfiguration time
    203 options 	WSDISPLAY_DEFAULTSCREENS=4
    204 #use a large software cursor that doesn't blink
    205 options 	PCDISPLAY_SOFTCURSOR
    206 #modify the screen type of the console; defaults to "80x25"
    207 #options 	VGA_CONSOLE_SCREENTYPE="\"80x25\""
    208 
    209 #The following sections describe various hardware options.
    210 
    211 isabus0 	at mainbus0			# ISA-bus
    212 isa0 		at isabus0
    213 pcibus0 	at mainbus0			# PCI-bus
    214 pci0 		at pcibus0
    215 ser0 		at mainbus0
    216 fdcisa0 	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy contr.
    217 fdisa0 		at fdcisa0 drive 0
    218 
    219 #Ok, the stuff below requires some explanation...
    220 #Initially, when Atari started with IDE on the Falcon, they decided to
    221 #swap the bytelanes on the IDE controller. So all data on the disk was
    222 #byteswapped and all CDROM drivers had to byteswap the data to make
    223 #this nice idea work... To remain compatible with the 'current' drivers,
    224 #this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
    225 #however, the change was reverted. But... now the hardware is connected to
    226 #a little endian (ISA) bus, in PIO mode this is essentially the same as
    227 #swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
    228 #provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
    229 #on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
    230 #developers have thought up a solution, you can make a byteswapped disk
    231 #during the partioning with HDDRIVER and TOS supports booting from it!
    232 #Ok, now you have to choose:
    233 #- If _none_ of your disks are marked byteswapped by HDDRIVER, choose
    234 #the MILAN_ISAIDE version.
    235 #- If _all_ of your disks are byteswapped, use the  1 version
    236 #The is no way to mix things!
    237 
    238 pciide* 	at pci? dev ? function ? flags 0x0000	# 2 PCIIDE channels
    239 wd* 		at pciide? channel ? drive ? flags 0x0000
    240 atapibus* 	at pciide? channel ?			# ATAPI bus support
    241 
    242 #The Milan uses wscons
    243 #XXX without the __HAVE_NWSCONS option, the keyboard won't work...
    244 
    245 options 	__HAVE_NWSCONS
    246 vga0 		at pci? dev ? function ?	# a PCI VGA card
    247 wsdisplay* 	at vga? console ?		# as a wscons console
    248 pckbc0 		at isa? 			# PC keyboard controller
    249 pckbd* 		at pckbc?			# PC keyboard
    250 wskbd* 		at pckbd? console ?		# wscons keyboard
    251 
    252 #ATAPI devices
    253 cd* 		at atapibus? drive ?		# ATAPI CD-ROM drives
    254