#       $NetBSD: IPAQ,v 1.84 2020/04/18 11:00:41 skrll Exp $
#
#       iPAQ H3600 -- Windows-CE based PDA
#

include "arch/hpcarm/conf/std.sa11x0"

#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
                               # (default timezone is passed from hpcboot)
#options        NTP             # NTP phase/frequency locked loop

# CPU options

options         CPU_SA1110      # Support the SA1110 core

# Architecture options
options         SAEGPIO_BASE="0x49000000"
                               # we have Extended GPIO
# 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    FILECORE        # Acorn filecore file system
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     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         WAPBL           # File system journaling support
#options        FFS_NO_SNAPSHOT # No FFS snapshot support
#options        NFSSERVER

# 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

# 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

# Miscellaneous kernel options
options         KTRACE          # system call tracing, a la ktrace(1)
options         IRQSTATS        # manage IRQ statistics
#options        SCSIVERBOSE     # Verbose SCSI errors
options         USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options        BUFQ_READPRIO
options         BUFQ_PRIOCSCAN

# Development and Debugging options

#options        BOOT_DUMP       # Enable memorydump at boot
options         DIAGNOSTIC      # internal consistency checks
#options        DEBUG           # expensive debugging checks/support
#options        UVMHIST         # kernhist for uvm/pmap subsystems
options         DDB             # in-kernel debugger
#options        DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#makeoptions    DEBUG="-g"      # compile full symbol table

config          netbsd  root on ? type ?
#options        COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0

# The main bus device
mainbus0 at root

# The boot CPU
cpu0 at mainbus?

saip0   at mainbus?

# Serial
options         CONSPEED=19200
sacom*  at saip? addr 0x80050000 size 0x24      intr 17

# OS Timer
saost*  at saip? addr 0x90000000 size 0x20

# iPAQ bus
ipaqbus* at saip?

# Internal LCD controller
#ipaqlcd* at ipaqbus?
#hpcfb* at ipaqlcd?

# PCMCIA bus support
ipaqpcic*       at ipaqbus?
pcmcia*         at ipaqpcic?

# PCMCIA serial interfaces
com*    at pcmcia? function ?           # Modems and serial cards

# PCMCIA IDE controllers and disks
wdc*    at pcmcia? function ?
atabus* at ata?
wd*     at atabus? drive ?

# PCMCIA network interfaces
an*     at pcmcia? function ?           # Aironet PC4500/PC4800 (802.11)
awi*    at pcmcia? function ?           # BayStack 650/660 (802.11FH/DS)
cnw*    at pcmcia? function ?           # Xircom/Netwave AirSurfer
ep*     at pcmcia? function ?           # 3Com 3c589 and 3c562 Ethernet
mbe*    at pcmcia? function ?           # MB8696x based Ethernet
ne*     at pcmcia? function ?           # NE2000-compatible Ethernet
ray*    at pcmcia? function ?           # Raytheon Raylink (802.11)
#sm*    at pcmcia? function ?           # Megahertz Ethernet
wi*     at pcmcia? function ?           # Lucent WaveLan IEEE (802.11)
#xirc*  at pcmcia? function ?           # Xircom CreditCard Ethernet
#com*   at xirc?
#xi*    at xirc?
#mhzc*  at pcmcia? function ?           # Megahertz Ethernet/Modem combo cards
#com*   at mhzc?
#sm*    at mhzc?

# Serial ports
#com*   at pioc? offset 0x03f8 irq 10
#com*   at pioc? offset 0x02f8 irq -1
#com*   at pioc? offset 0x0338 irq -1
#com*   at pioc? offset 0x0238 irq -1

# Parallel ports
#lpt*   at pioc? offset 0x0278 irq 0
#lpt*   at pioc? offset 0x0378 irq -1
#lpt*   at pioc? offset 0x03bc irq -1

# Workstation Console attachments
#wsdisplay*     at      hpcfb? console?

pseudo-device   loop                    # network loopback
pseudo-device   bpfilter                # packet filter
pseudo-device   carp                    # Common Address Redundancy Protocol
pseudo-device   sl                      # CSLIP
pseudo-device   ppp                     # PPP
pseudo-device   tun                     # network tunneling over tty
#pseudo-device  gre                     # generic L3 over IP tunnel
#pseudo-device  npf                     # NPF packet filter
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   pty                     # pseudo-terminals
#pseudo-device  vnd                     # disk-like interface to files
#pseudo-device  ccd                     # concatenated disk devices
#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   biconsdev 1             # build-in console device

pseudo-device   md                      # Ramdisk driver
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms

include "dev/veriexec.config"