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