#       $NetBSD: HPW650PA,v 1.33 2023/09/12 22:07:33 andvar Exp $
#
#       HITACHI PERSONA HPW650PA
#

include         "arch/hpcsh/conf/std.hpcsh"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        32                      # estimated number of users

options         HZ=64                   # default clock rate

# in-kernel bootloader, see kloader(4)
options         KLOADER
#options        KLOADER_KERNEL_PATH="\"/netbsd\""
#options        KLOADER_DEBUG

options         SH4                     # SH7750V 128MHz
options         PCLOCK=32000000         # 32MHz

options         HPC_DEBUG_INTERRUPT_MONITOR
options         HPC_DEBUG_LCD

options         DDB                     # in-kernel debugger
pseudo-device   ksyms
#options        KGDB                    # in-kernel debugger
#options        KGDB_DEVNAME="\"hd64465uart\"",KGDB_DEVRATE=19200
#makeoptions    DEBUG="-g"      # compile full symbol table
options         DIAGNOSTIC              # extra kernel debugging checks
options         DEBUG                   # extra kernel debugging support
options         KTRACE                  # system call tracing support

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

# Compatibility options
#options        BSDDISKLABEL_EI # endian independent disklabel support

# Executable format options
options         EXEC_COFF       # 32-bit COFF executables

# File systems
file-system     FFS             # UFS
file-system     MFS             # memory file system (requires FFS)
file-system     MSDOSFS         # MS-DOS file system
file-system     NFS             # Sun NFS-compatible filesystem client
options         FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPV6
options         NFS_BOOT_DHCP

# Kernel root file system and dump configuration.
config          netbsd  root on ? type ?

options         WSEMUL_VT100
options         WSDISPLAY_DEFAULTSCREENS=1
#options        WSDISPLAY_COMPAT_USL            # wsconscfg VT handling
options         FONT_VT220L8x10
options         WS_KERNEL_FG=WSCOL_BROWN
options         WS_KERNEL_BG=WSCOL_BLUE

#
# Device configuration
#
mainbus0 at root

cpu*            at mainbus?
shb*            at mainbus?
bivideo*        at mainbus0

hpcfb*          at bivideo?
wsdisplay*      at hpcfb?

hd64465if*      at shb?
com*            at hd64465if?
hd64465pcmcia*  at hd64465if?

rtc*            at shb?

# PCMCIA bus support
pcmcia* at hd64465pcmcia? controller ? socket ?

# PCMCIA network interfaces
ne*     at pcmcia? function ?           # NE2000-compatible Ethernet
ukphy*  at mii? phy ?                   # generic unknown PHYs

# PCMCIA IDE disk
wdc*    at pcmcia? function ?
atabus* at ata?
wd*     at atabus? drive ? flags 0x0000

# Pseudo-Devices
pseudo-device   biconsdev       1       # build-in console device
pseudo-device   pty                     # pseudo-terminals

pseudo-device   bpfilter                # Berkeley packet filter
pseudo-device   loop                    # network loopback
pseudo-device   clockctl                # user control of clock subsystem
#pseudo-device  fss                     # file system snapshot device