| @@ -1,52 +1,52 @@ | | | @@ -1,52 +1,52 @@ |
1 | # $NetBSD: GENERIC,v 1.80 2013/06/30 21:38:58 rmind Exp $ | | 1 | # $NetBSD: GENERIC,v 1.81 2014/03/05 14:13:20 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.80 $" | | 25 | #ident "GENERIC-$Revision: 1.81 $" |
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 | # Standard system options | | 31 | # Standard system options |
32 | #options INSECURE # disable kernel security levels | | 32 | #options INSECURE # disable kernel security levels |
33 | | | 33 | |
34 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 34 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
35 | options KTRACE | | 35 | options KTRACE |
36 | | | 36 | |
37 | #options SYSVMSG # System V message queues | | 37 | options SYSVMSG # System V message queues |
38 | #options SYSVSEM # System V semaphores | | 38 | options SYSVSEM # System V semaphores |
39 | #options SYSVSHM # System V shared memory | | 39 | options SYSVSHM # System V shared memory |
40 | | | 40 | |
41 | #options MODULAR # module(7) support | | 41 | #options MODULAR # module(7) support |
42 | #options USERCONF # userconf(4) support | | 42 | #options USERCONF # userconf(4) support |
43 | | | 43 | |
44 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 44 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
45 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel | | 45 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel |
46 | | | 46 | |
47 | # Enable experimental buffer queue strategy for better responsiveness under | | 47 | # Enable experimental buffer queue strategy for better responsiveness under |
48 | # high disk I/O load. Use it with caution - it's not proven to be stable yet. | | 48 | # high disk I/O load. Use it with caution - it's not proven to be stable yet. |
49 | #options BUFQ_READPRIO | | 49 | #options BUFQ_READPRIO |
50 | #options BUFQ_PRIOCSCAN | | 50 | #options BUFQ_PRIOCSCAN |
51 | | | 51 | |
52 | # Diagnostic/debugging support options | | 52 | # Diagnostic/debugging support options |
| @@ -195,27 +195,46 @@ options STRTC_NO_WATCHDOG | | | @@ -195,27 +195,46 @@ options STRTC_NO_WATCHDOG |
195 | options STRTC_NO_USERRAM | | 195 | options STRTC_NO_USERRAM |
196 | | | 196 | |
197 | # PCI IDE controllers - see pciide(4) for supported hardware. | | 197 | # PCI IDE controllers - see pciide(4) for supported hardware. |
198 | acardide* at pci? dev ? function ? # Acard IDE controllers | | 198 | acardide* at pci? dev ? function ? # Acard IDE controllers |
199 | cmdide* at pci? dev ? function ? # CMD tech IDE controllers | | 199 | cmdide* at pci? dev ? function ? # CMD tech IDE controllers |
200 | iteide* at pci? dev ? function ? # IT Express IDE controllers | | 200 | iteide* at pci? dev ? function ? # IT Express IDE controllers |
201 | satalink* at pci? dev ? function ? # SiI SATALink controllers | | 201 | satalink* at pci? dev ? function ? # SiI SATALink controllers |
202 | viaide* at pci? dev ? function ? # VIA IDE controllers | | 202 | viaide* at pci? dev ? function ? # VIA IDE controllers |
203 | | | 203 | |
204 | # ATA (IDE) bus support | | 204 | # ATA (IDE) bus support |
205 | atabus* at ata? | | 205 | atabus* at ata? |
206 | | | 206 | |
207 | # IDE drives | | 207 | # IDE drives |
208 | wd* at atabus? drive ? flags 0x0000 # the drives themselves | | 208 | # Flags are used only with controllers that support DMA operations |
| | | 209 | # and mode settings (e.g. some pciide controllers) |
| | | 210 | # The lowest order four bits (rightmost digit) of the flags define the PIO |
| | | 211 | # mode to use, the next set of four bits the DMA mode and the third set the |
| | | 212 | # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode |
| | | 213 | # to use, and the last bit must be 1 for this setting to be used. |
| | | 214 | # For DMA and UDMA, 0xf (1111) means 'disable'. |
| | | 215 | # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. |
| | | 216 | # (0xc=1100, 0xa=1010, 0xf=1111) |
| | | 217 | # 0x0000 means "use whatever the drive claims to support". |
| | | 218 | wd* at atabus? drive ? flags 0x0000 |
| | | 219 | |
| | | 220 | # ATAPI bus support |
| | | 221 | atapibus* at atapi? |
| | | 222 | |
| | | 223 | # ATAPI devices |
| | | 224 | # flags have the same meaning as for IDE drives. |
| | | 225 | cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives |
| | | 226 | sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives |
| | | 227 | uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown |
209 | | | 228 | |
210 | # PCI network interfaces | | 229 | # PCI network interfaces |
211 | ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g | | 230 | ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g |
212 | re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S | | 231 | re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S |
213 | skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet | | 232 | skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet |
214 | sk* at skc? # Marvell Yukon Gigabit Ethernet | | 233 | sk* at skc? # Marvell Yukon Gigabit Ethernet |
215 | stge* at pci? dev ? function ? # Sundance ST1023 Gigabit | | 234 | stge* at pci? dev ? function ? # Sundance ST1023 Gigabit |
216 | tlp* at pci? dev ? function ? # DEC Tulip and similar | | 235 | tlp* at pci? dev ? function ? # DEC Tulip and similar |
217 | wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet | | 236 | wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet |
218 | | | 237 | |
219 | inphy* at mii? phy ? # Intel 82555 PHYs | | 238 | inphy* at mii? phy ? # Intel 82555 PHYs |
220 | nsphy* at mii? phy ? # NS83840 PHYs | | 239 | nsphy* at mii? phy ? # NS83840 PHYs |
221 | rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs | | 240 | rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs |
| @@ -237,39 +256,43 @@ usb* at ohci? | | | @@ -237,39 +256,43 @@ usb* at ohci? |
237 | uhub* at usb? | | 256 | uhub* at usb? |
238 | uhub* at uhub? port ? | | 257 | uhub* at uhub? port ? |
239 | | | 258 | |
240 | # USB HID devices | | 259 | # USB HID devices |
241 | uhidev* at uhub? port ? configuration ? interface ? # USB HID device | | 260 | uhidev* at uhub? port ? configuration ? interface ? # USB HID device |
242 | uthum* at uhidev? reportid ? # TEMPerHUM sensors | | 261 | uthum* at uhidev? reportid ? # TEMPerHUM sensors |
243 | uhid* at uhidev? reportid ? # USB Generic HID | | 262 | uhid* at uhidev? reportid ? # USB Generic HID |
244 | | | 263 | |
245 | # USB video | | 264 | # USB video |
246 | uvideo* at uhub? # USB Video Class capture devices | | 265 | uvideo* at uhub? # USB Video Class capture devices |
247 | video* at videobus? | | 266 | video* at videobus? |
248 | | | 267 | |
249 | # USB printer | | 268 | # USB printer |
250 | ulpt* at uhub? port ? configuration ? interface ? # USB Printer | | 269 | ulpt* at uhub? port ? configuration ? interface ? |
251 | | | 270 | |
252 | # USB Mass Storage | | 271 | # USB Mass Storage |
253 | umass* at uhub? port ? configuration ? interface ? | | 272 | umass* at uhub? port ? configuration ? interface ? |
254 | wd* at umass? | | 273 | wd* at umass? |
255 | | | 274 | |
256 | scsibus* at umass? | | 275 | # USB scanners |
257 | sd* at scsibus? target ? lun ? # SCSI disk drives | | 276 | #uscanner* at uhub? port ? |
258 | cd* at scsibus? target ? lun ? # SCSI CD-ROM drives | | 277 | ugen* at uhub? port ? configuration ? interface ? # USB Generic driver |
| | | 278 | |
| | | 279 | # SCSI bus support |
| | | 280 | scsibus* at umass? |
| | | 281 | |
| | | 282 | # SCSI devices |
| | | 283 | sd* at scsibus? target ? lun ? # SCSI disk drives |
| | | 284 | cd* at scsibus? target ? lun ? # SCSI CD-ROM drives |
259 | | | 285 | |
260 | atapibus* at atapi? | | | |
261 | sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives | | | |
262 | cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives | | | |
263 | | | 286 | |
264 | # | | 287 | # |
265 | # Pseudo-Devices | | 288 | # Pseudo-Devices |
266 | # | | 289 | # |
267 | #pseudo-device crypto # /dev/crypto device | | 290 | #pseudo-device crypto # /dev/crypto device |
268 | #pseudo-device swcrypto # software crypto implementation | | 291 | #pseudo-device swcrypto # software crypto implementation |
269 | | | 292 | |
270 | # disk/mass storage pseudo-devices | | 293 | # disk/mass storage pseudo-devices |
271 | #pseudo-device ccd # concatenated/striped disk devices | | 294 | #pseudo-device ccd # concatenated/striped disk devices |
272 | #pseudo-device cgd # cryptographic disk devices | | 295 | #pseudo-device cgd # cryptographic disk devices |
273 | pseudo-device fss # file system snapshot device | | 296 | pseudo-device fss # file system snapshot device |
274 | #pseudo-device putter # for puffs and pud | | 297 | #pseudo-device putter # for puffs and pud |
275 | | | 298 | |