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