1# $NetBSD: PCCONS,v 1.45 2005/07/30 06:35:35 yamt Exp $ 2# $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $ 3# 4# PCCONS -- generic but pccons rather than wscons 5# 6 7include "arch/arc/conf/std.arc" 8 9#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10 11maxusers 32 # estimated number of users 12 13# Platform support 14options PLATFORM_ACER_PICA_61 # PICA, NEC ImageRISCstation 15options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44 16options PLATFORM_DESKTECH_TYNE # DeskStation Tyne 17options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum 18options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K 19options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA 20options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200 21options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI 22options PLATFORM_NEC_RD94 # NEC RISCstation 2250 23options PLATFORM_SNI_RM200PCI 24 25# Standard system options 26 27options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 28options NTP # NTP phase/frequency locked loop 29 30options KTRACE # system call tracing via ktrace(1) 31 32options SYSVMSG # System V-like message queues 33options SYSVSEM # System V-like semaphores 34options SYSVSHM # System V-like memory sharing 35#options SHMMAXPGS=1024 # 1024 pages is the default 36 37options LKM # loadable kernel modules 38 39options USERCONF # userconf(4) support 40#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 41#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 42 43# Diagnostic/debugging support options 44options DIAGNOSTIC # cheap kernel consistency checks 45#options DEBUG # expensive debugging checks/support 46#options KMEMSTATS # kernel memory statistics (vmstat -m) 47options DDB # in-kernel debugger 48#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 49#options KGDB # remote gdb 50#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 51#options KGDB_DEV="17*256+0" # device for kernel gdb 52#makeoptions DEBUG="-g" # compile full symbol table 53 54# Compatibility options 55#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 56options COMPAT_10 # NetBSD 1.0, 57options COMPAT_11 # NetBSD 1.1, 58options COMPAT_12 # NetBSD 1.2, 59options COMPAT_13 # NetBSD 1.3, 60options COMPAT_14 # NetBSD 1.4, 61options COMPAT_16 # NetBSD 1.6, 62options COMPAT_20 # NetBSD 2.0, 63options COMPAT_43 # and 4.3BSD 64options COMPAT_386BSD_MBRPART # recognize old partition ID 65 66# mipsel specific 67options COMPAT_ULTRIX # Ultrix binary compatibility 68options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 69options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 70 71# File systems 72file-system FFS # fast filesystem 73file-system EXT2FS # second extended file system (linux) 74file-system LFS # log-structured file system 75file-system MFS # memory file system 76file-system NTFS # Windows/NT file system (experimental) 77file-system CD9660 # ISO 9660 + Rock Ridge file system 78file-system MSDOSFS # MS-DOS file system 79file-system NFS # Network File System client 80file-system FDESC # /dev/fd 81file-system KERNFS # /kern 82file-system NULLFS # loopback file system 83file-system OVERLAY # overlay file system 84file-system PORTAL # portal filesystem (still experimental) 85file-system PROCFS # /proc 86file-system UMAPFS # NULLFS + uid and gid remapping 87file-system UNION # union file system 88#file-system CODA # Coda File System; also needs vcoda (below) 89 90# File system options 91options QUOTA # FFS quotas 92#options FFS_EI # FFS Endian Independent support 93options SOFTDEP # FFS soft updates support. 94options NFSSERVER # Network File System server 95#options FFS_NO_SNAPSHOT # ffs snapshots 96#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 97 # immutable) behave as system flags. 98 99# Networking options 100#options GATEWAY # IP packet forwarding 101options INET # IP + ICMP + TCP + UDP 102options INET6 # IPV6 103#options IPSEC # IP security 104#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 105#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 106#options IPSEC_DEBUG # debug for IP security 107#options MROUTING # IP multicast routing 108#options PIM # Protocol Independent Multicast 109options NS # XNS 110#options NSIP # XNS tunneling over IP 111options ISO,TPIP # OSI networking 112#options EON # OSI tunneling over IP 113options CCITT,LLC,HDLC # X.25 114options NETATALK # AppleTalk networking protocols 115options PPP_BSDCOMP # BSD-Compress compression support for PPP 116options PPP_DEFLATE # Deflate compression support for PPP 117options PPP_FILTER # Active filter support for PPP (requires bpf) 118options PFIL_HOOKS # pfil(9) packet filter hooks 119options IPFILTER_LOG # ipmon(8) log support 120#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 121 122# These options enable verbose messages for several subsystems. 123# Warning, these may compile large string tables into the kernel! 124#options EISAVERBOSE # verbose EISA device autoconfig messages 125options PCIVERBOSE # verbose PCI device autoconfig messages 126#options PCI_CONFIG_DUMP # verbosely dump PCI config space 127options SCSIVERBOSE # human readable SCSI error messages 128 129# wscons terminal emulation 130options WSEMUL_VT100 # VT100 emulation 131 132# Kernel root file system and dump configuration. 133options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 134config netbsd root on ? type ? 135#config netbsd root on sd0a type ffs 136#config netbsd root on ? type nfs 137 138# 139# Device configuration 140# 141 142mainbus0 at root 143cpu* at mainbus0 144 145#### Jazz-Internal bus devices 146 147# PLATFORM_ACER_PICA_61 148# PLATFORM_MICROSOFT_JAZZ 149# PLATFORM_NEC_JC94 150# PLATFORM_NEC_R94 151# PLATFORM_NEC_R96 152# PLATFORM_NEC_RAX94 153# PLATFORM_NEC_RD94 154jazzio* at mainbus0 # Jazz-Internal bus host bridge. 155 156timer0 at jazzio? 157mcclock0 at jazzio? 158pc0 at jazzio? 159opms0 at jazzio? 160com0 at jazzio? 161com1 at jazzio? 162lpt0 at jazzio? 163sn0 at jazzio? 164 165fdc0 at jazzio? 166fd* at fdc? drive ? 167 168asc0 at jazzio? # NCR53C9x SCSI 169osiop* at jazzio? flags 0x00000 # NCR53C710 SCSI 170oosiop* at jazzio? # NCR53C700 SCSI 171 172#### ISA bus devices 173 174# PLATFORM_ACER_PICA_61 175# PLATFORM_MICROSOFT_JAZZ 176# PLATFORM_NEC_R94 177# PLATFORM_NEC_R96 178jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge. 179isa* at jazzisabr? 180 181# PLATFORM_DESKTECH_ARCSTATION_I 182arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge. 183isa* at arcsisabr? 184 185# PLATFORM_DESKTECH_TYNE 186tyneisabr* at mainbus0 # DeskStation Tyne ISA host bridge. 187isa* at tyneisabr? 188 189#isadma0 at isa? 190 191isapnp0 at isa? 192 193timer0 at isa? port 0x40 irq 0 194mcclock0 at isa? port 0x70 195 196pc0 at isa? irq 1 # generic PC console device 197opms0 at isa? irq 12 # PS/2 auxiliary port mouse 198#vga0 at isa? 199#pckbc0 at isa? # PC keyboard controller 200com0 at isa? port 0x3f8 irq 4 201com1 at isa? port 0x2f8 irq 3 202com2 at isa? port 0x3e8 irq 4 203com3 at isa? port 0x2e8 irq 3 204ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 205com* at ast? slave ? 206 207# Joystick driver. Probe is a little strange; add only if you have one. 208#joy0 at isa? port 0x201 209 210# ISA ST506, ESDI, and IDE controllers 211# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 212# fall back to 16bits I/O if 32bits I/O are not functional). 213# Some controllers pass the initial 32bit test, but will fail later. 214wdc0 at isa? port 0x1f0 irq 14 flags 0x00 215#wdc1 at isa? port 0x170 irq 15 flags 0x00 216wdc* at isapnp? 217 218# ISA parallel printer interfaces 219lpt0 at isa? port 0x378 irq 7 220 221# ISA network interfaces 222#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 223ep* at isa? port ? irq ? # 3C509 ethernet cards 224ep* at isapnp? # 3c509B ethernet card 225ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 226ne1 at isa? port 0x300 irq 10 227ne* at isapnp? # NE[12]000 PnP ethernet 228we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 229we1 at isa? port 0x300 iomem 0xcc000 irq 10 230 231# XXX - should be configured 232#btl0 at isa? port 0x330 irq ? drq ? 233 234#### PCI bus devices 235 236# PLATFORM_NEC_JC94 237# PLATFORM_NEC_RAX94 238# PLATFORM_NEC_RD94 239necpb* at mainbus0 # NEC RISCstation PCI host bridge. 240pci* at necpb? 241 242#pcivga* at pci? dev ? function ? 243tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 244 245ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 246iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 247pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI 248siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI 249trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI 250 251# PCI IDE controllers - see pciide(4) for supported hardware. 252# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 253# how to set up DMA modes for this chip. This may work, or may cause 254# a machine hang with some controllers. 255pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 256acardide* at pci? dev ? function ? # Acard IDE controllers 257#aceride* at pci? dev ? function ? # Acer Lab IDE controllers 258artsata* at pci? dev ? function ? # Intel i31244 SATA controller 259cmdide* at pci? dev ? function ? # CMD tech IDE controllers 260cypide* at pci? dev ? function ? # Cypress IDE controllers 261hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 262optiide* at pci? dev ? function ? # Opti IDE controllers 263pdcide* at pci? dev ? function ? # Promise IDE controllers 264pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 265satalink* at pci? dev ? function ? # SiI SATALink controllers 266#siside* at pci? dev ? function ? # SiS IDE controllers 267slide* at pci? dev ? function ? # Symphony Labs IDE controllers 268#viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 269 270epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 271ex* at pci? dev ? function ? # 3Com 90x[BC] 272fxp* at pci? dev ? function ? # Intel EtherExpress PRO 273ne* at pci? dev ? function ? # NE2000-compatible 274pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 275rtk* at pci? dev ? function ? # Realtek 8129/8139 276sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 277tlp* at pci? dev ? function ? # DECchip 21x4x and clones 278 279#### MII/PHY support 280 281exphy* at mii? phy ? # 3Com internal PHYs 282icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 283inphy* at mii? phy ? # Intel 82555 PHYs 284iophy* at mii? phy ? # Intel 82553 PHYs 285lxtphy* at mii? phy ? # Level One LXT-970 PHYs 286nsphy* at mii? phy ? # NS83840 PHYs 287nsphyter* at mii? phy ? # NS83843 PHYs 288qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 289sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 290tlphy* at mii? phy ? # ThunderLAN PHYs 291tqphy* at mii? phy ? # TDK Semiconductor PHYs 292ukphy* at mii? phy ? # generic unknown PHYs 293 294# SCSI bus support 295scsibus* at scsi? 296 297#### SCSI bus devices 298 299sd* at scsibus? target ? lun ? 300st* at scsibus? target ? lun ? 301cd* at scsibus? target ? lun ? 302ch* at scsibus? target ? lun ? 303ss* at scsibus? target ? lun ? 304uk* at scsibus? target ? lun ? 305 306# ATA (IDE) bus support 307atabus* at ata? 308 309# IDE drives 310# Flags are used only with controllers that support DMA operations 311# and mode settings (e.g. some pciide controllers) 312# The lowest order four bits (rightmost digit) of the flags define the PIO 313# mode to use, the next set of four bits the DMA mode and the third set the 314# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 315# to use, and the last bit must be 1 for this setting to be used. 316# For DMA and UDMA, 0xf (1111) means 'disable'. 317# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 318# (0xc=1100, 0xa=1010, 0xf=1111) 319# 0x0000 means "use whatever the drive claims to support". 320wd* at atabus? drive ? flags 0x0000 321 322# ATAPI bus support 323atapibus* at atapi? 324 325#### ATAPI bus devices 326 327# flags have the same meaning as for IDE drives. 328cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 329sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 330uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 331 332#### Workstation Console attachments 333 334wsdisplay* at tga? 335 336#### Pseudo devices 337 338# disk/mass storage pseudo-devices 339pseudo-device ccd 4 # concatenated/striped disk devices 340#pseudo-device raid 4 # RAIDframe disk driver 341#pseudo-device fss 4 # file system snapshot device 342pseudo-device md 1 # memory disk device (ramdisk) 343pseudo-device vnd 4 # disk-like interface to files 344 345# network pseudo-devices 346pseudo-device bpfilter 8 # Berkeley packet filter 347pseudo-device ipfilter # IP filter (firewall) and NAT 348pseudo-device loop 1 # network loopback 349pseudo-device ppp 2 # Point-to-Point Protocol 350pseudo-device sl 2 # Serial Line IP 351#pseudo-device strip 2 # Starmode Radio IP (Metricom) 352pseudo-device tun 2 # network tunneling over tty 353#pseudo-device gre 2 # generic L3 over IP tunnel 354pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 355#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 356#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 357pseudo-device vlan # IEEE 802.1q encapsulation 358 359# miscellaneous pseudo-devices 360pseudo-device pty # pseudo-terminals 361pseudo-device tb 1 # tablet line discipline 362#pseudo-device sequencer 1 # MIDI sequencer 363# rnd works; RND_COM does not on port arc yet. 364pseudo-device rnd # /dev/random and in-kernel generator 365#options RND_COM # use "com" randomness as well (BROKEN) 366pseudo-device clockctl # user control of clock subsystem 367 368# a pseudo device needed for Coda # also needs CODA (above) 369#pseudo-device vcoda 4 # coda minicache <-> venus comm. 370 371# mouse & keyboard multiplexor pseudo-devices 372#pseudo-device wsmux 373 374options VMSWAP # Swap device/file support 375