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