GENERIC revision 1.19 1 # $NetBSD: GENERIC,v 1.19 2005/09/09 16:34:34 drochner Exp $
2 #
3 # GENERIC -- Generic kernel
4 #
5
6 include "arch/iyonix/conf/std.iyonix"
7
8 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 options MSGBUFSIZE=65536
10
11 # Enable the hooks used for initializing the root memory-disk.
12 #options MEMORY_DISK_IS_ROOT # use memory disk as root
13 # options MEMORY_DISK_HOOKS
14 # options MEMORY_DISK_SERVER=0 # no userspace memory disk support
15 # options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
16
17 # estimated number of users
18
19 maxusers 32
20
21 # Standard system options
22
23 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
24 #options NTP # NTP phase/frequency locked loop
25
26 # CPU options
27
28 # For XScale systems
29 options CPU_XSCALE_80321 # Support the XScale core
30 makeoptions CPUFLAGS="-mcpu=xscale"
31
32 # Architecture options
33 options XSCALE_CACHE_READ_WRITE_ALLOCATE
34 #options HZ=512
35
36 # File systems
37
38 file-system FFS # UFS
39 #file-system LFS # log-structured file system
40 file-system MFS # memory file system
41 file-system NFS # Network file system
42 #file-system ADOSFS # AmigaDOS-compatible file system
43 #file-system EXT2FS # second extended file system (linux)
44 file-system CD9660 # ISO 9660 + Rock Ridge file system
45 #file-system MSDOSFS # MS-DOS file system
46 #file-system FDESC # /dev/fd
47 file-system FILECORE # Acorn filecore file system
48 #file-system KERNFS # /kern
49 #file-system NULLFS # loopback file system
50 #file-system PORTAL # portal filesystem (still experimental)
51 #file-system PROCFS # /proc
52 #file-system UMAPFS # NULLFS + uid and gid remapping
53 #file-system UNION # union file system
54 file-system PTYFS # /dev/pts/N support
55
56 # File system options
57 #options QUOTA # UFS quotas
58 #options FFS_EI # FFS Endian Independant support
59 #options NFSSERVER
60 #options SOFTDEP
61 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
62 options FFS_NO_SNAPSHOT # ffs snapshots
63
64 # Networking options
65
66 #options GATEWAY # packet forwarding
67 options INET # IP + ICMP + TCP + UDP
68 #options INET6 # IPV6
69 #options IPSEC # IP security
70 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
71 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
72 #options IPSEC_DEBUG # debug for IP security
73 #options MROUTING # IP multicast routing
74 #options NS # XNS
75 #options NSIP # XNS tunneling over IP
76 #options ISO,TPIP # OSI
77 #options EON # OSI tunneling over IP
78 #options CCITT,LLC,HDLC # X.25
79 #options NETATALK # AppleTalk networking
80 #options PFIL_HOOKS # pfil(9) packet filter hooks
81 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
82 #options PPP_DEFLATE # Deflate compression support for PPP
83 #options PPP_FILTER # Active filter support for PPP (requires bpf)
84 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
85
86 options NFS_BOOT_BOOTP
87 options NFS_BOOT_DHCP
88 #options NFS_BOOT_BOOTPARAM
89
90 # Compatibility options
91
92 options COMPAT_16 # NetBSD 1.6
93 options COMPAT_30 # NetBSD 3.0 compatibility.
94 options COMPAT_20 # NetBSD 2.0
95 #options COMPAT_43 # 4.3BSD compatibility.
96 #options COMPAT_16 # NetBSD 1.6 compatibility.
97 #options COMPAT_15 # NetBSD 1.5 compatibility.
98 #options COMPAT_14 # NetBSD 1.4 compatibility.
99 #options COMPAT_13 # NetBSD 1.3 compatibility.
100 #options COMPAT_12 # NetBSD 1.2 compatibility.
101 #options COMPAT_11 # NetBSD 1.1 compatibility.
102 #options COMPAT_10 # NetBSD 1.0 compatibility.
103 #options COMPAT_09 # NetBSD 0.9 compatibility.
104 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
105 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
106
107 # Shared memory options
108
109 #options SYSVMSG # System V-like message queues
110 #options SYSVSEM # System V-like semaphores
111 #options SEMMNI=10 # number of semaphore identifiers
112 #options SEMMNS=60 # number of semaphores in system
113 #options SEMUME=10 # max number of undo entries per process
114 #options SEMMNU=30 # number of undo structures in system
115 #options SYSVSHM # System V-like memory sharing
116 #options SHMMAXPGS=1024 # 1024 pages is the default
117
118 # Device options
119
120 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
121 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
122 #options MEMORY_DISK_IS_ROOT # use memory disk as root
123
124 # Console options. The default console is speed is 115200 baud.
125 #options CONSPEED=9600 # Console speed
126
127 # Miscellaneous kernel options
128 options KTRACE # system call tracing, a la ktrace(1)
129 options IRQSTATS # manage IRQ statistics
130 #options LKM # loadable kernel modules
131 #options KMEMSTATS # kernel memory statistics
132 #options SCSIVERBOSE # Verbose SCSI errors
133 options PCIVERBOSE # Verbose PCI descriptions
134 options MIIVERBOSE # Verbose MII autoconfuration messages
135 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
136 #options DDB_KEYCODE=0x40
137 options USERCONF # userconf(4) support
138 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
139
140 # Development and Debugging options
141
142 options PERFCTRS # performance counters
143 options DIAGNOSTIC # internally consistency checks
144 options DEBUG
145 #options PMAP_DEBUG # Enable pmap_debug_level code
146 #options IPKDB # remote kernel debugging
147 #options VERBOSE_INIT_ARM # verbose bootstraping messages
148 options DDB # in-kernel debugger
149 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
150 makeoptions DEBUG="-g" # compile full symbol table
151 options SYMTAB_SPACE=240000
152
153 ##options PMAP_INCLUDE_PTE_SYNC
154 ##options LOCKDEBUG
155
156 ##config netbsd root on ? type ?
157 config netbsd root on rtk0 type nfs
158 #config netbsd-wm0 root on wm0 type nfs
159 #config netbsd-wd0 root on wd0 type ffs
160 #config netbsd-sd0 root on sd0 type ffs
161
162 # The main bus device
163 mainbus0 at root
164
165 # The boot cpu
166 cpu0 at mainbus?
167
168 # i80321 I/O Processor peripheral support
169 iopxs* at mainbus?
170
171 iopaau* at iopxs? # Application Accelerator Unit
172 iopiic* at iopxs? # I2C Controller Unit(s)
173 iic0 at iopiic?
174 iic1 at iopiic?
175 iopwdog* at iopxs? # Watchdog timer
176 pci0 at iopxs? bus ? # PCI/PCI-X support
177
178 # PCI bridges
179 ppb* at pci? dev ? function ?
180 pci* at ppb? bus ?
181
182 # VGA
183 #vga* at pci? dev ? function ?
184
185 # IDE and related devices
186 # PCI IDE controllers - see pciide(4) for supported hardware.
187 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
188 # how to set up DMA modes for this chip. This may work, or may cause
189 # a machine hang with some controllers.
190 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
191 acardide* at pci? dev ? function ? # Acard IDE controllers
192 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
193 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
194 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
195 cypide* at pci? dev ? function ? # Cypress IDE controllers
196 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
197 optiide* at pci? dev ? function ? # Opti IDE controllers
198 pdcide* at pci? dev ? function ? # Promise IDE controllers
199 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
200 rccide* at pci? dev ? function ? # ServerWorks IDE controllers
201 satalink* at pci? dev ? function ? # SiI SATALink controllers
202 siside* at pci? dev ? function ? # SiS IDE controllers
203 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
204 stpcide* at pci? dev ? function ? # STMicro STPC IDE controllers
205 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
206
207 # ATA (IDE) bus support
208 atabus* at ata?
209
210 # IDE drives
211 # Flags are used only with controllers that support DMA operations
212 # and mode settings (e.g. some pciide controllers)
213 # The lowest order four bits (rightmost digit) of the flags define the PIO
214 # mode to use, the next set of four bits the DMA mode and the third set the
215 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
216 # to use, and the last bit must be 1 for this setting to be used.
217 # For DMA and UDMA, 0xf (1111) means 'disable'.
218 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
219 # (0xc=1100, 0xa=1010, 0xf=1111)
220 # 0x0000 means "use whatever the drive claims to support".
221 wd* at atabus? drive ? flags 0x0000
222
223 # ATA RAID configuration support, as found on some Promise controllers.
224 pseudo-device ataraid
225 ld* at ataraid? vendtype ? unit ?
226
227 # ATAPI bus support
228 atapibus* at atapi?
229
230 # ATAPI devices
231 # flags have the same meaning as for IDE drives.
232 # XXX No DMA on IDE devices for now
233 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
234 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
235 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
236 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
237
238 # PCI network interfaces
239 # an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
240 # ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11
241 # atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
242 # bce* at pci? dev ? function ? # Broadcom 4401 10/100 Ethernet
243 # bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
244 # en* at pci? dev ? function ? # ENI/Adaptec ATM
245 # ep* at pci? dev ? function ? # 3Com 3c59x
246 # epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
247 # esh* at pci? dev ? function ? # Essential HIPPI card
248 # ex* at pci? dev ? function ? # 3Com 90x[BC]
249 # fpa* at pci? dev ? function ? # DEC DEFPA FDDI
250 # fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
251 # gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
252 #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
253 # le* at pci? dev ? function ? # PCnet-PCI Ethernet
254 # lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
255 # mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
256 # ne* at pci? dev ? function ? # NE2000-compatible Ethernet
257 # ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
258 # pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
259 # re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
260 rtk* at pci? dev ? function ? # Realtek 8129/8139
261 # sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
262 # sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
263 # skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet
264 # sk* at skc? # SysKonnect SK9821 Gigabit Ethernet
265 # ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
266 # stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
267 # ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
268 # tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
269 # tlp* at pci? dev ? function ? # DECchip 21x4x and clones
270 # vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
271 # wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
272 wm* at pci? dev ? function ? # Intel 8254x gigabit
273
274 # MII/PHY support
275 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
276 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
277 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
278 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
279 dmphy* at mii? phy ? # Davicom DM9101 PHYs
280 exphy* at mii? phy ? # 3Com internal PHYs
281 gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
282 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
283 gphyter* at mii? phy ? # NS83861 Gig-E PHY
284 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
285 igphy* at mii? phy ? # Intel IGP01E1000
286 inphy* at mii? phy ? # Intel 82555 PHYs
287 iophy* at mii? phy ? # Intel 82553 PHYs
288 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
289 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
290 nsphy* at mii? phy ? # NS83840 PHYs
291 nsphyter* at mii? phy ? # NS83843 PHYs
292 pnaphy* at mii? phy ? # generic HomePNA PHYs
293 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
294 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
295 tlphy* at mii? phy ? # ThunderLAN PHYs
296 tqphy* at mii? phy ? # TDK Semiconductor PHYs
297 ukphy* at mii? phy ? # generic unknown PHYs
298 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
299
300 # USB Controller and Devices
301
302 # PCI USB controllers
303 # The EHCI is not ready for prime time.
304 #ehci* at pci? dev ? function ? # Enhanced Host Controller
305 ohci* at pci? dev ? function ? # Open Host Controller
306 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
307
308 # CardBus USB controllers
309 #ehci* at cardbus? function ? # Enhanced Host Controller
310 #ohci* at cardbus? function ? # Open Host Controller
311
312 # ISA USB controllers
313 #slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS
314
315 # USB bus support
316 #usb* at ehci?
317 usb* at ohci?
318 usb* at uhci?
319 #usb* at slhci?
320
321 # USB Hubs
322 # uhub* at usb?
323 # uhub* at uhub? port ? configuration ? interface ?
324
325 # USB HID device
326 # uhidev* at uhub? port ? configuration ? interface ?
327
328 # USB Mice
329 # ums* at uhidev? reportid ?
330 # wsmouse* at ums? mux 0
331
332 # USB eGalax touch-panel
333 # uep* at uhub? port ?
334 # wsmouse* at uep? mux 0
335
336 # USB Keyboards
337 # ukbd* at uhidev? reportid ?
338 # wskbd* at ukbd? console ? mux 1
339
340 # USB serial adpater
341 # ucycom* at uhidev? reportid ?
342
343 # USB Generic HID devices
344 # uhid* at uhidev? reportid ?
345
346 # USB Printer
347 # ulpt* at uhub? port ? configuration ? interface ?
348
349 # USB Modem
350 # umodem* at uhub? port ? configuration ?
351 # ucom* at umodem?
352
353 # USB Mass Storage
354 # umass* at uhub? port ? configuration ? interface ?
355 # scsibus* at umass?
356 # wd* at umass?
357
358 # USB audio
359 # uaudio* at uhub? port ? configuration ?
360
361 # USB MIDI
362 # umidi* at uhub? port ? configuration ?
363
364 # USB IrDA
365 # USB-IrDA bridge spec
366 # uirda* at uhub? port ? configuration ? interface ?
367 # irframe* at uirda?
368
369 # SigmaTel STIr4200 USB/IrDA Bridge
370 # ustir* at uhub? port ?
371 # irframe* at ustir?
372
373 # USB Ethernet adapters
374 # aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
375 # axe* at uhub? port ? # ASIX AX88172 based adapters
376 # cue* at uhub? port ? # CATC USB-EL1201A based adapters
377 # kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
378 # udav* at uhub? port ? # Davicom DM9601 based adapters
379 # url* at uhub? port ? # Realtek RTL8150L based adapters
380
381 # Prolific PL2301/PL2302 host-to-host adapter
382 # upl* at uhub? port ?
383
384 # Serial adapters
385 # ubsa* at uhub? port ? # Belkin serial adapter
386 # ucom* at ubsa? portno ?
387
388 # uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
389 # ucom* at uftdi? portno ?
390
391 # umct* at uhub? port ? # MCT USB-RS232 serial adapter
392 # ucom* at umct? portno ?
393
394 # uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
395 # ucom* at uplcom? portno ?
396
397 # uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
398 # ucom* at uvscom? portno ?
399
400 # Diamond Multimedia Rio 500
401 # urio* at uhub? port ?
402
403 # USB Handspring Visor
404 # uvisor* at uhub? port ?
405 # ucom* at uvisor?
406
407 # Kyocera AIR-EDGE PHONE
408 #ukyopon* at uhub? port ?
409 #ucom* at ukyopon? portno ?
410
411 # USB scanners
412 # uscanner* at uhub? port ?
413
414 # USB scanners that use SCSI emulation, e.g., HP5300
415 # usscanner* at uhub? port ?
416
417 # Y@P firmware loader
418 # uyap* at uhub? port ?
419
420 # D-Link DSB-R100 USB radio
421 # udsbr* at uhub? port ?
422 # radio* at udsbr?
423
424 # USB Generic driver
425 # ugen* at uhub? port ?
426
427
428 # IrDA and Consumer Ir devices
429
430 # Toshiba Oboe
431 # oboe* at pci? dev ? function ?
432 # irframe* at oboe?
433
434 # PCI IEEE1394 controllers
435 #fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
436
437 # CardBus IEEE1394 controllers
438 #fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
439
440 #fw* at fwbus? # IP over 1394
441
442 # IEEE1394 nodes
443 #fwnode* at fwbus? idhi ? idlo ?
444 #sbpscsi* at fwnode?
445 #scsibus* at sbpscsi?
446
447 # Audio Devices
448
449 # PCI audio devices
450 auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
451 autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
452 auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio
453 clcs* at pci? dev ? function ? # Cirrus Logic CS4280
454 clct* at pci? dev ? function ? # Cirrus Logic CS4281
455 cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
456 eap* at pci? dev ? function ? # Ensoniq AudioPCI
457 emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512
458 esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio
459 esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator
460 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
461 fms* at pci? dev ? function ? # Forte Media FM801
462 neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio
463 sv* at pci? dev ? function ? # S3 SonicVibes
464 yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio
465
466 # OPL[23] FM synthesizers
467 opl* at cmpci? flags 1
468 opl* at eso?
469 opl* at fms?
470 opl* at sv?
471 opl* at yds?
472
473 # Audio support
474 audio* at audiobus?
475
476 # MPU 401 UARTs
477 mpu* at cmpci?
478 mpu* at eso?
479 mpu* at fms?
480 mpu* at yds?
481
482 # MIDI support
483 midi* at midibus?
484
485 # On-board device support
486 obio* at mainbus?
487 #com1 at obio? addr 0x900003e8 xint 1 # on-board UART
488 com0 at obio? addr 0x900002f8 xint 1 # on-board UART
489 #com* at obio? addr 0x900003e8 xint 1 # on-board UART
490 #com* at obio? addr 0x900003f8 xint 1 # on-board UART
491
492 # Pseudo-Devices
493
494 # disk/mass storage pseudo-devices
495 pseudo-device md 1 # memory disk device (ramdisk)
496 #pseudo-device vnd 4 # disk-like interface to files
497 #options VND_COMPRESSION # compressed vnd(4)
498 pseudo-device fss 4 # file system snapshot device
499
500 # network pseudo-devices
501 pseudo-device bpfilter 4 # Berkeley packet filter
502 pseudo-device loop # network loopback
503 #pseudo-device kttcp # network loopback
504
505 # miscellaneous pseudo-devices
506 pseudo-device pty # pseudo-terminals
507 pseudo-device rnd # /dev/random and in-kernel generator
508 pseudo-device clockctl # user control of clock subsystem
509 pseudo-device ksyms # /dev/ksyms
510
511 # data mover pseudo-devices
512 #pseudo-device swdmover # softare dmover(9) back-end
513 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
514