MILAN-ISAIDE revision 1.3
11.1Sleo#
21.3Sabs# $NetBSD: MILAN-ISAIDE,v 1.3 2001/07/08 16:34:03 abs Exp $
31.1Sleo#
41.1Sleo# This file was automatically created. Changes will be
51.1Sleo# lost when running makeconf in this directory.
61.1Sleo#
71.1Sleo# Created from: 
81.1Sleo#		NetBSD: MILAN.in,v 1.6 2001/06/07 07:56:57 leo Exp $
91.3Sabs#		NetBSD: GENERIC.in,v 1.4 2001/07/08 16:32:15 abs Exp $
101.1Sleo
111.1Sleo#This configuration file is for a generic Milan
121.1Sleo
131.1Sleo#Generic atari
141.1Sleo
151.1Sleoinclude "arch/atari/conf/std.milan"
161.1Sleo
171.3Sabs#ident  		"GENERIC-$Revision: 1.3 $"
181.1Sleo
191.1Sleo#Add support for about 16 users. This variable is used to size
201.1Sleo#various kernel structures.
211.1Sleo
221.1Sleomaxusers	16
231.1Sleo
241.1Sleooptions 	HZ=64		# Set the clock-rate (48/64/96)
251.1Sleo
261.1Sleo#X11R6 related options
271.1Sleo
281.1Sleooptions 	UCONSOLE	# Allow xconsole to work
291.1Sleo
301.1Sleo#Standard system options
311.1Sleooptions 	INSECURE	# disable kernel security levels
321.1Sleo#options 	NTP		# NTP phase/frequency locked loop
331.1Sleo
341.1Sleo#(Co)processors this kernel should support
351.1Sleo
361.1Sleooptions 	M68040		# support for 040
371.1Sleooptions 	M68060		# support for 060
381.1Sleooptions 	FPSP		# 68040 Floatingpoint support
391.1Sleooptions 	M060SP		# MC68060 software support (Required for 060)
401.1Sleo
411.1Sleo#Networking options
421.1Sleo
431.1Sleooptions 	INET            # IP + ICMP + TCP + UDP
441.1Sleo
451.1Sleooptions 	INET6		# IPV6
461.1Sleo#options 	IPSEC		# IP security
471.1Sleo#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
481.1Sleo#options 	IPSEC_DEBUG	# debug for IP security
491.1Sleo#options 	GATEWAY         # packet forwarding
501.1Sleo#options 	MROUTING        # IP multicast routing
511.1Sleooptions 	NS              # XNS
521.1Sleo#options 	NSIP            # XNS tunneling over IP
531.1Sleooptions 	ISO,TPIP        # OSI
541.1Sleo#options 	EON             # OSI tunneling over IP
551.1Sleooptions 	CCITT,LLC,HDLC  # X.25
561.1Sleooptions 	NETATALK        # AppleTalk networking protocols
571.1Sleo
581.1Sleooptions 	PPP_BSDCOMP     # BSD-Compress compression support for PPP
591.1Sleooptions 	PPP_DEFLATE     # Deflate compression support for PPP
601.1Sleooptions 	PPP_FILTER      # Active filter support for PPP (requires bpf)
611.1Sleo
621.1Sleooptions 	PFIL_HOOKS      # pfil(9) packet filter hooks
631.1Sleooptions 	IPFILTER_LOG    # ipmon(8) log support
641.1Sleo#options 	IPFILTER_DEFAULT_BLOCK	# block packages by default
651.1Sleo
661.3Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
671.3Sabs
681.1Sleo#File systems
691.1Sleofile-system 	FFS		# Berkeley fast file system
701.1Sleofile-system 	MFS		# Memory based filesystem
711.1Sleofile-system 	KERNFS		# Kernel parameter filesystem
721.1Sleofile-system 	MSDOSFS		# MSDOS filesystem
731.1Sleofile-system 	CD9660		# ISO 9660 filesystem with Rock Ridge
741.1Sleo
751.1Sleofile-system 	NFS		# Network File System client side code
761.1Sleofile-system 	PROCFS		# Process filesystem
771.1Sleofile-system 	FDESC		# /dev/fd
781.1Sleofile-system 	NULLFS		# Loopback filesystem
791.1Sleofile-system 	OVERLAY		# overlay filesystem
801.1Sleofile-system 	UNION		# union file system
811.1Sleofile-system 	UMAPFS		# null file system (with uid & gid remapping)
821.1Sleofile-system 	PORTAL		# portal file system
831.1Sleofile-system 	EXT2FS		# second extended file system (linux)
841.1Sleofile-system 	LFS		# log-structured file system
851.1Sleo
861.1Sleo#File system options
871.1Sleooptions 	QUOTA		# Disk quotas for local disks
881.1Sleo#options 	FFS_EI		# FFS Endian Independant support
891.1Sleooptions 	SOFTDEP         # FFS soft updates support.
901.1Sleooptions 	NFSSERVER	# Network File System server side code
911.1Sleo#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
921.3Sabs				# immutable) behave as system flags.
931.1Sleo
941.1Sleo#Misc. debugging options
951.1Sleo
961.1Sleooptions 	PANICWAIT	# Require keystroke to dump/reboot
971.1Sleooptions 	DDB		# Kernel debugger
981.1Sleo
991.1Sleooptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1001.1Sleo#options 	DEBUG		# expensive debugging checks/support
1011.1Sleo
1021.2Swiz#Compatibility options for various existing systems
1031.1Sleo
1041.1Sleooptions 	COMPAT_43	# 4.3 BSD compatible system calls (required)
1051.1Sleooptions 	COMPAT_10	# Compatibility to NetBSD1.0
1061.1Sleooptions 	COMPAT_11	# Compatibility to NetBSD1.1
1071.1Sleooptions 	COMPAT_12	# Compatibility to NetBSD1.2
1081.1Sleooptions 	COMPAT_13	# Compatibility to NetBSD1.3
1091.1Sleooptions 	COMPAT_14	# Compatibility to NetBSD1.4
1101.1Sleo
1111.1Sleo#options 	COMPAT_09	# has no meaning on the atari
1121.1Sleo#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
1131.1Sleo#options 	COMPAT_SVR4	# Support to run SVR4 executables
1141.1Sleo#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
1151.1Sleo#options 	EXEC_ELF32	# 32-bit ELF executables (Linux, SVR4)
1161.3Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1171.1Sleo
1181.1Sleo#Support for System V IPC facilities.
1191.1Sleo
1201.1Sleooptions 	SYSVSHM			# System V shared memory
1211.1Sleooptions 	SYSVMSG			# System V messages
1221.1Sleooptions 	SYSVSEM			# System V semaphores
1231.1Sleo
1241.1Sleo#Support for various kernel options
1251.1Sleo
1261.1Sleooptions 	KTRACE			# Add kernel tracing system call
1271.1Sleooptions 	DIAGNOSTIC		# Add additional error checking code
1281.1Sleo
1291.1Sleo#These options enable verbose messages for several subsystems.
1301.1Sleo#Warning, these may compile large string tables into the kernel!
1311.1Sleo
1321.1Sleooptions 	SCSIVERBOSE		# human readable SCSI error messages
1331.1Sleo
1341.1Sleooptions 	PCIVERBOSE		# verbose PCI device autoconfig messages
1351.1Sleo#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
1361.1Sleo
1371.1Sleo#Atari specific options
1381.1Sleo
1391.1Sleo#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
1401.1Sleooptions 	ST_POOL_SIZE=22		# smallest that allows TT-HIGH
1411.1Sleo
1421.1Sleooptions 	MEMORY_DISK_HOOKS	# Boot RAM-disk
1431.1Sleooptions 	DISKLABEL_NBDA		# NetBSD disklabels (required)
1441.1Sleooptions 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
1451.1Sleo
1461.1Sleooptions 	SERCONSOLE		# modem1 console support
1471.1Sleooptions 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
1481.1Sleooptions 	STATCLOCK		# Separate {stat,prof}clock
1491.1Sleo
1501.1Sleo#Try linked commands on all targets
1511.1Sleooptions 	TRY_SCSI_LINKED_COMMANDS=0x7f
1521.1Sleo
1531.1Sleo#Build one kernel that can boot from any disk.
1541.1Sleo
1551.1Sleoconfig		netbsd root on ? type ?
1561.1Sleo
1571.1Sleopseudo-device	sl			# Slip
1581.1Sleopseudo-device	ppp			# ppp
1591.1Sleopseudo-device	pty			# pseudo-terminals
1601.1Sleopseudo-device	loop			# Loopback network
1611.1Sleopseudo-device	vnd		3	# 3 pseudo disks (see vnconfig)
1621.1Sleopseudo-device	md		2	# Boot memory disk
1631.1Sleo
1641.1Sleopseudo-device	bpfilter	2	# berkeley packet filters
1651.1Sleopseudo-device	tun		2	# network tunnel
1661.1Sleo#pseudo-device	gre		2	# generic L3 over IP tunnel
1671.1Sleopseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
1681.1Sleo#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
1691.1Sleo#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
1701.1Sleopseudo-device	vlan			# IEEE 802.1q encapsulation
1711.1Sleopseudo-device	ccd		4	# concatenating disk driver
1721.1Sleo#pseudo-device	raid		4	# RAIDframe disk driver
1731.1Sleo#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1741.1Sleopseudo-device	ipfilter		# IP filtering device
1751.1Sleopseudo-device	rnd			# /dev/random and in-kernel generator
1761.1Sleo
1771.1Sleo#Hardware options for GENERIC are in the various machine type specific files
1781.1Sleo
1791.1Sleo#For the moment, the MILAN will be the only one to use wscons, so define
1801.1Sleo#the wscons options here too for the moment.
1811.1Sleo#wscons options
1821.1Sleo
1831.1Sleo#builtin terminal emulations
1841.1Sleo#options 	WSEMUL_SUN	# sun terminal emulation
1851.1Sleooptions 	WSEMUL_VT100	# VT100 / VT220 emulation
1861.1Sleo#different kernel output - see dev/wscons/wsdisplayvar.h
1871.1Sleo#XXX: Since the Milan VGA works in monochrome for the moment, _only_
1881.1Sleo#use black and white here!
1891.1Sleooptions 	WS_KERNEL_FG=WSCOL_WHITE
1901.1Sleooptions 	WS_KERNEL_BG=WSCOL_BLACK
1911.1Sleo
1921.1Sleo#compatibility to other console drivers
1931.1Sleo#options 	WSDISPLAY_COMPAT_USL	# VT handling
1941.1Sleo#options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1951.1Sleo
1961.1Sleo#see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1971.1Sleo#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1981.1Sleo#allocate a number of virtual screens at autoconfiguration time
1991.1Sleooptions 	WSDISPLAY_DEFAULTSCREENS=4
2001.1Sleo#use a large software cursor that doesn't blink
2011.1Sleooptions 	PCDISPLAY_SOFTCURSOR
2021.1Sleo#modify the screen type of the console; defaults to "80x25"
2031.1Sleo#options 	VGA_CONSOLE_SCREENTYPE="\"80x25\""
2041.1Sleo
2051.1Sleo#The following sections describe various hardware options.
2061.1Sleo
2071.1Sleoisabus0 	at mainbus0			# ISA-bus
2081.1Sleoisa0 		at isabus0
2091.1Sleopcibus0 	at mainbus0			# PCI-bus
2101.1Sleopci0 		at pcibus0
2111.1Sleoser0 		at mainbus0
2121.1Sleofdcisa0 	at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy contr.
2131.1Sleofdisa0 		at fdcisa0 drive 0
2141.1Sleo
2151.1Sleo#Ok, the stuff below requires some explanation...
2161.1Sleo#Initially, when Atari started with IDE on the Falcon, they decided to
2171.1Sleo#swap the bytelanes on the IDE controller. So all data on the disk was
2181.1Sleo#byteswapped and all CDROM drivers had to byteswap the data to make
2191.1Sleo#this nice idea work... To remain compatible with the 'current' drivers,
2201.1Sleo#this sceme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
2211.1Sleo#however, the change was reverted. But... now the hardware is connected to
2221.1Sleo#a little endian (ISA) bus, in PIO mode this is essentially the same as
2231.1Sleo#swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
2241.1Sleo#provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
2251.3Sabs#on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
2261.1Sleo#developers have thought up a solution, you can make a byteswapped disk
2271.1Sleo#during the partioning with HDDRIVER and TOS supports booting from it!
2281.1Sleo#Ok, now you have to choose:
2291.1Sleo#- If _none_ of your disks are marked byteswapped by HDDRIVER, choose
2301.3Sabs#the 1 version.
2311.1Sleo#- If _all_ of your disks are byteswapped, use the  MILAN_PCIIDE version
2321.1Sleo#The is no way to mix things!
2331.1Sleo
2341.1Sleo#wdc on ISA with flags = WDC_OPTIONS_ATA_NOSTREAM!
2351.1Sleowdc0 		at isa? port 0x1f0 irq 14 flags 0x04	# 1st IDE controller
2361.1Sleowdc1 		at isa? port 0x170 irq 15 flags 0x04	# 2nd IDE controller
2371.1Sleowd* 		at wdc? channel ? drive ?
2381.1Sleoatapibus* 	at wdc?	channel ?			# ATAPI bus support
2391.1Sleo
2401.1Sleo#The Milan uses wscons
2411.1Sleo#XXX without the __HAVE_NWSCONS option, the keyboard won't work...
2421.3Sabs
2431.1Sleooptions 	__HAVE_NWSCONS
2441.1Sleovga0 		at pci? dev ? function ?	# a PCI VGA card
2451.1Sleowsdisplay* 	at vga? console ?		# as a wscons console
2461.1Sleopckbc0 		at isa? 			# PC keyboard controller
2471.1Sleopckbd* 		at pckbc?			# PC keyboard
2481.1Sleowskbd* 		at pckbd? console ?		# wscons keyboard
2491.1Sleo
2501.1Sleo#ATAPI devices
2511.1Sleocd* 		at atapibus? drive ?		# ATAPI CD-ROM drives
252