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