1 # $NetBSD: GENERIC,v 1.21 2009/12/05 20:11:15 pooka Exp $
3 # GENERIC machine description file
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
12 # For further information on compiling NetBSD kernels, see the config(8)
15 # For further information on hardware support for this architecture, see
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
18 # of each device driver in this file see the section 4 man page for the
21 include "arch/landisk/conf/std.landisk"
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
25 #ident "GENERIC-$Revision: 1.22 $"
27 maxusers 16 # estimated number of users
29 makeoptions CPUFLAGS="-m4-nofpu" # XXX: move to std.landisk?
30 #makeoptions COPTS="-Os -freorder-blocks" # -O2 is too -falign-* zealous
32 # CPU-related options.
33 options PCLOCK=33333333 # 33.33MHz
35 #options DONT_INIT_PCIBSC
38 options SH4_CACHE_DISABLE_EMODE
39 #options SH4_CACHE_DISABLE_ICACHE
40 #options SH4_CACHE_DISABLE_DCACHE
41 #options SH4_CACHE_WB_U0_P0_P3
42 #options SH4_CACHE_WB_P1
46 #options KLOADER_KERNEL_PATH="\"/netbsd\""
47 #options KLOADER_DEBUG
49 # Standard system options
51 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
52 #options HZ=64 # clock interrupt generates every 1/HZ sec
53 options NTP # NTP phase/frequency locked loop
55 options KTRACE # system call tracing via ktrace(1)
57 options SYSVMSG # System V-like message queues
58 options SYSVSEM # System V-like semaphores
59 options SYSVSHM # System V-like memory sharing
60 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
62 #options MODULAR # new style module framework
64 options USERCONF # userconf(4) support
65 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
66 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
68 # Enable experimental buffer queue strategy for better responsiveness under
69 # high disk I/O load. Likely stable but not yet the default.
70 #options BUFQ_READPRIO
71 #options BUFQ_PRIOCSCAN
73 # Diagnostic/debugging support options
74 #options DIAGNOSTIC # cheap kernel consistency checks
75 #options DEBUG # expensive debugging checks/support
76 #options KMEMSTATS # kernel memory statistics (vmstat -m)
77 options DDB # in-kernel debugger
78 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
79 options DDB_HISTORY_SIZE=512 # Enable history editing in DDB
80 #makeoptions DEBUG="-g -fno-omit-frame-pointer"
82 # Compatibility options
83 options COMPAT_16 # NetBSD 1.6,
84 options COMPAT_20 # NetBSD 2.0,
85 options COMPAT_30 # NetBSD 3.0,
86 options COMPAT_40 # NetBSD 4.0,
87 options COMPAT_50 # NetBSD 5.0 compatibility.
88 options COMPAT_43 # and 4.3BSD
89 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
91 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
92 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
94 # Executable format options
95 options EXEC_COFF # COFF executables
99 file-system EXT2FS # second extended file system (linux)
100 file-system LFS # log-structured file system
101 file-system MFS # memory file system
102 file-system NFS # Network File System client
103 file-system NTFS # Windows/NT file system (experimental)
104 file-system CD9660 # ISO 9660 + Rock Ridge file system
105 file-system MSDOSFS # MS-DOS file system
106 file-system FDESC # /dev/fd
107 file-system KERNFS # /kern
108 file-system NULLFS # loopback file system
109 file-system OVERLAY # overlay file system
110 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
111 file-system PROCFS # /proc
112 file-system UMAPFS # NULLFS + uid and gid remapping
113 file-system UNION # union file system
114 file-system CODA # Coda File System; also needs vcoda (below)
115 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
116 file-system PTYFS # /dev/pts/N support
117 file-system TMPFS # Efficient memory file-system
118 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
120 # File system options
121 options QUOTA # UFS quotas
122 #options FFS_EI # FFS Endian Independent support
123 options WAPBL # File system journaling support - Experimental
124 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
125 options NFSSERVER # Network File System server
126 #options FFS_NO_SNAPSHOT # ffs snapshots
127 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
128 # immutable) behave as system flags.
131 #options GATEWAY # packet forwarding
132 options INET # IP + ICMP + TCP + UDP
134 #options IPSEC # IP security
135 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
136 #options IPSEC_DEBUG # debug for IP security
137 #options MROUTING # IP multicast routing
138 #options PIM # Protocol Independent Multicast
139 #options ISO,TPIP # OSI
140 #options EON # OSI tunneling over IP
141 #options NETATALK # AppleTalk networking protocols
142 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
143 #options PPP_DEFLATE # Deflate compression support for PPP
144 #options PPP_FILTER # Active filter support for PPP (requires bpf)
145 #options PFIL_HOOKS # pfil(9) packet filter hooks
146 #options IPFILTER_LOG # ipmon(8) log support
147 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
148 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
150 #options ALTQ # Manipulate network interfaces' output queues
151 #options ALTQ_BLUE # Stochastic Fair Blue
152 #options ALTQ_CBQ # Class-Based Queueing
153 #options ALTQ_CDNR # Diffserv Traffic Conditioner
154 #options ALTQ_FIFOQ # First-In First-Out Queue
155 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
156 #options ALTQ_HFSC # Hierarchical Fair Service Curve
157 #options ALTQ_LOCALQ # Local queueing discipline
158 #options ALTQ_PRIQ # Priority Queueing
159 #options ALTQ_RED # Random Early Detection
160 #options ALTQ_RIO # RED with IN/OUT
161 #options ALTQ_WFQ # Weighted Fair Queueing
163 # These options enable verbose messages for several subsystems.
164 # Warning, these may compile large string tables into the kernel!
165 options MIIVERBOSE # verbose PHY autoconfig messages
166 options PCIVERBOSE # verbose PCI device autoconfig messages
167 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
168 options SCSIVERBOSE # human readable SCSI error messages
169 options USBVERBOSE # verbose USB device autoconfig messages
171 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
174 # Kernel root file system and dump configuration.
175 #config netbsd root on ? type ?
176 config netbsd root on wd0a type ffs
177 #config netbsd root on ? type nfs
181 # Device configuration
191 options PCI_NETBSD_CONFIGURE
192 shpcic* at mainbus? # SH7751 PCIC
193 pci0 at shpcic? bus ?
204 options SCIFCN_SPEED=9600
207 rs5c313rtc0 at shb0 # time-of-day clock
209 # SCSI Controllers and Devices
212 sd* at scsibus? target ? lun ? # SCSI disk drives
213 st* at scsibus? target ? lun ? # SCSI tape drives
214 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
215 ch* at scsibus? target ? lun ? # SCSI autochangers
216 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
217 ss* at scsibus? target ? lun ? # SCSI scanners
218 uk* at scsibus? target ? lun ? # SCSI unknown
220 # IDE and related devices
221 # PCI IDE controllers - see pciide(4) for supported hardware.
222 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
223 # how to set up DMA modes for this chip. This may work, or may cause
224 # a machine hang with some controllers.
225 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
226 acardide* at pci? dev ? function ? # Acard IDE controllers
228 wdc0 at obio? port 0x14000000 irq 10 # CF
229 #wdc1 at obio? port 0x18000000 irq 9 # iConnect
231 # ATA (IDE) bus support
235 # Flags are used only with controllers that support DMA operations
236 # and mode settings (e.g. some pciide controllers)
237 # The lowest order four bits (rightmost digit) of the flags define the PIO
238 # mode to use, the next set of four bits the DMA mode and the third set the
239 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
240 # to use, and the last bit must be 1 for this setting to be used.
241 # For DMA and UDMA, 0xf (1111) means 'disable'.
242 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
243 # (0xc=1100, 0xa=1010, 0xf=1111)
244 # 0x0000 means "use whatever the drive claims to support".
245 wd* at atabus? drive ? flags 0x0000
251 # flags have the same meaning as for IDE drives.
252 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
253 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
254 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
258 # PCI network interfaces
259 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
260 rtk* at pci? dev ? function ? # Realtek 8129/8139
263 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
264 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
265 ukphy* at mii? phy ? # generic unknown PHYs
268 # USB Controller and Devices
270 # PCI USB controllers
271 ehci* at pci? dev ? function ? # Enhanced Host Controller
272 ohci* at pci? dev ? function ? # Open Host Controller
280 uhub* at uhub? port ?
283 uhidev* at uhub? port ? configuration ? interface ?
286 ums* at uhidev? reportid ?
287 wsmouse* at ums? mux 0
290 ukbd* at uhidev? reportid ?
291 wskbd* at ukbd? console ? mux 1
293 # USB LCDs and USB-VGA adaptors
294 udl* at uhub? port ? # DisplayLink DL-1x0/1x5
298 ucycom* at uhidev? reportid ?
300 # USB Generic HID devices
301 uhid* at uhidev? reportid ?
304 ulpt* at uhub? port ? configuration ? interface ?
307 umodem* at uhub? port ? configuration ?
311 umass* at uhub? port ? configuration ? interface ?
316 uaudio* at uhub? port ? configuration ?
319 umidi* at uhub? port ? configuration ?
322 # USB-IrDA bridge spec
323 uirda* at uhub? port ? configuration ? interface ?
326 # SigmaTel STIr4200 USB/IrDA Bridge
327 ustir* at uhub? port ?
330 # USB Ethernet adapters
331 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
332 axe* at uhub? port ? # ASIX AX88172 based adapters
333 cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
334 cue* at uhub? port ? # CATC USB-EL1201A based adapters
335 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
336 udav* at uhub? port ? # Davicom DM9601 based adapters
337 ral* at uhub? port ? #
338 url* at uhub? port ? # Realtek RTL8150L based adapters
340 # USB 802.11b adapters
341 atu* at uhub? port ? # Atmel AT76C50XX based adapters
343 # Prolific PL2301/PL2302 host-to-host adapter
347 ubsa* at uhub? port ? # Belkin serial adapter
348 ucom* at ubsa? portno ?
350 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
351 ucom* at uftdi? portno ?
353 umct* at uhub? port ? # MCT USB-RS232 serial adapter
354 ucom* at umct? portno ?
356 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
357 ucom* at uplcom? portno ?
359 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
360 ucom* at uvscom? portno ?
362 # Diamond Multimedia Rio 500
363 urio* at uhub? port ?
365 # USB Handspring Visor
366 uvisor* at uhub? port ?
369 # Kyocera AIR-EDGE PHONE
370 ukyopon* at uhub? port ?
371 ucom* at ukyopon? portno ?
374 uscanner* at uhub? port ?
376 # USB scanners that use SCSI emulation, e.g., HP5300
377 usscanner* at uhub? port ?
379 # Y@P firmware loader
380 uyap* at uhub? port ?
382 # D-Link DSB-R100 USB radio
383 udsbr* at uhub? port ?
387 ugen* at uhub? port ?
399 # Miscellaneous Devices
404 # Reset button, USL-5P misc button
407 # Pull in optional local configuration
408 cinclude "arch/landisk/conf/GENERIC.local"
415 pseudo-device accf_data # "dataready" accept filter
416 pseudo-device accf_http # "httpready" accept filter
418 # disk/mass storage pseudo-devices
419 pseudo-device ccd 4 # concatenated/striped disk devices
420 #pseudo-device cgd 4 # cryptographic disk devices
421 pseudo-device raid 8 # RAIDframe disk driver
422 options RAID_AUTOCONFIG # auto-configuration of RAID components
423 # Options to enable various other RAIDframe RAID types.
424 #options RF_INCLUDE_EVENODD=1
425 #options RF_INCLUDE_RAID5_RS=1
426 #options RF_INCLUDE_PARITYLOGGING=1
427 #options RF_INCLUDE_CHAINDECLUSTER=1
428 #options RF_INCLUDE_INTERDECLUSTER=1
429 #options RF_INCLUDE_PARITY_DECLUSTERING=1
430 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
431 pseudo-device fss 4 # file system snapshot device
433 pseudo-device md 1 # memory disk device (ramdisk)
434 pseudo-device vnd # disk-like interface to files
435 options VND_COMPRESSION # compressed vnd(4)
437 # network pseudo-devices
438 pseudo-device bpfilter # Berkeley packet filter
439 pseudo-device ipfilter # IP filter (firewall) and NAT
440 pseudo-device loop # network loopback
441 pseudo-device ppp # Point-to-Point Protocol
442 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
443 pseudo-device sl # Serial Line IP
444 pseudo-device strip # Starmode Radio IP (Metricom)
445 pseudo-device irframetty # IrDA frame line discipline
446 pseudo-device tap # virtual Ethernet
447 pseudo-device tun # network tunneling over tty
448 pseudo-device gre # generic L3 over IP tunnel
449 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
450 #pseudo-device faith # IPv[46] tcp relay translation i/f
451 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
452 pseudo-device vlan # IEEE 802.1q encapsulation
453 pseudo-device bridge # simple inter-network bridging
454 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
455 pseudo-device agr # IEEE 802.3ad link aggregation
456 #pseudo-device pf # PF packet filter
457 #pseudo-device pflog # PF log if
459 # miscellaneous pseudo-devices
460 pseudo-device pty # pseudo-terminals
461 pseudo-device sequencer 1 # MIDI sequencer
462 pseudo-device rnd # /dev/random and in-kernel generator
463 pseudo-device clockctl # user control of clock subsystem
464 pseudo-device ksyms # /dev/ksyms
465 pseudo-device putter # for puffs and pud
467 # a pseudo device needed for Coda # also needs CODA (above)
468 pseudo-device vcoda 4 # coda minicache <-> venus comm.
470 # a pseudo device needed for SMBFS
471 pseudo-device nsmb # experimental - SMB requester
473 # wscons pseudo-devices
474 pseudo-device wsmux # mouse & keyboard multiplexor
475 #pseudo-device wsfont