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