1# $NetBSD: CP3100,v 1.19 2010/11/23 11:13:56 hannken Exp $ 2# 3# CP3100 -- Certance CP3100 Kernel 4# 5 6include "arch/evbarm/conf/std.cp3100" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17options NTP # NTP phase/frequency locked loop 18 19# CPU options 20 21# For XScale systems 22options CPU_XSCALE_80321 # Support the XScale core 23makeoptions CPUFLAGS="-mcpu=xscale" 24 25# Architecture options 26options XSCALE_CACHE_READ_WRITE_ALLOCATE 27#options HZ=512 28 29# File systems 30 31file-system FFS # UFS 32file-system LFS # log-structured file system 33file-system MFS # memory file system 34file-system NFS # Network file system 35#file-system ADOSFS # AmigaDOS-compatible file system 36#file-system EXT2FS # second extended file system (linux) 37#file-system CD9660 # ISO 9660 + Rock Ridge file system 38#file-system MSDOSFS # MS-DOS file system 39file-system FDESC # /dev/fd 40file-system KERNFS # /kern 41file-system NULLFS # loopback file system 42file-system PROCFS # /proc 43#file-system UMAPFS # NULLFS + uid and gid remapping 44#file-system UNION # union file system 45file-system PTYFS # /dev/pts/N support 46 47# File system options 48#options QUOTA # UFS quotas 49#options FFS_EI # FFS Endian Independant support 50options NFSSERVER 51options WAPBL # File system journaling support - Experimental 52#options FFS_NO_SNAPSHOT # No FFS snapshot support 53 54# Networking options 55 56options GATEWAY # packet forwarding 57options INET # IP + ICMP + TCP + UDP 58options INET6 # IPV6 59#options IPSEC # IP security 60#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 61#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 62#options IPSEC_DEBUG # debug for IP security 63#options MROUTING # IP multicast routing 64#options PIM # Protocol Independent Multicast 65#options NS # XNS 66#options NSIP # XNS tunneling over IP 67#options ISO,TPIP # OSI 68#options EON # OSI tunneling over IP 69#options CCITT,LLC,HDLC # X.25 70#options NETATALK # AppleTalk networking 71#options PFIL_HOOKS # pfil(9) packet filter hooks 72#options PPP_BSDCOMP # BSD-Compress compression support for PPP 73#options PPP_DEFLATE # Deflate compression support for PPP 74#options PPP_FILTER # Active filter support for PPP (requires bpf) 75options IPFILTER_LOG # ipmon(8) log support 76options IPFILTER_LOOKUP # ippool(8) support 77#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 78 79options NFS_BOOT_BOOTP 80options NFS_BOOT_DHCP 81#options NFS_BOOT_BOOTPARAM 82 83# Compatibility options 84 85#options COMPAT_43 # 4.3BSD compatibility. 86options COMPAT_50 # NetBSD 5.0 compatibility. 87#options COMPAT_40 # NetBSD 4.0 compatibility. 88#options COMPAT_30 # NetBSD 3.0 compatibility. 89#options COMPAT_20 # NetBSD 2.0 compatibility. 90#options COMPAT_16 # NetBSD 1.6 compatibility. 91#options COMPAT_15 # NetBSD 1.5 compatibility. 92#options COMPAT_14 # NetBSD 1.4 compatibility. 93#options COMPAT_13 # NetBSD 1.3 compatibility. 94#options COMPAT_12 # NetBSD 1.2 compatibility. 95#options COMPAT_11 # NetBSD 1.1 compatibility. 96#options COMPAT_10 # NetBSD 1.0 compatibility. 97#options COMPAT_09 # NetBSD 0.9 compatibility. 98#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 99options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 100 101# Shared memory options 102 103options SYSVMSG # System V-like message queues 104options SYSVSEM # System V-like semaphores 105#options SEMMNI=10 # number of semaphore identifiers 106#options SEMMNS=60 # number of semaphores in system 107#options SEMUME=10 # max number of undo entries per process 108#options SEMMNU=30 # number of undo structures in system 109options SYSVSHM # System V-like memory sharing 110options P1003_1B_SEMAPHORE # p1003.1b semaphore support 111 112# Device options 113 114#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 115#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 116#options MEMORY_DISK_IS_ROOT # use memory disk as root 117 118# Console options. The default console is speed is 115200 baud. 119options CONSPEED=115200 # Console speed 120 121# Miscellaneous kernel options 122options KTRACE # system call tracing, a la ktrace(1) 123options IRQSTATS # manage IRQ statistics 124#options KMEMSTATS # kernel memory statistics 125#options SCSIVERBOSE # Verbose SCSI errors 126#options PCIVERBOSE # Verbose PCI descriptions 127#options MIIVERBOSE # Verbose MII autoconfuration messages 128#options PCI_CONFIG_DUMP # verbosely dump PCI config space 129#options DDB_KEYCODE=0x40 130options USERCONF # userconf(4) support 131#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 132#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 133 134# Development and Debugging options 135 136options PERFCTRS # performance counters 137options DIAGNOSTIC # internally consistency checks 138#options DEBUG 139#options PMAP_DEBUG # Enable pmap_debug_level code 140#options VERBOSE_INIT_ARM # verbose bootstraping messages 141options DDB # in-kernel debugger 142options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 143#makeoptions DEBUG="-g" # compile full symbol table 144options SYMTAB_SPACE=370000 145 146config netbsd root on ? type ? 147config netbsd-wm0 root on wm0 type nfs 148config netbsd-wd0 root on wd0a type ffs 149config netbsd-sd0 root on sd0a type ffs 150 151# The main bus device 152mainbus0 at root 153 154# The boot CPU 155cpu0 at mainbus? 156 157# On-board device support 158obio* at mainbus? 159 160# Console UART. 161# Note: "xint 4" is actually the HPI# pin 162com0 at obio? addr 0xfe800000 xint 4 163 164# i80321 I/O Processor peripheral support 165iopxs* at mainbus? 166 167iopaau* at iopxs? # Application Accelerator Unit 168iopiic* at iopxs? # I2C Controller Unit(s) 169iic0 at iopiic? 170iic1 at iopiic? 171iopwdog* at iopxs? # Watchdog timer 172pci0 at iopxs? bus ? # PCI/PCI-X support 173 174# IIC Devices 175m41trtc0 at iic1 addr 0x68 # M41T11 Realtime Clock 176 177# 178# Storage devices 179# 180 181# Serial ATA: i31244 182artsata* at pci? dev ? function ? # Intel i31244 SATA controller 183atabus* at ata? 184 185# ATA Disks 186wd* at atabus? drive ? flags 0x0000 187 188# SCSI: Symbios Logic 53c1010 189# 190# Wire down the Target/Host instances. Disable the target contoller for 191# now as we don't currently support SCSI target mode. 192siop0 at pci0 dev 2 function 1 # Host controller 193#siop1 at pci0 dev 2 function 0 # Target controller 194scsibus* at scsi? 195 196# SCSI Devices 197sd* at scsibus? target ? lun ? # SCSI disk drives 198st* at scsibus? target ? lun ? # SCSI tape drives 199cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 200ch* at scsibus? target ? lun ? # SCSI autochangers 201ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 202ss* at scsibus? target ? lun ? # SCSI Scanners 203uk* at scsibus? target ? lun ? # SCSI unknown 204 205# 206# Networking devices 207# 208 209# PCI network devices 210wm* at pci? dev ? function ? # Intel i82546EB Gig-E 211 212# MII/PHY support 213makphy* at mii? phy ? # Marvell 88E1000 PHYs 214 215# Pseudo-Devices 216 217# disk/mass storage pseudo-devices 218pseudo-device ccd 4 # concatenated/striped disk devices 219#pseudo-device cgd 4 # cryptographic disk devices 220pseudo-device raid 8 # RAIDframe disk driver 221options RAID_AUTOCONFIG # auto-configuration of RAID components 222# Options to enable various other RAIDframe RAID types. 223#options RF_INCLUDE_EVENODD=1 224#options RF_INCLUDE_RAID5_RS=1 225#options RF_INCLUDE_PARITYLOGGING=1 226#options RF_INCLUDE_CHAINDECLUSTER=1 227#options RF_INCLUDE_INTERDECLUSTER=1 228#options RF_INCLUDE_PARITY_DECLUSTERING=1 229#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 230#pseudo-device fss # file system snapshot device 231 232#pseudo-device md # memory disk device (ramdisk) 233pseudo-device vnd # disk-like interface to files 234options VND_COMPRESSION # compressed vnd(4) 235 236# network pseudo-devices 237pseudo-device bpfilter # Berkeley packet filter 238pseudo-device ipfilter # IP filter (firewall) and NAT 239pseudo-device loop # network loopback 240#pseudo-device tun # network tunneling over tty 241#pseudo-device vlan # IEEE 802.1q encapsulation 242#pseudo-device bridge # simple inter-network bridging 243 244# miscellaneous pseudo-devices 245pseudo-device pty # pseudo-terminals 246pseudo-device rnd # /dev/random and in-kernel generator 247pseudo-device clockctl # user control of clock subsystem 248pseudo-device ksyms # /dev/ksyms 249 250# data mover pseudo-devices 251#pseudo-device swdmover # softare dmover(9) back-end 252#pseudo-device dmoverio # /dev/dmover dmover(9) interface 253