#       $NetBSD: P4032,v 1.84 2022/06/07 18:33:41 martin Exp $
#
# Algorithmics P-4032 kernel.
#

include "arch/algor/conf/std.algor"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "P4032-$Revision: 1.84 $"

maxusers 32

# Platform Support
options         ALGOR_P4032     # Algorithmics P-4032
#options        ALGOR_P5064     # Algorithmics P-5064
#options        ALGOR_P6032     # Algorithmics P-6032

# Set these to the appropriate values, in case you have a buggy PMON
# that doesn't provide environment variables properly.
#options        MEMSIZE=48              # memory size, in MB
#options        ETHADDR="\"00:40:bc:03:00:6c\""

# Standard system options
options         KTRACE                  # System call tracing support
options         NTP                     # kernel PLL for NTP

# Diagnostic/debugging support options
options         DIAGNOSTIC              # Cheap kernel consistency checks
options         DDB                     # kernel debugger
pseudo-device   ksyms
makeoptions     DEBUG="-g"
#makeoptions    DEBUGLIST="pattern1 pattern2 ..."
makeoptions     COPY_SYMTAB=1

# File systems
file-system     FFS             # Fast file system
file-system     MFS             # Memory-based file system
file-system     CD9660          # ISO-9660 CD-ROM FS (w/RockRidge extensions)
file-system     MSDOSFS         # MS-DOS-compatible file system
file-system     NTFS            # Windows/NT file system (experimental)
file-system     NFS             # Sun NFS-compatible file system client
file-system     KERNFS          # Kernel variable file system (/kern)
file-system     PROCFS          # Process file system (/proc)
file-system     FDESC           # /dev/fd file system
file-system     PTYFS           # /dev/pts/N support

# File system options
options         NFSSERVER       # Sun NFS-compatible file system server
#options        FFS_EI          # FFS Endian Independent support
options         WAPBL           # File system journaling support
options         FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
options         INET            # Internet protocol suite
options         INET6           # IPV6
options         IPSEC           # IP security
#options        IPSEC_DEBUG     # debug for IP security

# JIT compiler for bpfilter
#options        SLJIT
#options        BPFJIT

# Binary compatibility with previous versions of NetBSD.
include         "conf/compat_netbsd10.config"

# System V-like message queues
options         SYSVMSG

# System V-like semaphores
options         SYSVSEM

# System V-like shared memory
options         SYSVSHM

# Loadable Kernel Modules

# Disable kernel security.
#options        INSECURE

# Misc. options
#options        PCI_NETBSD_CONFIGURE    # NetBSD configures the PCI bus
options         PCIVERBOSE              # recognize "unknown" PCI devices
#options        MIIVERBOSE              # verbose PHY autoconfig messages
#options        PCI_CONFIG_DUMP         # verbosely dump PCI config space
options         SCSIVERBOSE             # Verbose SCSI errors
#options        PCMCIAVERBOSE
#options        PIPE_SOCKETPAIR         # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# The Alpha console firmware network boots using the BOOTP
# protocol, so we ask the NFS code to use BOOTP/DHCP as well,
# in case we have NFS root.
options         NFS_BOOT_DHCP           # superset of BOOTP

# WS console uses SUN or VT100 terminal emulation
#options        WSEMUL_VT100
#options        WSDISPLAY_COMPAT_USL            # wsconscfg VT handling

config          netbsd  root on ? type ?
#config         netbsd  root on sd0 type ffs
#config         netbsd  root on ? type nfs

mainbus0 at     root
cpu*    at      mainbus0

# Devices on the P-4032 local I/O bus
mcclock*        at mainbus? addr ?
com*            at mainbus? addr ?
lpt*            at mainbus? addr ?
#pckbc*         at mainbus? addr ?
#fdc*           at mainbus? addr ?

# PCI host bus adapter support
vtpbc*  at      mainbus?

# PCI bus support
pci*    at      vtpbc?

