summaryrefslogtreecommitdiff
path: root/sys/arch/atari/conf/MILAN-PCIIDE
blob: 5278db2d2979cbc9210a1daab01d27000bddb961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
#
# $NetBSD: MILAN-PCIIDE,v 1.30 2003/12/14 01:32:01 thorpej Exp $
#
# This file was automatically created. Changes will be
# lost when running makeconf in this directory.
#
# Created from:
#		NetBSD: MILAN.in,v 1.13 2003/10/08 11:52:50 bouyer Exp $
#		NetBSD: GENERIC.in,v 1.33 2003/09/22 14:11:16 cl Exp $

#This configuration file is for a generic Milan

#Generic atari

include "arch/atari/conf/std.milan"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#Add support for about 16 users. This variable is used to size
#various kernel structures.

maxusers	16

options 	HZ=64		# Set the clock-rate (48/64/96)

#Standard system options
options 	INSECURE	# disable kernel security levels
#options 	NTP		# NTP phase/frequency locked loop

#Enable experimental buffer queue strategy for better responsiveness under 
#high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options 	NEW_BUFQ_STRATEGY

#(Co)processors this kernel should support

options 	M68040		# support for 040
options 	M68060		# support for 060
options 	FPSP		# 68040 Floatingpoint support
options 	M060SP		# MC68060 software support (Required for 060)

#Networking options

options 	INET		# IP + ICMP + TCP + UDP

options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	GATEWAY		# packet forwarding
#options 	MROUTING	# IP multicast routing
options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	CCITT,LLC,HDLC	# X.25

options 	NETATALK	# AppleTalk networking protocols

options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)

options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support
#options  	IPFILTER_DEFAULT_BLOCK	# block packages by default

#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

#File systems
file-system 	FFS		# Berkeley fast file system
file-system 	MFS		# Memory based filesystem
file-system 	KERNFS		# Kernel parameter filesystem
file-system 	MSDOSFS		# MSDOS filesystem
file-system 	CD9660		# ISO 9660 filesystem with Rock Ridge

file-system 	NFS		# Network File System client side code
file-system 	PROCFS		# Process filesystem
file-system 	FDESC		# /dev/fd
file-system 	NULLFS		# Loopback filesystem
file-system 	OVERLAY		# overlay filesystem
file-system 	UNION		# union file system
file-system 	UMAPFS		# null file system (with uid & gid remapping)
file-system 	PORTAL		# portal file system
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system

#File system options
options 	QUOTA		# Disk quotas for local disks
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.
options 	NFSSERVER	# Network File System server side code
#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
				#immutable) behave as system flags.

#Misc. debugging options

options 	PANICWAIT	# Require keystroke to dump/reboot
options 	DDB		# Kernel debugger

options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	DEBUG		# expensive debugging checks/support

#Compatibility options for various existing systems

options 	COMPAT_43	# 4.3 BSD compatible system calls (required)
options 	COMPAT_10	# Compatibility to NetBSD1.0
options 	COMPAT_11	# Compatibility to NetBSD1.1
options 	COMPAT_12	# Compatibility to NetBSD1.2
options 	COMPAT_13	# Compatibility to NetBSD1.3
options 	COMPAT_14	# Compatibility to NetBSD1.4
options 	COMPAT_15	# Compatibility to NetBSD1.5
options 	COMPAT_16	# Compatibility to NetBSD1.6

#options 	COMPAT_09	# has no meaning on the atari
#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
#options 	COMPAT_SVR4	# Support to run SVR4 executables
#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
options 	EXEC_AOUT	# a.out format executables

#Support for System V IPC facilities.

options 	SYSVSHM			# System V shared memory
options 	SYSVMSG			# System V messages
options 	SYSVSEM			# System V semaphores
#options 	SEMMNI=10		# number of semaphore identifiers
#options 	SEMUME=10		# max number of undo entries per proc.
#options 	SEMMNU=30		# number of undo structures in system

#Support for various kernel options

options 	KTRACE			# Add kernel tracing system call
options 	SYSTRACE		# system call vetting via systrace(1)
options 	DIAGNOSTIC		# Add additional error checking code
options 	USERCONF		# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

#These options enable verbose messages for several subsystems.
#Warning, these may compile large string tables into the kernel!

options 	SCSIVERBOSE		# human readable SCSI error messages

options 	MIIVERBOSE		# verbose PHY autoconfig messages
options 	PCIVERBOSE		# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space

#Atari specific options

#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
options 	ST_POOL_SIZE=22		# smallest that allows TT-HIGH

options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels

options 	SERCONSOLE		# modem1 console support
options 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
options 	MSGBUFSIZE=32768        # size of kernel msg. buffer
#options 	STATCLOCK	        # Separate {stat,prof}clock

#Try linked commands on all targets
options 	TRY_SCSI_LINKED_COMMANDS=0x7f

