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