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