Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.44
      1 #	$NetBSD: GENERIC,v 1.44 2014/08/23 20:26:58 dholland Exp $
      2 #
      3 #
      4 
      5 include "arch/ibmnws/conf/std.ibmnws"
      6 
      7 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      8 
      9 # Console settings
     10 options 	CONSOLE="\"genfb\""
     11 #options		CONSOLE="\"com\""
     12 options		CONSOLE_SPEED=9600
     13 options		CONSOLE_ADDR=0x3f8
     14 
     15 # Enable the hooks used for initializing the ram-disk.
     16 options 	MEMORY_DISK_HOOKS
     17 options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
     18 options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
     19 options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
     20 
     21 maxusers	8
     22 
     23 options 	DDB
     24 
     25 # Compatibility options
     26 #options 	COMPAT_43	# 4.3BSD binary compatibility.
     27 #options 	COMPAT_13	# NetBSD 1.3,
     28 #options 	COMPAT_14	# NetBSD 1.4,
     29 #options 	COMPAT_15	# NetBSD 1.5, and
     30 options 	COMPAT_16	# NetBSD 1.6 binary compatibility.
     31 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     32 
     33 # File systems
     34 #file-system 	FFS		# UFS
     35 #file-system	EXT2FS		# second extended file system (linux)
     36 #file-system 	MFS		# memory file system
     37 file-system 	NFS		# Network File System client
     38 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     39 #file-system 	MSDOSFS		# MS-DOS file system
     40 file-system	KERNFS		# kernel data-structure filesystem
     41 file-system	PROCFS		# /proc
     42 #file-system	PTYFS		# /dev/pts/N support
     43 file-system	TMPFS		# Efficient memory file-system
     44 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     45 
     46 # File system options
     47 #options 	FFS_EI		# FFS Endian Independent support
     48 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     49 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     50  				# immutable) behave as system flags.
     51 options 	WAPBL		# File system journaling support
     52 
     53 #options 	USERCONF	# userconf(4) support
     54 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     55 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     56 
     57 # Networking options
     58 options 	INET		# IP + ICMP + TCP + UDP
     59 options 	INET6
     60 
     61 #options 	ALTQ		# Manipulate network interfaces' output queues
     62 #options 	ALTQ_BLUE	# Stochastic Fair Blue
     63 #options 	ALTQ_CBQ	# Class-Based Queueing
     64 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
     65 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
     66 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
     67 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
     68 #options 	ALTQ_LOCALQ	# Local queueing discipline
     69 #options 	ALTQ_PRIQ	# Priority Queueing
     70 #options 	ALTQ_RED	# Random Early Detection
     71 #options 	ALTQ_RIO	# RED with IN/OUT
     72 #options 	ALTQ_WFQ	# Weighted Fair Queueing
     73 # options 	NFS_BOOT_BOOTPARAM
     74 options 	NFS_BOOT_DHCP
     75 
     76 #
     77 # wscons options
     78 #
     79 # builtin terminal emulations
     80 #options 	WSEMUL_VT100		# VT100 / VT220 emulation
     81 #options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     82 # different kernel output - see dev/wscons/wsdisplayvar.h
     83 #options 	WS_KERNEL_FG=WSCOL_GREEN
     84 #options 	WS_KERNEL_BG=WSCOL_BLACK
     85 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
     86 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
     87 # allocate a number of virtual screens at autoconfiguration time
     88 #options 	WSDISPLAY_DEFAULTSCREENS=4
     89 # use a large software cursor that doesn't blink
     90 #options 	PCDISPLAY_SOFTCURSOR
     91 
     92 # Kernel root file system and dump configuration.
     93 config	netbsd	root on ? type ?
     94 
     95 
     96 #
     97 # Device configuration
     98 #
     99 
    100 mainbus0 at root
    101 cpu0	at mainbus0
    102 
    103 
    104 # Basic Bus Support
    105 
    106 # PCI bus support
    107 pci0	at mainbus0 bus ?
    108 pci*	at pchb? bus ?
    109 
    110 options 	PCIVERBOSE
    111 
    112 # PCI bridges
    113 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    114 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    115 
    116 # ISA bus support
    117 isa*	at pcib?			# ISA on PCI-ISA bridge
    118 
    119 # PCMCIA bus support
    120 # pcmcia* at pcic? controller ? socket ?
    121 
    122 # ISA PCMCIA controllers
    123 # pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    124 
    125 #options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
    126 #options 	PCIC_ISA_ALLOC_IOBASE=0x0400
    127 #options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
    128 
    129 # ISA Plug-and-Play bus support
    130 # isapnp0 at isa?
    131 
    132 # on-board I/O for IBM Personal Power Series 830 IDE controller
    133 # obio0	at mainbus0
    134 
    135 
    136 # Console Devices
    137 
    138 # wscons
    139 pckbc0		at isa?			# pc keyboard controller
    140 pckbd*		at pckbc?		# PC keyboard
    141 pms*		at pckbc?		# PS/2 mouse for wsmouse
    142 # vga*		at pci?
    143 # wsdisplay*	at vga? console ?
    144 genfb*		at pci? dev ? function ?
    145 wskbd*		at pckbd? console ?
    146 wsmouse*	at pms? mux 0
    147 
    148 # make sure the console display is always wsdisplay0 XXX Why?
    149 wsdisplay0      at wsemuldisplaydev? console 1
    150 wsdisplay*      at wsemuldisplaydev?
    151 
    152 # attimer0	at isa?
    153 # pcppi0	at isa?				# PC prog. periph. interface
    154 # isabeep0 at pcppi?			# "keyboard" beep
    155 
    156 # mcclock0 at isa? port 0x70		# mc146818 and compatible
    157 
    158 
    159 # Serial Devices
    160 
    161 # ISA serial interfaces
    162 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    163 com1	at isa? port 0x2f8 irq 3
    164 
    165 # Parallel Printer Interfaces
    166 
    167 # ISA parallel printer interfaces
    168 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    169 
    170 
    171 # SCSI Controllers and Devices
    172 
    173 # PCI SCSI controllers
    174 # adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    175 # ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    176 # iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    177 # pcscp* 	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    178 # siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
    179 
    180 # PCMCIA SCSI controllers
    181 # aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    182 # spc* 	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
    183 
    184 # SCSI bus support
    185 # scsibus* at adw?
    186 # scsibus* at ahc?
    187 # scsibus* at aic?
    188 # scsibus* at iha?
    189 # scsibus* at pcscp?
    190 # scsibus* at siop?
    191 # scsibus* at spc?
    192 
    193 # SCSI devices
    194 # sd*	at scsibus? target ? lun ?	# SCSI disk drives
    195 # st*	at scsibus? target ? lun ?	# SCSI tape drives
    196 # cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    197 
    198 
    199 # IDE and related devices
    200 
    201 # IBM Personal Power Series 830 IDE controller
    202 # wdc0	at obio? port 0x1f0 irq 13
    203 # wdc1	at obio? port 0x170 irq 13
    204 
    205 # ISA Plug-and-Play IDE controllers
    206 # wdc*	at isapnp?
    207 
    208 # PCMCIA IDE controllers
    209 # wdc*	at pcmcia? function ?
    210 
    211 # IDE drives
    212 # Flags are used only with controllers that support DMA operations
    213 # and mode settings (e.g. some pciide controllers)
    214 # The lowest order four bits (rightmost digit) of the flags define the PIO
    215 # mode to use, the next set of four bits the DMA mode and the third set the
    216 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    217 # to use, and the last bit must be 1 for this setting to be used.
    218 # For DMA and UDMA, 0xf (1111) means 'disable'.
    219 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    220 # (0xc=1100, 0xa=1010, 0xf=1111)
    221 # 0x0000 means "use whatever the drive claims to support".
    222 # wd*	at wdc? channel ? drive ? flags 0x0000
    223 
    224 # ATAPI bus support
    225 # atapibus* at wdc? channel ?
    226 
    227 # ATAPI devices
    228 # flags have the same meaning as for IDE drives.
    229 # cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    230 # sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    231 
    232 # Miscellaneous mass storage devices
    233 
    234 # ISA floppy
    235 # fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    236 # fd*	at fdc? drive ?
    237 
    238 # Network Interfaces
    239 
    240 # PCI network interfaces
    241 pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
    242 
    243 # PCMCIA network interfaces
    244 # ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    245 # ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    246 
    247 # MII/PHY support
    248 #acphy*  at mii? phy ?                   # DAltima AC101 and AMD Am79c874 PHYs
    249 #amhphy* at mii? phy ?                   # AMD 79c901 Ethernet PHYs
    250 #bmtphy* at mii? phy ?                   # Broadcom BCM5201 and BCM5202 PHYs
    251 #brgphy* at mii? phy ?                   # Broadcom BCM5400-family PHYs
    252 #dmphy*  at mii? phy ?                   # Davicom DM9101 PHYs
    253 #exphy*  at mii? phy ?                   # 3Com internal PHYs
    254 #gentbi* at mii? phy ?                   # Generic Ten-Bit 1000BASE-[CLS]X PHYs
    255 #glxtphy* at mii? phy ?                  # Level One LXT-1000 PHYs
    256 #gphyter* at mii? phy ?                  # NS83861 Gig-E PHY
    257 icsphy* at mii? phy ?                   # Integrated Circuit Systems ICS189x
    258 #inphy*  at mii? phy ?                   # Intel 82555 PHYs
    259 #iophy*  at mii? phy ?                   # Intel 82553 PHYs
    260 #lxtphy* at mii? phy ?                   # Level One LXT-970 PHYs
    261 #makphy* at mii? phy ?                   # Marvell Semiconductor 88E1000 PHYs
    262 #nsphy*  at mii? phy ?                   # NS83840 PHYs
    263 #nsphyter* at mii? phy ?                 # NS83843 PHYs
    264 #pnaphy* at mii? phy ?                   # generic HomePNA PHYs
    265 #qsphy*  at mii? phy ?                   # Quality Semiconductor QS6612 PHYs
    266 #sqphy*  at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
    267 #tlphy*  at mii? phy ?                   # ThunderLAN PHYs
    268 #tqphy*  at mii? phy ?                   # TDK Semiconductor PHYs
    269 #ukphy*  at mii? phy ?                   # generic unknown PHYs
    270 #urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs
    271 
    272 # Audio support
    273 paud0 at isa? port 0x830 irq 10 drq 0 drq2 1
    274 audio*	at audiobus?
    275 
    276 # Pseudo-Devices
    277 
    278 # disk/mass storage pseudo-devices
    279 pseudo-device	md			# memory disk device (ramdisk)
    280 
    281 # network pseudo-devices
    282 pseudo-device	bpfilter		# network tap
    283 #pseudo-device	carp			# Common Address Redundancy Protocol
    284 pseudo-device	loop			# network loopback
    285 
    286 #
    287 # accept filters
    288 pseudo-device   accf_data		# "dataready" accept filter
    289 pseudo-device   accf_http		# "httpready" accept filter
    290 
    291 # miscellaneous pseudo-devices
    292 pseudo-device	pty			# pseudo-terminals
    293 #options 	RND_COM			# use "com" randomness as well
    294 pseudo-device	ksyms
    295 pseudo-device	clockctl
    296 
    297 # Veriexec
    298 #
    299 # a pseudo device needed for veriexec
    300 #pseudo-device	veriexec
    301 #
    302 # Uncomment the fingerprint methods below that are desired. Note that
    303 # removing fingerprint methods will have almost no impact on the kernel
    304 # code size.
    305 #
    306 #options VERIFIED_EXEC_FP_RMD160
    307 #options VERIFIED_EXEC_FP_SHA256
    308 #options VERIFIED_EXEC_FP_SHA384
    309 #options VERIFIED_EXEC_FP_SHA512
    310 #options VERIFIED_EXEC_FP_SHA1
    311 #options VERIFIED_EXEC_FP_MD5
    312