1# $NetBSD: INSTALL,v 1.77 2024/01/29 18:27:11 christos Exp $ 2# 3# INSTALL -- installation and rescue kernel. 4# 5# This kernel should be derived from GENERIC with most features 6# commented out to shoehorn into Cobalt kernel size limitations. 7# 8 9include "arch/cobalt/conf/std.cobalt" 10 11options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12 13#ident "INSTALL-$Revision: 1.77 $" 14 15makeoptions COPTS="-Os -mmemcpy" 16makeoptions CPUFLAGS="-march=vr5000 -mabi=32" 17 18maxusers 32 19 20# Standard system options 21#options KTRACE # system call tracing support 22#options SYSVMSG # System V message queues 23#options SYSVSEM # System V semaphores 24#options SEMMNI=10 # number of semaphore identifiers 25#options SEMMNS=60 # number of semaphores in system 26#options SEMUME=10 # max number of undo entries per process 27#options SEMMNU=30 # number of undo structures in system 28#options SYSVSHM # System V shared memory 29#options NTP # network time protocol 30#options USERCONF # userconf(4) support 31options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 32#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 33 34# Alternate buffer queue strategies for better responsiveness under high 35# disk I/O load. 36#options BUFQ_READPRIO 37#options BUFQ_PRIOCSCAN 38 39# Debugging options 40#options DIAGNOSTIC # extra kernel sanity checking 41#options DEBUG # extra kernel debugging support 42options DDB # kernel dynamic debugger 43pseudo-device ksyms 44#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 45#makeoptions DEBUG="-g" # compile full symbol table 46 47# Compatibility options 48include "conf/compat_netbsd16.config" 49#options EXEC_ECOFF # exec ECOFF binaries 50#options COMPAT_ULTRIX # binary compatibility with Ultrix 51 52# File systems 53file-system FFS # Berkeley Fast Filesystem 54file-system EXT2FS # second extended file system (linux) 55file-system NFS # Sun NFS-compatible filesystem client 56#file-system KERNFS # kernel data-structure filesystem 57#file-system NULLFS # NULL layered filesystem 58#file-system OVERLAY # overlay file system 59file-system MFS # memory-based filesystem 60#file-system FDESC # user file descriptor filesystem 61#file-system UMAPFS # uid/gid remapping filesystem 62#file-system LFS # Log-based filesystem (still experimental) 63#file-system PROCFS # /proc 64#file-system CD9660 # ISO 9660 + Rock Ridge file system 65#file-system UNION # union file system 66#file-system MSDOSFS # MS-DOS FAT filesystem(s). 67#file-system CODA # Coda File System; also needs vcoda (below) 68#file-system PTYFS # /dev/pts/N support 69 70# File system options 71#options NFSSERVER # Sun NFS-compatible filesystem server 72#options QUOTA # legacy UFS quotas 73#options QUOTA2 # new, in-filesystem UFS quotas 74#options FFS_EI # FFS Endian Independent support 75options WAPBL # File system journaling support 76options FFS_NO_SNAPSHOT # No FFS snapshot support 77 78# Networking options 79#options GATEWAY # IP packet forwarding 80options INET # Internet protocols 81#options INET6 # IPV6 82#options IPSEC # IP security 83#options IPSEC_DEBUG # debug for IP security 84#options MROUTING # packet forwarding of multicast packets 85#options PIM # Protocol Independent Multicast 86#options NETATALK # AppleTalk (over Ethernet) protocol 87#options PPP_BSDCOMP # BSD-Compress compression support for PPP 88#options PPP_DEFLATE # Deflate compression support for PPP 89#options PPP_FILTER # Active filter support for PPP (requires bpf) 90#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 91 92#options ALTQ # Manipulate network interfaces' output queues 93#options ALTQ_BLUE # Stochastic Fair Blue 94#options ALTQ_CBQ # Class-Based Queueing 95#options ALTQ_CDNR # Diffserv Traffic Conditioner 96#options ALTQ_FIFOQ # First-In First-Out Queue 97#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 98#options ALTQ_HFSC # Hierarchical Fair Service Curve 99#options ALTQ_LOCALQ # Local queueing discipline 100#options ALTQ_PRIQ # Priority Queueing 101#options ALTQ_RED # Random Early Detection 102#options ALTQ_RIO # RED with IN/OUT 103#options ALTQ_WFQ # Weighted Fair Queueing 104 105# JIT compiler for bpfilter 106#options SLJIT 107#options BPFJIT 108 109# These options enable verbose messages for several subsystems. 110# Warning, these may compile large string tables into the kernel! 111#options PCIVERBOSE # verbose PCI device autoconfig messages 112#options PCI_CONFIG_DUMP # verbosely dump PCI config space 113#options SCSIVERBOSE # human readable SCSI error messages 114#options MIIVERBOSE # verbose PHY autoconfig messages 115 116options NFS_BOOT_DHCP 117 118config netbsd root on ? type ? 119 120mainbus0 at root 121 122cpu0 at mainbus? 123 124mcclock0 at mainbus? addr 0x10000070 125 126com0 at mainbus? addr 0x1c800000 level 3 127options COM_16650 128 129zsc0 at mainbus? addr 0x1c800000 irq 4 130zstty0 at zsc0 channel 0 131#zstty1 at zsc0 channel 1 132 133lcdpanel0 at mainbus? addr 0x1f000000 134 135gt0 at mainbus? addr 0x14000000 136 137pci* at gt0 138pchb* at pci? dev ? function ? 139pcib* at pci? dev ? function ? 140 141options PCI_NETBSD_CONFIGURE 142 143# Cryptographic Devices 144 145# PCI cryptographic devices 146#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 147#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 148 149# PCI serial/parallel interfaces 150puc* at pci? dev ? function ? # PCI "universal" comm. cards 151com* at puc? port ? 152#lpt* at puc? port ? 153#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial cards 154 155# PCI SCSI controllers 156#adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] 157#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI 158#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 159#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 160#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 161#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FC 162#siop* at pci? dev ? function ? # NCR 53c8xx SCSI 163#esiop* at pci? dev ? function ? # NCR 53c82s75xx SCSI and newer 164#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 165 166# SCSI bus support 167#scsibus* at adv? 168#scsibus* at adw? 169#scsibus* at ahc? 170#scsibus* at bha? 171#scsibus* at dpt? 172#scsibus* at isp? 173#scsibus* at siop? 174#scsibus* at esiop? 175#scsibus* at pcscp? 176 177# SCSI devices 178#sd* at scsibus? target ? lun ? # SCSI disk drives 179#st* at scsibus? target ? lun ? # SCSI tape drives 180#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 181#ch* at scsibus? target ? lun ? # SCSI autochangers 182#ss* at scsibus? target ? lun ? # SCSI scanners 183#uk* at scsibus? target ? lun ? # SCSI unknown 184 185# RAID controllers and devices 186#cac* at pci? dev ? function ? # Compaq array controller 187#ca* at cac? unit ? # Compaq array disk device 188 189# IDE and related devices 190# PCI IDE controllers - see pciide(4) for supported hardware. 191# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 192# how to set up DMA modes for this chip. This may work, or may cause 193# a machine hang with some controllers. 194pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 195#acardide* at pci? dev ? function ? # Acard IDE controllers 196#aceride* at pci? dev ? function ? # Acer Lab IDE controllers 197#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 198#cmdide* at pci? dev ? function ? # CMD tech IDE controllers 199#cypide* at pci? dev ? function ? # Cypress IDE controllers 200#hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 201#optiide* at pci? dev ? function ? # Opti IDE controllers 202#pdcide* at pci? dev ? function ? # Promise IDE controllers 203#pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 204#satalink* at pci? dev ? function ? # SiI SATALink controllers 205#siside* at pci? dev ? function ? # SiS IDE controllers 206#slide* at pci? dev ? function ? # Symphony Labs IDE controllers 207viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 208 209# ATA bus 210atabus* at ata? 211 212# IDE drives 213# Flags are used only with controllers that support DMA operations 214# and mode settings (e.g. some pciide controllers) 215# The lowest order four bits (rightmost digit) of the flags define the PIO 216# mode to use, the next set of four bits the DMA mode and the third set the 217# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 218# to use, and the last bit must be 1 for this setting to be used. 219# For DMA and UDMA, 0xf (1111) means 'disable'. 220# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 221# (0xc=1100, 0xa=1010, 0xf=1111) 222# 0x0000 means "use whatever the drive claims to support". 223wd* at atabus? drive ? flags 0x0000 224 225# PCI network interfaces 226#ep* at pci? dev ? function ? # 3Com 3c59x 227#ex* at pci? dev ? function ? # 3Com 90x[BC] 228#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 229#fxp* at pci? dev ? function ? # Intel EtherExpress PRO10+/100B 230#pcn* at pci? dev ? function ? # PCnet-PCI Ethernet 231#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 232#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 233#sip* at pci? dev ? function ? # SiS 900 Ethernet 234#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 235tlp* at pci? dev ? function ? # DECchip 21x4x and clones 236#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 237#rtk* at pci? dev ? function ? # Realtek 8129/8139 238 239# MII/PHY support 240#exphy* at mii? phy ? # 3Com internal PHYs 241#icsphy* at mii? phy ? # ICS189x PHYs 242#inphy* at mii? phy ? # Intel 82555 PHYs 243#iophy* at mii? phy ? # Intel 82553 PHYs 244lxtphy* at mii? phy ? # Level One LXT-970 PHYs 245#nsphy* at mii? phy ? # NS83840 PHYs 246#nsphyter* at mii? phy ? # NS83843 PHYs 247#qsphy* at mii? phy ? # Quality Semiconductor QS6612 248#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 249#tlphy* at mii? phy ? # ThunderLAN PHYs 250#tqphy* at mii? phy ? # TDK Semiconductor PHYs 251#ukphy* at mii? phy ? # generic unknown PHYs 252 253# PCI audio devices 254#clcs* at pci? dev ? function ? # Cirrus Logic CS4280 255#eap* at pci? dev ? function ? # Ensoniq AudioPCI 256#emuxki* at pci? dev ? function ? # SoundBlaster Live! 257#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 258#fms* at pci? dev ? function ? # Forte Media FM801 259#sv* at pci? dev ? function ? # S3 SonicVibes 260 261# Audio support 262#audio* at audiobus? 263 264#spkr* at audio? # PC speaker (synthesized) 265 266# Pseudo-devices 267 268#pseudo-device crypto # /dev/crypto device 269#pseudo-device swcrypto # software crypto implementation 270 271# Disk/mass storage pseudo-devices 272#pseudo-device ccd # concatenated disk devices 273#pseudo-device cgd # cryptographic disk devices 274#pseudo-device raid # RAIDframe disk driver 275#options RAID_AUTOCONFIG # auto-configuration of RAID 276# Options to enable various other RAIDframe RAID types. 277# options RF_INCLUDE_EVENODD=1 278# options RF_INCLUDE_RAID5_RS=1 279# options RF_INCLUDE_PARITYLOGGING=1 280# options RF_INCLUDE_CHAINDECLUSTER=1 281# options RF_INCLUDE_INTERDECLUSTER=1 282# options RF_INCLUDE_PARITY_DECLUSTERING=1 283# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 284#pseudo-device md # memory disk device (ramdisk) 285#pseudo-device vnd # disk-like interface to files 286 287# Network pseudo-devices 288pseudo-device bpfilter # Berkeley packet filter 289#pseudo-device npf # NPF packet filter 290pseudo-device loop # network loopback 291#pseudo-device ppp # Point-to-Point Protocol 292#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 293#pseudo-device sl # Serial Line IP 294#pseudo-device tun # network tunneling over tty 295#pseudo-device tap # virtual Ethernet 296#pseudo-device gre # generic L3 over IP tunnel 297#pseudo-device gif # RFC1933 tunnel 298#pseudo-device faith # IPv[46] tcp relay translation 299#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 300#pseudo-device vlan # IEEE 802.1q encapsulation 301#pseudo-device bridge # simple inter-network bridging 302#pseudo-device vether # Virtual Ethernet for bridge 303 304# Miscellaneous pseudo-devices 305pseudo-device pty # pseudo-terminals 306options NO_DEV_PTM 307#pseudo-device sequencer # MIDI sequencer 308#options RND_COM # use "com" randomness (BROKEN) 309#pseudo-device clockctl # user control of clock subsystem 310pseudo-device nullcons # no-op console 311 312# A pseudo device needed for Coda # also needs CODA (above) 313#pseudo-device vcoda # coda minicache <-> venus comm. 314#pseudo-device ksyms # /dev/ksyms 315