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