# $NetBSD: INSTALL,v 1.115 2020/04/18 11:00:38 skrll Exp $
#
# CATSINST -- CHALTECH CATS Install kernel
#
include "arch/cats/conf/std.cats"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
# estimated number of users
maxusers 8
# Standard system options
options INSECURE # disable kernel securelevel
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
#options NTP # NTP phase/frequency locked loop
# CPU options
# For StrongARM systems
options CPU_SA110 # Support the SA110 core
makeoptions COPTS="-Os -march=armv4 -mtune=strongarm" # optimise for space
# File systems
file-system FFS # UFS
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network file system
#file-system ADOSFS # AmigaDOS-compatible file system
#file-system EXT2FS # second extended file system (linux)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
file-system KERNFS # /kern
#file-system NULLFS # loopback file system
#file-system OVERLAY # overlay filesystem
#file-system PROCFS # /proc
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
#file-system CODA # Coda File System; also needs vcode (below)
file-system PTYFS # /dev/pts/N support
# File system options
#options QUOTA # legacy UFS quotas
#options QUOTA2 # new, in-filesystem UFS quotas
#options FFS_EI # FFS Endian Independent support
#options NFSSERVER
options WAPBL # File system journaling support
options FFS_NO_SNAPSHOT # No FFS snapshot support
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options NETATALK # AppleTalk networking
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
options NFS_BOOT_BOOTP
options NFS_BOOT_DHCP
#options NFS_BOOT_BOOTPARAM
# Compatibility options
include "conf/compat_netbsd13.config"
# Shared memory options
#options SYSVMSG # System V-like message queues
#options SYSVSEM # System V-like semaphores
#options SYSVSHM # System V-like memory sharing
# Device options
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
options MEMORY_DISK_ROOT_SIZE=5000 # Size in blocks
options MEMORY_DISK_IS_ROOT # use memory disk as root
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
# Miscellaneous kernel options
#options KTRACE # system call tracing, a la ktrace(1)
#options IRQSTATS # manage IRQ statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options PCIVERBOSE # Verbose PCI descriptions
#options MIIVERBOSE # verbose PHY autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
#options USBVERBOSE # verbose USB device autoconfig messages
#options DDB_KEYCODE=0x40
options USERCONF # userconf(4) support
options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# wscons options
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options WS_KERNEL_FG=WSCOL_GREEN
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
# see dev/wscons/wskbdmap_mfii.h for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# Development and Debugging options
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
#options DIAGNOSTIC # internal consistency checks
#options UVMHIST # kernhist for uvm/pmap subsystems
options DDB # in-kernel debugger
pseudo-device ksyms
options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#makeoptions DEBUG="-g" # compile full symbol table
config netbsd root on ? type ?
# The main bus device
mainbus0 at root
# The boot CPU
cpu0 at mainbus?
# Core logic
footbridge0 at mainbus?
# footbridge uart
fcom0 at footbridge?
# system clock via footbridge
#clock* at footbridge?
# PCI bus support
# PCI bus via footbridge
pci0 at footbridge? # PCI bus
pci* at ppb? bus ?
# PCI bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
#puc* at pci? dev ? function ? # PCI "universal" comm. cards
# PCI serial interfaces
#com* at puc? port ? # 16x50s on "universal" comm boards
#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
# PCI parallel printer interfaces
#lpt* at puc? port ? # || ports on "universal" comm boards
# PCI SCSI Controllers and Buses
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
scsibus* at adv?
#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
#scsibus* at adw?
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
scsibus* at ahc?
#bha* at pci? dev ? function ? # BusLogic 9xx SCSI
#scsibus* at bha?
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
scsibus* at iha?
#isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
#scsibus* at isp?
pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
scsibus* at pcscp?
siop* at pci? dev ? function ? # NCR 53c8xx SCSI
scsibus* at siop?
# 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
#ch* at scsibus? target ? lun ? # SCSI auto-changers
#uk* at scsibus? target ? lun ? # SCSI unknown device
#ss* at scsibus? target ? lun ? # SCSI scanner
# PCI IDE Controllers and Devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
artsata* at pci? dev ? function ? # Intel i31244 SATA controller
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
satalink* at pci? dev ? function ? # SiI SATALink controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
# ATA (IDE) bus support
atabus* at ata?
# 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 atabus? drive ? flags 0x0000 # the drives themselves
# ATAPI bus support
atapibus* at atapi?
# ATAPI devices
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# PCI network interfaces
ep* at pci? dev ? function ? # 3C590 ethernet cards
ex* at pci? dev ? function ? # 3Com 90x[B]
epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
#pcn* at pci? dev ? function ? # PCnet-PCI Ethernet
ne* at pci? dev ? function ? # NE2000 compat ethernet
#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
sip* at pci? dev ? function ? # SiS 900 Ethernet
#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
rtk* at pci? dev ? function ? # Realtek 8129/8139
# MII/PHY support
exphy* at mii? phy ? # 3Com internal PHYs
#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
nsphy* at mii? phy ? # NS83840 PHYs
#nsphyter* at mii? phy ? # NS83843 PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
#rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
#rlphy* at mii? phy ? # Realtek 8139/8201L 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
# USB Controller and Devices
# PCI USB controllers
#uhci* at pci? # Universal Host Controller (Intel)
#ohci* at pci? # Open Host Controller
# USB bus support
#usb* at uhci?
#usb* at ohci?
# USB Hubs
#uhub* at usb?
#uhub* at uhub? port ?
# USB HID device
#uhidev* at uhub? port ? configuration ? interface ?
# USB Mice
#ums* at uhidev? reportid ?
#wsmouse* at ums?
# USB Keyboards
#ukbd* at uhidev? reportid ?
#wskbd* at ukbd? console ?
# USB serial adapter
#ucycom* at uhidev? reportid ?
# USB Generic HID devices
#uhid* at uhidev? reportid ?
# USB Printer
#ulpt* at uhub? port ? configuration ? interface ?
# USB Modem
#umodem* at uhub? port ? configuration ?
#ucom* at umodem?
# Option N.V. Wireless WAN modems
#uhso* at uhub? port ? configuration ?
# USB Mass Storage
#umass* at uhub? port ? configuration ? interface ?
#atapibus* at umass?
#scsibus* at umass? channel ?
# USB audio
#uaudio* at uhub? port ? configuration ?
#audio* at uaudio?
# USB Ethernet adapters
#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
#axe* at uhub? port ? # ASIX AX88172 based adapters
#cue* at uhub? port ? # CATC USB-EL1201A based adapters
#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
#mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters
#ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters
#url* at uhub? port ? # Realtek RTL8150L based adapters
# USB Generic driver
#ugen* at uhub? port ?
# Audio Devices
# PCI audio devices
#eap* at pci? dev ? function ? # Ensoniq AudioPCI
#sv* at pci? dev ? function ? # S3 SonicVibes
# Audio support
#audio* at eap?
#audio* at sv?
vga* at pci?
wsdisplay* at vga? console ?
# ISA bus bridging
pcib* at pci? dev ? function ? # PCI-ISA bridge
isa* at pcib? # ISA bus
# ISA Plug-and-Play bus support
isapnp0 at isa?
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
wskbd* at pckbd? console ?
wsmouse* at pms?
attimer0 at isa?
pcppi0 at isa?
sysbeep0 at pcppi?
# ISA Plug-and-Play serial interfaces
com* at isapnp? # Modems and serial boards
# ISA Plug-and-Play network interfaces
ep* at isapnp? # 3Com 3c509 Ethernet
fmv* at isapnp? # Fujitsu FMV-183
ne* at isapnp? # NE2000 compat
# ISA serial interfaces
com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
com1 at isa? port 0x2f8 irq 3
#com2 at isa? port 0x3e8 irq 9
#com3 at isa? port 0x2e8 irq 10
# ISA parallel printer interfaces
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
lpt1 at isa? port 0x278 irq 5
#lpt2 at isa? port 0x3bc
# ISA floppy
#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370 irq ? drq ?
#fd* at fdc? drive ? # the drives themselves
# ISA network interface
#ne0 at isa? port 0x280 irq 9
#ne1 at isa? port 0x300 irq 10
#ep* at isa? port ? irq ?
# The spkr driver provides a simple tone interface to the built in speaker.
#spkr* at pcppi? # PC speaker
#spkr* at audio? # PC speaker (synthesized)
ds1687rtc0 at isa? port 0x72 # Dallas RTC
# ISA Plug-and-Play audio devices
#ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
#sb* at isapnp? # SoundBlaster-compatible audio
#wss* at isapnp? # Windows Sound System
# OPL[23] FM syntheziers
#opl* at ess?
#opl* at sb?
# Audio support
#audio* at ess?
#audio* at sb?
#audio* at wss?
# MPU 401 UARTs
#mpu* at sb?
# MIDI support
#midi* at pcppi? # MIDI interface to the PC speaker
#midi* at sb? # SB MPU401 port
#midi* at opl? # OPL FM synth
#midi* at mpu? # MPU 401
# Joysticks
# ISA Plug-and-Play joysticks
#joy* at isapnp? # Game ports (usually on audio cards)
# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0 at isa? port 0x201
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device ccd # concatenated/striped disk devices
#pseudo-device fss # file system snapshot device
pseudo-device md # memory disk device (ramdisk)
#pseudo-device vnd # disk-like interface to files
# network pseudo-devices
pseudo-device bpfilter # Berkeley packet filter
#pseudo-device npf # NPF packet filter
pseudo-device loop # network loopback
#pseudo-device ppp # Point-to-Point Protocol
#pseudo-device sl # Serial Line IP
#pseudo-device tun # network tunneling over tty
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
#pseudo-device sequencer # MIDI sequencer
#options RND_COM # use "com" randomness as well (BROKEN)
#pseudo-device vcoda # coda minicache <-> venus comm.
# mouse & keyboard multiplexor pseudo-devices
pseudo-device wsmux
pseudo-device wsfont
# for IPv6
#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith # IPv[46] tcp relay translation i/f