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