11.58Schristos# $NetBSD: GENERIC,v 1.58 2024/01/29 18:27:13 christos Exp $ 21.1Smatt# 31.1Smatt# 41.1Smatt 51.1Smattinclude "arch/ibmnws/conf/std.ibmnws" 61.1Smatt 71.2Smattoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 81.1Smatt 91.1Smatt# Console settings 101.32Srjsoptions CONSOLE="\"genfb\"" 111.32Srjs#options CONSOLE="\"com\"" 121.1Smattoptions CONSOLE_SPEED=9600 131.1Smattoptions CONSOLE_ADDR=0x3f8 141.1Smatt 151.33She# Enable the hooks used for initializing the ram-disk. 161.33Sheoptions MEMORY_DISK_HOOKS 171.33Sheoptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 181.33Sheoptions MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 191.36Sjymoptions MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 201.33She 211.1Smattmaxusers 8 221.1Smatt 231.54Ssevan# Alternate buffer queue strategies for better responsiveness under high 241.54Ssevan# disk I/O load. 251.54Ssevan#options BUFQ_READPRIO 261.54Ssevanoptions BUFQ_PRIOCSCAN 271.54Ssevan 281.31Srjsoptions DDB 291.2Smatt 301.1Smatt# Compatibility options 311.52Smrginclude "conf/compat_netbsd16.config" 321.1Smatt 331.1Smatt# File systems 341.31Srjs#file-system FFS # UFS 351.1Smatt#file-system EXT2FS # second extended file system (linux) 361.31Srjs#file-system MFS # memory file system 371.1Smattfile-system NFS # Network File System client 381.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 391.1Smatt#file-system MSDOSFS # MS-DOS file system 401.31Srjsfile-system KERNFS # kernel data-structure filesystem 411.31Srjsfile-system PROCFS # /proc 421.31Srjs#file-system PTYFS # /dev/pts/N support 431.31Srjsfile-system TMPFS # Efficient memory file-system 441.21Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 451.1Smatt 461.1Smatt# File system options 471.38Swiz#options FFS_EI # FFS Endian Independent support 481.18Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 491.55Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 501.45Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 511.55Ssimonboptions WAPBL # File system journaling support 521.55Ssimonb#options DISKLABEL_EI # disklabel Endian Independent support 531.1Smatt 541.1Smatt#options USERCONF # userconf(4) support 551.1Smatt#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 561.8Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 571.1Smatt 581.1Smatt# Networking options 591.1Smattoptions INET # IP + ICMP + TCP + UDP 601.31Srjsoptions INET6 611.7Sabs 621.7Sabs#options ALTQ # Manipulate network interfaces' output queues 631.7Sabs#options ALTQ_BLUE # Stochastic Fair Blue 641.7Sabs#options ALTQ_CBQ # Class-Based Queueing 651.7Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 661.7Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 671.7Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 681.7Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 691.7Sabs#options ALTQ_LOCALQ # Local queueing discipline 701.7Sabs#options ALTQ_PRIQ # Priority Queueing 711.7Sabs#options ALTQ_RED # Random Early Detection 721.7Sabs#options ALTQ_RIO # RED with IN/OUT 731.7Sabs#options ALTQ_WFQ # Weighted Fair Queueing 741.1Smatt# options NFS_BOOT_BOOTPARAM 751.2Smattoptions NFS_BOOT_DHCP 761.1Smatt 771.1Smatt# 781.1Smatt# wscons options 791.1Smatt# 801.1Smatt# builtin terminal emulations 811.1Smatt#options WSEMUL_VT100 # VT100 / VT220 emulation 821.41Sabs#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 831.1Smatt# different kernel output - see dev/wscons/wsdisplayvar.h 841.1Smatt#options WS_KERNEL_FG=WSCOL_GREEN 851.1Smatt#options WS_KERNEL_BG=WSCOL_BLACK 861.23Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 871.1Smatt#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 881.1Smatt# allocate a number of virtual screens at autoconfiguration time 891.1Smatt#options WSDISPLAY_DEFAULTSCREENS=4 901.1Smatt# use a large software cursor that doesn't blink 911.1Smatt#options PCDISPLAY_SOFTCURSOR 921.1Smatt 931.1Smatt# Kernel root file system and dump configuration. 941.33Sheconfig netbsd root on ? type ? 951.1Smatt 961.1Smatt 971.1Smatt# 981.1Smatt# Device configuration 991.1Smatt# 1001.1Smatt 1011.1Smattmainbus0 at root 1021.1Smattcpu0 at mainbus0 1031.1Smatt 1041.1Smatt 1051.1Smatt# Basic Bus Support 1061.1Smatt 1071.1Smatt# PCI bus support 1081.1Smattpci0 at mainbus0 bus ? 1091.1Smattpci* at pchb? bus ? 1101.1Smatt 1111.2Smattoptions PCIVERBOSE 1121.1Smatt 1131.1Smatt# PCI bridges 1141.1Smattpchb* at pci? dev ? function ? # PCI-Host bridges 1151.1Smattpcib* at pci? dev ? function ? # PCI-ISA bridges 1161.1Smatt 1171.1Smatt# ISA bus support 1181.1Smattisa* at pcib? # ISA on PCI-ISA bridge 1191.1Smatt 1201.1Smatt# PCMCIA bus support 1211.1Smatt# pcmcia* at pcic? controller ? socket ? 1221.1Smatt 1231.1Smatt# ISA PCMCIA controllers 1241.1Smatt# pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 1251.1Smatt 1261.1Smatt#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 1271.1Smatt#options PCIC_ISA_ALLOC_IOBASE=0x0400 1281.1Smatt#options PCIC_ISA_ALLOC_IOSIZE=0x0100 1291.1Smatt 1301.1Smatt# ISA Plug-and-Play bus support 1311.1Smatt# isapnp0 at isa? 1321.1Smatt 1331.1Smatt# on-board I/O for IBM Personal Power Series 830 IDE controller 1341.1Smatt# obio0 at mainbus0 1351.1Smatt 1361.1Smatt 1371.1Smatt# Console Devices 1381.1Smatt 1391.1Smatt# wscons 1401.32Srjspckbc0 at isa? # pc keyboard controller 1411.32Srjspckbd* at pckbc? # PC keyboard 1421.32Srjspms* at pckbc? # PS/2 mouse for wsmouse 1431.1Smatt# vga* at pci? 1441.1Smatt# wsdisplay* at vga? console ? 1451.32Srjsgenfb* at pci? dev ? function ? 1461.32Srjswskbd* at pckbd? console ? 1471.32Srjswsmouse* at pms? mux 0 1481.32Srjs 1491.32Srjs# make sure the console display is always wsdisplay0 XXX Why? 1501.32Srjswsdisplay0 at wsemuldisplaydev? console 1 1511.32Srjswsdisplay* at wsemuldisplaydev? 1521.1Smatt 1531.12Scube# attimer0 at isa? 1541.1Smatt# pcppi0 at isa? # PC prog. periph. interface 1551.1Smatt# isabeep0 at pcppi? # "keyboard" beep 1561.1Smatt 1571.1Smatt# mcclock0 at isa? port 0x70 # mc146818 and compatible 1581.1Smatt 1591.1Smatt 1601.1Smatt# Serial Devices 1611.1Smatt 1621.1Smatt# ISA serial interfaces 1631.1Smattcom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 1641.1Smattcom1 at isa? port 0x2f8 irq 3 1651.1Smatt 1661.1Smatt# Parallel Printer Interfaces 1671.1Smatt 1681.1Smatt# ISA parallel printer interfaces 1691.3Srjslpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 1701.1Smatt 1711.1Smatt 1721.1Smatt# SCSI Controllers and Devices 1731.1Smatt 1741.1Smatt# PCI SCSI controllers 1751.1Smatt# adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 1761.1Smatt# ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 1771.1Smatt# iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 1781.25Shubertf# pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 1791.1Smatt# siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 1801.1Smatt 1811.1Smatt# PCMCIA SCSI controllers 1821.1Smatt# aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 1831.25Shubertf# spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI 1841.1Smatt 1851.1Smatt# SCSI bus support 1861.1Smatt# scsibus* at adw? 1871.1Smatt# scsibus* at ahc? 1881.1Smatt# scsibus* at aic? 1891.1Smatt# scsibus* at iha? 1901.1Smatt# scsibus* at pcscp? 1911.1Smatt# scsibus* at siop? 1921.25Shubertf# scsibus* at spc? 1931.1Smatt 1941.1Smatt# SCSI devices 1951.1Smatt# sd* at scsibus? target ? lun ? # SCSI disk drives 1961.1Smatt# st* at scsibus? target ? lun ? # SCSI tape drives 1971.1Smatt# cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1981.1Smatt 1991.1Smatt 2001.1Smatt# IDE and related devices 2011.1Smatt 2021.1Smatt# IBM Personal Power Series 830 IDE controller 2031.1Smatt# wdc0 at obio? port 0x1f0 irq 13 2041.1Smatt# wdc1 at obio? port 0x170 irq 13 2051.1Smatt 2061.1Smatt# ISA Plug-and-Play IDE controllers 2071.1Smatt# wdc* at isapnp? 2081.1Smatt 2091.1Smatt# PCMCIA IDE controllers 2101.1Smatt# wdc* at pcmcia? function ? 2111.1Smatt 2121.1Smatt# IDE drives 2131.1Smatt# Flags are used only with controllers that support DMA operations 2141.1Smatt# and mode settings (e.g. some pciide controllers) 2151.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO 2161.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the 2171.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2181.1Smatt# to use, and the last bit must be 1 for this setting to be used. 2191.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'. 2201.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2211.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111) 2221.1Smatt# 0x0000 means "use whatever the drive claims to support". 2231.1Smatt# wd* at wdc? channel ? drive ? flags 0x0000 2241.1Smatt 2251.1Smatt# ATAPI bus support 2261.1Smatt# atapibus* at wdc? channel ? 2271.1Smatt 2281.1Smatt# ATAPI devices 2291.1Smatt# flags have the same meaning as for IDE drives. 2301.1Smatt# cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2311.1Smatt# sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2321.1Smatt 2331.1Smatt# Miscellaneous mass storage devices 2341.1Smatt 2351.1Smatt# ISA floppy 2361.1Smatt# fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 2371.1Smatt# fd* at fdc? drive ? 2381.1Smatt 2391.1Smatt# Network Interfaces 2401.1Smatt 2411.1Smatt# PCI network interfaces 2421.1Smattpcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 2431.1Smatt 2441.1Smatt# PCMCIA network interfaces 2451.1Smatt# ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 2461.1Smatt# ne* at pcmcia? function ? # NE2000-compatible Ethernet 2471.1Smatt 2481.1Smatt# MII/PHY support 2491.1Smatt#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 2501.1Smatt#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 2511.1Smatt#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 2521.1Smatt#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 2531.1Smatt#dmphy* at mii? phy ? # Davicom DM9101 PHYs 2541.1Smatt#exphy* at mii? phy ? # 3Com internal PHYs 2551.1Smatt#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 2561.1Smatt#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 2571.1Smatt#gphyter* at mii? phy ? # NS83861 Gig-E PHY 2581.1Smatticsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 2591.1Smatt#inphy* at mii? phy ? # Intel 82555 PHYs 2601.1Smatt#iophy* at mii? phy ? # Intel 82553 PHYs 2611.1Smatt#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 2621.1Smatt#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 2631.1Smatt#nsphy* at mii? phy ? # NS83840 PHYs 2641.1Smatt#nsphyter* at mii? phy ? # NS83843 PHYs 2651.1Smatt#pnaphy* at mii? phy ? # generic HomePNA PHYs 2661.1Smatt#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 2671.1Smatt#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 2681.1Smatt#tlphy* at mii? phy ? # ThunderLAN PHYs 2691.1Smatt#tqphy* at mii? phy ? # TDK Semiconductor PHYs 2701.1Smatt#ukphy* at mii? phy ? # generic unknown PHYs 2711.1Smatt#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 2721.1Smatt 2731.4Srjs# Audio support 2741.4Srjspaud0 at isa? port 0x830 irq 10 drq 0 drq2 1 2751.4Srjsaudio* at audiobus? 2761.4Srjs 2771.49Schristosspkr* at audio? # PC speaker (synthesized) 2781.47Snat 2791.1Smatt# Pseudo-Devices 2801.1Smatt 2811.1Smatt# disk/mass storage pseudo-devices 2821.37Shannkenpseudo-device md # memory disk device (ramdisk) 2831.1Smatt 2841.1Smatt# network pseudo-devices 2851.22Srpaulopseudo-device bpfilter # network tap 2861.54Ssevanpseudo-device carp # Common Address Redundancy Protocol 2871.1Smattpseudo-device loop # network loopback 2881.1Smatt 2891.35Stls# 2901.35Stls# accept filters 2911.35Stlspseudo-device accf_data # "dataready" accept filter 2921.35Stlspseudo-device accf_http # "httpready" accept filter 2931.35Stls 2941.1Smatt# miscellaneous pseudo-devices 2951.1Smattpseudo-device pty # pseudo-terminals 2961.1Smatt#options RND_COM # use "com" randomness as well 2971.1Smattpseudo-device ksyms 2981.1Smattpseudo-device clockctl 2991.53Sisakipseudo-device drvctl # user control of drive subsystem 3001.56Sriastradpseudo-device swwdog # software watchdog timer -- swwdog(4) 3011.20Selad 3021.54Ssevaninclude "dev/veriexec.config" 3031.57Sabs 3041.57Sabs# Pull in optional local configuration - always at end 3051.57Sabscinclude "arch/ibmnws/conf/GENERIC.local" 306