RPC44 revision 1.44
1# $NetBSD: RPC44,v 1.44 2013/04/27 18:19:26 christos Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/arc/conf/std.arc" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.44 $" 26 27maxusers 32 # estimated number of users 28 29# Platform support 30options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44 31 32# Standard system options 33 34options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 35options NTP # NTP phase/frequency locked loop 36 37options KTRACE # system call tracing via ktrace(1) 38 39options SYSVMSG # System V-like message queues 40options SYSVSEM # System V-like semaphores 41#options SEMMNI=10 # number of semaphore identifiers 42#options SEMMNS=60 # number of semaphores in system 43#options SEMUME=10 # max number of undo entries per process 44#options SEMMNU=30 # number of undo structures in system 45options SYSVSHM # System V-like memory sharing 46 47options USERCONF # userconf(4) support 48#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 49options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 50 51# Enable experimental buffer queue strategy for better responsiveness under 52# high disk I/O load. Use it with caution - it's not proven to be stable yet. 53#options BUFQ_READPRIO 54#options BUFQ_PRIOCSCAN 55 56# Diagnostic/debugging support options 57options DIAGNOSTIC # cheap kernel consistency checks 58#options DEBUG # expensive debugging checks/support 59#options KMEMSTATS # kernel memory statistics (vmstat -m) 60options DDB # in-kernel debugger 61#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 62#options KGDB # remote gdb 63#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 64#options KGDB_DEV="17*256+0" # device for kernel gdb 65#makeoptions DEBUG="-g" # compile full symbol table 66 67# Compatibility options 68#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 69options COMPAT_10 # NetBSD 1.0, 70options COMPAT_11 # NetBSD 1.1, 71options COMPAT_12 # NetBSD 1.2, 72options COMPAT_13 # NetBSD 1.3, 73options COMPAT_14 # NetBSD 1.4, 74options COMPAT_15 # NetBSD 1.5, 75options COMPAT_16 # NetBSD 1.6, 76options COMPAT_20 # NetBSD 2.0, 77options COMPAT_30 # NetBSD 3.0, 78options COMPAT_40 # NetBSD 4.0 compatibility. 79options COMPAT_43 # and 4.3BSD 80options COMPAT_386BSD_MBRPART # recognize old partition ID 81 82# mipsel specific 83options COMPAT_ULTRIX # Ultrix binary compatibility 84options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 85options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 86 87# File systems 88file-system FFS # fast filesystem 89#file-system EXT2FS # second extended file system (linux) 90#file-system LFS # log-structured file system 91#file-system MFS # memory file system 92#file-system NTFS # Windows/NT file system (experimental) 93file-system CD9660 # ISO 9660 + Rock Ridge file system 94file-system MSDOSFS # MS-DOS file system 95file-system NFS # Network File System client 96file-system FDESC # /dev/fd 97file-system KERNFS # /kern 98file-system NULLFS # loopback file system 99file-system OVERLAY # overlay file system 100file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 101file-system PROCFS # /proc 102file-system UMAPFS # NULLFS + uid and gid remapping 103file-system UNION # union file system 104#file-system CODA # Coda File System; also needs vcoda (below) 105file-system PTYFS # /dev/pts/N support 106 107# File system options 108options QUOTA # legacy UFS quotas 109options QUOTA2 # new, in-filesystem UFS quotas 110#options FFS_EI # FFS Endian Independent support 111options NFSSERVER # Network File System server 112#options FFS_NO_SNAPSHOT # No FFS snapshot support 113#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 114 # immutable) behave as system flags. 115 116# Networking options 117#options GATEWAY # IP packet forwarding 118options INET # IP + ICMP + TCP + UDP 119#options INET6 # IPV6 120#options IPSEC # IP security 121#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 122#options IPSEC_DEBUG # debug for IP security 123#options MROUTING # IP multicast routing 124#options PIM # Protocol Independent Multicast 125#options NETATALK # AppleTalk networking protocols 126#options PPP_BSDCOMP # BSD-Compress compression support for PPP 127#options PPP_DEFLATE # Deflate compression support for PPP 128#options PPP_FILTER # Active filter support for PPP (requires bpf) 129#options PFIL_HOOKS # pfil(9) packet filter hooks 130#options IPFILTER_LOG # ipmon(8) log support 131#options IPFILTER_LOOKUP # ippool(8) support 132##options IPFILTER_DEFAULT_BLOCK # block all packets by default 133#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 134 135# These options enable verbose messages for several subsystems. 136# Warning, these may compile large string tables into the kernel! 137options EISAVERBOSE # verbose EISA device autoconfig messages 138#options PCIVERBOSE # verbose PCI device autoconfig messages 139#options PCI_CONFIG_DUMP # verbosely dump PCI config space 140options SCSIVERBOSE # human readable SCSI error messages 141 142# wscons terminal emulation 143options WSEMUL_VT100 # VT100 emulation 144options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 145 146# Kernel root file system and dump configuration. 147options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 148config netbsd root on ? type ? 149#config netbsd root on sd0a type ffs 150#config netbsd root on ? type nfs 151 152# 153# Device configuration 154# 155 156mainbus0 at root 157cpu* at mainbus0 158 159# PLATFORM_DESKTECH_ARCSTATION_I 160arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge. 161isa* at arcsisabr? 162#isadma0 at isa? # bogus? 163timer0 at isa? port 0x40 irq 0 164mcclock0 at isa? port 0x70 165pc0 at isa? irq 1 # generic PC console device 166opms0 at isa? irq 12 # PS/2 auxiliary port mouse 167vga0 at isa? 168pckbc0 at isa? # PC keyboard controller 169com0 at isa? port 0x3f8 irq 4 170com1 at isa? port 0x2f8 irq 3 171com2 at isa? port 0x3e8 irq 4 172com3 at isa? port 0x2e8 irq 3 173#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 174#ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 175#com* at ast? slave ? 176 177# Joystick driver. Probe is a little strange; add only if you have one. 178#joy0 at isa? port 0x201 179 180# ISA ST506, ESDI, and IDE controllers 181# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 182# fall back to 16bits I/O if 32bits I/O are not functional). 183# Some controllers pass the initial 32bit test, but will fail later. 184# XXX - should be configured 185wdc0 at isa? port 0x1f0 irq 14 flags 0x00 186#wdc1 at isa? port 0x170 irq 15 flags 0x00 187#wdc* at isapnp? 188 189# ISA parallel printer interfaces 190lpt0 at isa? port 0x378 irq 7 191 192# ISA network interfaces 193# XXX - should be configured 194#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 195ep0 at isa? port ? irq ? # 3C509 ethernet cards 196ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 197#ne1 at isa? port 0x300 irq 10 198#ne* at isapnp? # NE[12]000 PnP ethernet 199we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 200#we1 at isa? port 0x300 iomem 0xcc000 irq 10 201 202# XXX - should be configured 203#btl0 at isa? port 0x330 irq ? drq ? 204 205#### SCSI bus support 206#scsibus* at scsi? 207 208#### SCSI bus devices 209 210#sd* at scsibus? target ? lun ? 211#st* at scsibus? target ? lun ? 212#cd* at scsibus? target ? lun ? 213#ch* at scsibus? target ? lun ? 214#ss* at scsibus? target ? lun ? 215#uk* at scsibus? target ? lun ? 216 217# ATA (IDE) bus support 218atabus* at wdc? channel ? 219 220# IDE drives 221# Flags are used only with controllers that support DMA operations 222# and mode settings (e.g. some pciide controllers) 223# The lowest order four bits (rightmost digit) of the flags define the PIO 224# mode to use, the next set of four bits the DMA mode and the third set the 225# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 226# to use, and the last bit must be 1 for this setting to be used. 227# For DMA and UDMA, 0xf (1111) means 'disable'. 228# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 229# (0xc=1100, 0xa=1010, 0xf=1111) 230# 0x0000 means "use whatever the drive claims to support". 231# XXX - should be configured 232wd* at atabus? drive ? flags 0x0000 233 234#### ATAPI bus support 235# XXX - should be configured 236#atapibus* at atabus? 237 238#### ATAPI bus devices 239 240# flags have the same meaning as for IDE drives. 241#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 242#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 243#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 244 245#### Workstation Console attachments 246 247wsdisplay* at vga? 248#wsdisplay* at tga? 249pckbd* at pckbc? # PC keyboard (kbd port) 250wskbd* at pckbd? 251pms* at pckbc? # PS/2-style mouse (aux port) 252wsmouse* at pms? 253 254#### Pseudo devices 255 256# disk/mass storage pseudo-devices 257#pseudo-device ccd # concatenated/striped disk devices 258#pseudo-device cgd # cryptographic disk devices 259#pseudo-device raid 8 # RAIDframe disk driver 260# Options to enable various other RAIDframe RAID types. 261#options RF_INCLUDE_EVENODD=1 262#options RF_INCLUDE_RAID5_RS=1 263#options RF_INCLUDE_PARITYLOGGING=1 264#options RF_INCLUDE_CHAINDECLUSTER=1 265#options RF_INCLUDE_INTERDECLUSTER=1 266#options RF_INCLUDE_PARITY_DECLUSTERING=1 267#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 268#pseudo-device fss # file system snapshot device 269pseudo-device md # memory disk device (ramdisk) 270pseudo-device vnd # disk-like interface to files 271pseudo-device putter # for puffs and pud 272 273# network pseudo-devices 274pseudo-device bpfilter # Berkeley packet filter 275#pseudo-device ipfilter # IP filter (firewall) and NAT 276pseudo-device loop # network loopback 277#pseudo-device ppp # Point-to-Point Protocol 278#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 279#pseudo-device sl # Serial Line IP 280#pseudo-device strip # Starmode Radio IP (Metricom) 281pseudo-device tun # network tunneling over tty 282#pseudo-device tap # virtual Ethernet 283#pseudo-device gre # generic L3 over IP tunnel 284#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 285#pseudo-device faith # IPv[46] tcp relay translation i/f 286#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 287#pseudo-device vlan # IEEE 802.1q encapsulation 288#pseudo-device bridge # simple inter-network bridging 289 290# miscellaneous pseudo-devices 291pseudo-device pty # pseudo-terminals 292#pseudo-device sequencer 1 # MIDI sequencer 293# rnd works; RND_COM does not on port arc yet. 294#options RND_COM # use "com" randomness as well (BROKEN) 295pseudo-device clockctl # user control of clock subsystem 296 297# a pseudo device needed for Coda # also needs CODA (above) 298#pseudo-device vcoda 4 # coda minicache <-> venus comm. 299 300# mouse & keyboard multiplexor pseudo-devices 301pseudo-device wsmux 302