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