Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.38
      1 # $NetBSD: GENERIC,v 1.38 2007/11/29 06:50:37 nisimura 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/sandpoint/conf/std.sandpoint"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.38 $"
     26 
     27 maxusers	32
     28 
     29 options 	ALTIVEC		# Include AltiVec support
     30 
     31 #options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
     32 #options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
     33 # HMAC key to be used for debugging sessions
     34 #options 	IPKDBKEY="\"HMAC pass phrase text\""
     35 #options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
     36 #makeoptions	DEBUG="-g"
     37 
     38 #options 	DEBUG
     39 options 	DIAGNOSTIC
     40 options 	TRAP_PANICWAIT
     41 options 	DDB
     42 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
     43 options 	KTRACE
     44 #options 	PMAPCHECK
     45 #options 	PMAPDEBUG
     46 #options 	SYMTAB_SPACE=300000
     47 #options 	USERCONF	# userconf(4) support
     48 #options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     49 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     50 
     51 # Compatibility options
     52 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
     53 options 	COMPAT_09	# NetBSD 0.9
     54 options 	COMPAT_10	# NetBSD 1.0
     55 options 	COMPAT_11	# NetBSD 1.1
     56 options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
     57 options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
     58 options 	COMPAT_14	# NetBSD 1.4
     59 options 	COMPAT_15	# NetBSD 1.5
     60 options 	COMPAT_16	# NetBSD 1.6
     61 options 	COMPAT_20	# NetBSD 2.0
     62 options 	COMPAT_30	# NetBSD 3.0
     63 options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
     64 #options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
     65 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     66 
     67 options 	COMPAT_LINUX	# binary compatibility with Linux
     68 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     69 
     70 options 	MSGBUFSIZE=65536
     71 
     72 file-system 	FFS		# UFS
     73 file-system 	EXT2FS		# second extended file system (linux)
     74 #file-system 	LFS		# log-structured file system
     75 file-system 	MFS		# memory file system
     76 file-system 	NFS		# Network File System client
     77 #file-system 	NTFS		# Windows/NT file system (experimental)
     78 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     79 #file-system 	MSDOSFS		# MS-DOS file system
     80 file-system 	FDESC		# /dev/fd
     81 file-system 	KERNFS		# /kern
     82 file-system 	NULLFS		# loopback file system
     83 #file-system 	OVERLAY		# overlay file system
     84 #file-system 	PORTAL		# portal filesystem (still experimental)
     85 #file-system 	PROCFS		# /proc
     86 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     87 #file-system 	UNION		# union file system
     88 #file-system	CODA		# Coda File System; also needs vcoda (below)
     89 #file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
     90 file-system	PTYFS		# /dev/ptm support
     91 file-system	TMPFS		# Efficient memory file-system
     92 
     93 # File system options
     94 options 	QUOTA		# UFS quotas
     95 #options 	FFS_EI		# FFS Endian Independent support
     96 options 	SOFTDEP		# FFS soft updates support.
     97 options 	NFSSERVER	# Network File System server
     98 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     99 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    100 
    101 options 	INET
    102 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    103 
    104 #options 	ALTQ		# Manipulate network interfaces' output queues
    105 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    106 #options 	ALTQ_CBQ	# Class-Based Queueing
    107 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    108 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    109 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    110 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    111 #options 	ALTQ_LOCALQ	# Local queueing discipline
    112 #options 	ALTQ_PRIQ	# Priority Queueing
    113 #options 	ALTQ_RED	# Random Early Detection
    114 #options 	ALTQ_RIO	# RED with IN/OUT
    115 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    116 
    117 options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
    118 
    119 config		netbsd	root on ? type ?
    120 
    121 # network psuedo-devices
    122 pseudo-device	bpfilter		# packet filter
    123 pseudo-device	vlan			# IEEE 802.1q encapsulation
    124 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    125 #pseudo-device	bridge			# simple inter-network bridging
    126 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    127 #pseudo-device	ipfilter
    128 pseudo-device	loop
    129 
    130 # mouse & keyboard multiplexor pseudo-devices
    131 #pseudo-device	wsmux
    132 
    133 # miscellaneous pseudo-devices
    134 pseudo-device	rnd			# /dev/random and in-kernel generator
    135 pseudo-device	vnd		
    136 #options 	VND_COMPRESSION		# compressed vnd(4)
    137 #pseudo-device	cgd		4	# cryptographic disk devices
    138 pseudo-device	pty
    139 pseudo-device	clockctl		# user control of clock subsystem
    140 pseudo-device	ksyms			# /dev/ksyms
    141 #pseudo-device	pf			# PF packet filter
    142 #pseudo-device	pflog			# PF log if
    143 
    144 #
    145 # device
    146 #
    147 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
    148 
    149 options 	PCIVERBOSE	# verbose PCI device messages
    150 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    151 options 	PCI_NETBSD_CONFIGURE	# Have NetBSD configure PCI I/O & Mem
    152 
    153 mainbus0 at root
    154 
    155 cpu*	at mainbus0
    156 pci*	at mainbus0 bus ?
    157 
    158 pchb*	at pci? dev ? function ?	# PCI host bridge
    159 pcib*	at pci? dev ? function ?	# Winbond 83C553 PCI-ISA bridges
    160 
    161 eumb*	at mainbus0
    162 com*	at eumb?
    163 ociic*	at eumb?
    164 iic*	at ociic?
    165 
    166 isa*	at pcib?			# ISA on PCI-ISA bridge
    167 
    168 mcclock0 at isa? port 0x70		# time-of-day clock
    169 
    170 # PCI IDE controllers - see pciide(4) for supported hardware.
    171 #pciide*	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    172 slide*		at pci? dev ? function ?	# 83C533 IDE controllers
    173 viaide*		at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
    174 cmdide*		at pci? dev ? function ?	# CMD tech IDE controllers
    175 iteide*		at pci? dev ? function ?	# IT Express IDE controllers
    176 satalink*	at pci? dev ? function ?	# SiI SATALink controllers
    177 
    178 # ATA (IDE) bus support
    179 atabus* at ata?
    180 
    181 # IDE drives
    182 wd*		at atabus? drive ? flags 0x0000	# the drives themselves
    183 
    184 #vga*	at pci? dev ? function ?
    185 
    186 # PCI network interfaces
    187 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    188 tlp*	at pci? dev ? function ?	# DEC Tulip and similar
    189 re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
    190 mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
    191 msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
    192 wm*	at pci? dev ? function ?	# Intel 8254x gigabit
    193 
    194 inphy*	at mii? phy ?			# Intel 82555 PHYs
    195 nsphy*	at mii? phy ?			# NS83840 PHYs
    196 rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
    197 makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    198 ukphy*	at mii? phy ?			# generic unknown PHYs
    199 
    200 # USB Controller and Devices
    201 ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
    202 ohci*	at pci?	dev ? function ?	# Open Host Controller
    203 uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
    204 
    205 # USB bus support
    206 usb*	at ehci?
    207 usb*	at ohci?
    208 usb*	at uhci?
    209 
    210 # USB Hubs
    211 uhub*	at usb?
    212 uhub*	at uhub? port ?
    213 
    214 # USB Mass Storage
    215 umass*	at uhub? port ? configuration ? interface ?
    216 wd*	at umass?
    217 
    218 pckbc0		at isa?			# PS/2 keyboard controller
    219 pckbd*		at pckbc?		# PC keyboard
    220 pms*		at pckbc?		# PS/2 mouse for wsmouse
    221 #wsdisplay*	at vga? console ?
    222 wskbd*	 	at pckbd? console ?
    223 wsmouse* 	at pms? mux 0
    224 
    225 attimer0	at isa?
    226 pcppi0		at isa?
    227 midi*		at pcppi?		# MIDI interface to the PC speaker
    228 #sysbeep0	at pcppi?
    229 
    230 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    231 com1	at isa? port 0x2f8 irq 3
    232 
    233 #lpt0	at isa? port 0x278 irq 7	# standard PC parallel ports
    234 
    235 #fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    236 #fd*	at fdc? drive ?			# the drives themselves
    237 
    238 #adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    239 #dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
    240 siop*	at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
    241 
    242 #scsibus* at adw?
    243 #scsibus* at dpt?
    244 scsibus* at siop?
    245 scsibus* at umass?
    246 
    247 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    248 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    249 #cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    250 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    251 #ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    252 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    253 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    254 
    255 #atapibus* at atapi?
    256 #cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    257 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    258 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    259 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    260 
    261 # Veriexec
    262 #
    263 # a pseudo device needed for veriexec
    264 #pseudo-device	veriexec		1
    265 #
    266 # Uncomment the fingerprint methods below that are desired. Note that
    267 # removing fingerprint methods will have almost no impact on the kernel
    268 # code size.
    269 #
    270 #options VERIFIED_EXEC_FP_RMD160
    271 #options VERIFIED_EXEC_FP_SHA256
    272 #options VERIFIED_EXEC_FP_SHA384
    273 #options VERIFIED_EXEC_FP_SHA512
    274 #options VERIFIED_EXEC_FP_SHA1
    275 #options VERIFIED_EXEC_FP_MD5
    276