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