#       $NetBSD: IXDP425,v 1.61 2022/08/07 02:52:25 simonb Exp $
#
#       IXDP425 -- Intel IXDP425/IXCDP1100 Development Platform
#

include "arch/evbarm/conf/std.ixdp425"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

# estimated number of users

maxusers        32

# Standard system options

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

# CPU options

# For XScale systems
options         CPU_XSCALE_IXP425       # Support the XScale core
makeoptions     CPUFLAGS="-mcpu=xscale"

# Architecture options
options         XSCALE_CACHE_READ_WRITE_ALLOCATE
#options        HZ=512

# Board Type
makeoptions     BOARDTYPE="ixdp425"
options         EVBARM_BOARDTYPE=ixdp425

# 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     PROCFS          # /proc
#file-system    PUFFS           # Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system    UMAPFS          # NULLFS + uid and gid remapping
#file-system    UNION           # union file system
file-system     PTYFS           # /dev/pts/N support

# File system options
#options        FFS_EI          # FFS Endian Independent support
#options        FFS_NO_SNAPSHOT # No FFS snapshot support
#options        QUOTA           # legacy UFS quotas
#options        QUOTA2          # new, in-filesystem UFS quotas
options         UFS_DIRHASH     # UFS Large Directory Hashing
options         UFS_EXTATTR     # Extended attribute support for UFS1
options         WAPBL           # File system journaling support
#options        DISKLABEL_EI    # disklabel Endian Independent support
options         NFSSERVER       # Network File System server

# 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_netbsd14.config"
options         COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries

# 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=3400      # Size in blocks
#options        MEMORY_DISK_IS_ROOT     # use memory disk as root

# Console options.  The default console is speed is 115200 baud.
options         CONSPEED=115200         # Console speed
options         CONUNIT=0               # Console port number

# 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 MII autoconfuration messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
#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

# Development and Debugging options

options         DIAGNOSTIC      # internal consistency checks
#options        DEBUG
#options        UVMHIST         # kernhist for uvm/pmap subsystems
options         VERBOSE_INIT_ARM # verbose bootstraping messages
options         DDB             # in-kernel debugger
options         DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#makeoptions    DEBUG="-g"      # compile full symbol table
makeoptions     COPY_SYMTAB=1

config          netbsd          root on ? type ?

# The main bus device
mainbus0        at root

# The boot cpu
cpu0            at mainbus?

# IXP425 slow peripheral
ixpsip0         at mainbus?

#Timer
ixpclk*         at ixpsip? addr 0xc8005000 size 0x30

# Status LEDs
ixdpled*        at ixpsip? addr 0x52000000 size 0x1000

# On-board device support
com0            at ixpsip? addr 0xc8000000 size 0x1000 index 0
com1            at ixpsip? addr 0xc8001000 size 0x1000 index 1

# Watchdog
ixpdog0         at ixpsip? addr 0xc8005014

# IXP425 NPE Micro-engine support
ixme0           at mainbus?             # Includes QMGR
ixpnpe0         at ixme0 npe 1          # NPE-B
ixpnpe1         at ixme0 npe 2          # NPE-C

# IXP425 NPE Ethernet
npe0            at ixpnpe0 phy 0
npe1            at ixpnpe1 phy 1


# IXP425 fast bus
ixpio0          at mainbus?

# PCI bus
pci0            at ixpio? bus ?

#
# Networking devices
#
an*     at pci? dev ? function ?        # Aironet PC4500/PC4800 (802.11)
bge*    at pci? dev ? function ?        # Broadcom 570x gigabit Ethernet
ep*     at pci? dev ? function ?        # 3Com 3c59x
epic*   at pci? dev ? function ?        # SMC EPIC/100 Ethernet
ex*     at pci? dev ? function ?        # 3Com 90x[BC]
fxp*    at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
gsip*   at pci? dev ? function ?        # NS83820 Gigabit Ethernet
mtd*    at pci? dev ? function ?        # Myson MTD803 3-in-1 Ethernet
ne*     at pci? dev ? function ?        # NE2000-compatible Ethernet
ntwoc*  at pci? dev ? function ?        # Riscom/N2 PCI Sync Serial
pcn*    at pci? dev ? function ?        # AMD PCnet-PCI Ethernet
rtk*    at pci? dev ? function ?        # Realtek 8129/8139
sf*     at pci? dev ? function ?        # Adaptec AIC-6915 Ethernet
sip*    at pci? dev ? function ?        # SiS 900/DP83815 Ethernet
ste*    at pci? dev ? function ?        # Sundance ST-201 Ethernet
stge*   at pci? dev ? function ?        # Sundance/Tamarack TC9021 Gigabit
ti*     at pci? dev ? function ?        # Alteon ACEnic gigabit 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
wi*     at pci? dev ? function ?        # Intersil Prism Mini-PCI (802.11b)
wm*     at pci? dev ? function ?        # Intel 82543/82544 gigabit

# MII/PHY support
acphy*  at mii? phy ?                   # Altima 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
urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs
ukphy*  at mii? phy ?                   # generic unknown PHYs

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device  md                      # memory disk device (ramdisk)
pseudo-device   vnd                     # disk-like interface to files
#pseudo-device  fss                     # file system snapshot device
#pseudo-device  putter                  # for puffs and pud

# network pseudo-devices
pseudo-device   bpfilter                # Berkeley packet filter
pseudo-device   loop                    # network loopback
pseudo-device   kttcp                   # network loopback

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms

# data mover pseudo-devices
#pseudo-device  swdmover                # software dmover(9) back-end
#pseudo-device  dmoverio                # /dev/dmover dmover(9) interface