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