# $NetBSD: GENERIC,v 1.27 2000/02/22 11:25:58 soda Exp $ # $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $ # # GENERIC -- everything that's currently supported # include "arch/arc/conf/std.arc" #ident "GENERIC-$Revision: 1.27 $" maxusers 32 # estimated number of users # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing #options SHMMAXPGS=1024 # 1024 pages is the default options LKM # loadable kernel modules # Diagnostic/debugging support options options DIAGNOSTIC # cheap kernel consistency checks #options DEBUG # expensive debugging checks/support #options KMEMSTATS # kernel memory statistics (vmstat -m) options DDB # in-kernel debugger #options DDB_HISTORY_SIZE=100 # enable history editing in DDB #options KGDB # remote gdb #options KGDBRATE=19200 # kernel gdb port rate (default 9600) #options KGDBDEV="17*256+0" # device for kernel gdb #makeoptions DEBUG="-g" # compile full symbol table # Compatibility options options COMPAT_10 # NetBSD 1.0, options COMPAT_11 # NetBSD 1.1, options COMPAT_12 # NetBSD 1.2, options COMPAT_13 # NetBSD 1.3, options COMPAT_14 # NetBSD 1.4, options COMPAT_43 # and 4.3BSD options COMPAT_386BSD_MBRPART # recognize old partition ID # mipsel specific options COMPAT_ULTRIX # Ultrix binary compatibility options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format # File systems file-system FFS # fast filesystem file-system EXT2FS # second extended file system (linux) file-system LFS # log-structured file system file-system MFS # memory file system file-system NTFS # Windows/NT file system (experimental) file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system file-system NFS # Network File System client file-system FDESC # /dev/fd file-system KERNFS # /kern file-system NULLFS # loopback file system file-system OVERLAY # overlay file system file-system PORTAL # portal filesystem (still experimental) file-system PROCFS # /proc file-system UMAPFS # NULLFS + uid and gid remapping file-system UNION # union file system #file-system CODA # Coda File System; also needs vcoda (below) # File system options options QUOTA # FFS quotas #options FFS_EI # FFS Endian Independent support #options SOFTDEP # FFS soft updates support. options NFSSERVER # Network File System server #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and # immutable) behave as system flags. # Pull in config fragments for kernel crypto. This is required for # options IPSEC etc. to work. If you want to run with IPSEC, uncomment # one of these, based on whether you use crypto-us or crypto-intl, and # adjust the prefixes as necessary. #prefix ../crypto-us/sys #cinclude "conf/files.crypto-us" #prefix #prefix ../crypto-intl/sys #cinclude "conf/files.crypto-intl" #prefix # Networking options #options GATEWAY # IP packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing options NS # XNS #options NSIP # XNS tunneling over IP options ISO,TPIP # OSI networking options EON # OSI tunneling over IP options CCITT,LLC,HDLC # X.25 options NETATALK # AppleTalk networking protocols options PPP_BSDCOMP # BSD-Compress compression support for PPP options PPP_DEFLATE # Deflate compression support for PPP options PPP_FILTER # Active filter support for PPP (requires bpf) options PFIL_HOOKS # pfil(9) packet filter hooks options IPFILTER_LOG # ipmon(8) log support # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. #options TCP_COMPAT_42 # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! #options EISAVERBOSE # verbose EISA device autoconfig messages #options PCIVERBOSE # verbose PCI device autoconfig messages options SCSIVERBOSE # human readable SCSI error messages # Kernel root file system and dump configuration. options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM config netbsd root on ? type ? #config netbsd root on sd0a type ffs #config netbsd root on ? type nfs # # Device configuration # mainbus0 at root cpu* at mainbus0 #### Pica bus devices pica* at mainbus0 # ACER Pica systems local bus. aclock0 at pica? pc0 at pica? opms0 at pica? com0 at pica? com1 at pica? lpt0 at pica? sn0 at pica? fdc0 at pica? fd* at fdc? drive ? asc0 at pica? scsibus* at asc? #### ISA bus devices isabr* at mainbus0 # ISA Bus bridge (std ISA bus). isa* at isabr? #isadma0 at isa? aclock0 at isa? port 0x70 irq 0 pc0 at isa? port 0x60 irq 1 # generic PC console device com0 at isa? port 0x3f8 irq 4 com1 at isa? port 0x2f8 irq 3 com2 at isa? port 0x3e8 irq 4 com3 at isa? port 0x2e8 irq 3 ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards com* at ast? slave ? # Joystick driver. Probe is a little strange; add only if you have one. #joy0 at isa? port 0x201 # ISA ST506, ESDI, and IDE controllers # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will # fall back to 16bits I/O if 32bits I/O are not functional). # Some controllers pass the initial 32bit test, but will fail later. # XXX - should be configured #wdc0 at isa? port 0x1f0 irq 14 flags 0x00 #wdc1 at isa? port 0x170 irq 15 flags 0x00 #wdc* at isapnp? # IDE drives # Flags are used only with controllers that support DMA operations # and mode settings (e.g. some pciide controllers) # The lowest order four bits (rightmost digit) of the flags define the PIO # mode to use, the next set of four bits the DMA mode and the third set the # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode # to use, and the last bit must be 1 for this setting to be used. # For DMA and UDMA, 0xf (1111) means 'disable'. # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. # (0xc=1100, 0xa=1010, 0xf=1111) # 0x0000 means "use whatever the drive claims to support". # XXX - should be configured #wd* at wdc? channel ? drive ? flags 0x0000 # ATAPI bus support # XXX - should be configured #atapibus* at wdc? channel ? # ATAPI devices # flags have the same meaning as for IDE drives. # XXX - should be configured #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown # ISA parallel printer interfaces lpt0 at isa? port 0x378 irq 7 # ISA network interfaces # XXX - should be configured #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet #ep0 at isa? port ? irq ? # 3C509 ethernet cards #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards #ne1 at isa? port 0x300 irq 10 #ne* at isapnp? # NE[12]000 PnP ethernet #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet #we1 at isa? port 0x300 iomem 0xcc000 irq 10 #we* at isapnp? # XXX - should be configured #btl0 at isa? port 0x330 irq ? drq ? #scsibus* at btl? #### Algor bus devices #algor* at mainbus0 # Algorithmics local bus. #aclock0 at algor? #com0 at algor? #com1 at algor? #lpt0 at algor? #### PCI bus devices #pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge. #pci* at pbcpcibr? #pcivga* at pci? dev ? function ? #ncr* at pci? dev ? function ? #scsibus* at ncr? #de* at pci? dev ? function ? #### SCSI bus devices sd* at scsibus? target ? lun ? st* at scsibus? target ? lun ? cd* at scsibus? target ? lun ? ch* at scsibus? target ? lun ? ss* at scsibus? target ? lun ? uk* at scsibus? target ? lun ? #### Pseudo devices # disk/mass storage pseudo-devices pseudo-device ccd 4 # concatenated/striped disk devices #pseudo-device raid 4 # RAIDframe disk driver pseudo-device md 1 # memory disk device (ramdisk) pseudo-device vnd 4 # disk-like interface to files # network pseudo-devices pseudo-device bpfilter 8 # Berkeley packet filter pseudo-device ipfilter # IP filter (firewall) and NAT pseudo-device loop 1 # network loopback pseudo-device ppp 2 # Point-to-Point Protocol pseudo-device sl 2 # Serial Line IP #pseudo-device strip 2 # Starmode Radio IP (Metricom) pseudo-device tun 2 # network tunneling over tty #pseudo-device gre 2 # generic L3 over IP tunnel pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) #pseudo-device faith 1 # IPv[46] tcp relay translation i/f # miscellaneous pseudo-devices pseudo-device pty 64 # pseudo-terminals pseudo-device tb 1 # tablet line discipline #pseudo-device sequencer 1 # MIDI sequencer # rnd works; RND_COM does not on port arc yet. pseudo-device rnd # /dev/random and in-kernel generator #options RND_COM # use "com" randomness as well (BROKEN) # a pseudo device needed for Coda # also needs CODA (above) #pseudo-device vcoda 4 # coda minicache <-> venus comm. # mouse & keyboard multiplexor pseudo-devices #pseudo-device wsmux 2