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