GENERIC revision 1.34
1# $NetBSD: GENERIC,v 1.34 2008/07/31 07:41:01 simonb 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="\"genfb\"" 13#options CONSOLE="\"com\"" 14options CONSOLE_SPEED=9600 15options CONSOLE_ADDR=0x3f8 16 17# Enable the hooks used for initializing the ram-disk. 18options MEMORY_DISK_HOOKS 19options MEMORY_DISK_IS_ROOT # Force root on ram-disk 20options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 21 22maxusers 8 23 24options DDB 25 26# Compatibility options 27#options COMPAT_13 # NetBSD 1.3, 28#options COMPAT_14 # NetBSD 1.4, 29#options COMPAT_15 # NetBSD 1.5, 30options COMPAT_16 # NetBSD 1.6, 31#options COMPAT_43 # and 4.3BSD 32options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 33 34# File systems 35#file-system FFS # UFS 36#file-system EXT2FS # second extended file system (linux) 37#file-system MFS # memory file system 38file-system NFS # Network File System client 39#file-system CD9660 # ISO 9660 + Rock Ridge file system 40#file-system MSDOSFS # MS-DOS file system 41file-system KERNFS # kernel data-structure filesystem 42file-system PROCFS # /proc 43#file-system PTYFS # /dev/pts/N support 44file-system TMPFS # Efficient memory file-system 45#file-system UDF # experimental - OSTA UDF CD/DVD file-system 46 47# File system options 48#options FFS_EI # FFS Endian Independant support 49#options FFS_NO_SNAPSHOT # No FFS snapshot support 50#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 51 # immutable) behave as system flags. 52options WAPBL # File system journaling support - Experimental 53 54#options USERCONF # userconf(4) support 55#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 56options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 57 58# Networking options 59options INET # IP + ICMP + TCP + UDP 60options INET6 61 62#options ALTQ # Manipulate network interfaces' output queues 63#options ALTQ_BLUE # Stochastic Fair Blue 64#options ALTQ_CBQ # Class-Based Queueing 65#options ALTQ_CDNR # Diffserv Traffic Conditioner 66#options ALTQ_FIFOQ # First-In First-Out Queue 67#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 68#options ALTQ_HFSC # Hierarchical Fair Service Curve 69#options ALTQ_LOCALQ # Local queueing discipline 70#options ALTQ_PRIQ # Priority Queueing 71#options ALTQ_RED # Random Early Detection 72#options ALTQ_RIO # RED with IN/OUT 73#options ALTQ_WFQ # Weighted Fair Queueing 74# options NFS_BOOT_BOOTPARAM 75options NFS_BOOT_DHCP 76 77# 78# wscons options 79# 80# builtin terminal emulations 81#options WSEMUL_VT100 # VT100 / VT220 emulation 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. 93config netbsd root on ? type ? 94 95 96# 97# Device configuration 98# 99 100mainbus0 at root 101cpu0 at mainbus0 102 103 104# Basic Bus Support 105 106# PCI bus support 107pci0 at mainbus0 bus ? 108pci* at pchb? bus ? 109 110options PCIVERBOSE 111 112# PCI bridges 113pchb* at pci? dev ? function ? # PCI-Host bridges 114pcib* at pci? dev ? function ? # PCI-ISA bridges 115 116# ISA bus support 117isa* 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 139pckbc0 at isa? # pc keyboard controller 140pckbd* at pckbc? # PC keyboard 141pms* at pckbc? # PS/2 mouse for wsmouse 142# vga* at pci? 143# wsdisplay* at vga? console ? 144genfb* at pci? dev ? function ? 145wskbd* at pckbd? console ? 146wsmouse* at pms? mux 0 147 148# make sure the console display is always wsdisplay0 XXX Why? 149wsdisplay0 at wsemuldisplaydev? console 1 150wsdisplay* 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 162com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 163com1 at isa? port 0x2f8 irq 3 164 165# Parallel Printer Interfaces 166 167# ISA parallel printer interfaces 168lpt0 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 241pcn* 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 257icsphy* 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 273paud0 at isa? port 0x830 irq 10 drq 0 drq2 1 274audio* at audiobus? 275 276# Pseudo-Devices 277 278# disk/mass storage pseudo-devices 279pseudo-device md 1 # memory disk device (ramdisk) 280 281# network pseudo-devices 282pseudo-device bpfilter # network tap 283#pseudo-device carp # Common Address Redundancy Protocol 284pseudo-device loop # network loopback 285 286# miscellaneous pseudo-devices 287pseudo-device pty # pseudo-terminals 288pseudo-device rnd # /dev/random and in-kernel generator 289#options RND_COM # use "com" randomness as well 290pseudo-device ksyms 291pseudo-device clockctl 292 293# Veriexec 294# 295# a pseudo device needed for veriexec 296#pseudo-device veriexec 1 297# 298# Uncomment the fingerprint methods below that are desired. Note that 299# removing fingerprint methods will have almost no impact on the kernel 300# code size. 301# 302#options VERIFIED_EXEC_FP_RMD160 303#options VERIFIED_EXEC_FP_SHA256 304#options VERIFIED_EXEC_FP_SHA384 305#options VERIFIED_EXEC_FP_SHA512 306#options VERIFIED_EXEC_FP_SHA1 307#options VERIFIED_EXEC_FP_MD5 308