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