#
# kernel config file for debugging.
#
#       $NetBSD: DEBUG,v 1.29 2023/11/07 21:39:30 andvar Exp $
#

include         "arch/playstation2/conf/std.playstation2"
include         "arch/playstation2/conf/config.playstation2"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

config          netbsd          root on ? type ?

makeoptions     DEFGP="-G 0"

options         KLOADER_KERNEL_PATH="\"/netbsd\""
options         KLOADER

options         NMBCLUSTERS=4096 # Max. number of mbuf clusters

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         NFSSERVER       # Network File System server

# Standard system options
#options        DIAGNOSTIC      # expensive kernel consistency checks
options         DEBUG                   # extra kernel debugging support
options         DDB                     # in-kernel debugger
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
options         KTRACE                  # system call tracing support
options         MSGBUFSIZE=8192         # dmesg buffer size
#options        SYSCALL_DEBUG
#options        LOCKDEBUG
options         GPROF           # kernel profiling
makeoptions     PROF="-pg"
options         USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

#options        USBVERBOSE      # verbose USB device autoconfig messages
#options        MIIVERBOSE      # verbose PHY autoconfig messages

options         GSFB_DEBUG_MONITOR, INTR_DEBUG, SIF_DEBUG, SMAP_DEBUG
options         EMAC3_DEBUG

# USB Generic HID devices
uhidev* at uhub? port ? configuration ? interface ?
uhid*   at uhidev? reportid ?

# USB Printer
ulpt*   at uhub? port ? configuration ? interface ?

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*   at umodem?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
atapibus* at umass?
scsibus* at umass? channel ?

# USB audio
uaudio* at uhub? port ? configuration ?
midi*   at midibus?

# USB MIDI
umidi* at uhub? port ? configuration ?

# MII/PHY support
rgephy* at mii? phy ?                   # Realtek 8169S/8110S/8211 PHYs
rlphy*  at mii? phy ?                   # Realtek 8139/8201L PHYs
ukphy*  at mii? phy ?                   # generic unknown PHYs
urlphy* at mii? phy ?                   # Realtek RTL8150L internal PHYs

# USB Ethernet adapters
aue*    at uhub? port ?         # ADMtek AN986 Pegasus based adapters
axe*    at uhub? port ?         # ASIX AX88172 based adapters
cue*    at uhub? port ?         # CATC USB-EL1201A based adapters
kue*    at uhub? port ?         # Kawasaki LSI KL5KUSB101B based adapters
mue*    at uhub? port ?         # Microchip LAN75xx/LAN78xx based adapters
ure*    at uhub? port ?         # Realtek RTL8152/RTL8153 based adapters
url*    at uhub? port ?         # Realtek RTL8150L based adapters

# Prolific PL2301/PL2302 host-to-host adapter
upl*    at uhub? port ?

# Serial adapters
# FTDI FT8U100AX serial adapter
uftdi*  at uhub? port ?
ucom*   at uftdi? portno ?

uplcom* at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
ucom*   at uplcom? portno ?

umct*   at uhub? port ?         # MCT USB-RS232 serial adapter
ucom*   at umct? portno ?

# USB Handspring Visor
uvisor* at uhub? port ?
ucom*   at uvisor?

# Kyocera AIR-EDGE PHONE
ukyopon* at uhub? port ?
ucom*   at ukyopon? portno ?

# USB scanners that use SCSI emulation, e.g., HP5300
usscanner* at uhub? port ?
scsibus* at usscanner? channel ?

audio*  at uaudio?

spkr*   at audio?                       # PC speaker (synthesized)

pseudo-device   ppp                     # Point-to-Point Protocol