Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.23
      1 #	$NetBSD: GENERIC,v 1.23 2000/01/23 21:01:52 soda Exp $
      2 #	$OpenBSD: GENERIC,v 1.17 1997/05/18 13:45:23 pefo Exp $
      3 #
      4 #	Generic configuration file for MIPS R4x00 ARC Systems
      5 #
      6 
      7 include		"arch/arc/conf/std.arc"
      8 
      9 maxusers	32
     10 
     11 # Need to set locally
     12 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     13 
     14 # Standard system options
     15 options 	KTRACE		# system call tracing support
     16 #options 	LKM		# Loadable Kernel Modules
     17 #options 	NTP		# NTP phase/frequency locked loop
     18 
     19 # Diagnostic/debugging support options
     20 options 	DIAGNOSTIC	# extra kernel debugging checks
     21 options 	DEBUG		# extra kernel debugging support
     22 
     23 # System V options
     24 options 	SYSVMSG		# System V-like message queues
     25 options 	SYSVSEM		# System V-like semaphores
     26 options 	SYSVSHM		# System V-like memory sharing
     27 options 	SHMMAXPGS=1024	# 1024 pages is the default
     28 
     29 # Filesystem options
     30 file-system 	FFS		# fast filesystem
     31 file-system 	MFS		# memory-based filesystem
     32 #file-system	LFS		# Log-based filesystem (still experimental)
     33 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     34 file-system 	MSDOSFS		# Ability to read write MS-Dos filsystem
     35 file-system 	NFS		# Sun NFS-compatible filesystem (client)
     36 file-system 	KERNFS		# kernel data-structure filesystem
     37 file-system	PROCFS		# /proc
     38 file-system 	FDESC		# user file descriptor filesystem
     39 #file-system	UMAPFS		# uid/gid remapping filesystem
     40 #file-system	UNION		# union file system
     41 #file-system	NULLFS		# null layer filesystem
     42 #file-system 	OVERLAY		# overlay file system
     43 #file-system	PORTAL		# portal filesystem (still experimental)
     44 
     45 options 	QUOTA		# FFS quotas
     46 #options 	FFS_EI		# FFS Endian Independant support
     47 #options 	SOFTDEP         # FFS soft updates support.
     48 options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
     49 
     50 #options 	SCSIVERBOSE	# Verbose SCSI errors
     51 
     52 # Pull in config fragments for kernel crypto.  This is required for
     53 # options IPSEC etc. to work. If you want to run with IPSEC, uncomment
     54 # one of these, based on whether you use crypto-us or crypto-intl, and
     55 # adjust the prefixes as necessary.
     56 
     57 #prefix ../crypto-us/sys
     58 #cinclude "conf/files.crypto-us"
     59 #prefix
     60 
     61 #prefix ../crypto-intl/sys
     62 #cinclude "conf/files.crypto-intl"
     63 #prefix
     64 
     65 # Networking options
     66 #options 	GATEWAY		# IP packet forwarding
     67 options 	INET		# Internet protocols
     68 #options 	INET6		# IPV6
     69 #options 	IPSEC		# IP security
     70 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
     71 #options 	IPSEC_DEBUG	# debug for IP security
     72 #options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
     73 #options 	MULTICAST	# Multicast support
     74 #options 	MROUTING	# Multicast routing support
     75 #options 	NS		# XNS
     76 #options 	IPX		# IPX+SPX
     77 #options 	ISO,TPIP	# OSI networking
     78 #options 	EON		# OSI tunneling over IP
     79 #options 	CCITT,LLC,HDLC	# X.25
     80 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
     81 
     82 # Compatibilitry modules
     83 options 	COMPAT_43	# compatibility with 4.3BSD binaries
     84 options 	COMPAT_11
     85 options 	COMPAT_12
     86 options 	COMPAT_13
     87 options 	COMPAT_14
     88 #options 	COMPAT_ULTRIX	# Ultrix binary compatibility (no go yet)
     89 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     90 
     91 options 	"NKMEMCLUSTERS=1024"	# 4K pages in kernel malloc pool
     92 #options 	KGDB			# support for kernel gdb
     93 #options 	"KGDBRATE=19200"	# kernel gdb port rate (default 9600)
     94 #options 	"KGDBDEV=15*256+0"	# device for kernel gdb
     95 
     96 # Special options
     97 options 	MACHINE_NONCONTIG # Support noncontigous memory.
     98 
     99 options 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
    100 
    101 config		netbsd root on ? type ?
    102 
    103 #
    104 # Definition of system
    105 #
    106 mainbus0	at root
    107 cpu*		at mainbus0
    108 
    109 #### Main local buses
    110 
    111 pica*		at mainbus0	# ACER Pica systems local bus.
    112 isabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
    113 
    114 #### PICA bus devices
    115 
    116 aclock0		at pica?
    117 pc0		at pica?
    118 opms0		at pica?
    119 com0		at pica?
    120 com1		at pica?
    121 lpt0		at pica?
    122 sn0		at pica?
    123 
    124 fdc0		at pica?
    125 fd*		at fdc? drive ?
    126 
    127 asc0		at pica?
    128 scsibus* 	at asc?
    129 
    130 #### ISA Bus.
    131 
    132 isa*		at isabr?
    133 
    134 aclock0		at isa? port 0x70 irq 0
    135 
    136 pc0    		at isa? port 0x60 irq 1         # generic PC console device
    137 com0		at isa? port 0x3f8 irq 4
    138 com1		at isa? port 0x2f8 irq 3
    139 com2		at isa? port 0x3e8 irq 4
    140 com3		at isa? port 0x2e8 irq 3
    141 
    142 # ISA ST506, ESDI, and IDE controllers
    143 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
    144 # fall back to 16bits I/O if 32bits I/O are not functional).
    145 # Some controllers pass the initial 32bit test, but will fail later.
    146 # XXX - should be configured
    147 #wdc0	at isa? port 0x1f0 irq 14 flags 0x00
    148 ##wdc1	at isa? port 0x170 irq 15 flags 0x00
    149 
    150 # IDE drives
    151 # Flags are used only with controllers that support DMA operations
    152 # and mode settings (e.g. some pciide controllers)
    153 # The lowest order four bits (rightmost digit) of the flags define the PIO
    154 # mode to use, the next set of four bits the DMA mode and the third set the
    155 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    156 # to use, and the last bit must be 1 for this setting to be used.
    157 # For DMA and UDMA, 0xf (1111) means 'disable'.
    158 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    159 # (0xc=1100, 0xa=1010, 0xf=1111)
    160 # 0x0000 means "use whatever the drive claims to support".
    161 # XXX - should be configured
    162 #wd*	at wdc? channel ? drive ? flags 0x0000
    163 
    164 # ATAPI bus support
    165 # XXX - should be configured
    166 #atapibus* at wdc? channel ?
    167 
    168 # ATAPI devices
    169 # flags have the same meaning as for IDE drives.
    170 # XXX - should be configured
    171 #cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    172 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    173 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    174 
    175 
    176 # Parallel Printer Interfaces
    177 
    178 lpt0		at isa? port 0x378 irq 7
    179 
    180 
    181 # Network Interfaces
    182 
    183 # XXX - should fix conflict with files.isa
    184 #ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    185 # XXX - should fix conflict with files.isa
    186 #ep0		at isa? port ? irq ?           # 3C509 ethernet cards
    187 # XXX - should fix conflict with files.isa
    188 #ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
    189 #ne1	at isa? port 0x300 irq 10
    190 #we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
    191 #we1	at isa? port 0x300 iomem 0xcc000 irq 10
    192 
    193 # XXX - should be configured
    194 #btl0		at isa? port 0x330 irq ? drq ?
    195 #scsibus* 	at btl?
    196 
    197 #### SCSI Bus devices
    198 
    199 sd*		at scsibus? target ? lun ?
    200 st*		at scsibus? target ? lun ?
    201 cd*		at scsibus? target ? lun ?
    202 ch*		at scsibus? target ? lun ?
    203 ss*		at scsibus? target ? lun ?
    204 uk*		at scsibus? target ? lun ?
    205 
    206 #### PSEUDO Devices
    207 
    208 pseudo-device	loop		 1	# network loopback
    209 pseudo-device	bpfilter	 8	# packet filter ports
    210 #pseudo-device	gre		2	# generic L3 over IP tunnel
    211 pseudo-device	sl		 2	# serial-line IP ports
    212 pseudo-device	ppp		 2	# serial-line PPP ports
    213 pseudo-device	tun		 2	# network tunneling over tty
    214 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    215 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    216 pseudo-device	ipfilter		# ip filter
    217 
    218 pseudo-device	pty		64	# pseudo ptys
    219 pseudo-device	tb		 1	# tablet line discipline
    220 pseudo-device	vnd		 4	# paging to files
    221 pseudo-device	ccd		 4	# concatenated disk devices
    222 #pseudo-device 	raid		4	# RAIDframe disk driver
    223 #pseudo-device	md		 1	# memory disk devices
    224 # rnd is EXPERIMENTAL
    225 #pseudo-device	rnd			# /dev/random and in-kernel generator
    226