GENERIC revision 1.93 1 # $NetBSD: GENERIC,v 1.93 2018/08/01 20:04:12 maxv 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/mipsco/conf/std.mipsco"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 maxusers 16
26
27 options MIPS1 # R2000/R3000 support
28
29 # Standard system options
30 options KTRACE # system call tracing support
31 options SYSVMSG # System V message queues
32 options SYSVSEM # System V semaphores
33 options SYSVSHM # System V shared memory
34 #options NTP # network time protocol
35 options HZ=25
36 options USERCONF # userconf(4) support
37 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
38 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
39
40 # Alternate buffer queue strategies for better responsiveness under high
41 # disk I/O load.
42 #options BUFQ_READPRIO
43 #options BUFQ_PRIOCSCAN
44
45 # Debugging options
46 options DDB # kernel dynamic debugger
47 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
48 #options DEBUG # extra kernel debugging support
49 #options DIAGNOSTIC # extra kernel sanity checking
50 options SCSIVERBOSE # Verbose SCSI errors
51
52 #options KGDB # Remote kernel debug using gdb
53 #options KGDB_DEV=0x0100 # KGDB port (this is serial0)
54 #options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200)
55 #makeoptions DEBUG="-g" # Build kernel with debug symbols
56
57 # Compatibility options
58 include "conf/compat_netbsd13.config"
59
60 #options EXEC_AOUT # exec a.out binaries
61 #options EXEC_ECOFF # exec ecoff binaries
62
63 # Filesystem options
64 file-system FFS # Berkeley Fast Filesystem
65 file-system NFS # Sun NFS-compatible filesystem client
66 file-system KERNFS # kernel data-structure filesystem
67 #file-system NULLFS # NULL layered filesystem
68 #file-system MFS # memory-based filesystem
69 #file-system FDESC # user file descriptor filesystem
70 #file-system UMAPFS # uid/gid remapping filesystem
71 #file-system LFS # Log-based filesystem (still experimental)
72 file-system PROCFS # /proc
73 file-system CD9660 # ISO 9660 + Rock Ridge file system
74 #file-system UNION # union file system
75 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
76 file-system PTYFS # /dev/pts/N support
77 file-system TMPFS # Efficient memory file-system
78 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
79 #
80 options NFSSERVER # Sun NFS-compatible filesystem server
81 options QUOTA # legacy UFS quotas
82 options QUOTA2 # new, in-filesystem UFS quotas
83 #options FFS_EI # FFS Endian Independent support
84 #options FFS_NO_SNAPSHOT # No FFS snapshot support
85 options UFS_EXTATTR # Extended attribute support for UFS1
86
87 # Networking options
88 options INET # Internet protocols
89 #options GATEWAY # IP packet forwarding
90 #options MROUTING # packet forwarding of multicast packets
91 #options PIM # Protocol Independent Multicast
92 #options NETATALK # AppleTalk (over Ethernet) protocol
93 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
94 #options PPP_DEFLATE # Deflate compression support for PPP
95 #options PPP_FILTER # Active filter support for PPP (requires bpf)
96 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
97
98 #options ALTQ # Manipulate network interfaces' output queues
99 #options ALTQ_BLUE # Stochastic Fair Blue
100 #options ALTQ_CBQ # Class-Based Queueing
101 #options ALTQ_CDNR # Diffserv Traffic Conditioner
102 #options ALTQ_FIFOQ # First-In First-Out Queue
103 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
104 #options ALTQ_HFSC # Hierarchical Fair Service Curve
105 #options ALTQ_LOCALQ # Local queueing discipline
106 #options ALTQ_PRIQ # Priority Queueing
107 #options ALTQ_RED # Random Early Detection
108 #options ALTQ_RIO # RED with IN/OUT
109 #options ALTQ_WFQ # Weighted Fair Queueing
110
111 config netbsd root on ? type ?
112
113 mainbus0 at root
114
115 cpu0 at mainbus0
116 obio0 at mainbus0
117
118 mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock
119
120 rambo0 at obio0 addr 0xbc000000 # RAMBO DMA & timer asic
121
122 le0 at obio0 addr 0xba000000 # onboard LANCE ethernet
123
124 # Not currently implemented
125 #kb0 at obio0 addr 0xbfd00000 # keyboard
126 #fb0 at obio0 addr 0x88000000 # framebuffer
127
128 fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller
129
130 zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC
131 zstty0 at zsc0 channel 0 # tty00
132 zstty1 at zsc0 channel 1 # tty01
133
134 asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller
135
136 scsibus0 at asc0
137
138 sd* at scsibus? target ? lun ? # SCSI disks
139 st* at scsibus? target ? lun ? # SCSI tapes
140 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
141 ch* at scsibus? target ? lun ? # SCSI changer devices
142
143 #
144 # accept filters
145 pseudo-device accf_data # "dataready" accept filter
146 pseudo-device accf_http # "httpready" accept filter
147
148 pseudo-device loop # loopback interface; required
149 pseudo-device pty # pseudo-terminals
150 #pseudo-device sl # SLIP interfaces
151 #pseudo-device ppp # PPP interfaces
152 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
153 pseudo-device tun # Network "tunnel" device
154 pseudo-device tap # virtual Ethernet
155 #pseudo-device gre # generic L3 over IP tunnel
156 pseudo-device bpfilter # Berkeley Packet Filter
157 #pseudo-device carp # Common Address Redundancy Protocol
158 #pseudo-device vnd # disk-like interface to files
159 #options VND_COMPRESSION # compressed vnd(4)
160 #pseudo-device ccd # concatenated and striped disks
161 #pseudo-device cgd # cryptographic disks
162 #pseudo-device raid # RAIDframe disk driver
163 # Options to enable various other RAIDframe RAID types.
164 # options RF_INCLUDE_EVENODD=1
165 # options RF_INCLUDE_RAID5_RS=1
166 # options RF_INCLUDE_PARITYLOGGING=1
167 # options RF_INCLUDE_CHAINDECLUSTER=1
168 # options RF_INCLUDE_INTERDECLUSTER=1
169 # options RF_INCLUDE_PARITY_DECLUSTERING=1
170 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
171 pseudo-device fss # file system snapshot device
172 #pseudo-device strip # radio clock
173 #pseudo-device npf # NPF packet filter
174 pseudo-device vlan # IEEE 802.1q encapsulation
175 pseudo-device bridge # simple inter-network bridging
176 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
177 pseudo-device agr # IEEE 802.3ad link aggregation
178 pseudo-device clockctl # user control of clock subsystem
179
180 # random number generator pseudo-device
181 #options RND_COM # use "com" randomness as well (BROKEN)
182 pseudo-device ksyms # /dev/ksyms
183
184 # Veriexec
185 #
186 # a pseudo device needed for veriexec
187 #pseudo-device veriexec
188 #
189 # Uncomment the fingerprint methods below that are desired. Note that
190 # removing fingerprint methods will have almost no impact on the kernel
191 # code size.
192 #
193 #options VERIFIED_EXEC_FP_SHA256
194 #options VERIFIED_EXEC_FP_SHA384
195 #options VERIFIED_EXEC_FP_SHA512
196