# PCI devices
#adv*   at      pci? dev ? function ?           # AdvanSys SCSI
#adw*   at      pci? dev ? function ?           # AdvanSys Wide SCSI
#options        SCSI_ADW_WDTR_DISABLE           #       disable WDTR
#options        SCSI_ADW_SDTR_DISABLE           #       disable SDTR
#options        SCSI_ADW_TAGQ_DISABLE           #       disable Tag Queuing
#ahc*   at      pci? dev ? function ?           # Adaptec [23]94x, aic78x0 SCSI
#bha*   at      pci? dev ? function ?           # BusLogic 9xx SCSI (untested)
#cac*   at      pci? dev ? function ?           # Compaq array controller (untested)
#cy*    at      pci? dev ? function ?           # Cyclades Cyclom-Y (untested)
#cz*    at      pci? dev ? function ?           # Cyclades-Z (untested)
#dpt*   at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
#eap*   at      pci? dev ? function ?           # Ensoniq AudioPCI
#ep*    at      pci? dev ? function ?           # 3COM 3c59x
#epic*  at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
#eso*   at      pci? dev ? function ?           # ESS Solo-1 PCI AudioDrive
#ex*    at      pci? dev ? function ?           # 3COM 3c90x[B] Ethernet
#fxp*   at      pci? dev ? function ?           # Intel EEPRO 10+/100B
#gsip*  at      pci? dev ? function ?           # NS DP83820 Gigabit Ethernet
#isp*   at      pci? dev ? function ?           # Qlogic ISP 10x0 SCSI
#pcn*   at      pci? dev ? function ?           # PCnet-PCI Ethernet
#pcib*  at      pci? dev ? function ?           # Intel PCI-ISA Bridges
#siop*  at      pci? dev ? function ?           # Symbios 53c8xx SCSI
#mlx*   at      pci? dev ? function ?           # Mylex DAC960 / DEC SWXCR (untested)
#ne*    at      pci? dev ? function ?           # NE2000-compatible Ethernet
#ohci*  at      pci? dev ? function ?           # USB Open Host Controller
#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
#pcscp* at      pci? dev ? function ?           # AMD Am53c974 PCscsi-PCI
ppb*    at      pci? dev ? function ?           # PCI-PCI Bridges
#rtk*   at      pci? dev ? function ?           # Realtek 8129/8139 Ethernet
#sip*   at      pci? dev ? function ?           # SiS 900 Ethernet
#sv*    at      pci? dev ? function ?           # S3 SonicVibes
#tga*   at      pci? dev ? function ?           # DEC ZLXp-E[123] Graphics
#ti*    at      pci? dev ? function ?           # Alteon Tigon Gig-E
#tl*    at      pci? dev ? function ?           # TI ThunderLAN Ethernet
tlp*    at      pci? dev ? function ?           # DECchip 21x4x and clones
#uhci*  at      pci? dev ? function ?           # USB Univ. Host Controller
#vga*   at      pci? dev ? function ?           # PCI VGA Graphics
#vr*    at      pci? dev ? function ?           # VIA Rhine Fast Ethernet
#yds*   at      pci? dev ? function ?           # Yamaha DS-1 PCI Audio

#audio* at      eap?
#audio* at      eso?
#audio* at      sv?
#audio* at      yds?

#opl*   at      eso?
#opl*   at      sv?
#opl*   at      yds?

#mpu*   at      eso?
#mpu*   at      yds?

# 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
#lxtphy*        at mii? phy ?           # Level One LXT-970 PHYs
#nsphy* at mii? phy ?                   # NS83840 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
ukphy*  at mii? phy ?                   # generic unknown PHYs

# SCSI bus support
#scsibus* at    adv?
#scsibus* at    adw?
#scsibus* at    ahc?
#scsibus* at    bha?
#scsibus* at    dpt?
#scsibus* at    isp?
#scsibus* at    siop?
#scsibus* at    pcscp?

# SCSI devices
#cd*    at      scsibus? target ? lun ?         # SCSI CD-ROM drives
#sd*    at      scsibus? target ? lun ?         # SCSI disk drives
#st*    at      scsibus? target ? lun ?         # SCSI tape drives

# ATA (IDE) bus support
#atabus* at ata?

# IDE drives
#wd*    at      atabus? drive ?

# ATAPI bus support
#atapibus* at   atapi?

# ATAPI devices
#sd*    at      atapibus? drive ?               # ATAPI disk devices
#cd*    at      atapibus? drive ?               # ATAPI CD-ROM devices

# Floppy drives
#fd*    at      fdc? drive ?

# Hardware RAID devices
#ld*    at      cac? unit ?
#ld*    at      mlx? unit ?

# 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 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

# Serial adapters
# FTDI FT8U100AX serial adapter
#uftdi* at uhub? port ?
#ucom*  at uftdi? portno ?

# Kyocera AIR-EDGE PHONE
#ukyopon* at uhub? port ?
#ucom*  at ukyopon? portno ?

# USB Generic driver
#ugen*  at uhub? port ?

# Workstation Console attachments
#wsdisplay*     at      vga?
#wskbd*         at      pckbd?
#wsmouse*       at      pms?

pseudo-device   bpfilter
pseudo-device   ccd
#pseudo-device  cgd                     # cryptographic disk devices
#pseudo-device  raid                    # RAIDframe disk driver
#options        RAID_AUTOCONFIG         # auto-configuration of RAID components
#pseudo-device  fss                     # file system snapshot device
pseudo-device   npf                     # NPF packet filter
pseudo-device   loop
pseudo-device   md
pseudo-device   ppp
pseudo-device   pty                     # pseudo-terminals
pseudo-device   sl
pseudo-device   vnd
#pseudo-device  gre                     # generic L3 over IP tunnel
pseudo-device   gif                     # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device  faith                   # IPv[46] tcp relay translation i/f
pseudo-device   stf                     # 6to4 IPv6 over IPv4 encapsulation
pseudo-device   vlan                    # IEEE 802.1q encapsulation
#pseudo-device  sequencer               # MIDI sequencer
#options        RND_COM                 # use "com" randomness too
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   drvctl                  # user control of drive subsystem