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