GENERIC32_IP3x revision 1.135 1 # $NetBSD: GENERIC32_IP3x,v 1.135 2022/08/07 02:52:29 simonb Exp $
2 #
3 # GENERIC32_IP3x 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 #
22 # Currently this config file supports O2 (IP32).
23 #
24
25 include "arch/sgimips/conf/std.sgimips"
26
27 makeoptions TEXTADDR="0x80069000" # entry point
28
29 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
30
31 #ident "GENERIC32_IP3x-$Revision: 1.135 $"
32
33 maxusers 32
34
35 # CPU related options
36 options MIPS3 # MIPS3 support
37 options ENABLE_MIPS4_CACHE_R10K # enable R10000 cache ops
38 #options BLINK # blinkenlitzen
39 makeoptions CPUFLAGS="-march=mips3 -mtune=vr5000"
40
41 # Standard system options
42 #options INSECURE # disable kernel security levels
43
44 #options NTP # NTP phase/frequency locked loop
45 options KTRACE # system call tracing via ktrace(1)
46
47 options SYSVMSG # System V message queues
48 options SYSVSEM # System V semaphores
49 options SYSVSHM # System V shared memory
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 # Alternate buffer queue strategies for better responsiveness under high
56 # disk I/O load.
57 #options BUFQ_READPRIO
58 options BUFQ_PRIOCSCAN
59
60 # Diagnostic/debugging support options
61 #options DIAGNOSTIC # expensive kernel consistency checks
62 #options DEBUG # expensive debugging checks/support
63 options DDB # in-kernel debugger
64 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
65 #options KGDB # remote debugger
66 #options KGDB_DEV=0x2301 # KGDB port - this is Serial(1)
67 #options KGDB_DEVRATE=19200 # KGDB Baud Rate
68 #makeoptions DEBUG="-g" # compile full symbol table
69
70 # Compatibility options
71 include "conf/compat_netbsd15.config"
72
73 # File systems
74 include "conf/filesystems.config"
75
76 # File system options
77 #options FFS_EI # FFS Endian Independent support
78 #options FFS_NO_SNAPSHOT # No FFS snapshot support
79 options QUOTA # legacy UFS quotas
80 options QUOTA2 # new, in-filesystem UFS quotas
81 options UFS_DIRHASH # UFS Large Directory Hashing
82 options UFS_EXTATTR # Extended attribute support for UFS1
83 options WAPBL # File system journaling support
84 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
85 # immutable) behave as system flags.
86 options NFSSERVER # Network File System server
87
88 # Networking options
89 #options GATEWAY # packet forwarding
90 options INET # IP + ICMP + TCP + UDP
91 options INET6 # IPV6
92 #options IPSEC # IP security
93 #options IPSEC_DEBUG # debug for IP security
94 #options MROUTING # IP multicast routing
95 #options PIM # Protocol Independent Multicast
96 options NETATALK # AppleTalk networking protocols
97 options PPP_BSDCOMP # BSD-Compress compression support for PPP
98 options PPP_DEFLATE # Deflate compression support for PPP
99 options PPP_FILTER # Active filter support for PPP (requires bpf)
100 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
101
102 #options ALTQ # Manipulate network interfaces' output queues
103 #options ALTQ_BLUE # Stochastic Fair Blue
104 #options ALTQ_CBQ # Class-Based Queueing
105 #options ALTQ_CDNR # Diffserv Traffic Conditioner
106 #options ALTQ_FIFOQ # First-In First-Out Queue
107 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
108 #options ALTQ_HFSC # Hierarchical Fair Service Curve
109 #options ALTQ_LOCALQ # Local queueing discipline
110 #options ALTQ_PRIQ # Priority Queueing
111 #options ALTQ_RED # Random Early Detection
112 #options ALTQ_RIO # RED with IN/OUT
113 #options ALTQ_WFQ # Weighted Fair Queueing
114
115 # JIT compiler for bpfilter
116 #options SLJIT
117 #options BPFJIT
118
119 # These options enable verbose messages for several subsystems.
120 # Warning, these may compile large string tables into the kernel!
121 options MIIVERBOSE # verbose PHY autoconfig messages
122 options PCIVERBOSE # verbose PCI device autoconfig messages
123 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
124 options SCSIVERBOSE # human readable SCSI error messages
125
126 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
127
128 #options MEMORY_DISK_HOOKS
129 #options MEMORY_DISK_IS_ROOT
130 #options MEMORY_DISK_SERVER=0
131 #options MINIROOTSIZE=8192
132
133 #options SCSI_DELAY=5
134
135 # Kernel root file system and dump configuration.
136 config netbsd root on ? type ?
137
138 # Main bus and CPU
139 mainbus0 at root
140 cpu0 at mainbus?
141
142 # O2 busses
143 crime0 at mainbus0 addr 0x14000000
144 crmfb0 at mainbus0 addr 0x16000000
145 wsdisplay* at crmfb? console ?
146 mace0 at mainbus0 addr 0x1f000000
147 #options MACE_NEEDS_DELAYS
148 macepci0 at mace0 offset 0x080000 intr 7
149 pci0 at macepci0 bus 0
150 pci* at ppb? bus ?
151 options PCI_NETBSD_CONFIGURE
152
153 options WSEMUL_VT100
154 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
155 options WS_KERNEL_FG=WSCOL_GREEN
156 options WS_KERNEL_BG=WSCOL_BLACK
157 options WS_DEFAULT_BG=WSCOL_BLACK
158
159 # MACE devices
160 mec0 at mace0 offset 0x280000 intr 3
161 mavb0 at mace0 offset 0x300000 intr 6
162 macekbc0 at mace0 offset 0x320000 intr 5
163 lpt0 at mace0 offset 0x380000 intr 4 intrmask 0x000f0000
164 com0 at mace0 offset 0x390000 intr 4 intrmask 0x03f00000
165 com1 at mace0 offset 0x398000 intr 4 intrmask 0xfc000000
166 mcclock0 at mace0 offset 0x3a0000
167
168 # PCI bridges
169 ppb* at pci? dev ? function ? # PCI-PCI bridges
170
171 # PCI cryptographic devices
172 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
173 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
174
175 # PCI network devices
176 #an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
177 #bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
178 ep* at pci? dev ? function ? # 3Com 3c59x
179 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
180 ex* at pci? dev ? function ? # 3Com 90x[BC]
181 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
182 gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
183 #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
184 mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
185 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
186 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
187 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
188 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
189 rtk* at pci? dev ? function ? # Realtek 8129/8139
190 sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
191 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
192 #skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet
193 #sk* at skc? # SysKonnect SK9821 Gigabit Ethernet
194 ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
195 #stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
196 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
197 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
198 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
199 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
200 wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
201 wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
202
203 # MII/PHY support
204 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
205 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
206 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
207 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
208 dmphy* at mii? phy ? # Davicom DM9101 PHYs
209 exphy* at mii? phy ? # 3Com internal PHYs
210 gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
211 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
212 gphyter* at mii? phy ? # NS83861 Gig-E PHY
213 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
214 ikphy* at mii? phy ? # Intel 82563 PHYs
215 inphy* at mii? phy ? # Intel 82555 PHYs
216 iophy* at mii? phy ? # Intel 82553 PHYs
217 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
218 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
219 nsphy* at mii? phy ? # NS83840 PHYs
220 nsphyter* at mii? phy ? # NS83843 PHYs
221 pnaphy* at mii? phy ? # generic HomePNA PHYs
222 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
223 rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
224 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
225 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
226 tlphy* at mii? phy ? # ThunderLAN PHYs
227 tqphy* at mii? phy ? # TDK Semiconductor PHYs
228 ukphy* at mii? phy ? # generic unknown PHYs
229 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
230
231 # O2 SCSI
232 adv* at pci? dev ? function ?
233 ahc* at pci? dev ? function ?
234 esiop* at pci? dev ? function ?
235 njs* at pci? dev ? function ?
236 pcscp* at pci? dev ? function ?
237 scsibus* at scsi?
238
239 sd* at scsibus? target ? lun ? # SCSI disks
240 st* at scsibus? target ? lun ? # SCSI tapes
241 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
242 ch* at scsibus? target ? lun ? # SCSI changer devices
243 ss* at scsibus? target ? lun ? # SCSI scanners
244 ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
245 uk* at scsibus? target ? lun ? # unknown SCSI
246
247 pckbd* at macekbc?
248 pms* at macekbc?
249 wskbd* at pckbd? console ?
250 wsmouse* at pms? mux 0
251 #wsdisplay* at foofb? console ?
252
253 # USB Controller and Devices
254
255 # PCI USB controllers
256 ehci* at pci? dev ? function ? # Enhanced Host Controller
257 ohci* at pci? dev ? function ? # Open Host Controller
258 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
259
260 # USB bus support
261 usb* at ehci?
262 usb* at ohci?
263 usb* at uhci?
264
265 include "dev/usb/usbdevices.config"
266
267 # PCI IEEE1394 controllers
268 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
269
270 ieee1394if* at fwohci?
271 fwip* at ieee1394if? # IP over IEEE1394
272 sbp* at ieee1394if? euihi ? euilo ?
273
274 # Audio support
275 audio* at audiobus?
276
277 spkr* at audio? # PC speaker (synthesized)
278
279 # MIDI support
280 midi* at midibus?
281
282 include "dev/bluetooth/bluetoothdevices.config"
283
284 # Pseudo-Devices
285
286 pseudo-device crypto # /dev/crypto device
287 pseudo-device swcrypto # software crypto implementation
288
289 # disk/mass storage pseudo-devices
290 pseudo-device ccd # concatenated/striped disk devices
291 #pseudo-device cgd # cryptographic disk devices
292 #pseudo-device raid # RAIDframe disk driver
293 #options RAID_AUTOCONFIG # auto-configuration of RAID components
294 pseudo-device fss # file system snapshot device
295 pseudo-device md # memory disk device (ramdisk)
296 pseudo-device vnd # disk-like interface to files
297 #options VND_COMPRESSION # compressed vnd(4)
298
299 # network pseudo-devices
300 pseudo-device bpfilter # Berkeley packet filter
301 pseudo-device carp # Common Address Redundancy Protocol
302 pseudo-device npf # NPF packet filter
303 pseudo-device loop # network loopback
304 pseudo-device ppp # Point-to-Point Protocol
305 pseudo-device sl # Serial Line IP
306 pseudo-device tun # network tunneling over tty
307 pseudo-device tap # virtual Ethernet
308 pseudo-device gre # generic L3 over IP tunnel
309 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
310 #pseudo-device faith # IPv[46] tcp relay translation i/f
311 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
312 pseudo-device vlan # IEEE 802.1q encapsulation
313 pseudo-device bridge # simple inter-network bridging
314 pseudo-device vether # Virtual Ethernet for bridge
315 pseudo-device agr # IEEE 802.3ad link aggregation
316 pseudo-device accf_data # "dataready" accept filter
317 pseudo-device accf_http # "httpready" accept filter
318
319 # miscellaneous pseudo-devices
320 pseudo-device pty # pseudo-terminals
321 pseudo-device sequencer # MIDI sequencer
322 pseudo-device clockctl # user control of clock subsystem
323 pseudo-device ksyms # /dev/ksyms
324
325 # wscons pseudo-devices
326 pseudo-device wsmux # mouse & keyboard multiplexor
327 pseudo-device wsfont
328
329 # userland interface to drivers, including autoconf and properties retrieval
330 pseudo-device drvctl
331
332 include "dev/veriexec.config"
333