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