Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.44
      1 # $NetBSD: GENERIC,v 1.44 2014/11/12 10:47:22 manu Exp $
      2 #
      3 # GENERIC machine description file
      4 #
      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.
      8 #
      9 # The machine description file can be customised for your specific
     10 # machine to reduce the kernel size and improve its performance.
     11 #
     12 # For further information on compiling NetBSD kernels, see the config(8)
     13 # man page.
     14 #
     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
     19 # device.
     20 
     21 include		"arch/landisk/conf/std.landisk"
     22 
     23 options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary
     24 
     25 #ident          "GENERIC-$Revision: 1.44 $"
     26 
     27 maxusers	16		# estimated number of users
     28 
     29 makeoptions	CPUFLAGS="-m4-nofpu"		# XXX: move to std.landisk?
     30 #makeoptions     COPTS="-Os -freorder-blocks"	# -O2 is too -falign-* zealous
     31 
     32 # CPU-related options.
     33 options 	PCLOCK=33333333			# 33.33MHz
     34 options 	DONT_INIT_BSC
     35 #options 	DONT_INIT_PCIBSC
     36 
     37 # Cache options.
     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
     43 
     44 # kloader-related
     45 #options 	KLOADER
     46 #options 	KLOADER_KERNEL_PATH="\"/netbsd\""
     47 #options 	KLOADER_DEBUG
     48 
     49 # Standard system options
     50 
     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
     54 
     55 options 	KTRACE		# system call tracing via ktrace(1)
     56 
     57 options 	SYSVMSG		# System V-like message queues
     58 options 	SYSVSEM		# System V-like semaphores
     59 options 	SYSVSHM		# System V-like memory sharing
     60 
     61 #options 	MODULAR		# new style module(7) framework
     62 #options 	MODULAR_DEFAULT_AUTOLOAD
     63 
     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
     67 
     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
     72 
     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(7): `ddb.onpanic'
     79 options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
     80 #makeoptions	DEBUG="-g -fno-omit-frame-pointer"
     81 
     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,
     88 options 	COMPAT_60	# NetBSD 6.0, and
     89 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
     90 options 	COMPAT_43	# and 4.3BSD
     91 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     92 
     93 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
     94 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     95 
     96 # Executable format options
     97 options 	EXEC_COFF	# COFF executables
     98 
     99 # File systems
    100 file-system 	FFS		# UFS
    101 file-system 	EXT2FS		# second extended file system (linux)
    102 file-system 	LFS		# log-structured file system
    103 file-system 	MFS		# memory file system
    104 file-system 	NFS		# Network File System client
    105 file-system 	NTFS		# Windows/NT file system (experimental)
    106 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
    107 file-system 	MSDOSFS		# MS-DOS file system
    108 file-system 	FDESC		# /dev/fd
    109 file-system 	KERNFS		# /kern
    110 file-system 	NULLFS		# loopback file system
    111 file-system 	OVERLAY		# overlay file system
    112 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
    113 file-system 	PROCFS		# /proc
    114 file-system 	UMAPFS		# NULLFS + uid and gid remapping
    115 file-system 	UNION		# union file system
    116 file-system	CODA		# Coda File System; also needs vcoda (below)
    117 file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
    118 file-system	PTYFS		# /dev/pts/N support
    119 file-system	TMPFS		# Efficient memory file-system
    120 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    121 
    122 # File system options
    123 options 	QUOTA		# legacy UFS quotas
    124 options 	QUOTA2		# new, in-filesystem UFS quotas
    125 #options 	FFS_EI		# FFS Endian Independent support
    126 options 	WAPBL		# File system journaling support
    127 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    128 options 	NFSSERVER	# Network File System server
    129 #options 	FFS_NO_SNAPSHOT	# ffs snapshots
    130 options 	UFS_EXTATTR	# Extended attribute support for UFS1
    131 options 	UFS_EXTATTR_AUTOSTART
    132 options 	UFS_EXTATTR_AUTOCREATE=1024
    133 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    134 				# immutable) behave as system flags.
    135 
    136 # Networking options
    137 #options 	GATEWAY		# packet forwarding
    138 options 	INET		# IP + ICMP + TCP + UDP
    139 options 	INET6		# IPV6
    140 #options 	IPSEC		# IP security
    141 #options 	IPSEC_DEBUG	# debug for IP security
    142 #options 	MROUTING	# IP multicast routing
    143 #options 	PIM		# Protocol Independent Multicast
    144 #options 	NETATALK	# AppleTalk networking protocols
    145 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    146 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    147 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    148 #options 	IPFILTER_LOG	# ipmon(8) log support
    149 options 	IPFILTER_COMPAT # Compat for IP-Filter
    150 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    151 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    152 
    153 #options 	ALTQ		# Manipulate network interfaces' output queues
    154 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    155 #options 	ALTQ_CBQ	# Class-Based Queueing
    156 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    157 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    158 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    159 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    160 #options 	ALTQ_LOCALQ	# Local queueing discipline
    161 #options 	ALTQ_PRIQ	# Priority Queueing
    162 #options 	ALTQ_RED	# Random Early Detection
    163 #options 	ALTQ_RIO	# RED with IN/OUT
    164 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    165 
    166 # These options enable verbose messages for several subsystems.
    167 # Warning, these may compile large string tables into the kernel!
    168 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    169 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    170 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    171 options 	SCSIVERBOSE	# human readable SCSI error messages
    172 options 	USBVERBOSE	# verbose USB device autoconfig messages
    173 
    174 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    175 
    176 
    177 # Kernel root file system and dump configuration.
    178 #config		netbsd	root on ? type ?
    179 config		netbsd	root on wd0a type ffs
    180 #config		netbsd	root on ? type nfs
    181 
    182 
    183 #
    184 # Device configuration
    185 #
    186 
    187 mainbus0 at root
    188 
    189 cpu*	at mainbus?
    190 
    191 # Basic Bus Support
    192 
    193 # PCI bus support
    194 options 	PCI_NETBSD_CONFIGURE
    195 shpcic*	at mainbus?		# SH7751 PCIC
    196 pci0	at shpcic? bus ?
    197 
    198 # SH bus
    199 shb*	at mainbus?
    200 
    201 # ob-board I/O bus
    202 obio0	at mainbus?
    203 
    204 # Serial Devices
    205 
    206 options 	SCIFCONSOLE
    207 options 	SCIFCN_SPEED=9600
    208 scif0	at shb?
    209 
    210 rs5c313rtc0 at shb0			# time-of-day clock
    211 
    212 # SCSI Controllers and Devices
    213 
    214 # SCSI devices
    215 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    216 st*	at scsibus? target ? lun ?	# SCSI tape drives
    217 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    218 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    219 ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    220 ss*	at scsibus? target ? lun ?	# SCSI scanners
    221 uk*	at scsibus? target ? lun ?	# SCSI unknown
    222 
    223 # IDE and related devices
    224 # PCI IDE controllers - see pciide(4) for supported hardware.
    225 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    226 # how to set up DMA modes for this chip. This may work, or may cause
    227 # a machine hang with some controllers.
    228 pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    229 acardide*	at pci? dev ? function ?	# Acard IDE controllers
    230 
    231 wdc0	at obio? port 0x14000000 irq 10		# CF
    232 #wdc1	at obio? port 0x18000000 irq 9		# iConnect
    233 
    234 # ATA (IDE) bus support
    235 atabus*	at ata?
    236 
    237 # IDE drives
    238 # Flags are used only with controllers that support DMA operations
    239 # and mode settings (e.g. some pciide controllers)
    240 # The lowest order four bits (rightmost digit) of the flags define the PIO
    241 # mode to use, the next set of four bits the DMA mode and the third set the
    242 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    243 # to use, and the last bit must be 1 for this setting to be used.
    244 # For DMA and UDMA, 0xf (1111) means 'disable'.
    245 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    246 # (0xc=1100, 0xa=1010, 0xf=1111)
    247 # 0x0000 means "use whatever the drive claims to support".
    248 wd*	at atabus? drive ? flags 0x0000
    249 
    250 # ATAPI bus support
    251 atapibus* at atapi?
    252 
    253 # ATAPI devices
    254 # flags have the same meaning as for IDE drives.
    255 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    256 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    257 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    258 
    259 # Network Interfaces
    260 
    261 # PCI network interfaces
    262 re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
    263 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    264 
    265 # MII/PHY support
    266 rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
    267 urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
    268 ukphy*	at mii? phy ?			# generic unknown PHYs
    269 
    270 
    271 # USB Controller and Devices
    272 
    273 # PCI USB controllers
    274 ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
    275 ohci*	at pci?	dev ? function ?	# Open Host Controller
    276 
    277 # USB bus support
    278 usb*	at ehci?
    279 usb*	at ohci?
    280 
    281 # USB Hubs
    282 uhub*	at usb?
    283 uhub*	at uhub? port ?
    284 
    285 # USB HID device
    286 uhidev*	at uhub? port ? configuration ? interface ?
    287 
    288 # USB Mice
    289 ums*	at uhidev? reportid ?
    290 wsmouse* at ums? mux 0
    291 
    292 # USB Keyboards
    293 ukbd*	at uhidev? reportid ?
    294 wskbd*	at ukbd? console ? mux 1
    295 
    296 # USB LCDs and USB-VGA adaptors
    297 udl*	at uhub? port ?		# DisplayLink DL-1x0/1x5
    298 wsdisplay* at udl?
    299 
    300 # USB serial adpater
    301 ucycom* at uhidev? reportid ?
    302 
    303 # USB Generic HID devices
    304 uhid*	at uhidev? reportid ?
    305 
    306 # USB Printer
    307 ulpt*	at uhub? port ? configuration ? interface ?
    308 
    309 # USB Modem
    310 umodem*	at uhub? port ? configuration ?
    311 ucom*	at umodem?
    312 
    313 # Option N.V. Wireless WAN modems
    314 uhso*	at uhub? port ? configuration ?
    315 
    316 # USB Mass Storage
    317 umass*	at uhub? port ? configuration ? interface ?
    318 scsibus* at umass?
    319 wd*	at umass?
    320 
    321 # USB audio
    322 uaudio*	at uhub? port ? configuration ?
    323 
    324 # USB MIDI
    325 umidi* at uhub? port ? configuration ?
    326 
    327 # USB IrDA
    328 # USB-IrDA bridge spec
    329 uirda* at uhub? port ? configuration ? interface ?
    330 irframe* at uirda?
    331 
    332 # SigmaTel STIr4200 USB/IrDA Bridge
    333 ustir* at uhub? port ?
    334 irframe* at ustir?
    335 
    336 # USB Ethernet adapters
    337 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    338 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    339 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    340 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    341 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    342 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    343 ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
    344 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    345 
    346 # USB 802.11b adapters
    347 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    348 
    349 # Prolific PL2301/PL2302 host-to-host adapter
    350 upl*	at uhub? port ?
    351 
    352 # Serial adapters
    353 ubsa*	at uhub? port ?		# Belkin serial adapter
    354 ucom*	at ubsa? portno ?
    355 
    356 uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    357 ucom*	at uftdi? portno ?
    358 
    359 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    360 ucom*	at umct? portno ?
    361 
    362 uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    363 ucom*	at uplcom? portno ?
    364 
    365 uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    366 ucom*	at uvscom? portno ?
    367 
    368 # Diamond Multimedia Rio 500
    369 urio*	at uhub? port ?
    370 
    371 # USB Handspring Visor
    372 uvisor*	at uhub? port ?
    373 ucom*	at uvisor?
    374 
    375 # Kyocera AIR-EDGE PHONE
    376 ukyopon* at uhub? port ?
    377 ucom*	at ukyopon? portno ?
    378 
    379 # USB scanners
    380 uscanner* at uhub? port ?
    381 
    382 # USB scanners that use SCSI emulation, e.g., HP5300
    383 usscanner* at uhub? port ?
    384 
    385 # Y@P firmware loader
    386 uyap* at uhub? port ?
    387 
    388 # D-Link DSB-R100 USB radio
    389 udsbr*	at uhub? port ?
    390 radio*	at udsbr?
    391 
    392 # USB Generic driver
    393 ugen*	at uhub? port ?
    394 
    395 
    396 # Audio Devices
    397 
    398 # Audio support
    399 audio*	at audiobus?
    400 
    401 # MIDI support
    402 midi*	at midibus?
    403 
    404 
    405 # Miscellaneous Devices
    406 
    407 # Power switch
    408 pwrsw0	at obio?
    409 
    410 # Reset button, USL-5P misc button
    411 btn0	at obio?
    412 
    413 # Pull in optional local configuration
    414 cinclude "arch/landisk/conf/GENERIC.local"
    415 
    416 
    417 # Pseudo-Devices
    418 
    419 #
    420 # accept filters
    421 pseudo-device   accf_data		# "dataready" accept filter
    422 pseudo-device   accf_http		# "httpready" accept filter
    423 
    424 # disk/mass storage pseudo-devices
    425 pseudo-device	ccd			# concatenated/striped disk devices
    426 #pseudo-device	cgd			# cryptographic disk devices
    427 pseudo-device	raid			# RAIDframe disk driver
    428 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    429 # Options to enable various other RAIDframe RAID types.
    430 #options 	RF_INCLUDE_EVENODD=1
    431 #options 	RF_INCLUDE_RAID5_RS=1
    432 #options 	RF_INCLUDE_PARITYLOGGING=1
    433 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    434 #options 	RF_INCLUDE_INTERDECLUSTER=1
    435 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    436 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    437 pseudo-device	fss			# file system snapshot device
    438 
    439 pseudo-device	md			# memory disk device (ramdisk)
    440 pseudo-device	vnd			# disk-like interface to files
    441 options 	VND_COMPRESSION		# compressed vnd(4)
    442 
    443 # network pseudo-devices
    444 pseudo-device	bpfilter		# Berkeley packet filter
    445 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    446 pseudo-device	loop			# network loopback
    447 pseudo-device	ppp			# Point-to-Point Protocol
    448 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    449 pseudo-device	sl			# Serial Line IP
    450 pseudo-device	strip			# Starmode Radio IP (Metricom)
    451 pseudo-device	irframetty		# IrDA frame line discipline
    452 pseudo-device	tap			# virtual Ethernet
    453 pseudo-device	tun			# network tunneling over tty
    454 pseudo-device	gre			# generic L3 over IP tunnel
    455 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    456 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    457 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    458 pseudo-device	vlan			# IEEE 802.1q encapsulation
    459 pseudo-device	bridge			# simple inter-network bridging
    460 #options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    461 pseudo-device	agr			# IEEE 802.3ad link aggregation
    462 #pseudo-device	pf			# PF packet filter
    463 #pseudo-device	pflog			# PF log if
    464 
    465 # miscellaneous pseudo-devices
    466 pseudo-device	pty			# pseudo-terminals
    467 pseudo-device	sequencer		# MIDI sequencer
    468 pseudo-device	clockctl		# user control of clock subsystem
    469 pseudo-device	ksyms			# /dev/ksyms
    470 pseudo-device	putter			# for puffs and pud
    471 
    472 # a pseudo device needed for Coda	# also needs CODA (above)
    473 pseudo-device	vcoda			# coda minicache <-> venus comm.
    474 
    475 # a pseudo device needed for SMBFS
    476 pseudo-device	nsmb			# experimental - SMB requester
    477 
    478 # wscons pseudo-devices
    479 pseudo-device	wsmux			# mouse & keyboard multiplexor
    480 #pseudo-device	wsfont
    481