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