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