#Build one kernel that can boot from any disk.

config		netbsd root on ? type ?

pseudo-device	sl			# Slip
pseudo-device	ppp			# ppp

pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)

pseudo-device	pty			# pseudo-terminals
pseudo-device	loop			# Loopback network
pseudo-device	vnd		3	# 3 pseudo disks (see vnconfig)
pseudo-device	md		3	# Boot memory disk

pseudo-device	bpfilter	2	# berkeley packet filters
pseudo-device	tun		2	# network tunnel
#pseudo-device	gre		2	# generic L3 over IP tunnel
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation

pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging

pseudo-device	ccd		4	# concatenating disk driver
#pseudo-device	cgd		4	# cryptographic disk driver
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
#Options to enable various other RAIDframe RAID types.
#options	RF_INCLUDE_EVENODD=1
#options	RF_INCLUDE_RAID5_RS=1
#options	RF_INCLUDE_PARITYLOGGING=1
#options	RF_INCLUDE_CHAINDECLUSTER=1
#options	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	ipfilter		# IP filtering device
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem

#MII/PHY support
exphy*	at mii? phy ?			# 3Com internal PHYs
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*	at mii? phy ?			# Intel 82553 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

#PCI network interfaces
#If unsure, check the port-atari page for tested cards.
ep*	at pci? dev ? function ?	# 3Com 3c59x
fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B

#This is the only tested audio card at the moment.

eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
audio*	at eso?

#Hardware options for GENERIC are in the various machine type specific files

#For the moment, the MILAN will be the only one to use wscons, so define
#the wscons options here too for the moment.
#wscons options

#builtin terminal emulations
#options 	WSEMUL_SUN	# sun terminal emulation
options 	WSEMUL_VT100	# VT100 / VT220 emulation
#different kernel output - see dev/wscons/wsdisplayvar.h
#XXX:	Since the Milan VGA works in monochrome for the moment, _only_
#use black and white here!
options 	WS_KERNEL_FG=WSCOL_WHITE
options 	WS_KERNEL_BG=WSCOL_BLACK

#compatibility to other console drivers
#options 	WSDISPLAY_COMPAT_USL	# VT handling
#options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes

#see dev/pckbc/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
#allocate a number of virtual screens at autoconfiguration time
options 	WSDISPLAY_DEFAULTSCREENS=4
#use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
#modify the screen type of the console; defaults to "80x25"
#options 	VGA_CONSOLE_SCREENTYPE="\"80x25\""

#The following sections describe various hardware options.

isab0 		at mainbus0			# ISA-bus
isa0 		at isab0
pcib0 		at mainbus0			# PCI-bus
pci0 		at pcib0
nvr0 		at mainbus0			# nvram driver
ser0 		at mainbus0
fdcisa0 	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy contr.
fdisa0 		at fdcisa0 drive 0

#Ok, the stuff below requires some explanation...
#Initially, when Atari started with IDE on the Falcon, they decided to
#swap the bytelanes on the IDE controller. So all data on the disk was
#byteswapped and all CDROM drivers had to byteswap the data to make
#this nice idea work... To remain compatible with the 'current' drivers,
#this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
#however, the change was reverted. But... now the hardware is connected to
#a little endian (ISA) bus, in PIO mode this is essentially the same as
#swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
#provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
# on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
#developers have thought up a solution, you can make a byteswapped disk
#during the partioning with HDDRIVER and TOS supports booting from it!
#Ok, now you have to choose:
#- If _none_ of your disks are marked byteswapped by HDDRIVER, choose
#the MILAN-ISAIDE version.
#- If _all_ of your disks are byteswapped, use the  MILAN-PCIIDE version
#The is no way to mix things!

pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
acardide*	at pci? dev ? function ?	# Acard IDE controllers
aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
optiide* 	at pci? dev ? function ?	# Opti IDE controllers
piixide* 	at pci? dev ? function ?	# Intel IDE controllers
pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
satalink*	at pci? dev ? function ?	# SiI SATALink controllers
siside* 	at pci? dev ? function ?	# SiS IDE controllers
slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers

atabus*		at ata? channel ?

#The Milan uses wscons
#XXX without the __HAVE_NWSCONS option, the keyboard won't work...
#
options 	__HAVE_NWSCONS
vga0 		at pci? dev ? function ?	# a PCI VGA card
wsdisplay* 	at vga? console ?		# as a wscons console
pckbc0 		at isa? 			# PC keyboard controller
pckbd* 		at pckbc?			# PC keyboard
wskbd* 		at pckbd? console ?		# wscons keyboard

#ATA devices
wd*		at atabus? drive ?
atapibus* 	at atabus?				# ATAPI bus support
#ATAPI devices
cd* 		at atapibus? drive ?		# ATAPI CD-ROM drives