#       $NetBSD: JORNADA820,v 1.42 2020/04/18 11:00:41 skrll Exp $
#
#       JORNADA -- Windows-CE based jornada 820
#

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

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "GENERIC-$Revision: 1.42 $"

# 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_SA1100      # Support the SA1100 core

# Architecture options

# 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

options         NFS_BOOT_DHCP

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

# The main bus device
mainbus0 at root

# The boot CPU
cpu0 at mainbus?

saip0   at mainbus?

# Serial
options         CONSPEED=19200
sacom0  at saip0 addr 0x80050000 size 0x24      intr 17
#sacom1 at saip0 addr 0x80010000 size 0x24      intr 15


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

# SA1111 companion chip
#sacc0  at saip? addr 0x40000000 size 0x2000

# PCMCIA bus support
#sacpcic*       at sacc?
#pcmcia*                at sacpcic?

# 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?
#
## MII/PHY support
#acphy* at mii? phy ?                   # DAltima 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
#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
#ukphy* at mii? phy ?                   # generic unknown PHYs
#urlphy* at mii? phy ?                  # Realtek RTL8150L internal PHYs
#
# Peripheral IO Controller
#pioc0  at mainbus? base 0x00210000

# 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

# wscons options
#options        WSEMUL_VT100
#options        WSDISPLAY_DEFAULTSCREENS=2
# see arch/hpcarm/dev/j720kbdmap.c for implemented layouts
#options        J720KBD_LAYOUT=KB_FR
#options        FONT_VT220L8x10
# The X server requires theses two options
#options         WSDISPLAY_COMPAT_USL           # wsconscfg VT handling
#options         WSDISPLAY_COMPAT_RAWKBD
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
#options        WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
#options        WS_DEFAULT_FG=WSCOL_WHITE
#options        WS_DEFAULT_BG=WSCOL_BLACK
#options        WS_DEFAULT_COLATTR="(0)"
#options        WS_DEFAULT_MONOATTR="(0)"
#options        WS_KERNEL_FG=WSCOL_WHITE
#options        WS_KERNEL_BG=WSCOL_BLACK
#options        WS_KERNEL_COLATTR="(0)"
#options        WS_KERNEL_MONOATTR="(0)"

# physical console
#sed0           at saip?
#hpcfb*         at sed?
#wsdisplay*     at hpcfb?
#j720ssp0       at saip?        addr 0x80070000 size 0x100
#wskbd*         at j720ssp?     mux 1
#wsmouse*       at j720ssp?     mux 0

#pseudo-device  loop                    # network loopback
#pseudo-device  bpfilter                # packet filter
#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  wsmux

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

options DRAM_PAGES=4096