P2020DS revision 1.3
1#	$NetBSD: P2020DS,v 1.3 2011/06/08 05:03:44 matt Exp $
2#
3#	P2020DS -- everything that's currently supported
4#
5#
6
7include		"arch/evbppc/conf/std.mpc85xx"
8
9options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11ident 		"P2020DS-$Revision: 1.3 $"
12
13maxusers	32
14
15#options 	UVMHIST
16#options 	UVMHIST_PRINT
17
18no options	GUR_BASE
19options 	GUR_BASE=0xffe00000
20
21options 	P2020
22options 	PIXIS
23#options 	SYS_CLK=100000000
24#options 	HZ=1000
25
26makeoptions	NEED_BINARY="yes"
27makeoptions	NEED_UBOOTIMAGE="yes"
28
29#options 	INSECURE	# disable kernel security levels
30#options 	NTP		# NTP phase/frequency locked loop
31options 	KTRACE		# system call tracing via ktrace(1)
32
33options 	SYSVMSG		# System V message queues
34options 	SYSVSEM		# System V semaphores
35options 	SYSVSHM		# System V shared memory
36
37options 	USERCONF	# userconf(4) support
38#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
39#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
40
41# Diagnostic/debugging support options
42options 	DIAGNOSTIC	# cheap kernel consistency checks
43options 	DEBUG		# expensive debugging checks/support
44#options 	SYSCALL_DEBUG	# syscall debugging
45options 	DDB		# in-kernel debugger
46options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
47options 	TRAP_PANICWAIT
48options 	SYMTAB_SPACE=410000	# size for embedded symbol table
49
50makeoptions	DEBUG="-g"	# compile full symbol table
51
52# Compatibility options
53#options 	COMPAT_09	# NetBSD 0.9,
54#options 	COMPAT_10	# NetBSD 1.0,
55#options 	COMPAT_11	# NetBSD 1.1,
56#options 	COMPAT_12	# NetBSD 1.2,
57options 	COMPAT_13	# NetBSD 1.3,
58options 	COMPAT_14	# NetBSD 1.4,
59options 	COMPAT_15	# NetBSD 1.5,
60options 	COMPAT_16	# NetBSD 1.6,
61options 	COMPAT_20	# NetBSD 2.0,
62options 	COMPAT_30	# NetBSD 3.0,
63options 	COMPAT_40	# NetBSD 4.0,
64options 	COMPAT_50	# NetBSD 5.0 compatibility.
65options 	COMPAT_43	# and 4.3BSD
66#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
67#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
68options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
69
70# File systems
71file-system 	FFS		# UFS
72file-system 	EXT2FS		# second extended file system (linux)
73file-system 	LFS		# log-structured file system
74file-system 	MFS		# memory file system
75file-system 	NFS		# Network File System client
76file-system 	CD9660		# ISO 9660 + Rock Ridge file system
77file-system 	MSDOSFS		# MS-DOS file system
78#file-system 	FDESC		# /dev/fd
79file-system 	TMPFS		# efficient memory file system
80file-system 	KERNFS		# /kern
81file-system 	NULLFS		# loopback file system
82#file-system 	OVERLAY		# overlay file system
83#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
84file-system 	PROCFS		# /proc
85#file-system 	UMAPFS		# NULLFS + uid and gid remapping
86#file-system 	UNION		# union file system
87file-system	PTYFS		# /dev/pts/N support
88
89# File system options
90options 	QUOTA		# legacy UFS quotas
91options 	QUOTA2		# new, in-filesystem UFS quotas
92options 	FFS_EI		# FFS Endian Independant support
93options 	WAPBL		# File system journaling support - Experimental
94options 	NFSSERVER	# Network File System server
95#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
96options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
97				# immutable) behave as system flags.
98
99options 	NFS_BOOT_DHCP	# Support DHCP NFS root
100
101# Networking options
102#options 	GATEWAY		# packet forwarding
103options 	INET		# IP + ICMP + TCP + UDP
104options 	INET_CSUM_COUNTERS
105options 	TCP_CSUM_COUNTERS
106options 	UDP_CSUM_COUNTERS
107#options 	INET6		# IPV6
108#options 	IPSEC		# IP security
109#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
110#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
111#options 	IPSEC_DEBUG	# debug for IP security
112#options 	MROUTING	# IP multicast routing
113#options 	PIM		# Protocol Independent Multicast
114#options        DIRECTED_BROADCAST      # allow broadcasts through routers
115#options 	ISO,TPIP	# OSI
116#options 	EON		# OSI tunneling over IP
117#options 	NETATALK	# AppleTalk networking protocols
118#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
119#options 	PPP_DEFLATE	# Deflate compression support for PPP
120#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
121#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
122#options 	IPFILTER_LOG	# ipmon(8) log support
123#options 	IPFILTER_LOOKUP	# ippool(8) support
124#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
125
126# These options enable verbose messages for several subsystems.
127# Warning, these may compile large string tables into the kernel!
128options 	PCIVERBOSE	# verbose PCI device autoconfig messages
129options 	MIIVERBOSE	# verbose PHY autoconfig messages
130#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
131options 	SCSIVERBOSE	# human readable SCSI error messages
132#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
133#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
134
135# wscons options
136#options 	WSEMUL_SUN		# sun terminal emulation
137#options 	WSEMUL_VT100		# VT100 / VT220 emulation
138
139# Kernel root file system and dump configuration.
140config		netbsd		root on ? type ?
141config		nfsnetbsd	root on tsec0 type nfs
142config		netbsd-esata	root on wd1a type ffs
143
144#
145# Device configuration
146#
147
148mainbus0 at root			# Processor Local Bus
149
150cpunode*	at mainbus? node ?
151gpio*		at gpiobus?
152
153cpu*		at cpunode?
154
155obio0		at cpunode?		# On-chip Peripheral Bus
156
157e500wdog*	at cpunode?		# Watchdog timer
158
159duart*		at cpunode?
160com*		at duart? port ?
161options		CONSPEED=115200
162options		CONSADDR="DUART1_BASE"
163
164tsec0		at cpunode? flags 0x001	# Enhanced 3-Speed Ethernet Controller
165tsec1		at cpunode? flags 0x102	# Enhanced 3-Speed Ethernet Controller
166tsec2		at cpunode? flags 0x103 # Enhanced 3-Speed Ethernet Controller
167options 	ETSEC_EVENT_COUNTERS
168
169ehci*		at cpunode?		# usb
170
171diic*		at cpunode?		# i2c bus
172iic*		at diic?
173spdmem* 	at iic0 addr 0x51	# DDR
174dsrtc*		at iic1 addr 0x68	# RTC
175
176pq3pcie*	at cpunode?		# PCI-Express controller
177pq3pci* 	at cpunode?		# PCI(X)
178pci*		at pq3pcie?
179pci*		at pq3pci?
180
181ppb*		at pci? dev ? function ?	# PCI-PCI bridges
182pci*		at ppb?
183
184#ohci1		at pci1 dev 0 function 2
185#ehci1		at pci1 dev 0 function 3
186#ohci*		at pci? dev ? function ?
187#ehci*		at pci? dev ? function ?
188#uhci*		at pci? dev ? function ?
189usb*		at ehci?
190#usb*		at ohci?
191#usb*		at uhci?
192uhub*		at usb?
193umass*		at uhub? port ?
194scsibus*	at umass? channel ?
195sd*		at scsibus? target ? lun ?
196
197#sdhc*		at cpunode?		# sdmmc
198#sdmmc*		at sdhc?		# SD/MMC bus
199#ld*		at sdmmc?
200
201ahcisata*	at pci? dev ? function ?
202atabus0 	at ahcisata? channel 0
203atabus1 	at ahcisata? channel 1
204atabus2 	at ahcisata? channel 2
205atabus3 	at ahcisata? channel 3
206atabus*		at ahcisata? channel ?
207aceride*	at pci? dev ? function ?
208atabus*		at aceride? channel ?
209wd0		at atabus0 drive ?
210wd1		at atabus3 drive ?
211wd*		at atabus? drive ?
212
213#wm*		at pci? dev ? function ?	# Intel Ethernet
214
215#ciphy*		at mii? phy ?			# Cicada PHY
216#inphy*		at mii? phy ?			# Intel 82555 PHYs
217#iophy*		at mii? phy ?			# Intel 82553 PHYs
218#makphy* 	at mii? phy ?			# Marvell PHYs
219ukphy*		at mii? phy ?			# generic unknown PHYs
220
221pseudo-device	loop			# network loopback
222pseudo-device	bpfilter		# packet filter
223pseudo-device	rnd			# /dev/random and in-kernel generator
224pseudo-device	clockctl		# user control of clock subsystem
225pseudo-device	ksyms			# /dev/ksyms
226pseudo-device	pty			# pseudo-terminals
227pseudo-device	kttcp			# kernel ttcp
228pseudo-device	vlan			# 802.1Q VLANs
229