| @@ -1,223 +1,225 @@ | | | @@ -1,223 +1,225 @@ |
1 | # $NetBSD: GENERIC,v 1.97.2.1 2012/07/25 21:30:34 martin Exp $ | | 1 | # $NetBSD: GENERIC,v 1.97.2.2 2014/01/12 12:08:36 bouyer 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/luna68k/conf/std.luna68k" | | 21 | include "arch/luna68k/conf/std.luna68k" |
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 | #ident "GENERIC-$Revision: 1.97.2.1 $" | | 25 | #ident "GENERIC-$Revision: 1.97.2.2 $" |
26 | | | 26 | |
27 | maxusers 8 | | 27 | maxusers 8 |
28 | | | 28 | |
29 | options M68030 | | 29 | options M68030 |
30 | options M68040 | | 30 | options M68040 |
31 | options FPSP # on m68040 to emulate some missing FP instructions | | 31 | options FPSP # on m68040 to emulate some missing FP instructions |
32 | | | 32 | |
33 | # Needs to be set per system. i.e change these as you see fit | | 33 | # Needs to be set per system. i.e change these as you see fit |
34 | | | 34 | |
35 | # Standard system options | | 35 | # Standard system options |
36 | options NTP # NTP phase/frequency locked loop | | 36 | options NTP # NTP phase/frequency locked loop |
37 | options KTRACE | | 37 | options KTRACE |
38 | options SYSVMSG # System V message queues | | 38 | options SYSVMSG # System V message queues |
39 | options SYSVSEM # System V semaphores | | 39 | options SYSVSEM # System V semaphores |
40 | options SYSVSHM # System V shared memory | | 40 | options SYSVSHM # System V shared memory |
41 | #options P1003_1B_SEMAPHORE # p1003.1b semaphore support | | 41 | #options P1003_1B_SEMAPHORE # p1003.1b semaphore support |
42 | options USERCONF # userconf(4) support | | 42 | options USERCONF # userconf(4) support |
43 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 43 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
44 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel | | 44 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel |
45 | | | 45 | |
46 | # Enable experimental buffer queue strategy for better responsiveness under | | 46 | # Enable experimental buffer queue strategy for better responsiveness under |
47 | # high disk I/O load. Use it with caution - it's not proven to be stable yet. | | 47 | # high disk I/O load. Use it with caution - it's not proven to be stable yet. |
48 | #options BUFQ_READPRIO | | 48 | #options BUFQ_READPRIO |
49 | #options BUFQ_PRIOCSCAN | | 49 | #options BUFQ_PRIOCSCAN |
50 | | | 50 | |
51 | # Debugging options | | 51 | # Debugging options |
52 | options DDB | | 52 | options DDB |
53 | #options DDB_HISTORY_SIZE=100 # enable history editing in DDB | | 53 | #options DDB_HISTORY_SIZE=100 # enable history editing in DDB |
54 | #options SYMTAB_SPACE=448000 # place DDB symbols in data segment | | 54 | #options SYMTAB_SPACE=448000 # place DDB symbols in data segment |
55 | #options DEBUG # extra kernel debugging support | | 55 | #options DEBUG # extra kernel debugging support |
56 | #options DIAGNOSTIC # extra kernel sanity checking | | 56 | #options DIAGNOSTIC # extra kernel sanity checking |
57 | #options SCSIVERBOSE # Verbose SCSI errors | | 57 | #options SCSIVERBOSE # Verbose SCSI errors |
58 | #options SCSIDEBUG | | 58 | #options SCSIDEBUG |
59 | #makeoptions DEBUG="-g" # compile full symbol table | | 59 | #makeoptions DEBUG="-g" # compile full symbol table |
60 | | | 60 | |
61 | # Compatibility options | | 61 | # Compatibility options |
62 | options COMPAT_43 # and 4.3BSD and ... | | 62 | options COMPAT_43 # and 4.3BSD and ... |
63 | options COMPAT_12 # NetBSD 1.2 binary compatibility | | 63 | options COMPAT_12 # NetBSD 1.2 binary compatibility |
64 | options COMPAT_13 # NetBSD 1.3 binary compatibility | | 64 | options COMPAT_13 # NetBSD 1.3 binary compatibility |
65 | options COMPAT_14 # NetBSD 1.4 binary compatibility | | 65 | options COMPAT_14 # NetBSD 1.4 binary compatibility |
66 | options COMPAT_15 # NetBSD 1.5 binary compatibility | | 66 | options COMPAT_15 # NetBSD 1.5 binary compatibility |
67 | options COMPAT_16 # NetBSD 1.6 binary compatibility | | 67 | options COMPAT_16 # NetBSD 1.6 binary compatibility |
68 | options COMPAT_20 # NetBSD 2.0 binary compatibility | | 68 | options COMPAT_20 # NetBSD 2.0 binary compatibility |
69 | options COMPAT_30 # NetBSD 3.0 compatibility. | | 69 | options COMPAT_30 # NetBSD 3.0 compatibility. |
70 | options COMPAT_40 # NetBSD 4.0 compatibility. | | 70 | options COMPAT_40 # NetBSD 4.0 compatibility. |
71 | options COMPAT_50 # NetBSD 5.0 compatibility. | | 71 | options COMPAT_50 # NetBSD 5.0 compatibility. |
72 | #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. | | 72 | #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. |
73 | options COMPAT_AOUT_M68K # support for NetBSD a.out executables | | 73 | options COMPAT_AOUT_M68K # support for NetBSD a.out executables |
74 | options EXEC_AOUT # support for a.out executables | | 74 | options EXEC_AOUT # support for a.out executables |
75 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. | | 75 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. |
76 | | | 76 | |
77 | # Filesystem options | | 77 | # Filesystem options |
78 | file-system FFS # ufs file system | | 78 | file-system FFS # ufs file system |
79 | #file-system LFS # log-structured file system | | 79 | #file-system LFS # log-structured file system |
80 | file-system NFS # nfs client support | | 80 | file-system NFS # nfs client support |
81 | file-system MFS | | 81 | file-system MFS |
82 | #file-system CD9660 # ISO 9660 + Rock Ridge file system | | 82 | file-system CD9660 # ISO 9660 + Rock Ridge file system |
83 | #file-system MSDOSFS # MS-DOS FAT file system | | 83 | #file-system MSDOSFS # MS-DOS FAT file system |
84 | file-system KERNFS # /kern | | 84 | file-system KERNFS # /kern |
85 | file-system PROCFS # /proc | | 85 | file-system PROCFS # /proc |
86 | #file-system FDESC # /dev/fd/* | | 86 | #file-system FDESC # /dev/fd/* |
87 | file-system NULLFS # loopback file system | | 87 | file-system NULLFS # loopback file system |
88 | #file-system UMAPFS # NULLFS + uid and gid remapping | | 88 | #file-system UMAPFS # NULLFS + uid and gid remapping |
89 | #file-system UNION # union file system | | 89 | #file-system UNION # union file system |
90 | #file-system CODA # Coda File System; also needs vcode (below) | | 90 | #file-system CODA # Coda File System; also needs vcode (below) |
91 | file-system PTYFS # /dev/pts/N support | | 91 | file-system PTYFS # /dev/pts/N support |
92 | file-system TMPFS # Efficient memory file-system | | 92 | file-system TMPFS # Efficient memory file-system |
93 | #file-system UDF # experimental - OSTA UDF CD/DVD file-system | | 93 | #file-system UDF # experimental - OSTA UDF CD/DVD file-system |
94 | | | 94 | |
95 | #options NFSSERVER # nfs server support | | 95 | #options NFSSERVER # nfs server support |
96 | #options QUOTA # legacy UFS quotas | | 96 | #options QUOTA # legacy UFS quotas |
97 | #options QUOTA2 # new, in-filesystem UFS quotas | | 97 | #options QUOTA2 # new, in-filesystem UFS quotas |
98 | #options FFS_EI # ffs endian independent support | | 98 | #options FFS_EI # ffs endian independent support |
99 | options WAPBL # File system journaling support | | 99 | options WAPBL # File system journaling support |
100 | #options FFS_NO_SNAPSHOT # No FFS snapshot support | | 100 | #options FFS_NO_SNAPSHOT # No FFS snapshot support |
101 | #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental | | 101 | #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental |
102 | | | 102 | |
103 | # Networking options | | 103 | # Networking options |
104 | options INET # IP protocol stack support | | 104 | options INET # IP protocol stack support |
105 | #options INET6 # IPV6 | | 105 | #options INET6 # IPV6 |
106 | #options IPSEC # IP security | | 106 | #options IPSEC # IP security |
107 | #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) | | 107 | #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) |
108 | #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) | | 108 | #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) |
109 | #options IPSEC_DEBUG # debug for IP security | | 109 | #options IPSEC_DEBUG # debug for IP security |
110 | #options GATEWAY # IP packet forwarding | | 110 | #options GATEWAY # IP packet forwarding |
111 | #options MROUTING # IP multicast routing | | 111 | #options MROUTING # IP multicast routing |
112 | #options PIM # Protocol Independent Multicast | | 112 | #options PIM # Protocol Independent Multicast |
113 | #options ISO,TPIP # OSI | | 113 | #options ISO,TPIP # OSI |
114 | #options EON # OSI tunneling over IP | | 114 | #options EON # OSI tunneling over IP |
115 | #options NETATALK # AppleTalk networking protocols | | 115 | #options NETATALK # AppleTalk networking protocols |
116 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP | | 116 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP |
117 | #options PPP_DEFLATE # Deflate compression support for PPP | | 117 | #options PPP_DEFLATE # Deflate compression support for PPP |
118 | #options PPP_FILTER # Active filter support for PPP (requires bpf) | | 118 | #options PPP_FILTER # Active filter support for PPP (requires bpf) |
119 | #options PFIL_HOOKS # pfil(9) packet filter hooks | | 119 | #options PFIL_HOOKS # pfil(9) packet filter hooks |
120 | #options IPFILTER_LOG # ipmon(8) log support | | 120 | #options IPFILTER_LOG # ipmon(8) log support |
121 | #options IPFILTER_LOOKUP # ippool(8) support | | 121 | #options IPFILTER_LOOKUP # ippool(8) support |
122 | #options IPFILTER_DEFAULT_BLOCK # block all packets by default | | 122 | #options IPFILTER_DEFAULT_BLOCK # block all packets by default |
123 | options NFS_BOOT_DHCP # superset of BOOTP | | 123 | options NFS_BOOT_DHCP # superset of BOOTP |
124 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG | | 124 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG |
125 | | | 125 | |
126 | #options ALTQ # Manipulate network interfaces' output queues | | 126 | #options ALTQ # Manipulate network interfaces' output queues |
127 | #options ALTQ_BLUE # Stochastic Fair Blue | | 127 | #options ALTQ_BLUE # Stochastic Fair Blue |
128 | #options ALTQ_CBQ # Class-Based Queueing | | 128 | #options ALTQ_CBQ # Class-Based Queueing |
129 | #options ALTQ_CDNR # Diffserv Traffic Conditioner | | 129 | #options ALTQ_CDNR # Diffserv Traffic Conditioner |
130 | #options ALTQ_FIFOQ # First-In First-Out Queue | | 130 | #options ALTQ_FIFOQ # First-In First-Out Queue |
131 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) | | 131 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) |
132 | #options ALTQ_HFSC # Hierarchical Fair Service Curve | | 132 | #options ALTQ_HFSC # Hierarchical Fair Service Curve |
133 | #options ALTQ_LOCALQ # Local queueing discipline | | 133 | #options ALTQ_LOCALQ # Local queueing discipline |
134 | #options ALTQ_PRIQ # Priority Queueing | | 134 | #options ALTQ_PRIQ # Priority Queueing |
135 | #options ALTQ_RED # Random Early Detection | | 135 | #options ALTQ_RED # Random Early Detection |
136 | #options ALTQ_RIO # RED with IN/OUT | | 136 | #options ALTQ_RIO # RED with IN/OUT |
137 | #options ALTQ_WFQ # Weighted Fair Queueing | | 137 | #options ALTQ_WFQ # Weighted Fair Queueing |
138 | | | 138 | |
139 | # WS console uses SUN or VT100 terminal emulation | | 139 | # WS console uses SUN or VT100 terminal emulation |
140 | options WSEMUL_VT100 | | 140 | options WSEMUL_VT100 |
141 | options FONT_OMRON12x20 | | 141 | options FONT_OMRON12x20 |
142 | | | 142 | |
143 | config netbsd root on ? type ? | | 143 | config netbsd root on ? type ? |
144 | | | 144 | |
145 | mainbus0 at root | | 145 | mainbus0 at root |
146 | | | 146 | |
147 | clock0 at mainbus0 | | 147 | clock0 at mainbus0 |
148 | | | 148 | |
149 | # uPD7201 SIO | | 149 | # uPD7201 SIO |
150 | sio0 at mainbus0 | | 150 | sio0 at mainbus0 |
151 | siotty0 at sio0 # ttya | | 151 | siotty0 at sio0 # ttya |
152 | ws0 at sio0 # port for keyboard and mouse | | 152 | ws0 at sio0 # port for keyboard and mouse |
153 | # AM7990 LANCE | | 153 | # AM7990 LANCE |
154 | le0 at mainbus0 | | 154 | le0 at mainbus0 |
155 | # MB89532 SPC | | 155 | # MB89532 SPC |
156 | spc0 at mainbus0 | | 156 | spc0 at mainbus0 |
157 | spc1 at mainbus0 # 2nd SCSI on LUNA-II | | 157 | spc1 at mainbus0 # 2nd SCSI on LUNA-II |
158 | # framebuffer | | 158 | # framebuffer |
159 | fb0 at mainbus0 # 16 or 256 pseudo color | | 159 | fb0 at mainbus0 # 16 or 256 pseudo color |
160 | | | 160 | |
161 | # Workstation Console attachments | | 161 | # Workstation Console attachments |
162 | wsdisplay* at fb? | | 162 | wsdisplay* at fb? |
163 | wskbd* at ws? console ? | | 163 | wskbd* at ws? console ? mux 1 |
164 | wsmouse* at ws? | | 164 | wsmouse* at ws? mux 0 |
165 | | | 165 | |
166 | # SCSI bus support | | 166 | # SCSI bus support |
167 | scsibus* at spc? | | 167 | scsibus* at spc? |
168 | | | 168 | |
169 | # SCSI devices | | 169 | # SCSI devices |
170 | sd* at scsibus? target ? lun ? # SCSI disks | | 170 | sd* at scsibus? target ? lun ? # SCSI disks |
171 | st* at scsibus? target ? lun ? # SCSI tapes | | 171 | st* at scsibus? target ? lun ? # SCSI tapes |
172 | #cd* at scsibus? target ? lun ? # SCSI CD-ROMs | | 172 | cd* at scsibus? target ? lun ? # SCSI CD-ROMs |
173 | #ch* at scsibus? target ? lun ? # SCSI changer devices | | 173 | #ch* at scsibus? target ? lun ? # SCSI changer devices |
174 | #ss* at scsibus? target ? lun ? # SCSI scanners | | 174 | #ss* at scsibus? target ? lun ? # SCSI scanners |
175 | #uk* at scsibus? target ? lun ? # unknown SCSI devices | | 175 | #uk* at scsibus? target ? lun ? # unknown SCSI devices |
176 | | | 176 | |
177 | # | | 177 | # |
178 | # accept filters | | 178 | # accept filters |
179 | pseudo-device accf_data # "dataready" accept filter | | 179 | pseudo-device accf_data # "dataready" accept filter |
180 | pseudo-device accf_http # "httpready" accept filter | | 180 | pseudo-device accf_http # "httpready" accept filter |
181 | | | 181 | |
182 | pseudo-device bpfilter # Berkeley Packet Filter | | 182 | pseudo-device bpfilter # Berkeley Packet Filter |
183 | #pseudo-device carp # Common Address Redundancy Protocol | | 183 | #pseudo-device carp # Common Address Redundancy Protocol |
184 | #pseudo-device ccd 2 # concatenated and striped disks | | 184 | #pseudo-device ccd 2 # concatenated and striped disks |
185 | #pseudo-device cgd 2 # cryptographic disks | | 185 | #pseudo-device cgd 2 # cryptographic disks |
186 | #pseudo-device gre # generic L3 over IP tunnel | | 186 | #pseudo-device gre # generic L3 over IP tunnel |
187 | #pseudo-device ipfilter 1 # ip filter | | 187 | #pseudo-device ipfilter 1 # ip filter |
188 | pseudo-device loop 1 # loopback interface; required | | 188 | pseudo-device loop 1 # loopback interface; required |
189 | pseudo-device md # memory disk device | | 189 | pseudo-device md # memory disk device |
190 | #pseudo-device ppp # PPP interfaces | | 190 | #pseudo-device ppp # PPP interfaces |
191 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) | | 191 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) |
192 | pseudo-device pty # pseudo-terminals | | 192 | pseudo-device pty # pseudo-terminals |
193 | #pseudo-device raid 2 # RAIDframe disk driver | | 193 | #pseudo-device raid 2 # RAIDframe disk driver |
194 | pseudo-device fss # file system snapshot device | | 194 | pseudo-device fss # file system snapshot device |
195 | #pseudo-device sl # SLIP interfaces | | 195 | #pseudo-device sl # SLIP interfaces |
196 | #pseudo-device tun # Network "tunnel" device | | 196 | #pseudo-device tun # Network "tunnel" device |
197 | #pseudo-device tap # virtual Ethernet | | 197 | #pseudo-device tap # virtual Ethernet |
198 | pseudo-device vlan # IEEE 802.1q encapsulation | | 198 | pseudo-device vlan # IEEE 802.1q encapsulation |
199 | pseudo-device bridge # simple inter-network bridging | | 199 | pseudo-device bridge # simple inter-network bridging |
200 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too | | 200 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too |
201 | pseudo-device agr # IEEE 802.3ad link aggregation | | 201 | pseudo-device agr # IEEE 802.3ad link aggregation |
202 | #pseudo-device vnd # disk-like interface to files | | 202 | #pseudo-device vnd # disk-like interface to files |
203 | #options VND_COMPRESSION # compressed vnd(4) | | 203 | #options VND_COMPRESSION # compressed vnd(4) |
204 | pseudo-device clockctl # user control of clock subsystem | | 204 | pseudo-device clockctl # user control of clock subsystem |
205 | pseudo-device ksyms # /dev/ksyms | | 205 | pseudo-device ksyms # /dev/ksyms |
206 | #pseudo-device pf # PF packet filter | | 206 | #pseudo-device pf # PF packet filter |
207 | #pseudo-device pflog # PF log if | | 207 | #pseudo-device pflog # PF log if |
208 | | | 208 | |
| | | 209 | pseudo-device wsmux # mouse & keyboard multiplexsor |
| | | 210 | |
209 | # Veriexec | | 211 | # Veriexec |
210 | # | | 212 | # |
211 | # a pseudo device needed for veriexec | | 213 | # a pseudo device needed for veriexec |
212 | #pseudo-device veriexec 1 | | 214 | #pseudo-device veriexec 1 |
213 | # | | 215 | # |
214 | # Uncomment the fingerprint methods below that are desired. Note that | | 216 | # Uncomment the fingerprint methods below that are desired. Note that |
215 | # removing fingerprint methods will have almost no impact on the kernel | | 217 | # removing fingerprint methods will have almost no impact on the kernel |
216 | # code size. | | 218 | # code size. |
217 | # | | 219 | # |
218 | #options VERIFIED_EXEC_FP_RMD160 | | 220 | #options VERIFIED_EXEC_FP_RMD160 |
219 | #options VERIFIED_EXEC_FP_SHA256 | | 221 | #options VERIFIED_EXEC_FP_SHA256 |
220 | #options VERIFIED_EXEC_FP_SHA384 | | 222 | #options VERIFIED_EXEC_FP_SHA384 |
221 | #options VERIFIED_EXEC_FP_SHA512 | | 223 | #options VERIFIED_EXEC_FP_SHA512 |
222 | #options VERIFIED_EXEC_FP_SHA1 | | 224 | #options VERIFIED_EXEC_FP_SHA1 |
223 | #options VERIFIED_EXEC_FP_MD5 | | 225 | #options VERIFIED_EXEC_FP_MD5 |