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