#       $NetBSD: MIMORI,v 1.77 2024/01/29 18:27:10 christos Exp $
#       NetBSD: GENERIC,v 1.31 2000/06/09 05:33:02 soda Exp
#
#       MIMORI -- My NEC RISCstation 2250 (ur)
#

include         "arch/arc/conf/std.arc"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        32              # estimated number of users

# Platform support
options         PLATFORM_NEC_RD94               # NEC RISCstation 2250

# Standard system options

options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
options         NTP             # NTP phase/frequency locked loop

options         KTRACE          # system call tracing via ktrace(1)

options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing

options         USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# Diagnostic/debugging support options
options         DIAGNOSTIC              # cheap kernel consistency checks
#options        DEBUG                   # expensive debugging checks/support
options         DDB                     # in-kernel debugger
pseudo-device   ksyms
#options        DDB_HISTORY_SIZE=100    # enable history editing in DDB
#options        KGDB                    # remote gdb
#options        KGDB_DEVRATE=19200      # kernel gdb port rate (default 9600)
#options        KGDB_DEV="17*256+0"     # device for kernel gdb
#makeoptions    DEBUG="-g"              # compile full symbol table

# Compatibility options
include         "conf/compat_netbsd10.config"
options         COMPAT_386BSD_MBRPART # recognize old partition ID

# mipsel specific
#options        COMPAT_ULTRIX   # Ultrix binary compatibility
#options        EXEC_ECOFF      # Ultrix RISC binaries are ECOFF format

# File systems
file-system     FFS             # fast filesystem
#file-system    EXT2FS          # second extended file system (linux)
#file-system    LFS             # log-structured file system
file-system     MFS             # memory file system
file-system     NTFS            # Windows/NT file system (experimental)
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS file system
file-system     NFS             # Network File System client
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
#file-system    OVERLAY         # overlay file system
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 vcoda (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       # Network File System server
#options        FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
#options        GATEWAY         # IP 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 protocols
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

# JIT compiler for bpfilter
#options        SLJIT
#options        BPFJIT

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options         EISAVERBOSE     # verbose EISA device autoconfig messages
options         PCIVERBOSE      # verbose PCI device autoconfig messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
options         SCSIVERBOSE     # human readable SCSI error messages

# wscons terminal emulation
options         WSEMUL_VT100    # VT100 emulation
options         WSDISPLAY_COMPAT_USL            # wsconscfg VT handling

# Kernel root file system and dump configuration.
options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
config          netbsd  root on ? type ?
#config         netbsd  root on sd0a type ffs
#config         netbsd  root on ? type nfs

#
# Device configuration
#

mainbus0        at root
cpu*            at mainbus0

#### Jazz-Internal bus devices

# PLATFORM_ACER_PICA_61
# PLATFORM_MICROSOFT_JAZZ
# PLATFORM_NEC_JC94
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
jazzio*         at mainbus0     # Jazz-Internal bus host bridge.

timer0          at jazzio?
mcclock0        at jazzio?
#pc0            at jazzio?
#opms0          at jazzio?
#vga0           at jazzio?      # Jazz localbus VGA
pckbc0          at jazzio?      # PC keyboard controller
com0            at jazzio?
com1            at jazzio?
lpt0            at jazzio?
sn0             at jazzio?

fdc0            at jazzio?
fd*             at fdc? drive ?

oosiop*         at jazzio?                      # NCR53C700 SCSI

#### PCI bus devices

# PLATFORM_NEC_JC94
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
necpb*          at mainbus0     # NEC RISCstation PCI host bridge.
pci*            at necpb?

#pcivga*        at pci? dev ? function ?
tga*            at pci? dev ? function ?        # DEC ZLXp-E[123] Graphics

ahc*            at pci? dev ? function ?        # Adaptec [23]94x, aic78x0 SCSI
#siop*          at pci? dev ? function ?        # NCR/Symbios 53c8xx SCSI

# 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

ex*             at pci? dev ? function ?        # 3Com 90x[BC]
fxp*            at pci? dev ? function ?        # Intel EtherExpress PRO
pcn*            at pci? dev ? function ?        # PCnet-PCI
ne*             at pci? dev ? function ?        # NE2000-compatible
tlp*            at pci? dev ? function ?        # DECchip 21x4x and clones

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

# SCSI bus support
scsibus*        at scsi?

#### SCSI bus devices

sd*             at scsibus? target ? lun ?
st*             at scsibus? target ? lun ?
cd*             at scsibus? target ? lun ?
ch*             at scsibus? target ? lun ?
ss*             at scsibus? target ? lun ?
uk*             at scsibus? target ? lun ?

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

# IDE drives
wd*             at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus*       at atapi?

#### ATAPI bus 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
uk*             at atapibus? drive ? flags 0x0000       # ATAPI unknown

#### Workstation Console attachments

#wsdisplay*     at vga?
wsdisplay*      at tga?
pckbd*          at pckbc?       # PC keyboard (kbd port)
wskbd*          at pckbd?
pms*            at pckbc?       # PS/2-style mouse (aux port)
wsmouse*        at pms?

#### Pseudo devices

# disk/mass storage pseudo-devices
pseudo-device   ccd                     # concatenated/striped disk devices
#pseudo-device  raid                    # RAIDframe disk driver
#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
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

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
#pseudo-device  sequencer               # MIDI sequencer
# rnd works; RND_COM does not on port arc yet.
#options        RND_COM                 # use "com" randomness as well (BROKEN)
pseudo-device   clockctl                # user control of clock subsystem

# a pseudo device needed for Coda       # also needs CODA (above)
#pseudo-device  vcoda                   # coda minicache <-> venus comm.

# mouse & keyboard multiplexor pseudo-devices
#pseudo-device  wsmux