# $NetBSD: GENERIC,v 1.54 2019/04/26 21:40:30 sevan Exp $
#
#
include "arch/ibmnws/conf/std.ibmnws"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
# Console settings
options CONSOLE="\"genfb\""
#options CONSOLE="\"com\""
options CONSOLE_SPEED=9600
options CONSOLE_ADDR=0x3f8
# Enable the hooks used for initializing the ram-disk.
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # Force root on ram-disk
options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
maxusers 8
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options BUFQ_READPRIO
options BUFQ_PRIOCSCAN
options DDB
# Compatibility options
include "conf/compat_netbsd16.config"
# File systems
#file-system FFS # UFS
#file-system EXT2FS # second extended file system (linux)
#file-system MFS # memory file system
file-system NFS # Network File System client
#file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system MSDOSFS # MS-DOS file system
file-system KERNFS # kernel data-structure filesystem
file-system PROCFS # /proc
#file-system PTYFS # /dev/pts/N support
file-system TMPFS # Efficient memory file-system
#file-system UDF # experimental - OSTA UDF CD/DVD file-system
# File system options
#options DISKLABEL_EI # disklabel Endian Independent support
#options FFS_EI # FFS Endian Independent support
#options FFS_NO_SNAPSHOT # No FFS snapshot support
#options UFS_EXTATTR # Extended attribute support for UFS1
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options WAPBL # File system journaling support
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Networking options
options INET # IP + ICMP + TCP + UDP
options INET6
#options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# options NFS_BOOT_BOOTPARAM
options NFS_BOOT_DHCP
#
# wscons options
#
# builtin terminal emulations
#options WSEMUL_VT100 # VT100 / VT220 emulation
#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
# different kernel output - see dev/wscons/wsdisplayvar.h
#options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
#options PCDISPLAY_SOFTCURSOR
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
cpu0 at mainbus0
# Basic Bus Support
# PCI bus support
pci0 at mainbus0 bus ?
pci* at pchb? bus ?
options PCIVERBOSE
# PCI bridges
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
# ISA bus support
isa* at pcib? # ISA on PCI-ISA bridge
# PCMCIA bus support
# pcmcia* at pcic? controller ? socket ?
# ISA PCMCIA controllers
# pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
#options PCIC_ISA_ALLOC_IOBASE=0x0400
#options PCIC_ISA_ALLOC_IOSIZE=0x0100
# ISA Plug-and-Play bus support
# isapnp0 at isa?
# on-board I/O for IBM Personal Power Series 830 IDE controller
# obio0 at mainbus0
# Console Devices
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
# vga* at pci?
# wsdisplay* at vga? console ?
genfb* at pci? dev ? function ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
# make sure the console display is always wsdisplay0 XXX Why?
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?
# attimer0 at isa?
# pcppi0 at isa? # PC prog. periph. interface
# isabeep0 at pcppi? # "keyboard" beep
# mcclock0 at isa? port 0x70 # mc146818 and compatible
# Serial Devices
# ISA serial interfaces
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
# Parallel Printer Interfaces
# ISA parallel printer interfaces
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
# adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
# ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
# iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
# pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
# siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
# PCMCIA SCSI controllers
# aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
# spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI
# SCSI bus support
# scsibus* at adw?
# scsibus* at ahc?
# scsibus* at aic?
# scsibus* at iha?
# scsibus* at pcscp?
# scsibus* at siop?
# scsibus* at spc?
# SCSI devices
# sd* at scsibus? target ? lun ? # SCSI disk drives
# st* at scsibus? target ? lun ? # SCSI tape drives
# cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
# IDE and related devices
# IBM Personal Power Series 830 IDE controller
# wdc0 at obio? port 0x1f0 irq 13
# wdc1 at obio? port 0x170 irq 13
# ISA Plug-and-Play IDE controllers
# wdc* at isapnp?
# PCMCIA IDE controllers
# wdc* at pcmcia? function ?
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
# wd* at wdc? channel ? drive ? flags 0x0000
# ATAPI bus support
# atapibus* at wdc? channel ?
# ATAPI devices
# flags have the same meaning as for IDE drives.
# cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
# sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
# Miscellaneous mass storage devices
# ISA floppy
# fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
# fd* at fdc? drive ?
# Network Interfaces
# PCI network interfaces
pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
# PCMCIA network interfaces
# ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
# ne* at pcmcia? function ? # NE2000-compatible Ethernet
# MII/PHY support
#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
#dmphy* at mii? phy ? # Davicom DM9101 PHYs
#exphy* at mii? phy ? # 3Com internal PHYs
#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
#gphyter* at mii? phy ? # NS83861 Gig-E PHY
icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
#inphy* at mii? phy ? # Intel 82555 PHYs
#iophy* at mii? phy ? # Intel 82553 PHYs
#lxtphy* at mii? phy ? # Level One LXT-970 PHYs
#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
#nsphy* at mii? phy ? # NS83840 PHYs
#nsphyter* at mii? phy ? # NS83843 PHYs
#pnaphy* at mii? phy ? # generic HomePNA PHYs
#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
#tlphy* at mii? phy ? # ThunderLAN PHYs
#tqphy* at mii? phy ? # TDK Semiconductor PHYs
#ukphy* at mii? phy ? # generic unknown PHYs
#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
# Audio support
paud0 at isa? port 0x830 irq 10 drq 0 drq2 1
audio* at audiobus?
spkr* at audio? # PC speaker (synthesized)
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device md # memory disk device (ramdisk)
# network pseudo-devices
pseudo-device bpfilter # network tap
pseudo-device carp # Common Address Redundancy Protocol
pseudo-device loop # network loopback
#
# accept filters
pseudo-device accf_data # "dataready" accept filter
pseudo-device accf_http # "httpready" accept filter
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
#options RND_COM # use "com" randomness as well
pseudo-device ksyms
pseudo-device clockctl
pseudo-device drvctl # user control of drive subsystem
include "dev/veriexec.config"