RPC44 revision 1.53 1 1.53 mrg # $NetBSD: RPC44,v 1.53 2017/09/14 07:58:39 mrg Exp $
2 1.1 imp #
3 1.1 imp # GENERIC machine description file
4 1.38 tsutsui #
5 1.1 imp # This machine description file is used to generate the default NetBSD
6 1.1 imp # kernel. The generic kernel does not include all options, subsystems
7 1.1 imp # and device drivers, but should be useful for most applications.
8 1.1 imp #
9 1.1 imp # The machine description file can be customised for your specific
10 1.1 imp # machine to reduce the kernel size and improve its performance.
11 1.1 imp #
12 1.1 imp # For further information on compiling NetBSD kernels, see the config(8)
13 1.1 imp # man page.
14 1.1 imp #
15 1.1 imp # For further information on hardware support for this architecture, see
16 1.1 imp # the intro(4) man page. For further information about kernel options
17 1.1 imp # for this architecture, see the options(4) man page. For an explanation
18 1.1 imp # of each device driver in this file see the section 4 man page for the
19 1.1 imp # device.
20 1.1 imp
21 1.53 mrg include "arch/arc/conf/std.arc"
22 1.1 imp
23 1.1 imp options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 imp
25 1.53 mrg #ident "GENERIC-$Revision: 1.53 $"
26 1.1 imp
27 1.1 imp maxusers 32 # estimated number of users
28 1.1 imp
29 1.1 imp # Platform support
30 1.2 tsutsui options PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44
31 1.1 imp
32 1.1 imp # Standard system options
33 1.1 imp
34 1.1 imp options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
35 1.1 imp options NTP # NTP phase/frequency locked loop
36 1.1 imp
37 1.1 imp options KTRACE # system call tracing via ktrace(1)
38 1.1 imp
39 1.1 imp options SYSVMSG # System V-like message queues
40 1.1 imp options SYSVSEM # System V-like semaphores
41 1.1 imp #options SEMMNI=10 # number of semaphore identifiers
42 1.1 imp #options SEMMNS=60 # number of semaphores in system
43 1.1 imp #options SEMUME=10 # max number of undo entries per process
44 1.1 imp #options SEMMNU=30 # number of undo structures in system
45 1.1 imp options SYSVSHM # System V-like memory sharing
46 1.1 imp
47 1.1 imp options USERCONF # userconf(4) support
48 1.21 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
49 1.7 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
50 1.1 imp
51 1.38 tsutsui # Enable experimental buffer queue strategy for better responsiveness under
52 1.1 imp # high disk I/O load. Use it with caution - it's not proven to be stable yet.
53 1.15 tsutsui #options BUFQ_READPRIO
54 1.15 tsutsui #options BUFQ_PRIOCSCAN
55 1.1 imp
56 1.1 imp # Diagnostic/debugging support options
57 1.1 imp options DIAGNOSTIC # cheap kernel consistency checks
58 1.1 imp #options DEBUG # expensive debugging checks/support
59 1.1 imp options DDB # in-kernel debugger
60 1.51 uebayasi pseudo-device ksyms
61 1.1 imp #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
62 1.1 imp #options KGDB # remote gdb
63 1.1 imp #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
64 1.1 imp #options KGDB_DEV="17*256+0" # device for kernel gdb
65 1.1 imp #makeoptions DEBUG="-g" # compile full symbol table
66 1.1 imp
67 1.1 imp # Compatibility options
68 1.53 mrg include "conf/compat_netbsd10.config"
69 1.1 imp options COMPAT_386BSD_MBRPART # recognize old partition ID
70 1.1 imp
71 1.1 imp # mipsel specific
72 1.1 imp options COMPAT_ULTRIX # Ultrix binary compatibility
73 1.1 imp options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
74 1.1 imp
75 1.1 imp # File systems
76 1.1 imp file-system FFS # fast filesystem
77 1.1 imp #file-system EXT2FS # second extended file system (linux)
78 1.1 imp #file-system LFS # log-structured file system
79 1.1 imp #file-system MFS # memory file system
80 1.1 imp #file-system NTFS # Windows/NT file system (experimental)
81 1.1 imp file-system CD9660 # ISO 9660 + Rock Ridge file system
82 1.1 imp file-system MSDOSFS # MS-DOS file system
83 1.1 imp file-system NFS # Network File System client
84 1.1 imp file-system FDESC # /dev/fd
85 1.1 imp file-system KERNFS # /kern
86 1.1 imp file-system NULLFS # loopback file system
87 1.1 imp file-system OVERLAY # overlay file system
88 1.35 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
89 1.1 imp file-system PROCFS # /proc
90 1.1 imp file-system UMAPFS # NULLFS + uid and gid remapping
91 1.1 imp file-system UNION # union file system
92 1.1 imp #file-system CODA # Coda File System; also needs vcoda (below)
93 1.20 christos file-system PTYFS # /dev/pts/N support
94 1.1 imp
95 1.1 imp # File system options
96 1.39 bouyer options QUOTA # legacy UFS quotas
97 1.39 bouyer options QUOTA2 # new, in-filesystem UFS quotas
98 1.1 imp #options FFS_EI # FFS Endian Independent support
99 1.1 imp options NFSSERVER # Network File System server
100 1.22 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
101 1.1 imp #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
102 1.1 imp # immutable) behave as system flags.
103 1.1 imp
104 1.1 imp # Networking options
105 1.1 imp #options GATEWAY # IP packet forwarding
106 1.1 imp options INET # IP + ICMP + TCP + UDP
107 1.1 imp #options INET6 # IPV6
108 1.1 imp #options IPSEC # IP security
109 1.1 imp #options IPSEC_DEBUG # debug for IP security
110 1.1 imp #options MROUTING # IP multicast routing
111 1.8 manu #options PIM # Protocol Independent Multicast
112 1.1 imp #options NETATALK # AppleTalk networking protocols
113 1.1 imp #options PPP_BSDCOMP # BSD-Compress compression support for PPP
114 1.1 imp #options PPP_DEFLATE # Deflate compression support for PPP
115 1.1 imp #options PPP_FILTER # Active filter support for PPP (requires bpf)
116 1.1 imp #options IPFILTER_LOG # ipmon(8) log support
117 1.27 christos #options IPFILTER_LOOKUP # ippool(8) support
118 1.1 imp ##options IPFILTER_DEFAULT_BLOCK # block all packets by default
119 1.1 imp #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
120 1.1 imp
121 1.49 alnsn # JIT compiler for bpfilter
122 1.49 alnsn #options SLJIT
123 1.49 alnsn #options BPFJIT
124 1.49 alnsn
125 1.1 imp # These options enable verbose messages for several subsystems.
126 1.1 imp # Warning, these may compile large string tables into the kernel!
127 1.1 imp options EISAVERBOSE # verbose EISA device autoconfig messages
128 1.1 imp #options PCIVERBOSE # verbose PCI device autoconfig messages
129 1.1 imp #options PCI_CONFIG_DUMP # verbosely dump PCI config space
130 1.1 imp options SCSIVERBOSE # human readable SCSI error messages
131 1.1 imp
132 1.1 imp # wscons terminal emulation
133 1.1 imp options WSEMUL_VT100 # VT100 emulation
134 1.41 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
135 1.1 imp
136 1.1 imp # Kernel root file system and dump configuration.
137 1.1 imp options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
138 1.1 imp config netbsd root on ? type ?
139 1.1 imp #config netbsd root on sd0a type ffs
140 1.1 imp #config netbsd root on ? type nfs
141 1.1 imp
142 1.1 imp #
143 1.1 imp # Device configuration
144 1.1 imp #
145 1.1 imp
146 1.1 imp mainbus0 at root
147 1.1 imp cpu* at mainbus0
148 1.1 imp
149 1.1 imp # PLATFORM_DESKTECH_ARCSTATION_I
150 1.2 tsutsui arcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge.
151 1.1 imp isa* at arcsisabr?
152 1.1 imp #isadma0 at isa? # bogus?
153 1.1 imp timer0 at isa? port 0x40 irq 0
154 1.1 imp mcclock0 at isa? port 0x70
155 1.1 imp pc0 at isa? irq 1 # generic PC console device
156 1.1 imp opms0 at isa? irq 12 # PS/2 auxiliary port mouse
157 1.1 imp vga0 at isa?
158 1.1 imp pckbc0 at isa? # PC keyboard controller
159 1.1 imp com0 at isa? port 0x3f8 irq 4
160 1.1 imp com1 at isa? port 0x2f8 irq 3
161 1.1 imp com2 at isa? port 0x3e8 irq 4
162 1.1 imp com3 at isa? port 0x2e8 irq 3
163 1.1 imp #bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
164 1.1 imp #ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
165 1.1 imp #com* at ast? slave ?
166 1.1 imp
167 1.1 imp # Joystick driver. Probe is a little strange; add only if you have one.
168 1.1 imp #joy0 at isa? port 0x201
169 1.1 imp
170 1.1 imp # ISA ST506, ESDI, and IDE controllers
171 1.1 imp # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
172 1.1 imp # fall back to 16bits I/O if 32bits I/O are not functional).
173 1.1 imp # Some controllers pass the initial 32bit test, but will fail later.
174 1.1 imp # XXX - should be configured
175 1.1 imp wdc0 at isa? port 0x1f0 irq 14 flags 0x00
176 1.1 imp #wdc1 at isa? port 0x170 irq 15 flags 0x00
177 1.1 imp #wdc* at isapnp?
178 1.1 imp
179 1.1 imp # ISA parallel printer interfaces
180 1.1 imp lpt0 at isa? port 0x378 irq 7
181 1.1 imp
182 1.1 imp # ISA network interfaces
183 1.1 imp # XXX - should be configured
184 1.1 imp #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
185 1.1 imp ep0 at isa? port ? irq ? # 3C509 ethernet cards
186 1.1 imp ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
187 1.1 imp #ne1 at isa? port 0x300 irq 10
188 1.1 imp #ne* at isapnp? # NE[12]000 PnP ethernet
189 1.1 imp we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
190 1.1 imp #we1 at isa? port 0x300 iomem 0xcc000 irq 10
191 1.1 imp
192 1.1 imp # XXX - should be configured
193 1.1 imp #btl0 at isa? port 0x330 irq ? drq ?
194 1.6 tsutsui
195 1.6 tsutsui #### SCSI bus support
196 1.6 tsutsui #scsibus* at scsi?
197 1.1 imp
198 1.1 imp #### SCSI bus devices
199 1.1 imp
200 1.1 imp #sd* at scsibus? target ? lun ?
201 1.1 imp #st* at scsibus? target ? lun ?
202 1.1 imp #cd* at scsibus? target ? lun ?
203 1.1 imp #ch* at scsibus? target ? lun ?
204 1.1 imp #ss* at scsibus? target ? lun ?
205 1.1 imp #uk* at scsibus? target ? lun ?
206 1.6 tsutsui
207 1.6 tsutsui # ATA (IDE) bus support
208 1.6 tsutsui atabus* at wdc? channel ?
209 1.6 tsutsui
210 1.6 tsutsui # IDE drives
211 1.6 tsutsui # Flags are used only with controllers that support DMA operations
212 1.6 tsutsui # and mode settings (e.g. some pciide controllers)
213 1.6 tsutsui # The lowest order four bits (rightmost digit) of the flags define the PIO
214 1.6 tsutsui # mode to use, the next set of four bits the DMA mode and the third set the
215 1.6 tsutsui # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
216 1.6 tsutsui # to use, and the last bit must be 1 for this setting to be used.
217 1.6 tsutsui # For DMA and UDMA, 0xf (1111) means 'disable'.
218 1.6 tsutsui # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
219 1.6 tsutsui # (0xc=1100, 0xa=1010, 0xf=1111)
220 1.6 tsutsui # 0x0000 means "use whatever the drive claims to support".
221 1.6 tsutsui # XXX - should be configured
222 1.6 tsutsui wd* at atabus? drive ? flags 0x0000
223 1.6 tsutsui
224 1.6 tsutsui #### ATAPI bus support
225 1.6 tsutsui # XXX - should be configured
226 1.6 tsutsui #atapibus* at atabus?
227 1.1 imp
228 1.1 imp #### ATAPI bus devices
229 1.1 imp
230 1.1 imp # flags have the same meaning as for IDE drives.
231 1.1 imp #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
232 1.1 imp #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
233 1.1 imp #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
234 1.1 imp
235 1.1 imp #### Workstation Console attachments
236 1.1 imp
237 1.1 imp wsdisplay* at vga?
238 1.1 imp #wsdisplay* at tga?
239 1.1 imp pckbd* at pckbc? # PC keyboard (kbd port)
240 1.1 imp wskbd* at pckbd?
241 1.1 imp pms* at pckbc? # PS/2-style mouse (aux port)
242 1.1 imp wsmouse* at pms?
243 1.1 imp
244 1.1 imp #### Pseudo devices
245 1.1 imp
246 1.1 imp # disk/mass storage pseudo-devices
247 1.44 christos #pseudo-device ccd # concatenated/striped disk devices
248 1.44 christos #pseudo-device cgd # cryptographic disk devices
249 1.45 christos #pseudo-device raid # RAIDframe disk driver
250 1.1 imp # Options to enable various other RAIDframe RAID types.
251 1.21 tsutsui #options RF_INCLUDE_EVENODD=1
252 1.21 tsutsui #options RF_INCLUDE_RAID5_RS=1
253 1.21 tsutsui #options RF_INCLUDE_PARITYLOGGING=1
254 1.21 tsutsui #options RF_INCLUDE_CHAINDECLUSTER=1
255 1.21 tsutsui #options RF_INCLUDE_INTERDECLUSTER=1
256 1.21 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING=1
257 1.21 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
258 1.36 pooka #pseudo-device fss # file system snapshot device
259 1.37 hannken pseudo-device md # memory disk device (ramdisk)
260 1.25 cube pseudo-device vnd # disk-like interface to files
261 1.35 pooka pseudo-device putter # for puffs and pud
262 1.1 imp
263 1.1 imp # network pseudo-devices
264 1.24 rpaulo pseudo-device bpfilter # Berkeley packet filter
265 1.1 imp #pseudo-device ipfilter # IP filter (firewall) and NAT
266 1.44 christos pseudo-device loop # network loopback
267 1.25 cube #pseudo-device ppp # Point-to-Point Protocol
268 1.1 imp #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
269 1.25 cube #pseudo-device sl # Serial Line IP
270 1.25 cube #pseudo-device strip # Starmode Radio IP (Metricom)
271 1.25 cube pseudo-device tun # network tunneling over tty
272 1.10 cube #pseudo-device tap # virtual Ethernet
273 1.25 cube #pseudo-device gre # generic L3 over IP tunnel
274 1.25 cube #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
275 1.25 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
276 1.25 cube #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
277 1.1 imp #pseudo-device vlan # IEEE 802.1q encapsulation
278 1.1 imp #pseudo-device bridge # simple inter-network bridging
279 1.1 imp
280 1.1 imp # miscellaneous pseudo-devices
281 1.1 imp pseudo-device pty # pseudo-terminals
282 1.46 christos #pseudo-device sequencer # MIDI sequencer
283 1.1 imp # rnd works; RND_COM does not on port arc yet.
284 1.1 imp #options RND_COM # use "com" randomness as well (BROKEN)
285 1.1 imp pseudo-device clockctl # user control of clock subsystem
286 1.1 imp
287 1.1 imp # a pseudo device needed for Coda # also needs CODA (above)
288 1.45 christos #pseudo-device vcoda # coda minicache <-> venus comm.
289 1.1 imp
290 1.1 imp # mouse & keyboard multiplexor pseudo-devices
291 1.1 imp pseudo-device wsmux
292