RAMDISK revision 1.2 1 # $NetBSD: RAMDISK,v 1.2 2000/01/23 21:01:53 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 # Special options
88 options MACHINE_NONCONTIG # Support noncontigous memory.
89
90 # Specify storage configuration using ramdisk
91 config netbsd root on md0 type ffs
92
93 # Enable the hooks used for initializing the ram-disk.
94 options MEMORY_DISK_HOOKS
95 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
96 options MINIROOTSIZE=8192 # 4 Megabytes
97
98 #
99 # Definition of system
100 #
101 mainbus0 at root
102 cpu* at mainbus0
103
104 #### Main local buses
105
106 pica* at mainbus0 # ACER Pica systems local bus.
107 isabr* at mainbus0 # ISA Bus bridge (std ISA bus).
108
109 #### PICA bus devices
110
111 aclock0 at pica?
112 pc0 at pica?
113 opms0 at pica?
114 com0 at pica?
115 com1 at pica?
116 lpt0 at pica?
117 sn0 at pica?
118
119 fdc0 at pica?
120 fd* at fdc? drive ?
121
122 asc0 at pica?
123 scsibus* at asc?
124
125 #### ISA Bus.
126
127 isa* at isabr?
128
129 aclock0 at isa? port 0x70 irq 0
130
131 pc0 at isa? port 0x60 irq 1 # generic PC console device
132 com0 at isa? port 0x3f8 irq 4
133 com1 at isa? port 0x2f8 irq 3
134 com2 at isa? port 0x3e8 irq 4
135 com3 at isa? port 0x2e8 irq 3
136
137 # ISA ST506, ESDI, and IDE controllers
138 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
139 # fall back to 16bits I/O if 32bits I/O are not functional).
140 # Some controllers pass the initial 32bit test, but will fail later.
141 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
142 #wdc1 at isa? port 0x170 irq 15 flags 0x00
143
144 # IDE drives
145 # Flags are used only with controllers that support DMA operations
146 # and mode settings (e.g. some pciide controllers)
147 # The lowest order four bits (rightmost digit) of the flags define the PIO
148 # mode to use, the next set of four bits the DMA mode and the third set the
149 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
150 # to use, and the last bit must be 1 for this setting to be used.
151 # For DMA and UDMA, 0xf (1111) means 'disable'.
152 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
153 # (0xc=1100, 0xa=1010, 0xf=1111)
154 # 0x0000 means "use whatever the drive claims to support".
155 wd* at wdc? channel ? drive ? flags 0x0000
156
157 # ATAPI bus support
158 atapibus* at wdc? channel ?
159
160 # ATAPI devices
161 # flags have the same meaning as for IDE drives.
162 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
163 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
164 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
165
166 lpt0 at isa? port 0x378 irq 7
167 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
168 ep0 at isa? port ? irq ? # 3C509 ethernet cards
169 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
170 ne1 at isa? port 0x300 irq 10
171 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
172 we1 at isa? port 0x300 iomem 0xcc000 irq 10
173
174 btl0 at isa? port 0x330 irq ? drq ?
175 scsibus* at btl?
176
177 #### SCSI Bus devices
178
179 sd* at scsibus? target ? lun ?
180 st* at scsibus? target ? lun ?
181 cd* at scsibus? target ? lun ?
182 #ch* at scsibus? target ? lun ?
183 #ss* at scsibus? target ? lun ?
184 #uk* at scsibus? target ? lun ?
185
186 #### PSEUDO Devices
187
188 pseudo-device loop 1 # network loopback
189 #pseudo-device bpfilter 8 # packet filter ports
190 #pseudo-device gre 2 # generic L3 over IP tunnel
191 pseudo-device sl 2 # serial-line IP ports
192 pseudo-device ppp 2 # serial-line PPP ports
193 #pseudo-device tun 2 # network tunneling over tty
194 #pseudo-device ipfilter # ip filter
195 #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
196 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
197
198 #pseudo-device pty 64 # pseudo ptys
199 #pseudo-device tb 1 # tablet line discipline
200 #pseudo-device vnd 4 # paging to files
201 #pseudo-device ccd 4 # concatenated disk devices
202 #pseudo-device raid 4 # RAIDframe disk driver
203 pseudo-device md 1 # memory disk devices
204