GENERIC revision 1.36.2.6 1 # $NetBSD: GENERIC,v 1.36.2.6 2005/01/24 08:34:06 skrll 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/dreamcast/conf/std.dreamcast"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 maxusers 16 # estimated number of users
26
27 # Standard system options
28 #options INSECURE # disable kernel security levels
29
30 #options RTC_OFFSET=-540
31 options HZ=100 # clock interrupt generates every 1/HZ sec
32 options NTP # NTP phase/frequency locked loop
33
34 options KTRACE # system call tracing via ktrace(1)
35 options SYSTRACE # system call vetting via sistrace(1)
36
37 options USERCONF # userconf(4) support
38 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
39 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
40
41 options SYSVMSG # System V-like message queues
42 options SYSVSEM # System V-like semaphores
43 #options SEMMNI=10 # number of semaphore identifiers
44 #options SEMMNS=60 # number of semaphores in system
45 #options SEMUME=10 # max number of undo entries per process
46 #options SEMMNU=30 # number of undo structures in system
47 options SYSVSHM # System V-like memory sharing
48 #options SHMMAXPGS=1024 # 1024 pages is the default
49 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
50
51 # Diagnostic/debugging support options
52 options DIAGNOSTIC # cheap kernel consistency checks
53 #options DEBUG # expensive debugging checks/support
54 #options KMEMSTATS # kernel memory statistics (vmstat -m)
55 options DDB # in-kernel debugger
56 #options KGDB # remote debugger
57 #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
58 #makeoptions DEBUG="-g" # compile full symbol table
59 options SYMTAB_SPACE=204800
60 #options SYSCALL_DEBUG
61 #options UVMHIST
62 #options UVMHIST_PRINT
63
64 # Compatibility options
65 options COMPAT_16 # NetBSD 1.6,
66 options COMPAT_20 # NetBSD 2.0,
67 options COMPAT_43 # and 4.3BSD
68 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
69 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
70
71 # Executable format options
72 options EXEC_COFF # COFF executables
73 options EXEC_ELF32 # 32-bit ELF executables
74
75 # File systems
76 file-system FFS # UFS
77 #file-system EXT2FS # second extended file system (linux)
78 #file-system LFS # log-structured file system
79 file-system MFS # memory file system
80 file-system NFS # Network File System client
81 file-system CD9660 # CD-ROM file system
82 #file-system MSDOSFS # MS-DOS file system
83 file-system FDESC # /dev/fd
84 file-system KERNFS # /kern
85 file-system PROCFS # /proc
86 #file-system NULLFS # loopback file system
87 #file-system OVERLAY # overlay file system
88 #file-system PORTAL # portal file system (still experimental)
89 #file-system UMAPFS # NULLFS + uid and gid remapping
90 #file-system UNION # union file system
91
92 # File system options
93 #options QUOTA # UFS quotas
94 #options FFS_EI # FFS Endian Independent supoprt
95 #options SOFTDEP # FFS soft updates support
96 #options NFSSERVER # Network File System server
97 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
98 # immutable) behave as system flags.
99
100 # Networking options
101 options INET # IP + ICMP + TCP + UDP
102 options INET6 # IPV6
103 #options IPSEC # IP security
104 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
105 #options IPSEC_DEBUG # debug for IP security
106 #options MROUTING # IP multicast routing
107 #options PIM # Protocol Independent Multicast
108 #options NS # XNS
109 #options NSIP # XNS tunneling over IP
110 #options ISO,TPIP # OSI
111 #options EON # OSI tunneling over IP
112 #options CCITT,LLC, HDLC # X.25
113 #options NETATALK # AppleTalk networking protocols
114 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
115 #options PPP_DEFLATE # Deflrate compression support for PPP
116 #options PPP_FILTER # Active filter support for PPP (requires bpf)
117 #options PFIL_HOOKS # pfil(9) packet filter hooks
118 #options IPFILTER_LOG # ipmon(8) log support
119 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
120 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
121
122 #options ALTQ # Manipulate network interfaces' output queues
123 #options ALTQ_BLUE # Stochastic Fair Blue
124 #options ALTQ_CBQ # Class-Based Queueing
125 #options ALTQ_CDNR # Diffserv Traffic Conditioner
126 #options ALTQ_FIFOQ # First-In First-Out Queue
127 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
128 #options ALTQ_HFSC # Hierarchical Fair Service Curve
129 #options ALTQ_LOCALQ # Local queueing discipline
130 #options ALTQ_PRIQ # Priority Queueing
131 #options ALTQ_RED # Random Early Detection
132 #options ALTQ_RIO # RED with IN/OUT
133 #options ALTQ_WFQ # Weighted Fair Queueing
134
135 #options PCIVERBOSE # verbose PCI device autoconfig messages
136 #options MIIVERBOSE # verbose PHY autoconfig messages
137 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
138
139 options NFS_BOOT_DHCP # Support DHCP NFS root
140
141 options KLOADER # in-kernel bootloader
142 #options KLOADER_DEBUG
143
144 # wscons options
145 options WSEMUL_VT100 # VT100 / VT220 emulation
146 options FONT_BOLD8x16
147 #options FONT_SONY8x16
148
149 # Kernel root file system and dump configuration.
150 #config netbsd root on ? type nfs
151 #config netbsd root on wd0a type ffs
152 config netbsd root on ? type ?
153
154 #
155 # Device configuration
156 #
157
158 mainbus0 at root
159
160 cpu* at mainbus?
161 shb* at mainbus?
162
163 # Serial Devices
164 #options SCIFCONSOLE
165 options SCIFCN_SPEED=57600
166 scif0 at shb?
167
168 pvr0 at shb?
169 wsdisplay* at pvr? console ?
170
171 maple0 at shb?
172
173 mkbd* at maple? port ? subunit ?
174 wskbd* at mkbd? mux 1 console ?
175
176 mms* at maple? port ? subunit ?
177 wsmouse* at mms? mux 0
178
179 mmem* at maple? port ? subunit ?
180 mlcd* at maple? port ? subunit ?
181
182 gdrom0 at shb?
183
184 g2bus0 at shb?
185 gapspci* at g2bus? # GAPS PCI bridge
186 pci* at gapspci?
187 rtk* at pci? dev ? function ? # SEGA Broadband Adapter
188 ukphy* at mii? phy ?
189
190 mbe* at g2bus? # SEGA LAN Adapter
191
192 aica* at g2bus? # AICA Sound Processing Unit
193 audio* at aica?
194
195 #pseudo-device cgd 2 # cryptographic disk devices
196 pseudo-device md 1 # memory disk device (ramdisk)
197 pseudo-device vnd 2 # disk-like interface to files
198
199 # network pseudo-devices
200 pseudo-device bpfilter 4 # Berkeley packet filter
201 #pseudo-device ipfilter # IP filter (firewall) and NAT
202 pseudo-device loop # network loopback
203 #pseudo-device ppp 1 # Point-to-Point Protocol
204 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
205 #pseudo-device sl 1 # Serial Line IP
206 #pseudo-device tun 1 # network tunneling over tty
207 #pseudo-device tap # virtual Ethernet
208 #pseudo-device gre 1 # generic L3 over IP tunnel
209 #pseudo-device gif 1 # IPv[46] over IPv[46] tunnel (RFC1933)
210 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
211 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
212 #pseudo-device vlan # IEEE 802.1q encapsulation
213 #pseudo-device bridge # simple inter-network bridging
214 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
215
216 # miscellaneous pseudo-devices
217 pseudo-device pty # pseudo-terminals
218 pseudo-device rnd # /dev/random and in-kernel generator
219 pseudo-device clockctl # user control of clock subsystem
220 pseudo-device wsmux # mouse & keyboard multiplexor
221 pseudo-device ksyms # /dev/ksyms
222 #pseudo-device pf # PF packet filter
223 #pseudo-device pflog # PF log if
224