GENERIC revision 1.58 1 1.58 gmcgarry # $NetBSD: GENERIC,v 1.58 2001/12/14 05:34:45 gmcgarry Exp $
2 1.1 jonathan #
3 1.58 gmcgarry # GENERIC machine description file
4 1.58 gmcgarry #
5 1.58 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.58 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.58 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 jonathan #
9 1.58 gmcgarry # The machine description file can be customised for your specific
10 1.58 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.58 gmcgarry #
12 1.58 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.58 gmcgarry # man page.
14 1.58 gmcgarry #
15 1.58 gmcgarry # For further information on hardware support for this architecture, see
16 1.58 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.58 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.58 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.58 gmcgarry # device.
20 1.1 jonathan
21 1.23 soda include "arch/arc/conf/std.arc"
22 1.24 soda
23 1.58 gmcgarry #ident "GENERIC-$Revision: 1.58 $"
24 1.1 jonathan
25 1.27 soda maxusers 32 # estimated number of users
26 1.27 soda
27 1.45 soda # Platform support
28 1.45 soda options PLATFORM_ACER_PICA_61 # Pica, NEC ImageRISCstation
29 1.45 soda options PLATFORM_DESKTECH_ARCSTATION_I # DESKstation rPC44
30 1.45 soda options PLATFORM_DESKTECH_TYNE # DESKstation Tyne
31 1.45 soda options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum
32 1.45 soda options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K
33 1.45 soda options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
34 1.56 lukem options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
35 1.45 soda options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
36 1.45 soda options PLATFORM_NEC_RD94 # NEC RISCstation 2250
37 1.45 soda options PLATFORM_SNI_RM200PCI
38 1.45 soda
39 1.27 soda # Standard system options
40 1.1 jonathan
41 1.23 soda options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
42 1.27 soda options NTP # NTP phase/frequency locked loop
43 1.1 jonathan
44 1.27 soda options KTRACE # system call tracing via ktrace(1)
45 1.1 jonathan
46 1.10 lukem options SYSVMSG # System V-like message queues
47 1.10 lukem options SYSVSEM # System V-like semaphores
48 1.56 lukem #options SEMMNI=10 # number of semaphore identifiers
49 1.56 lukem #options SEMMNS=60 # number of semaphores in system
50 1.56 lukem #options SEMUME=10 # max number of undo entries per process
51 1.56 lukem #options SEMMNU=30 # number of undo structures in system
52 1.10 lukem options SYSVSHM # System V-like memory sharing
53 1.27 soda #options SHMMAXPGS=1024 # 1024 pages is the default
54 1.27 soda
55 1.27 soda options LKM # loadable kernel modules
56 1.27 soda
57 1.27 soda # Diagnostic/debugging support options
58 1.55 lukem options DIAGNOSTIC # cheap kernel consistency checks
59 1.55 lukem #options DEBUG # expensive debugging checks/support
60 1.55 lukem #options KMEMSTATS # kernel memory statistics (vmstat -m)
61 1.55 lukem options DDB # in-kernel debugger
62 1.27 soda #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
63 1.55 lukem #options KGDB # remote gdb
64 1.55 lukem #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
65 1.55 lukem #options KGDB_DEV="17*256+0" # device for kernel gdb
66 1.55 lukem #makeoptions DEBUG="-g" # compile full symbol table
67 1.27 soda
68 1.27 soda # Compatibility options
69 1.47 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
70 1.27 soda options COMPAT_10 # NetBSD 1.0,
71 1.27 soda options COMPAT_11 # NetBSD 1.1,
72 1.27 soda options COMPAT_12 # NetBSD 1.2,
73 1.27 soda options COMPAT_13 # NetBSD 1.3,
74 1.27 soda options COMPAT_14 # NetBSD 1.4,
75 1.27 soda options COMPAT_43 # and 4.3BSD
76 1.27 soda options COMPAT_386BSD_MBRPART # recognize old partition ID
77 1.27 soda
78 1.27 soda # mipsel specific
79 1.27 soda options COMPAT_ULTRIX # Ultrix binary compatibility
80 1.27 soda options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
81 1.1 jonathan
82 1.27 soda # File systems
83 1.6 thorpej file-system FFS # fast filesystem
84 1.27 soda file-system EXT2FS # second extended file system (linux)
85 1.27 soda file-system LFS # log-structured file system
86 1.27 soda file-system MFS # memory file system
87 1.27 soda file-system NTFS # Windows/NT file system (experimental)
88 1.23 soda file-system CD9660 # ISO 9660 + Rock Ridge file system
89 1.27 soda file-system MSDOSFS # MS-DOS file system
90 1.27 soda file-system NFS # Network File System client
91 1.27 soda file-system FDESC # /dev/fd
92 1.27 soda file-system KERNFS # /kern
93 1.27 soda file-system NULLFS # loopback file system
94 1.27 soda file-system OVERLAY # overlay file system
95 1.27 soda file-system PORTAL # portal filesystem (still experimental)
96 1.27 soda file-system PROCFS # /proc
97 1.27 soda file-system UMAPFS # NULLFS + uid and gid remapping
98 1.27 soda file-system UNION # union file system
99 1.27 soda #file-system CODA # Coda File System; also needs vcoda (below)
100 1.6 thorpej
101 1.27 soda # File system options
102 1.10 lukem options QUOTA # FFS quotas
103 1.27 soda #options FFS_EI # FFS Endian Independent support
104 1.34 fvdl options SOFTDEP # FFS soft updates support.
105 1.27 soda options NFSSERVER # Network File System server
106 1.27 soda #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
107 1.27 soda # immutable) behave as system flags.
108 1.20 itojun
109 1.1 jonathan # Networking options
110 1.23 soda #options GATEWAY # IP packet forwarding
111 1.27 soda options INET # IP + ICMP + TCP + UDP
112 1.27 soda options INET6 # IPV6
113 1.20 itojun #options IPSEC # IP security
114 1.20 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
115 1.20 itojun #options IPSEC_DEBUG # debug for IP security
116 1.27 soda #options MROUTING # IP multicast routing
117 1.27 soda options NS # XNS
118 1.27 soda #options NSIP # XNS tunneling over IP
119 1.27 soda options ISO,TPIP # OSI networking
120 1.36 sommerfe #options EON # OSI tunneling over IP
121 1.27 soda options CCITT,LLC,HDLC # X.25
122 1.27 soda options NETATALK # AppleTalk networking protocols
123 1.27 soda options PPP_BSDCOMP # BSD-Compress compression support for PPP
124 1.27 soda options PPP_DEFLATE # Deflate compression support for PPP
125 1.27 soda options PPP_FILTER # Active filter support for PPP (requires bpf)
126 1.27 soda options PFIL_HOOKS # pfil(9) packet filter hooks
127 1.27 soda options IPFILTER_LOG # ipmon(8) log support
128 1.47 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
129 1.27 soda
130 1.27 soda # These options enable verbose messages for several subsystems.
131 1.27 soda # Warning, these may compile large string tables into the kernel!
132 1.27 soda #options EISAVERBOSE # verbose EISA device autoconfig messages
133 1.31 soda options PCIVERBOSE # verbose PCI device autoconfig messages
134 1.28 cgd #options PCI_CONFIG_DUMP # verbosely dump PCI config space
135 1.27 soda options SCSIVERBOSE # human readable SCSI error messages
136 1.37 ur
137 1.37 ur # wscons terminal emulation
138 1.37 ur options WSEMUL_VT100 # VT100 emulation
139 1.23 soda
140 1.25 soda # Kernel root file system and dump configuration.
141 1.27 soda options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
142 1.27 soda config netbsd root on ? type ?
143 1.27 soda #config netbsd root on sd0a type ffs
144 1.27 soda #config netbsd root on ? type nfs
145 1.1 jonathan
146 1.23 soda #
147 1.27 soda # Device configuration
148 1.23 soda #
149 1.27 soda
150 1.1 jonathan mainbus0 at root
151 1.1 jonathan cpu* at mainbus0
152 1.1 jonathan
153 1.41 ur #### Jazz-Internal bus devices
154 1.23 soda
155 1.45 soda # PLATFORM_ACER_PICA_61
156 1.45 soda # PLATFORM_MICROSOFT_JAZZ
157 1.45 soda # PLATFORM_NEC_JC94
158 1.45 soda # PLATFORM_NEC_R94
159 1.45 soda # PLATFORM_NEC_R96
160 1.45 soda # PLATFORM_NEC_RAX94
161 1.45 soda # PLATFORM_NEC_RD94
162 1.45 soda jazzio* at mainbus0 # Jazz-Internal bus host bridge.
163 1.45 soda
164 1.45 soda timer0 at jazzio?
165 1.45 soda mcclock0 at jazzio?
166 1.41 ur #pc0 at jazzio?
167 1.41 ur #opms0 at jazzio?
168 1.41 ur vga0 at jazzio? # Jazz localbus VGA
169 1.41 ur pckbc0 at jazzio? # PC keyboard controller
170 1.41 ur com0 at jazzio?
171 1.41 ur com1 at jazzio?
172 1.41 ur lpt0 at jazzio?
173 1.41 ur sn0 at jazzio?
174 1.1 jonathan
175 1.41 ur fdc0 at jazzio?
176 1.1 jonathan fd* at fdc? drive ?
177 1.1 jonathan
178 1.42 tsutsui asc0 at jazzio? # NCR53C9x SCSI
179 1.1 jonathan scsibus* at asc?
180 1.1 jonathan
181 1.42 tsutsui osiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI
182 1.42 tsutsui osiop1 at jazzio? flags 0x00000
183 1.42 tsutsui scsibus* at osiop?
184 1.42 tsutsui
185 1.42 tsutsui #oosiop0 at jazzio? # NCR53C700 SCSI
186 1.42 tsutsui #oosiop1 at jazzio?
187 1.42 tsutsui #scsibus* at oosiop?
188 1.33 soda
189 1.27 soda #### ISA bus devices
190 1.23 soda
191 1.45 soda # PLATFORM_ACER_PICA_61
192 1.45 soda # PLATFORM_MICROSOFT_JAZZ
193 1.45 soda # PLATFORM_NEC_R94
194 1.45 soda # PLATFORM_NEC_R96
195 1.45 soda jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
196 1.45 soda isa* at jazzisabr?
197 1.45 soda
198 1.45 soda # PLATFORM_DESKTECH_ARCSTATION_I
199 1.45 soda arcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge.
200 1.45 soda isa* at arcsisabr?
201 1.45 soda
202 1.45 soda # PLATFORM_DESKTECH_TYNE
203 1.45 soda tyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge.
204 1.45 soda isa* at tyneisabr?
205 1.45 soda
206 1.27 soda #isadma0 at isa?
207 1.23 soda
208 1.45 soda timer0 at isa? port 0x40 irq 0
209 1.45 soda mcclock0 at isa? port 0x70
210 1.23 soda
211 1.45 soda pc0 at isa? irq 1 # generic PC console device
212 1.45 soda opms0 at isa? irq 12 # PS/2 auxiliary port mouse
213 1.33 soda #vga0 at isa?
214 1.33 soda #pckbc0 at isa? # PC keyboard controller
215 1.23 soda com0 at isa? port 0x3f8 irq 4
216 1.23 soda com1 at isa? port 0x2f8 irq 3
217 1.23 soda com2 at isa? port 0x3e8 irq 4
218 1.23 soda com3 at isa? port 0x2e8 irq 3
219 1.27 soda ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
220 1.27 soda com* at ast? slave ?
221 1.27 soda
222 1.27 soda # Joystick driver. Probe is a little strange; add only if you have one.
223 1.27 soda #joy0 at isa? port 0x201
224 1.23 soda
225 1.23 soda # ISA ST506, ESDI, and IDE controllers
226 1.23 soda # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
227 1.23 soda # fall back to 16bits I/O if 32bits I/O are not functional).
228 1.23 soda # Some controllers pass the initial 32bit test, but will fail later.
229 1.23 soda # XXX - should be configured
230 1.27 soda #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
231 1.27 soda #wdc1 at isa? port 0x170 irq 15 flags 0x00
232 1.27 soda #wdc* at isapnp?
233 1.23 soda
234 1.23 soda # IDE drives
235 1.23 soda # Flags are used only with controllers that support DMA operations
236 1.23 soda # and mode settings (e.g. some pciide controllers)
237 1.23 soda # The lowest order four bits (rightmost digit) of the flags define the PIO
238 1.23 soda # mode to use, the next set of four bits the DMA mode and the third set the
239 1.23 soda # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
240 1.23 soda # to use, and the last bit must be 1 for this setting to be used.
241 1.23 soda # For DMA and UDMA, 0xf (1111) means 'disable'.
242 1.23 soda # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
243 1.23 soda # (0xc=1100, 0xa=1010, 0xf=1111)
244 1.23 soda # 0x0000 means "use whatever the drive claims to support".
245 1.23 soda # XXX - should be configured
246 1.27 soda #wd* at wdc? channel ? drive ? flags 0x0000
247 1.23 soda
248 1.23 soda # ATAPI bus support
249 1.23 soda # XXX - should be configured
250 1.27 soda #atapibus* at wdc? channel ?
251 1.23 soda
252 1.27 soda # ISA parallel printer interfaces
253 1.27 soda lpt0 at isa? port 0x378 irq 7
254 1.27 soda
255 1.27 soda # ISA network interfaces
256 1.27 soda # XXX - should be configured
257 1.27 soda #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
258 1.27 soda #ep0 at isa? port ? irq ? # 3C509 ethernet cards
259 1.27 soda #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
260 1.27 soda #ne1 at isa? port 0x300 irq 10
261 1.27 soda #ne* at isapnp? # NE[12]000 PnP ethernet
262 1.27 soda #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
263 1.27 soda #we1 at isa? port 0x300 iomem 0xcc000 irq 10
264 1.27 soda #we* at isapnp?
265 1.23 soda
266 1.27 soda # XXX - should be configured
267 1.27 soda #btl0 at isa? port 0x330 irq ? drq ?
268 1.27 soda #scsibus* at btl?
269 1.23 soda
270 1.27 soda #### PCI bus devices
271 1.23 soda
272 1.45 soda # PLATFORM_NEC_JC94
273 1.45 soda # PLATFORM_NEC_RAX94
274 1.45 soda # PLATFORM_NEC_RD94
275 1.31 soda necpb* at mainbus0 # NEC RISCstation PCI host bridge.
276 1.31 soda pci* at necpb?
277 1.23 soda
278 1.27 soda #pcivga* at pci? dev ? function ?
279 1.43 tsutsui tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
280 1.43 tsutsui
281 1.43 tsutsui ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
282 1.43 tsutsui scsibus* at ahc?
283 1.44 tsutsui
284 1.44 tsutsui iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
285 1.44 tsutsui scsibus* at iha?
286 1.43 tsutsui
287 1.52 tsutsui pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
288 1.52 tsutsui scsibus* at pcscp?
289 1.52 tsutsui
290 1.51 tsutsui siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI
291 1.51 tsutsui scsibus* at siop?
292 1.53 tsutsui
293 1.53 tsutsui trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI
294 1.53 tsutsui scsibus* at trm?
295 1.43 tsutsui
296 1.27 soda #de* at pci? dev ? function ?
297 1.52 tsutsui epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
298 1.48 hubertf ex* at pci? dev ? function ? # 3Com 90x[BC]
299 1.31 soda fxp* at pci? dev ? function ? # Intel EtherExpress PRO
300 1.31 soda ne* at pci? dev ? function ? # NE2000-compatible
301 1.52 tsutsui pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
302 1.52 tsutsui rtk* at pci? dev ? function ? # Tealtek 8129/8139
303 1.52 tsutsui sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
304 1.31 soda tlp* at pci? dev ? function ? # DECchip 21x4x (and clones)
305 1.31 soda #options TLP_MATCH_21040
306 1.31 soda #options TLP_MATCH_21041
307 1.31 soda #options TLP_MATCH_21140
308 1.31 soda #options TLP_MATCH_21142
309 1.31 soda
310 1.31 soda # IDE and related devices
311 1.31 soda # PCI IDE controllers - see pciide(4) for supported hardware.
312 1.31 soda # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
313 1.31 soda # how to set up DMA modes for this chip. This may work, or may cause
314 1.31 soda # a machine hang with some controllers.
315 1.31 soda pciide* at pci ? dev ? function ? flags 0x0000
316 1.31 soda wd* at pciide? channel ? drive ? flags 0x0000
317 1.31 soda atapibus* at pciide? channel ?
318 1.31 soda
319 1.31 soda #### MII/PHY support
320 1.31 soda
321 1.31 soda exphy* at mii? phy ? # 3Com internal PHYs
322 1.31 soda icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
323 1.31 soda inphy* at mii? phy ? # Intel 82555 PHYs
324 1.31 soda iophy* at mii? phy ? # Intel 82553 PHYs
325 1.31 soda lxtphy* at mii? phy ? # Level One LXT-970 PHYs
326 1.31 soda nsphy* at mii? phy ? # NS83840 PHYs
327 1.31 soda nsphyter* at mii? phy ? # NS83843 PHYs
328 1.31 soda qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
329 1.31 soda sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
330 1.31 soda tlphy* at mii? phy ? # ThunderLAN PHYs
331 1.31 soda tqphy* at mii? phy ? # TDK Semiconductor PHYs
332 1.31 soda ukphy* at mii? phy ? # generic unknown PHYs
333 1.31 soda
334 1.27 soda #### SCSI bus devices
335 1.23 soda
336 1.1 jonathan sd* at scsibus? target ? lun ?
337 1.1 jonathan st* at scsibus? target ? lun ?
338 1.1 jonathan cd* at scsibus? target ? lun ?
339 1.23 soda ch* at scsibus? target ? lun ?
340 1.23 soda ss* at scsibus? target ? lun ?
341 1.23 soda uk* at scsibus? target ? lun ?
342 1.31 soda
343 1.31 soda #### ATAPI bus devices
344 1.31 soda
345 1.31 soda # flags have the same meaning as for IDE drives.
346 1.31 soda cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
347 1.31 soda sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
348 1.31 soda uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
349 1.33 soda
350 1.33 soda #### Workstation Console attachments
351 1.33 soda
352 1.33 soda wsdisplay* at vga?
353 1.33 soda wsdisplay* at tga?
354 1.33 soda pckbd* at pckbc? # PC keyboard (kbd port)
355 1.33 soda wskbd* at pckbd?
356 1.33 soda pms* at pckbc? # PS/2-style mouse (aux port)
357 1.33 soda wsmouse* at pms?
358 1.33 soda #pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port)
359 1.33 soda #wsmouse* at pmsi?
360 1.23 soda
361 1.27 soda #### Pseudo devices
362 1.1 jonathan
363 1.27 soda # disk/mass storage pseudo-devices
364 1.27 soda pseudo-device ccd 4 # concatenated/striped disk devices
365 1.27 soda #pseudo-device raid 4 # RAIDframe disk driver
366 1.27 soda pseudo-device md 1 # memory disk device (ramdisk)
367 1.27 soda pseudo-device vnd 4 # disk-like interface to files
368 1.27 soda
369 1.27 soda # network pseudo-devices
370 1.27 soda pseudo-device bpfilter 8 # Berkeley packet filter
371 1.27 soda pseudo-device ipfilter # IP filter (firewall) and NAT
372 1.27 soda pseudo-device loop 1 # network loopback
373 1.27 soda pseudo-device ppp 2 # Point-to-Point Protocol
374 1.27 soda pseudo-device sl 2 # Serial Line IP
375 1.27 soda #pseudo-device strip 2 # Starmode Radio IP (Metricom)
376 1.27 soda pseudo-device tun 2 # network tunneling over tty
377 1.23 soda #pseudo-device gre 2 # generic L3 over IP tunnel
378 1.27 soda pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
379 1.20 itojun pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
380 1.20 itojun #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
381 1.29 itojun #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
382 1.40 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
383 1.57 atatat pseudo-device bridge # simple inter-network bridging
384 1.23 soda
385 1.27 soda # miscellaneous pseudo-devices
386 1.39 jdolecek pseudo-device pty # pseudo-terminals
387 1.27 soda pseudo-device tb 1 # tablet line discipline
388 1.27 soda #pseudo-device sequencer 1 # MIDI sequencer
389 1.27 soda # rnd works; RND_COM does not on port arc yet.
390 1.27 soda pseudo-device rnd # /dev/random and in-kernel generator
391 1.27 soda #options RND_COM # use "com" randomness as well (BROKEN)
392 1.27 soda
393 1.27 soda # a pseudo device needed for Coda # also needs CODA (above)
394 1.27 soda #pseudo-device vcoda 4 # coda minicache <-> venus comm.
395 1.27 soda
396 1.27 soda # mouse & keyboard multiplexor pseudo-devices
397 1.54 augustss #pseudo-device wsmux
398