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