ARCTIC revision 1.24 1 # $NetBSD: ARCTIC,v 1.24 2003/09/27 10:07:57 tsutsui Exp $
2 # $OpenBSD: ARCTIC,v 1.12 1999/08/29 12:14:03 niklas Exp $
3 #
4 # configuration file for DeskStation
5 #
6
7 include "arch/arc/conf/std.arc"
8
9 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10
11 maxusers 32 # estimated number of users
12
13 # Platform support
14 options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44
15 options PLATFORM_DESKTECH_TYNE # DeskStation Tyne
16
17 # Misc. arc-specific options
18 options PCCONS_FORCE_WORD # Max out at 16bit accesses to the
19 # VGA memory
20
21 # Standard system options
22
23 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
24 options NTP # NTP phase/frequency locked loop
25
26 options KTRACE # system call tracing via ktrace(1)
27
28 options SYSVMSG # System V-like message queues
29 options SYSVSEM # System V-like semaphores
30 options SYSVSHM # System V-like memory sharing
31 #options SHMMAXPGS=1024 # 1024 pages is the default
32
33 options LKM # loadable kernel modules
34
35 options USERCONF # userconf(4) support
36 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
37
38 # Diagnostic/debugging support options
39 options DIAGNOSTIC # cheap kernel consistency checks
40 #options DEBUG # expensive debugging checks/support
41 #options KMEMSTATS # kernel memory statistics (vmstat -m)
42 options DDB # in-kernel debugger
43 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
44 #options KGDB # remote gdb
45 #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
46 #options KGDB_DEV="17*256+0" # device for kernel gdb
47 #makeoptions DEBUG="-g" # compile full symbol table
48
49 # Compatibility options
50 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
51 options COMPAT_10 # NetBSD 1.0,
52 options COMPAT_11 # NetBSD 1.1,
53 options COMPAT_12 # NetBSD 1.2,
54 options COMPAT_13 # NetBSD 1.3,
55 options COMPAT_14 # NetBSD 1.4,
56 options COMPAT_16 # NetBSD 1.6,
57 options COMPAT_43 # and 4.3BSD
58 options COMPAT_386BSD_MBRPART # recognize old partition ID
59
60 # mipsel specific
61 options COMPAT_ULTRIX # Ultrix binary compatibility
62 options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
63
64 # File systems
65 file-system FFS # fast filesystem
66 #file-system EXT2FS # second extended file system (linux)
67 #file-system LFS # log-structured file system
68 file-system MFS # memory file system
69 file-system NTFS # Windows/NT file system (experimental)
70 file-system CD9660 # ISO 9660 + Rock Ridge file system
71 file-system MSDOSFS # MS-DOS file system
72 file-system NFS # Network File System client
73 file-system FDESC # /dev/fd
74 file-system KERNFS # /kern
75 #file-system NULLFS # loopback file system
76 #file-system OVERLAY # overlay file system
77 #file-system PORTAL # portal filesystem (still experimental)
78 file-system PROCFS # /proc
79 #file-system UMAPFS # NULLFS + uid and gid remapping
80 #file-system UNION # union file system
81 #file-system CODA # Coda File System; also needs vcoda (below)
82
83 # File system options
84 options QUOTA # FFS quotas
85 #options FFS_EI # FFS Endian Independent support
86 options SOFTDEP # FFS soft updates support.
87 options NFSSERVER # Network File System server
88 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
89 # immutable) behave as system flags.
90
91 # Networking options
92 #options GATEWAY # IP packet forwarding
93 options INET # IP + ICMP + TCP + UDP
94 options INET6 # IPV6
95 #options IPSEC # IP security
96 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
97 #options IPSEC_DEBUG # debug for IP security
98 #options MROUTING # IP multicast routing
99 #options NS # XNS
100 #options NSIP # XNS tunneling over IP
101 #options ISO,TPIP # OSI networking
102 #options EON # OSI tunneling over IP
103 #options CCITT,LLC,HDLC # X.25
104 options NETATALK # AppleTalk networking protocols
105 options PPP_BSDCOMP # BSD-Compress compression support for PPP
106 options PPP_DEFLATE # Deflate compression support for PPP
107 options PPP_FILTER # Active filter support for PPP (requires bpf)
108 options PFIL_HOOKS # pfil(9) packet filter hooks
109 options IPFILTER_LOG # ipmon(8) log support
110 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
111
112 # These options enable verbose messages for several subsystems.
113 # Warning, these may compile large string tables into the kernel!
114 #options EISAVERBOSE # verbose EISA device autoconfig messages
115 #options PCIVERBOSE # verbose PCI device autoconfig messages
116 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
117 options SCSIVERBOSE # human readable SCSI error messages
118
119 # wscons terminal emulation
120 options WSEMUL_VT100 # VT100 emulation
121
122 # Kernel root file system and dump configuration.
123 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
124 config netbsd root on ? type ?
125
126 #
127 # Device configuration
128 #
129
130 mainbus0 at root
131 cpu* at mainbus0
132
133 #### ISA bus devices
134
135 # PLATFORM_DESKTECH_ARCSTATION_I
136 arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge.
137 isa* at arcsisabr?
138
139 # PLATFORM_DESKTECH_TYNE
140 tyneisabr* at mainbus0 # DeskStation Tyne ISA host bridge.
141 isa* at tyneisabr?
142
143 #isadma0 at isa?
144
145 timer0 at isa? port 0x40 irq 0
146 mcclock0 at isa? port 0x70
147
148 pc0 at isa? irq 1 # generic PC console device
149 opms0 at isa? irq 12 # PS/2 auxiliary port mouse
150 #vga0 at isa?
151 #pckbc0 at isa? # PC keyboard controller
152 com0 at isa? port 0x3f8 irq 4
153 com1 at isa? port 0x2f8 irq 3
154 com2 at isa? port 0x3e8 irq 4
155 com3 at isa? port 0x2e8 irq 3
156 ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
157 com* at ast? slave ?
158
159 # Joystick driver. Probe is a little strange; add only if you have one.
160 joy0 at isa? port 0x201
161
162 # ISA ST506, ESDI, and IDE controllers
163 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
164 # fall back to 16bits I/O if 32bits I/O are not functional).
165 # Some controllers pass the initial 32bit test, but will fail later.
166 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
167 wdc1 at isa? port 0x170 irq 15 flags 0x00
168 #wdc* at isapnp?
169
170 # IDE drives
171 # Flags are used only with controllers that support DMA operations
172 # and mode settings (e.g. some pciide controllers)
173 # The lowest order four bits (rightmost digit) of the flags define the PIO
174 # mode to use, the next set of four bits the DMA mode and the third set the
175 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
176 # to use, and the last bit must be 1 for this setting to be used.
177 # For DMA and UDMA, 0xf (1111) means 'disable'.
178 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
179 # (0xc=1100, 0xa=1010, 0xf=1111)
180 # 0x0000 means "use whatever the drive claims to support".
181 wd* at wdc? channel ? drive ? flags 0x0000
182
183 # ATAPI bus support
184 atapibus* at wdc? channel ?
185
186 # ISA parallel printer interfaces
187 lpt0 at isa? port 0x378 irq 7
188
189 # ISA network interfaces
190 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
191 ep0 at isa? port ? irq ? # 3C509 ethernet cards
192 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
193 ne1 at isa? port 0x300 irq 10
194 #ne* at isapnp? # NE[12]000 PnP ethernet
195 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
196 we1 at isa? port 0x300 iomem 0xcc000 irq 10
197
198 #aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
199 #aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI
200 #scsibus* at aha?
201 btl0 at isa? port 0x330 irq ? drq ?
202 scsibus* at btl?
203 #wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 SCSI
204 #wds1 at isa? port 0x358 irq 11 drq 5
205 #scsibus* at wds?
206
207 #### SCSI bus devices
208
209 sd* at scsibus? target ? lun ?
210 st* at scsibus? target ? lun ?
211 cd* at scsibus? target ? lun ?
212 ch* at scsibus? target ? lun ?
213 ss* at scsibus? target ? lun ?
214 uk* at scsibus? target ? lun ?
215
216 #### ATAPI bus devices
217
218 # flags have the same meaning as for IDE drives.
219 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
220 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
221 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
222
223 #### Workstation Console attachments
224
225 #wsdisplay* at vga?
226 #wsdisplay* at tga?
227 #pckbd* at pckbc? # PC keyboard (kbd port)
228 #wskbd* at pckbd?
229 #pms* at pckbc? # PS/2-style mouse (aux port)
230 #wsmouse* at pms?
231
232 #### Pseudo devices
233
234 # disk/mass storage pseudo-devices
235 pseudo-device ccd 4 # concatenated/striped disk devices
236 #pseudo-device raid 4 # RAIDframe disk driver
237 pseudo-device md 1 # memory disk device (ramdisk)
238 pseudo-device vnd 4 # disk-like interface to files
239
240 # network pseudo-devices
241 pseudo-device bpfilter 8 # Berkeley packet filter
242 pseudo-device ipfilter # IP filter (firewall) and NAT
243 pseudo-device loop 1 # network loopback
244 pseudo-device ppp 2 # Point-to-Point Protocol
245 pseudo-device sl 2 # Serial Line IP
246 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
247 pseudo-device tun 2 # network tunneling over tty
248 #pseudo-device gre 2 # generic L3 over IP tunnel
249 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
250 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
251 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
252 pseudo-device vlan # IEEE 802.1q encapsulation
253
254 # miscellaneous pseudo-devices
255 pseudo-device pty # pseudo-terminals
256 #pseudo-device tb 1 # tablet line discipline
257 #pseudo-device sequencer 1 # MIDI sequencer
258 # rnd works; RND_COM does not on port arc yet.
259 pseudo-device rnd # /dev/random and in-kernel generator
260 #options RND_COM # use "com" randomness as well (BROKEN)
261 pseudo-device clockctl # user control of clock subsystem
262
263 # a pseudo device needed for Coda # also needs CODA (above)
264 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
265
266 # mouse & keyboard multiplexor pseudo-devices
267 #pseudo-device wsmux
268