| @@ -1,228 +1,226 @@ | | | @@ -1,228 +1,226 @@ |
1 | # $NetBSD: GENERIC,v 1.49 2010/06/30 17:49:32 phx Exp $ | | 1 | # $NetBSD: GENERIC,v 1.50 2010/08/07 19:18:04 phx Exp $ |
2 | # | | 2 | # |
3 | # machine description file for GENERIC NAS | | 3 | # machine description file for GENERIC NAS |
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/sandpoint/conf/std.sandpoint" | | 21 | include "arch/sandpoint/conf/std.sandpoint" |
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.49 $" | | 25 | #ident "GENERIC-$Revision: 1.50 $" |
26 | | | 26 | |
27 | maxusers 32 | | 27 | maxusers 32 |
28 | | | 28 | |
29 | #options ALTIVEC # Include AltiVec support | | 29 | #options ALTIVEC # Include AltiVec support |
30 | | | 30 | |
31 | #options IPKDBUSERHACK # Allow access to mapped memory via kgdb | | 31 | #options IPKDBUSERHACK # Allow access to mapped memory via kgdb |
32 | #options DEBUG_BY_TOOLS # Allow debugging from toolsnet | | 32 | #options DEBUG_BY_TOOLS # Allow debugging from toolsnet |
33 | # HMAC key to be used for debugging sessions | | 33 | # HMAC key to be used for debugging sessions |
34 | #options IPKDBKEY="\"HMAC pass phrase text\"" | | 34 | #options IPKDBKEY="\"HMAC pass phrase text\"" |
35 | #options IPKDBSECURE # Allow debugging even when securelevel > 0 | | 35 | #options IPKDBSECURE # Allow debugging even when securelevel > 0 |
36 | #makeoptions DEBUG="-g" | | 36 | #makeoptions DEBUG="-g" |
37 | | | 37 | |
38 | #options DEBUG | | 38 | #options DEBUG |
39 | options DIAGNOSTIC | | 39 | options DIAGNOSTIC |
40 | options TRAP_PANICWAIT | | 40 | options TRAP_PANICWAIT |
41 | options DDB | | 41 | options DDB |
42 | #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB | | 42 | #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB |
43 | options KTRACE | | 43 | options KTRACE |
44 | #options PMAPCHECK | | 44 | #options PMAPCHECK |
45 | #options PMAPDEBUG | | 45 | #options PMAPDEBUG |
46 | #options SYMTAB_SPACE=300000 | | 46 | #options SYMTAB_SPACE=300000 |
47 | #options USERCONF # userconf(4) support | | 47 | #options USERCONF # userconf(4) support |
48 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 48 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
49 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel | | 49 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel |
50 | | | 50 | |
51 | # Compatibility options | | 51 | # Compatibility options |
52 | options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI | | 52 | options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI |
53 | options COMPAT_09 # NetBSD 0.9 | | 53 | options COMPAT_09 # NetBSD 0.9 |
54 | options COMPAT_10 # NetBSD 1.0 | | 54 | options COMPAT_10 # NetBSD 1.0 |
55 | options COMPAT_11 # NetBSD 1.1 | | 55 | options COMPAT_11 # NetBSD 1.1 |
56 | options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI | | 56 | options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI |
57 | options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI | | 57 | options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI |
58 | options COMPAT_14 # NetBSD 1.4 | | 58 | options COMPAT_14 # NetBSD 1.4 |
59 | options COMPAT_15 # NetBSD 1.5 | | 59 | options COMPAT_15 # NetBSD 1.5 |
60 | options COMPAT_16 # NetBSD 1.6 | | 60 | options COMPAT_16 # NetBSD 1.6 |
61 | options COMPAT_20 # NetBSD 2.0 | | 61 | options COMPAT_20 # NetBSD 2.0 |
62 | options COMPAT_30 # NetBSD 3.0 | | 62 | options COMPAT_30 # NetBSD 3.0 |
63 | options COMPAT_40 # NetBSD 4.0 | | 63 | options COMPAT_40 # NetBSD 4.0 |
64 | options COMPAT_50 # NetBSD 5.0 compatibility. | | 64 | options COMPAT_50 # NetBSD 5.0 compatibility. |
65 | options COMPAT_43 # 4.3BSD, 386BSD, and BSDI | | 65 | options COMPAT_43 # 4.3BSD, 386BSD, and BSDI |
66 | #options COMPAT_386BSD_MBRPART # recognize old partition ID | | 66 | #options COMPAT_386BSD_MBRPART # recognize old partition ID |
67 | #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. |
68 | | | 68 | |
69 | options COMPAT_LINUX # binary compatibility with Linux | | 69 | options COMPAT_LINUX # binary compatibility with Linux |
70 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. | | 70 | options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. |
71 | | | 71 | |
72 | options MSGBUFSIZE=65536 | | 72 | options MSGBUFSIZE=65536 |
73 | | | 73 | |
74 | #options WAPBL | | | |
75 | | | | |
76 | file-system FFS # UFS | | 74 | file-system FFS # UFS |
77 | file-system EXT2FS # second extended file system (linux) | | 75 | file-system EXT2FS # second extended file system (linux) |
78 | #file-system LFS # log-structured file system | | 76 | #file-system LFS # log-structured file system |
79 | file-system MFS # memory file system | | 77 | file-system MFS # memory file system |
80 | file-system NFS # Network File System client | | 78 | file-system NFS # Network File System client |
81 | #file-system NTFS # Windows/NT file system (experimental) | | 79 | #file-system NTFS # Windows/NT file system (experimental) |
82 | #file-system CD9660 # ISO 9660 + Rock Ridge file system | | 80 | #file-system CD9660 # ISO 9660 + Rock Ridge file system |
83 | file-system MSDOSFS # MS-DOS file system | | 81 | file-system MSDOSFS # MS-DOS file system |
84 | file-system FDESC # /dev/fd | | 82 | file-system FDESC # /dev/fd |
85 | file-system KERNFS # /kern | | 83 | file-system KERNFS # /kern |
86 | file-system NULLFS # loopback file system | | 84 | file-system NULLFS # loopback file system |
87 | #file-system OVERLAY # overlay file system | | 85 | #file-system OVERLAY # overlay file system |
88 | file-system PROCFS # /proc | | 86 | file-system PROCFS # /proc |
89 | #file-system UMAPFS # NULLFS + uid and gid remapping | | 87 | #file-system UMAPFS # NULLFS + uid and gid remapping |
90 | #file-system UNION # union file system | | 88 | #file-system UNION # union file system |
91 | #file-system CODA # Coda File System; also needs vcoda (below) | | 89 | #file-system CODA # Coda File System; also needs vcoda (below) |
92 | #file-system SMBFS # experimental - CIFS; also needs nsmb (below) | | 90 | #file-system SMBFS # experimental - CIFS; also needs nsmb (below) |
93 | file-system PTYFS # /dev/ptm support | | 91 | file-system PTYFS # /dev/ptm support |
94 | file-system TMPFS # Efficient memory file-system | | 92 | file-system TMPFS # Efficient memory file-system |
95 | | | 93 | |
96 | # File system options | | 94 | # File system options |
97 | options QUOTA # UFS quotas | | 95 | options QUOTA # UFS quotas |
98 | #options FFS_EI # FFS Endian Independent support | | 96 | #options FFS_EI # FFS Endian Independent support |
99 | options WAPBL # File system journaling support - Experimental | | 97 | options WAPBL # File system journaling support - Experimental |
100 | options NFSSERVER # Network File System server | | 98 | options NFSSERVER # Network File System server |
101 | #options FFS_NO_SNAPSHOT # No FFS snapshot support | | 99 | #options FFS_NO_SNAPSHOT # No FFS snapshot support |
102 | #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and | | 100 | #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and |
103 | | | 101 | |
104 | options INET | | 102 | options INET |
105 | options INET6 # IPV6 | | 103 | options INET6 # IPV6 |
106 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG | | 104 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG |
107 | | | 105 | |
108 | #options ALTQ # Manipulate network interfaces' output queues | | 106 | #options ALTQ # Manipulate network interfaces' output queues |
109 | #options ALTQ_BLUE # Stochastic Fair Blue | | 107 | #options ALTQ_BLUE # Stochastic Fair Blue |
110 | #options ALTQ_CBQ # Class-Based Queueing | | 108 | #options ALTQ_CBQ # Class-Based Queueing |
111 | #options ALTQ_CDNR # Diffserv Traffic Conditioner | | 109 | #options ALTQ_CDNR # Diffserv Traffic Conditioner |
112 | #options ALTQ_FIFOQ # First-In First-Out Queue | | 110 | #options ALTQ_FIFOQ # First-In First-Out Queue |
113 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) | | 111 | #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) |
114 | #options ALTQ_HFSC # Hierarchical Fair Service Curve | | 112 | #options ALTQ_HFSC # Hierarchical Fair Service Curve |
115 | #options ALTQ_LOCALQ # Local queueing discipline | | 113 | #options ALTQ_LOCALQ # Local queueing discipline |
116 | #options ALTQ_PRIQ # Priority Queueing | | 114 | #options ALTQ_PRIQ # Priority Queueing |
117 | #options ALTQ_RED # Random Early Detection | | 115 | #options ALTQ_RED # Random Early Detection |
118 | #options ALTQ_RIO # RED with IN/OUT | | 116 | #options ALTQ_RIO # RED with IN/OUT |
119 | #options ALTQ_WFQ # Weighted Fair Queueing | | 117 | #options ALTQ_WFQ # Weighted Fair Queueing |
120 | | | 118 | |
121 | options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP | | 119 | options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP |
122 | | | 120 | |
123 | config netbsd root on ? type ? | | 121 | config netbsd root on ? type ? |
124 | | | 122 | |
125 | # network psuedo-devices | | 123 | # network pseudo-devices |
126 | pseudo-device bpfilter # packet filter | | 124 | pseudo-device bpfilter # packet filter |
127 | pseudo-device vlan # IEEE 802.1q encapsulation | | 125 | pseudo-device vlan # IEEE 802.1q encapsulation |
128 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) | | 126 | #pseudo-device pppoe # PPP over Ethernet (RFC 2516) |
129 | #pseudo-device bridge # simple inter-network bridging | | 127 | #pseudo-device bridge # simple inter-network bridging |
130 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too | | 128 | #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too |
131 | #pseudo-device ipfilter | | 129 | #pseudo-device ipfilter |
132 | pseudo-device loop | | 130 | pseudo-device loop |
133 | | | 131 | |
134 | # miscellaneous pseudo-devices | | 132 | # miscellaneous pseudo-devices |
135 | pseudo-device rnd # /dev/random and in-kernel generator | | 133 | pseudo-device rnd # /dev/random and in-kernel generator |
136 | pseudo-device vnd | | 134 | pseudo-device vnd |
137 | #options VND_COMPRESSION # compressed vnd(4) | | 135 | #options VND_COMPRESSION # compressed vnd(4) |
138 | #pseudo-device cgd 4 # cryptographic disk devices | | 136 | #pseudo-device cgd 4 # cryptographic disk devices |
139 | pseudo-device pty | | 137 | pseudo-device pty |
140 | pseudo-device clockctl # user control of clock subsystem | | 138 | pseudo-device clockctl # user control of clock subsystem |
141 | pseudo-device ksyms # /dev/ksyms | | 139 | pseudo-device ksyms # /dev/ksyms |
142 | #pseudo-device pf # PF packet filter | | 140 | #pseudo-device pf # PF packet filter |
143 | #pseudo-device pflog # PF log if | | 141 | #pseudo-device pflog # PF log if |
144 | pseudo-device fss # file system snapshot device | | 142 | pseudo-device fss # file system snapshot device |
145 | | | 143 | |
146 | # | | 144 | # |
147 | # device | | 145 | # device |
148 | # | | 146 | # |
149 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 147 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
150 | | | 148 | |
151 | #options PCIVERBOSE # verbose PCI device messages | | 149 | #options PCIVERBOSE # verbose PCI device messages |
152 | #options PCI_CONFIG_DUMP # verbosely dump PCI config space | | 150 | #options PCI_CONFIG_DUMP # verbosely dump PCI config space |
153 | #options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem | | 151 | #options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem |
154 | | | 152 | |
155 | mainbus0 at root | | 153 | mainbus0 at root |
156 | | | 154 | |
157 | cpu* at mainbus0 | | 155 | cpu* at mainbus0 |
158 | pci* at mainbus0 bus ? | | 156 | pci* at mainbus0 bus ? |
159 | | | 157 | |
160 | pchb* at pci? dev ? function ? # PCI host bridge | | 158 | pchb* at pci? dev ? function ? # PCI host bridge |
161 | | | 159 | |
162 | eumb* at mainbus0 | | 160 | eumb* at mainbus0 |
163 | com0 at eumb? unit 0 # console at 0x4500 | | 161 | com0 at eumb? unit 0 # console at 0x4500 |
164 | #com1 at eumb? unit 1 | | 162 | #com1 at eumb? unit 1 |
165 | satmgr0 at eumb? unit 1 # satmgr at 0x4600 | | 163 | satmgr0 at eumb? unit 1 # satmgr at 0x4600 |
166 | ociic* at eumb? | | 164 | ociic* at eumb? |
167 | iic* at ociic? | | 165 | iic* at ociic? |
168 | rs5c372rtc* at iic? addr 0x32 | | 166 | rs5c372rtc* at iic? addr 0x32 |
169 | | | 167 | |
170 | # PCI IDE controllers - see pciide(4) for supported hardware. | | 168 | # PCI IDE controllers - see pciide(4) for supported hardware. |
171 | cmdide* at pci? dev ? function ? # CMD tech IDE controllers | | 169 | cmdide* at pci? dev ? function ? # CMD tech IDE controllers |
172 | iteide* at pci? dev ? function ? # IT Express IDE controllers | | 170 | iteide* at pci? dev ? function ? # IT Express IDE controllers |
173 | satalink* at pci? dev ? function ? # SiI SATALink controllers | | 171 | satalink* at pci? dev ? function ? # SiI SATALink controllers |
174 | | | 172 | |
175 | # ATA (IDE) bus support | | 173 | # ATA (IDE) bus support |
176 | atabus* at ata? | | 174 | atabus* at ata? |
177 | | | 175 | |
178 | # IDE drives | | 176 | # IDE drives |
179 | wd* at atabus? drive ? flags 0x0000 # the drives themselves | | 177 | wd* at atabus? drive ? flags 0x0000 # the drives themselves |
180 | | | 178 | |
181 | # PCI network interfaces | | 179 | # PCI network interfaces |
182 | tlp* at pci? dev ? function ? # DEC Tulip and similar | | 180 | tlp* at pci? dev ? function ? # DEC Tulip and similar |
183 | re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S | | 181 | re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S |
184 | skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet | | 182 | skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet |
185 | sk* at skc? # Marvell Yukon Gigabit Ethernet | | 183 | sk* at skc? # Marvell Yukon Gigabit Ethernet |
186 | wm* at pci? dev ? function ? # Intel 8254x gigabit | | 184 | wm* at pci? dev ? function ? # Intel 8254x gigabit |
187 | fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B | | 185 | fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B |
188 | | | 186 | |
189 | inphy* at mii? phy ? # Intel 82555 PHYs | | 187 | inphy* at mii? phy ? # Intel 82555 PHYs |
190 | nsphy* at mii? phy ? # NS83840 PHYs | | 188 | nsphy* at mii? phy ? # NS83840 PHYs |
191 | rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs | | 189 | rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs |
192 | makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs | | 190 | makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs |
193 | ukphy* at mii? phy ? # generic unknown PHYs | | 191 | ukphy* at mii? phy ? # generic unknown PHYs |
194 | | | 192 | |
195 | # USB Controller and Devices | | 193 | # USB Controller and Devices |
196 | ehci* at pci? dev ? function ? # Enhanced Host Controller | | 194 | ehci* at pci? dev ? function ? # Enhanced Host Controller |
197 | ohci* at pci? dev ? function ? # Open Host Controller | | 195 | ohci* at pci? dev ? function ? # Open Host Controller |
198 | | | 196 | |
199 | # USB bus support | | 197 | # USB bus support |
200 | usb* at ehci? | | 198 | usb* at ehci? |
201 | usb* at ohci? | | 199 | usb* at ohci? |
202 | | | 200 | |
203 | # USB Hubs | | 201 | # USB Hubs |
204 | uhub* at usb? | | 202 | uhub* at usb? |
205 | uhub* at uhub? port ? | | 203 | uhub* at uhub? port ? |
206 | | | 204 | |
207 | # USB Mass Storage | | 205 | # USB Mass Storage |
208 | umass* at uhub? port ? configuration ? interface ? | | 206 | umass* at uhub? port ? configuration ? interface ? |
209 | wd* at umass? | | 207 | wd* at umass? |
210 | | | 208 | |
211 | scsibus* at umass? | | 209 | scsibus* at umass? |
212 | sd* at scsibus? target ? lun ? # SCSI disk drives | | 210 | sd* at scsibus? target ? lun ? # SCSI disk drives |
213 | | | 211 | |
214 | # Veriexec | | 212 | # Veriexec |
215 | # | | 213 | # |
216 | # a pseudo device needed for veriexec | | 214 | # a pseudo device needed for veriexec |
217 | #pseudo-device veriexec 1 | | 215 | #pseudo-device veriexec 1 |
218 | # | | 216 | # |
219 | # Uncomment the fingerprint methods below that are desired. Note that | | 217 | # Uncomment the fingerprint methods below that are desired. Note that |
220 | # removing fingerprint methods will have almost no impact on the kernel | | 218 | # removing fingerprint methods will have almost no impact on the kernel |
221 | # code size. | | 219 | # code size. |
222 | # | | 220 | # |
223 | #options VERIFIED_EXEC_FP_RMD160 | | 221 | #options VERIFIED_EXEC_FP_RMD160 |
224 | #options VERIFIED_EXEC_FP_SHA256 | | 222 | #options VERIFIED_EXEC_FP_SHA256 |
225 | #options VERIFIED_EXEC_FP_SHA384 | | 223 | #options VERIFIED_EXEC_FP_SHA384 |
226 | #options VERIFIED_EXEC_FP_SHA512 | | 224 | #options VERIFIED_EXEC_FP_SHA512 |
227 | #options VERIFIED_EXEC_FP_SHA1 | | 225 | #options VERIFIED_EXEC_FP_SHA1 |
228 | #options VERIFIED_EXEC_FP_MD5 | | 226 | #options VERIFIED_EXEC_FP_MD5 |