GENERIC revision 1.117 1 1.117 itojun # $NetBSD: GENERIC,v 1.117 2004/06/22 14:09:51 itojun Exp $
2 1.1 jonathan #
3 1.93 gmcgarry # GENERIC machine description file
4 1.93 gmcgarry #
5 1.93 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.93 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.93 gmcgarry # and device drivers, but should be useful for most applications.
8 1.39 nisimura #
9 1.93 gmcgarry # The machine description file can be customised for your specific
10 1.93 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.1 jonathan #
12 1.93 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.93 gmcgarry # man page.
14 1.93 gmcgarry #
15 1.93 gmcgarry # For further information on hardware support for this architecture, see
16 1.93 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.93 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.93 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.93 gmcgarry # device.
20 1.93 gmcgarry
21 1.5 jonathan include "arch/pmax/conf/std.pmax"
22 1.113 ad include "arch/pmax/conf/files.pmax_rcons"
23 1.64 hubertf
24 1.99 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
25 1.99 atatat
26 1.117 itojun #ident "GENERIC-$Revision: 1.117 $"
27 1.1 jonathan
28 1.5 jonathan maxusers 64
29 1.1 jonathan
30 1.39 nisimura options MIPS1 # R2000/R3000 CPUs
31 1.39 nisimura options MIPS3 # R4000/R4400 CPUs
32 1.6 jonathan
33 1.1 jonathan
34 1.5 jonathan # Support for specific models of DECstation
35 1.39 nisimura options DEC_3100 # DECstation 2100, 3100 (kn01)
36 1.39 nisimura options DEC_5100 # DECsystem 5100 (kn230)
37 1.39 nisimura options DEC_3MAX # DECstation 5000/200 (kn02)
38 1.39 nisimura options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
39 1.39 nisimura options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
40 1.39 nisimura options DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05)
41 1.24 jonathan
42 1.60 simonb #options DEC_5400 # DECsystem 5400 (kn210)
43 1.60 simonb #options DEC_5500 # DECsystem 5500 (kn220)
44 1.60 simonb #options DEC_5800 # DECsystem 58x0 (kn5800)
45 1.1 jonathan
46 1.1 jonathan # Standard system options
47 1.16 jonathan options DDB # in-kernel debugger
48 1.19 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
49 1.16 jonathan options DDB_ONPANIC=0 # don't enter debugger on panic
50 1.15 jonathan #options DIAGNOSTIC # extra kernel debugging checks
51 1.15 jonathan #options DEBUG # extra kernel debugging support
52 1.92 lukem options COMPAT_43 # compatibility with 4.3BSD binaries
53 1.15 jonathan options KTRACE # system call tracing support
54 1.105 provos options SYSTRACE # system call vetting via systrace(1)
55 1.43 jonathan
56 1.43 jonathan options SYSVMSG # System V-like message queues
57 1.43 jonathan options SYSVSEM # System V-like semaphores
58 1.92 lukem #options SEMMNI=10 # number of semaphore identifiers
59 1.92 lukem #options SEMMNS=60 # number of semaphores in system
60 1.92 lukem #options SEMUME=10 # max number of undo entries per process
61 1.92 lukem #options SEMMNU=30 # number of undo structures in system
62 1.43 jonathan options SYSVSHM # System V-like memory sharing
63 1.43 jonathan #options SHMMAXPGS=1024 # 1024 pages is the default
64 1.43 jonathan
65 1.43 jonathan options LKM # loadable kernel modules
66 1.96 jdolecek
67 1.102 lukem options USERCONF # userconf(4) support
68 1.114 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69 1.107 junyoung
70 1.108 wiz # Enable experimental buffer queue strategy for better responsiveness under
71 1.107 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
72 1.107 junyoung #options NEW_BUFQ_STRATEGY
73 1.17 mjacob
74 1.18 mjacob #options SCSIVERBOSE # Verbose SCSI errors
75 1.80 tsutsui #options TCVERBOSE # recognize "unknown" TC devices
76 1.12 jonathan
77 1.62 ad # Old 4.4BSD/pmax kgdb options
78 1.15 jonathan #options KGDB # support for kernel gdb
79 1.91 lukem #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
80 1.91 lukem #options KGDB_DEV="15*256+0" # device for kernel gdb
81 1.1 jonathan
82 1.15 jonathan options NTP # network time protocol
83 1.5 jonathan
84 1.5 jonathan
85 1.1 jonathan # Filesystem options
86 1.83 nisimura file-system FFS # fast filesystem with user and group quotas
87 1.83 nisimura file-system MFS # memory-based filesystem
88 1.83 nisimura file-system NFS # Sun NFS-compatible filesystem (client)
89 1.12 jonathan file-system LFS # Log-based filesystem (still experimental)
90 1.83 nisimura file-system CD9660 # ISO 9660 + Rock Ridge file system
91 1.83 nisimura file-system FDESC # /dev/fd
92 1.83 nisimura file-system KERNFS # /kern (kernel informational filesystem)
93 1.83 nisimura file-system NULLFS # loopback file system
94 1.83 nisimura file-system OVERLAY # overlay file system
95 1.83 nisimura file-system PORTAL # portal filesystem (still experimental)
96 1.83 nisimura file-system PROCFS # /proc
97 1.83 nisimura file-system UMAPFS # NULLFS + uid and gid remapping
98 1.83 nisimura file-system UNION
99 1.10 thorpej
100 1.15 jonathan options NFSSERVER # Sun NFS-compatible filesystem (server)
101 1.15 jonathan options QUOTA # UFS quotas
102 1.23 bouyer #options FFS_EI # FFS Endian Independant support
103 1.92 lukem options SOFTDEP # FFS soft updates support.
104 1.84 simonb # VNODE_OP_NOINLINE will produce smaller and possibly slightly faster kernels
105 1.84 simonb #options VNODE_OP_NOINLINE # don't inline vnode op calls
106 1.50 itojun
107 1.1 jonathan # Networking options
108 1.15 jonathan options INET # Internet protocols
109 1.50 itojun options INET6 # IPV6
110 1.50 itojun #options IPSEC # IP security
111 1.50 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
112 1.50 itojun #options IPSEC_DEBUG # debug for IP security
113 1.15 jonathan options GATEWAY # IP packet forwarding
114 1.12 jonathan #options MROUTING # Multicast routing support
115 1.12 jonathan #options ISO # OSI networking
116 1.12 jonathan #options TPIP # TPIP
117 1.12 jonathan #options EON # OSI tunneling over IP
118 1.12 jonathan #options CCITT,LLC,HDLC # X.25
119 1.38 simonb options NETATALK # AppleTalk networking protocols
120 1.46 christos options PPP_BSDCOMP # BSD-Compress compression support for PPP
121 1.46 christos options PPP_DEFLATE # Deflate compression support for PPP
122 1.46 christos options PPP_FILTER # Active filter support for PPP (requires bpf)
123 1.46 christos options PFIL_HOOKS # pfil(9) packet filter hooks
124 1.38 simonb options IPFILTER_LOG # ipmon(8) log support
125 1.104 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
126 1.88 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
127 1.1 jonathan
128 1.5 jonathan # NetBSD backwards compatibility
129 1.15 jonathan #options COMPAT_10 # NetBSD 1.0, (needed for X on 386?)
130 1.98 simonb #options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS
131 1.114 tsutsui options COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS
132 1.114 tsutsui options COMPAT_13 # NetBSD 1.3
133 1.114 tsutsui options COMPAT_14 # NetBSD 1.4
134 1.114 tsutsui options COMPAT_16 # NetBSD 1.6
135 1.88 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
136 1.1 jonathan
137 1.40 ad # Raster console options
138 1.57 simonb options FONT_BOLD8x16 # Font for fb devices
139 1.101 ad options FONT_GALLANT12x22
140 1.5 jonathan
141 1.1 jonathan # pmax specific
142 1.39 nisimura options COMPAT_ULTRIX # Ultrix compatibility
143 1.89 simonb #options EXEC_AOUT # Old NetBSD/pmax a.out compatibility
144 1.15 jonathan options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
145 1.92 lukem options HZ=256 # RTC rate required
146 1.22 drochner
147 1.41 simonb options NFS_BOOT_DHCP # superset of BOOTP
148 1.1 jonathan
149 1.16 jonathan config netbsd root on ? type ?
150 1.42 simonb #config nfsnetbsd root on ? type nfs
151 1.1 jonathan
152 1.30 mhitch
153 1.30 mhitch mainbus0 at root
154 1.30 mhitch cpu* at mainbus0
155 1.1 jonathan
156 1.48 nisimura ## Peripheral Bus Support (for devices to attach to)
157 1.48 nisimura ## ----------------------------------------------------------------------------
158 1.1 jonathan
159 1.48 nisimura # TURBOchannel bus support
160 1.48 nisimura tc* at mainbus0
161 1.26 jonathan
162 1.48 nisimura # 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
163 1.48 nisimura ioasic0 at tc?
164 1.55 simonb mcclock* at ioasic? offset ? # DS1287 RTC
165 1.55 simonb le* at ioasic? offset ? # LANCE
166 1.55 simonb scc* at ioasic? offset ? # Z85C30
167 1.75 gmcgarry bba* at ioasic? offset ? # MAXINE baseboard audio
168 1.73 augustss audio* at bba?
169 1.55 simonb dtop* at ioasic? offset ? # MAXINE kbd and mouse
170 1.48 nisimura #fdc at ioasic? offset ? # MAXINE floppy disk (not supported)
171 1.55 simonb asc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC
172 1.48 nisimura
173 1.48 nisimura # 3MAX has TURBOchannel but no IOASIC
174 1.52 thorpej ibus0 at tc? slot ? offset ? # 3MAX system slot
175 1.55 simonb
176 1.55 simonb # PMAX, 3MAX and MIPSMATE common devices
177 1.55 simonb mcclock* at ibus0 addr ? # DS1287 RTC
178 1.55 simonb dc* at ibus0 addr ? # DC7085 quad line serial device
179 1.48 nisimura
180 1.48 nisimura # TURBOchannel devices
181 1.52 thorpej mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
182 1.52 thorpej cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
183 1.52 thorpej #tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
184 1.52 thorpej sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
185 1.61 ad px0 at tc? slot ? offset ? # PMAG-C,D,E,F PX family
186 1.52 thorpej #sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
187 1.55 simonb xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
188 1.52 thorpej asc* at tc? slot ? offset ? # PMAZ-A single channel SCSI
189 1.52 thorpej le* at tc? slot ? offset ? # PMAD-A LANCE
190 1.52 thorpej fta* at tc? slot ? offset ? # PMAF-F FDDI
191 1.89 simonb tcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI
192 1.89 simonb asc* at tcds? chip ?
193 1.48 nisimura
194 1.48 nisimura # PMAX and MIPSMATE
195 1.48 nisimura ibus0 at mainbus0
196 1.55 simonb pm* at ibus0 addr ? # 3100 onboard fb
197 1.55 simonb le* at ibus0 addr ? # 3100, 5100 onboard LANCE
198 1.55 simonb sii* at ibus0 addr ? # DC7061 onboard SCSI
199 1.1 jonathan
200 1.34 simonb #########################################################################
201 1.34 simonb # SCSI configuration #
202 1.34 simonb #########################################################################
203 1.1 jonathan
204 1.89 simonb scsibus* at sii?
205 1.89 simonb scsibus* at asc?
206 1.89 simonb
207 1.89 simonb sd* at scsibus? target ? lun ? # SCSI disks
208 1.89 simonb st* at scsibus? target ? lun ? # SCSI tapes
209 1.92 lukem cd* at scsibus? target ? lun ? # SCSI CD-ROMs
210 1.89 simonb ch* at scsibus? target ? lun ? # SCSI changer devices
211 1.89 simonb ss* at scsibus? target ? lun ? # SCSI scanners
212 1.89 simonb uk* at scsibus? target ? lun ? # unknown SCSI
213 1.1 jonathan
214 1.34 simonb #########################################################################
215 1.34 simonb # Pseudo-devices #
216 1.34 simonb #########################################################################
217 1.1 jonathan
218 1.34 simonb pseudo-device loop 1 # network loopback
219 1.1 jonathan pseudo-device sl 4 # serial-line IP ports
220 1.34 simonb pseudo-device ppp 2 # serial-line IP ports
221 1.94 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
222 1.85 jdolecek pseudo-device pty # pseudo-terminals
223 1.1 jonathan pseudo-device bpfilter 16 # packet filter ports
224 1.36 simonb pseudo-device ipfilter # IP filter, NAT
225 1.34 simonb #pseudo-device gre 2 # generic L3 over IP tunnel
226 1.50 itojun pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
227 1.50 itojun #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
228 1.70 itojun #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
229 1.86 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
230 1.90 atatat pseudo-device bridge # simple inter-network bridging
231 1.114 tsutsui #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
232 1.12 jonathan
233 1.34 simonb pseudo-device vnd 4 # virtual disk ick
234 1.34 simonb pseudo-device ccd 4 # concatenated disks
235 1.106 elric #pseudo-device cgd 4 # cryptographic disk devices
236 1.95 oster pseudo-device raid 8 # RAIDframe disk driver
237 1.95 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
238 1.95 oster # Options to enable various other RAIDframe RAID types.
239 1.114 tsutsui #options RF_INCLUDE_EVENODD=1
240 1.114 tsutsui #options RF_INCLUDE_RAID5_RS=1
241 1.114 tsutsui #options RF_INCLUDE_PARITYLOGGING=1
242 1.114 tsutsui #options RF_INCLUDE_CHAINDECLUSTER=1
243 1.114 tsutsui #options RF_INCLUDE_INTERDECLUSTER=1
244 1.114 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING=1
245 1.114 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
246 1.1 jonathan
247 1.34 simonb pseudo-device rasterconsole 1 # NB: raster console requires "fb"
248 1.45 simonb pseudo-device fb 3 # up to 3 framebuffers
249 1.36 simonb
250 1.36 simonb pseudo-device rnd # /dev/random and in-kernel generator
251 1.100 lukem pseudo-device clockctl # user control of clock subsystem
252 1.111 ragge pseudo-device ksyms # /dev/ksyms
253 1.117 itojun #pseudo-device pf # PF packet filter
254 1.117 itojun #pseudo-device pflog # PF log if
255