| @@ -1,247 +1,249 @@ | | | @@ -1,247 +1,249 @@ |
1 | # $NetBSD: GENERIC,v 1.97 2010/10/13 10:56:56 tsutsui Exp $ | | 1 | # $NetBSD: GENERIC,v 1.98 2010/10/13 14:34:27 tsutsui Exp $ |
2 | # | | 2 | # |
3 | # GENERIC machine description file | | 3 | # GENERIC machine description file |
4 | # | | 4 | # |
5 | # This machine description file is used to generate the default NetBSD | | 5 | # This machine description file is used to generate the default NetBSD |
6 | # kernel. The generic kernel does not include all options, subsystems | | 6 | # kernel. The generic kernel does not include all options, subsystems |
7 | # and device drivers, but should be useful for most applications. | | 7 | # and device drivers, but should be useful for most applications. |
8 | # | | 8 | # |
9 | # The machine description file can be customised for your specific | | 9 | # The machine description file can be customised for your specific |
10 | # machine to reduce the kernel size and improve its performance. | | 10 | # machine to reduce the kernel size and improve its performance. |
11 | # | | 11 | # |
12 | # For further information on compiling NetBSD kernels, see the config(8) | | 12 | # For further information on compiling NetBSD kernels, see the config(8) |
13 | # man page. | | 13 | # man page. |
14 | # | | 14 | # |
15 | # For further information on hardware support for this architecture, see | | 15 | # For further information on hardware support for this architecture, see |
16 | # the intro(4) man page. For further information about kernel options | | 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 | | 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 | | 18 | # of each device driver in this file see the section 4 man page for the |
19 | # device. | | 19 | # device. |
20 | | | 20 | |
21 | include "arch/dreamcast/conf/std.dreamcast" | | 21 | include "arch/dreamcast/conf/std.dreamcast" |
22 | | | 22 | |
23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary | | 23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary |
24 | | | 24 | |
25 | maxusers 16 # estimated number of users | | 25 | maxusers 16 # estimated number of users |
26 | | | 26 | |
27 | # Standard system options | | 27 | # Standard system options |
28 | #options INSECURE # disable kernel security levels | | 28 | #options INSECURE # disable kernel security levels |
29 | | | 29 | |
30 | #options RTC_OFFSET=-540 | | 30 | #options RTC_OFFSET=-540 |
31 | options HZ=100 # clock interrupt generates every 1/HZ sec | | 31 | options HZ=100 # clock interrupt generates every 1/HZ sec |
32 | options NTP # NTP phase/frequency locked loop | | 32 | options NTP # NTP phase/frequency locked loop |
33 | | | 33 | |
34 | options KTRACE # system call tracing via ktrace(1) | | 34 | options KTRACE # system call tracing via ktrace(1) |
35 | | | 35 | |
36 | options USERCONF # userconf(4) support | | 36 | options USERCONF # userconf(4) support |
37 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 37 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
38 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel | | 38 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel |
39 | | | 39 | |
40 | options SYSVMSG # System V-like message queues | | 40 | options SYSVMSG # System V-like message queues |
41 | options SYSVSEM # System V-like semaphores | | 41 | options SYSVSEM # System V-like semaphores |
42 | options SYSVSHM # System V-like memory sharing | | 42 | options SYSVSHM # System V-like memory sharing |
43 | options P1003_1B_SEMAPHORE # p1003.1b semaphore support | | 43 | options P1003_1B_SEMAPHORE # p1003.1b semaphore support |
44 | | | 44 | |
| | | 45 | #options MODULAR # new style module framework |
| | | 46 | |
45 | # Diagnostic/debugging support options | | 47 | # Diagnostic/debugging support options |
46 | #options DIAGNOSTIC # cheap kernel consistency checks | | 48 | #options DIAGNOSTIC # cheap kernel consistency checks |
47 | #options DEBUG # expensive debugging checks/support | | 49 | #options DEBUG # expensive debugging checks/support |
48 | #options KMEMSTATS # kernel memory statistics (vmstat -m) | | 50 | #options KMEMSTATS # kernel memory statistics (vmstat -m) |
49 | options DDB # in-kernel debugger | | 51 | options DDB # in-kernel debugger |
50 | #options KGDB # remote debugger | | 52 | #options KGDB # remote debugger |
51 | #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 | | 53 | #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 |
52 | #makeoptions DEBUG="-g" # compile full symbol table | | 54 | #makeoptions DEBUG="-g" # compile full symbol table |
53 | options SYMTAB_SPACE=310000 | | 55 | options SYMTAB_SPACE=310000 |
54 | #options SYSCALL_DEBUG | | 56 | #options SYSCALL_DEBUG |
55 | #options UVMHIST | | 57 | #options UVMHIST |
56 | #options UVMHIST_PRINT | | 58 | #options UVMHIST_PRINT |
57 | | | 59 | |
58 | # Compatibility options | | 60 | # Compatibility options |
59 | options COMPAT_16 # NetBSD 1.6, | | 61 | options COMPAT_16 # NetBSD 1.6, |
60 | options COMPAT_20 # NetBSD 2.0, | | 62 | options COMPAT_20 # NetBSD 2.0, |
61 | options COMPAT_30 # NetBSD 3.0, | | 63 | options COMPAT_30 # NetBSD 3.0, |
62 | options COMPAT_40 # NetBSD 4.0 compatibility. | | 64 | options COMPAT_40 # NetBSD 4.0 compatibility. |
63 | options COMPAT_50 # NetBSD 5.0 compatibility. | | 65 | options COMPAT_50 # NetBSD 5.0 compatibility. |
64 | options COMPAT_43 # and 4.3BSD | | 66 | options COMPAT_43 # and 4.3BSD |
65 | #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. | | 67 | #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. |
66 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. | | 68 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. |
67 | | | 69 | |
68 | # Executable format options | | 70 | # Executable format options |
69 | options EXEC_COFF # COFF executables | | 71 | options EXEC_COFF # COFF executables |
70 | | | 72 | |
71 | # File systems | | 73 | # File systems |
72 | file-system FFS # UFS | | 74 | file-system FFS # UFS |
73 | #file-system EXT2FS # second extended file system (linux) | | 75 | #file-system EXT2FS # second extended file system (linux) |
74 | #file-system LFS # log-structured file system | | 76 | #file-system LFS # log-structured file system |
75 | file-system MFS # memory file system | | 77 | file-system MFS # memory file system |
76 | file-system NFS # Network File System client | | 78 | file-system NFS # Network File System client |
77 | file-system CD9660 # CD-ROM file system | | 79 | file-system CD9660 # CD-ROM file system |
78 | #file-system MSDOSFS # MS-DOS file system | | 80 | #file-system MSDOSFS # MS-DOS file system |
79 | file-system FDESC # /dev/fd | | 81 | file-system FDESC # /dev/fd |
80 | file-system KERNFS # /kern | | 82 | file-system KERNFS # /kern |
81 | file-system PROCFS # /proc | | 83 | file-system PROCFS # /proc |
82 | #file-system NULLFS # loopback file system | | 84 | #file-system NULLFS # loopback file system |
83 | #file-system OVERLAY # overlay file system | | 85 | #file-system OVERLAY # overlay file system |
84 | #file-system UMAPFS # NULLFS + uid and gid remapping | | 86 | #file-system UMAPFS # NULLFS + uid and gid remapping |
85 | #file-system UNION # union file system | | 87 | #file-system UNION # union file system |
86 | file-system PTYFS # /dev/pts/N support | | 88 | file-system PTYFS # /dev/pts/N support |
87 | file-system TMPFS # Efficient memory file-system | | 89 | file-system TMPFS # Efficient memory file-system |
88 | #file-system UDF # experimental - OSTA UDF CD/DVD file-system | | 90 | #file-system UDF # experimental - OSTA UDF CD/DVD file-system |
89 | | | 91 | |
90 | # File system options | | 92 | # File system options |
91 | #options QUOTA # UFS quotas | | 93 | #options QUOTA # UFS quotas |
92 | #options FFS_EI # FFS Endian Independent supoprt | | 94 | #options FFS_EI # FFS Endian Independent supoprt |
93 | options WAPBL # File system journaling support - Experimental | | 95 | options WAPBL # File system journaling support - Experimental |
94 | #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental | | 96 | #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental |
95 | #options NFSSERVER # Network File System server | | 97 | #options NFSSERVER # Network File System server |
96 | options FFS_NO_SNAPSHOT # No FFS snapshot support | | 98 | options FFS_NO_SNAPSHOT # No FFS snapshot support |
97 | #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and | | 99 | #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and |
98 | # immutable) behave as system flags. | | 100 | # immutable) behave as system flags. |
99 | | | 101 | |
100 | # Networking options | | 102 | # Networking options |
101 | options INET # IP + ICMP + TCP + UDP | | 103 | options INET # IP + ICMP + TCP + UDP |
102 | options INET6 # IPV6 | | 104 | options INET6 # IPV6 |
103 | #options IPSEC # IP security | | 105 | #options IPSEC # IP security |
104 | #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) | | 106 | #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) |
105 | #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) | | 107 | #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) |
106 | #options IPSEC_DEBUG # debug for IP security | | 108 | #options IPSEC_DEBUG # debug for IP security |
107 | #options MROUTING # IP multicast routing | | 109 | #options MROUTING # IP multicast routing |
108 | #options PIM # Protocol Independent Multicast | | 110 | #options PIM # Protocol Independent Multicast |
109 | #options ISO,TPIP # OSI | | 111 | #options ISO,TPIP # OSI |
110 | #options EON # OSI tunneling over IP | | 112 | #options EON # OSI tunneling over IP |
111 | #options NETATALK # AppleTalk networking protocols | | 113 | #options NETATALK # AppleTalk networking protocols |
112 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP | | 114 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP |
113 | #options PPP_DEFLATE # Deflrate compression support for PPP | | 115 | #options PPP_DEFLATE # Deflrate compression support for PPP |
114 | #options PPP_FILTER # Active filter support for PPP (requires bpf) | | 116 | #options PPP_FILTER # Active filter support for PPP (requires bpf) |
115 | #options PFIL_HOOKS # pfil(9) packet filter hooks | | 117 | #options PFIL_HOOKS # pfil(9) packet filter hooks |
116 | #options IPFILTER_LOG # ipmon(8) log support | | 118 | #options IPFILTER_LOG # ipmon(8) log support |
117 | #options IPFILTER_LOOKUP # ippool(8) support | | 119 | #options IPFILTER_LOOKUP # ippool(8) support |
118 | #options IPFILTER_DEFAULT_BLOCK # block all packets by default | | 120 | #options IPFILTER_DEFAULT_BLOCK # block all packets by default |
119 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG | | 121 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG |
120 | | | 122 | |
121 | #options ALTQ # Manipulate network interfaces' output queues | | 123 | #options ALTQ # Manipulate network interfaces' output queues |
122 | #options ALTQ_BLUE # Stochastic Fair Blue | | 124 | #options ALTQ_BLUE # Stochastic Fair Blue |
123 | #options ALTQ_CBQ # Class-Based Queueing | | 125 | #options ALTQ_CBQ # Class-Based Queueing |
124 | #options ALTQ_CDNR # Diffserv Traffic Conditioner | | 126 | #options ALTQ_CDNR # Diffserv Traffic Conditioner |
125 | #options ALTQ_FIFOQ # First-In First-Out Queue | | 127 | #options ALTQ_FIFOQ # First-In First-Out Queue |
126 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) | | 128 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) |
127 | #options ALTQ_HFSC # Hierarchical Fair Service Curve | | 129 | #options ALTQ_HFSC # Hierarchical Fair Service Curve |
128 | #options ALTQ_LOCALQ # Local queueing discipline | | 130 | #options ALTQ_LOCALQ # Local queueing discipline |
129 | #options ALTQ_PRIQ # Priority Queueing | | 131 | #options ALTQ_PRIQ # Priority Queueing |
130 | #options ALTQ_RED # Random Early Detection | | 132 | #options ALTQ_RED # Random Early Detection |
131 | #options ALTQ_RIO # RED with IN/OUT | | 133 | #options ALTQ_RIO # RED with IN/OUT |
132 | #options ALTQ_WFQ # Weighted Fair Queueing | | 134 | #options ALTQ_WFQ # Weighted Fair Queueing |
133 | | | 135 | |
134 | #options PCIVERBOSE # verbose PCI device autoconfig messages | | 136 | #options PCIVERBOSE # verbose PCI device autoconfig messages |
135 | #options MIIVERBOSE # verbose PHY autoconfig messages | | 137 | #options MIIVERBOSE # verbose PHY autoconfig messages |
136 | #options PCI_CONFIG_DUMP # verbosely dump PCI config space | | 138 | #options PCI_CONFIG_DUMP # verbosely dump PCI config space |
137 | | | 139 | |
138 | options NFS_BOOT_DHCP # Support DHCP NFS root | | 140 | options NFS_BOOT_DHCP # Support DHCP NFS root |
139 | | | 141 | |
140 | options KLOADER # in-kernel bootloader | | 142 | options KLOADER # in-kernel bootloader |
141 | #options KLOADER_DEBUG | | 143 | #options KLOADER_DEBUG |
142 | | | 144 | |
143 | # wscons options | | 145 | # wscons options |
144 | options WSEMUL_VT100 # VT100 / VT220 emulation | | 146 | options WSEMUL_VT100 # VT100 / VT220 emulation |
145 | options FONT_BOLD8x16 | | 147 | options FONT_BOLD8x16 |
146 | #options FONT_SONY8x16 | | 148 | #options FONT_SONY8x16 |
147 | | | 149 | |
148 | # Kernel root file system and dump configuration. | | 150 | # Kernel root file system and dump configuration. |
149 | #config netbsd root on ? type nfs | | 151 | #config netbsd root on ? type nfs |
150 | #config netbsd root on wd0a type ffs | | 152 | #config netbsd root on wd0a type ffs |
151 | config netbsd root on ? type ? | | 153 | config netbsd root on ? type ? |
152 | | | 154 | |
153 | # | | 155 | # |
154 | # Device configuration | | 156 | # Device configuration |
155 | # | | 157 | # |
156 | | | 158 | |
157 | mainbus0 at root | | 159 | mainbus0 at root |
158 | | | 160 | |
159 | cpu* at mainbus? | | 161 | cpu* at mainbus? |
160 | shb* at mainbus? | | 162 | shb* at mainbus? |
161 | | | 163 | |
162 | # Serial Devices | | 164 | # Serial Devices |
163 | #options SCIFCONSOLE | | 165 | #options SCIFCONSOLE |
164 | options SCIFCN_SPEED=57600 | | 166 | options SCIFCN_SPEED=57600 |
165 | scif0 at shb? | | 167 | scif0 at shb? |
166 | | | 168 | |
167 | pvr0 at shb? | | 169 | pvr0 at shb? |
168 | wsdisplay* at pvr? console ? | | 170 | wsdisplay* at pvr? console ? |
169 | | | 171 | |
170 | maple0 at shb? | | 172 | maple0 at shb? |
171 | | | 173 | |
172 | mkbd* at maple? port ? subunit ? | | 174 | mkbd* at maple? port ? subunit ? |
173 | wskbd* at mkbd? mux 1 console ? | | 175 | wskbd* at mkbd? mux 1 console ? |
174 | | | 176 | |
175 | mms* at maple? port ? subunit ? | | 177 | mms* at maple? port ? subunit ? |
176 | wsmouse* at mms? mux 0 | | 178 | wsmouse* at mms? mux 0 |
177 | | | 179 | |
178 | mmem* at maple? port ? subunit ? | | 180 | mmem* at maple? port ? subunit ? |
179 | mlcd* at maple? port ? subunit ? | | 181 | mlcd* at maple? port ? subunit ? |
180 | | | 182 | |
181 | gdrom0 at shb? | | 183 | gdrom0 at shb? |
182 | | | 184 | |
183 | g2bus0 at shb? | | 185 | g2bus0 at shb? |
184 | g2rtc0 at g2bus? # time-of-day clock | | 186 | g2rtc0 at g2bus? # time-of-day clock |
185 | gapspci* at g2bus? # GAPS PCI bridge | | 187 | gapspci* at g2bus? # GAPS PCI bridge |
186 | pci* at gapspci? | | 188 | pci* at gapspci? |
187 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter | | 189 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter |
188 | rlphy* at mii? phy ? | | 190 | rlphy* at mii? phy ? |
189 | | | 191 | |
190 | mbe* at g2bus? # SEGA LAN Adapter | | 192 | mbe* at g2bus? # SEGA LAN Adapter |
191 | | | 193 | |
192 | aica* at g2bus? # AICA Sound Processing Unit | | 194 | aica* at g2bus? # AICA Sound Processing Unit |
193 | audio* at aica? | | 195 | audio* at aica? |
194 | | | 196 | |
195 | #pseudo-device cgd 2 # cryptographic disk devices | | 197 | #pseudo-device cgd 2 # cryptographic disk devices |
196 | pseudo-device md 1 # memory disk device (ramdisk) | | 198 | pseudo-device md 1 # memory disk device (ramdisk) |
197 | pseudo-device vnd # disk-like interface to files | | 199 | pseudo-device vnd # disk-like interface to files |
198 | #options VND_COMPRESSION # compressed vnd(4) | | 200 | #options VND_COMPRESSION # compressed vnd(4) |
199 | | | 201 | |
200 | # network pseudo-devices | | 202 | # network pseudo-devices |
201 | pseudo-device bpfilter # Berkeley packet filter | | 203 | pseudo-device bpfilter # Berkeley packet filter |
202 | #pseudo-device carp # Common Address Redundancy Protocol | | 204 | #pseudo-device carp # Common Address Redundancy Protocol |
203 | #pseudo-device ipfilter # IP filter (firewall) and NAT | | 205 | #pseudo-device ipfilter # IP filter (firewall) and NAT |
204 | pseudo-device loop # network loopback | | 206 | pseudo-device loop # network loopback |
205 | #pseudo-device ppp # Point-to-Point Protocol | | 207 | #pseudo-device ppp # Point-to-Point Protocol |
206 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) | | 208 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) |
207 | #pseudo-device sl # Serial Line IP | | 209 | #pseudo-device sl # Serial Line IP |
208 | #pseudo-device tun # network tunneling over tty | | 210 | #pseudo-device tun # network tunneling over tty |
209 | #pseudo-device tap # virtual Ethernet | | 211 | #pseudo-device tap # virtual Ethernet |
210 | #pseudo-device gre # generic L3 over IP tunnel | | 212 | #pseudo-device gre # generic L3 over IP tunnel |
211 | #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) | | 213 | #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) |
212 | #pseudo-device faith # IPv[46] tcp relay translation i/f | | 214 | #pseudo-device faith # IPv[46] tcp relay translation i/f |
213 | #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation | | 215 | #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation |
214 | #pseudo-device vlan # IEEE 802.1q encapsulation | | 216 | #pseudo-device vlan # IEEE 802.1q encapsulation |
215 | #pseudo-device bridge # simple inter-network bridging | | 217 | #pseudo-device bridge # simple inter-network bridging |
216 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too | | 218 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too |
217 | #pseudo-device agr # IEEE 802.3ad link aggregation | | 219 | #pseudo-device agr # IEEE 802.3ad link aggregation |
218 | | | 220 | |
219 | # | | 221 | # |
220 | # accept filters | | 222 | # accept filters |
221 | pseudo-device accf_data # "dataready" accept filter | | 223 | pseudo-device accf_data # "dataready" accept filter |
222 | pseudo-device accf_http # "httpready" accept filter | | 224 | pseudo-device accf_http # "httpready" accept filter |
223 | | | 225 | |
224 | # miscellaneous pseudo-devices | | 226 | # miscellaneous pseudo-devices |
225 | pseudo-device pty # pseudo-terminals | | 227 | pseudo-device pty # pseudo-terminals |
226 | pseudo-device rnd # /dev/random and in-kernel generator | | 228 | pseudo-device rnd # /dev/random and in-kernel generator |
227 | pseudo-device clockctl # user control of clock subsystem | | 229 | pseudo-device clockctl # user control of clock subsystem |
228 | pseudo-device wsmux # mouse & keyboard multiplexor | | 230 | pseudo-device wsmux # mouse & keyboard multiplexor |
229 | pseudo-device ksyms # /dev/ksyms | | 231 | pseudo-device ksyms # /dev/ksyms |
230 | #pseudo-device pf # PF packet filter | | 232 | #pseudo-device pf # PF packet filter |
231 | #pseudo-device pflog # PF log if | | 233 | #pseudo-device pflog # PF log if |
232 | | | 234 | |
233 | # Veriexec | | 235 | # Veriexec |
234 | # | | 236 | # |
235 | # a pseudo device needed for veriexec | | 237 | # a pseudo device needed for veriexec |
236 | #pseudo-device veriexec 1 | | 238 | #pseudo-device veriexec 1 |
237 | # | | 239 | # |
238 | # Uncomment the fingerprint methods below that are desired. Note that | | 240 | # Uncomment the fingerprint methods below that are desired. Note that |
239 | # removing fingerprint methods will have almost no impact on the kernel | | 241 | # removing fingerprint methods will have almost no impact on the kernel |
240 | # code size. | | 242 | # code size. |
241 | # | | 243 | # |
242 | #options VERIFIED_EXEC_FP_RMD160 | | 244 | #options VERIFIED_EXEC_FP_RMD160 |
243 | #options VERIFIED_EXEC_FP_SHA256 | | 245 | #options VERIFIED_EXEC_FP_SHA256 |
244 | #options VERIFIED_EXEC_FP_SHA384 | | 246 | #options VERIFIED_EXEC_FP_SHA384 |
245 | #options VERIFIED_EXEC_FP_SHA512 | | 247 | #options VERIFIED_EXEC_FP_SHA512 |
246 | #options VERIFIED_EXEC_FP_SHA1 | | 248 | #options VERIFIED_EXEC_FP_SHA1 |
247 | #options VERIFIED_EXEC_FP_MD5 | | 249 | #options VERIFIED_EXEC_FP_MD5 |