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