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