GENERIC revision 1.15
1# $NetBSD: GENERIC,v 1.15 2005/07/31 04:04:42 yamt 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 39#file-system PTYFS # experimental - /dev/ptm support 40 41# File system options 42options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls 43#options FFS_EI # FFS Endian Independant support 44#options FFS_NO_SNAPSHOT # ffs snapshots 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) 50options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 51 52# Networking options 53options INET # IP + ICMP + TCP + UDP 54 55#options ALTQ # Manipulate network interfaces' output queues 56#options ALTQ_BLUE # Stochastic Fair Blue 57#options ALTQ_CBQ # Class-Based Queueing 58#options ALTQ_CDNR # Diffserv Traffic Conditioner 59#options ALTQ_FIFOQ # First-In First-Out Queue 60#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 61#options ALTQ_HFSC # Hierarchical Fair Service Curve 62#options ALTQ_LOCALQ # Local queueing discipline 63#options ALTQ_PRIQ # Priority Queueing 64#options ALTQ_RED # Random Early Detection 65#options ALTQ_RIO # RED with IN/OUT 66#options ALTQ_WFQ # Weighted Fair Queueing 67# options NFS_BOOT_BOOTPARAM 68options NFS_BOOT_DHCP 69 70# 71# wscons options 72# 73# builtin terminal emulations 74#options WSEMUL_VT100 # VT100 / VT220 emulation 75# different kernel output - see dev/wscons/wsdisplayvar.h 76#options WS_KERNEL_FG=WSCOL_GREEN 77#options WS_KERNEL_BG=WSCOL_BLACK 78# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 79#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 80# allocate a number of virtual screens at autoconfiguration time 81#options WSDISPLAY_DEFAULTSCREENS=4 82# use a large software cursor that doesn't blink 83#options PCDISPLAY_SOFTCURSOR 84 85# Kernel root file system and dump configuration. 86config netbsd root on ? type ? 87 88 89# 90# Device configuration 91# 92 93mainbus0 at root 94cpu0 at mainbus0 95 96 97# Basic Bus Support 98 99# PCI bus support 100pci0 at mainbus0 bus ? 101pci* at pchb? bus ? 102 103options PCI_NETBSD_CONFIGURE 104options PCIVERBOSE 105 106# PCI bridges 107pchb* at pci? dev ? function ? # PCI-Host bridges 108pcib* at pci? dev ? function ? # PCI-ISA bridges 109 110# ISA bus support 111isa* 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# wskbd* at pckbd? console ? 139# wsmouse* at pms? mux 0 140 141# attimer0 at isa? 142# pcppi0 at isa? # PC prog. periph. interface 143# isabeep0 at pcppi? # "keyboard" beep 144 145# mcclock0 at isa? port 0x70 # mc146818 and compatible 146 147 148# Serial Devices 149 150# ISA serial interfaces 151com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 152com1 at isa? port 0x2f8 irq 3 153 154# Parallel Printer Interfaces 155 156# ISA parallel printer interfaces 157lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 158 159 160# SCSI Controllers and Devices 161 162# PCI SCSI controllers 163# adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 164# ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 165# iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 166# pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 167# siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 168 169# PCMCIA SCSI controllers 170# aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 171 172# SCSI bus support 173# scsibus* at adw? 174# scsibus* at ahc? 175# scsibus* at aic? 176# scsibus* at iha? 177# scsibus* at pcscp? 178# scsibus* at siop? 179 180# SCSI devices 181# sd* at scsibus? target ? lun ? # SCSI disk drives 182# st* at scsibus? target ? lun ? # SCSI tape drives 183# cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 184 185 186# IDE and related devices 187 188# IBM Personal Power Series 830 IDE controller 189# wdc0 at obio? port 0x1f0 irq 13 190# wdc1 at obio? port 0x170 irq 13 191 192# ISA Plug-and-Play IDE controllers 193# wdc* at isapnp? 194 195# PCMCIA IDE controllers 196# wdc* at pcmcia? function ? 197 198# IDE drives 199# Flags are used only with controllers that support DMA operations 200# and mode settings (e.g. some pciide controllers) 201# The lowest order four bits (rightmost digit) of the flags define the PIO 202# mode to use, the next set of four bits the DMA mode and the third set the 203# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 204# to use, and the last bit must be 1 for this setting to be used. 205# For DMA and UDMA, 0xf (1111) means 'disable'. 206# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 207# (0xc=1100, 0xa=1010, 0xf=1111) 208# 0x0000 means "use whatever the drive claims to support". 209# wd* at wdc? channel ? drive ? flags 0x0000 210 211# ATAPI bus support 212# atapibus* at wdc? channel ? 213 214# ATAPI devices 215# flags have the same meaning as for IDE drives. 216# cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 217# sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 218 219# Miscellaneous mass storage devices 220 221# ISA floppy 222# fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 223# fd* at fdc? drive ? 224 225# Network Interfaces 226 227# PCI network interfaces 228pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 229options PCN_NO_PROM # PROM not used for ethernet addr 230 231# PCMCIA network interfaces 232# ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 233# ne* at pcmcia? function ? # NE2000-compatible Ethernet 234 235# MII/PHY support 236#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 237#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 238#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 239#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 240#dmphy* at mii? phy ? # Davicom DM9101 PHYs 241#exphy* at mii? phy ? # 3Com internal PHYs 242#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 243#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 244#gphyter* at mii? phy ? # NS83861 Gig-E PHY 245icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 246#inphy* at mii? phy ? # Intel 82555 PHYs 247#iophy* at mii? phy ? # Intel 82553 PHYs 248#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 249#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 250#nsphy* at mii? phy ? # NS83840 PHYs 251#nsphyter* at mii? phy ? # NS83843 PHYs 252#pnaphy* at mii? phy ? # generic HomePNA PHYs 253#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 254#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 255#tlphy* at mii? phy ? # ThunderLAN PHYs 256#tqphy* at mii? phy ? # TDK Semiconductor PHYs 257#ukphy* at mii? phy ? # generic unknown PHYs 258#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 259 260# Audio support 261paud0 at isa? port 0x830 irq 10 drq 0 drq2 1 262audio* at audiobus? 263 264# Pseudo-Devices 265 266# disk/mass storage pseudo-devices 267pseudo-device md 1 # memory disk device (ramdisk) 268 269# network pseudo-devices 270pseudo-device bpfilter 8 # network tap 271pseudo-device loop # network loopback 272 273# miscellaneous pseudo-devices 274pseudo-device pty # pseudo-terminals 275pseudo-device rnd # /dev/random and in-kernel generator 276#options RND_COM # use "com" randomness as well 277pseudo-device ksyms 278pseudo-device clockctl 279