#       $NetBSD: JORNADA720,v 1.105 2020/04/18 11:00:41 skrll Exp $
#
#       JORNADA -- Windows-CE based jornada 720
#

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

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "GENERIC-$Revision: 1.105 $"

# 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 SA-1110 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     TMPFS           # Efficient memory file-system
#file-system    UDF             # experimental - OSTA UDF CD/DVD file-system

# 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

# 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         KDTRACE_HOOKS   # kernel DTrace hooks
options         MODULAR         # DTrace is a module (load via modules.conf)
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

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

pcmcom* at pcmcia? function ?           # PCMCIA multi-port serial cards
com*    at pcmcom? slave ?              # ...and the slave devices

# PCMCIA SCSI controllers
aic*    at pcmcia? function ?           # Adaptec APA-1460 SCSI
esp*    at pcmcia? function ?           # Qlogic ESP406/FAS408 SCSI
spc*    at pcmcia? function ?           # Fujitsu MB87030/MB89352 SCSI

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*     at scsibus? target ? lun ?      # SCSI disk drives
st*     at scsibus? target ? lun ?      # SCSI tape drives
cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
ch*     at scsibus? target ? lun ?      # SCSI autochangers
ses*    at scsibus? target ? lun ?      # SCSI Enclosure Services devices
ss*     at scsibus? target ? lun ?      # SCSI scanners
uk*     at scsibus? target ? lun ?      # SCSI unknown

# 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
cs*     at pcmcia? function ?           # CS89xx Ethernet
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?

# Bluetooth Controller and Device support

# Bluetooth PCMCIA Controllers
bt3c*   at pcmcia? function ?           # 3Com 3CRWB6096-A
btbc*   at pcmcia? function ?           # AnyCom BlueCard LSE041/039/139

# Bluetooth Device Hub
bthub*  at bcsp?
bthub*  at bt3c?
bthub*  at btbc?
bthub*  at btuart?

# Bluetooth HID support
bthidev* at bthub?

# Bluetooth Mouse
btms*   at bthidev? reportid ?
wsmouse* at btms? mux 0

# Bluetooth Keyboard
btkbd* at bthidev? reportid ?
wskbd* at btkbd? console ? mux 1

# Bluetooth Apple Magic Mouse
btmagic* at bthub?
wsmouse* at btmagic? mux 0

# Bluetooth Audio support
#btsco* at bthub?

# wscons options
options         WSEMUL_VT100
options         WSDISPLAY_DEFAULTSCREENS=2
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?

# SSP port
j720ssp0        at saip?        addr 0x80070000 size 0x100

# Keyboard driver
j720kbd*        at j720ssp?
hpckbd*         at j720kbd?
wskbd0          at hpckbd? mux 1

# Touch-panel
j720tp*         at j720ssp?             # touch-panel
wsmouse*        at j720tp? mux 0        # - as a pointing device
#wskbd1         at j720tp? mux 1        # - "hard icons" as keys

# LCD screen control
j720lcd*        at j720ssp?

# Power management
j720pwr*        at j720ssp?
hpcapm0         at j720pwr?             # power management
apmdev0         at hpcapm0              # APM

# Pseudo-devices
pseudo-device   loop                    # network loopback
pseudo-device   carp                    # Common Address Redundancy Protocol
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
pseudo-device   bcsp                    # BlueCore Serial Protocol
pseudo-device   btuart                  # Bluetooth HCI UART (H4)

include "dev/veriexec.config"