#       $NetBSD: files.hpcapm,v 1.5 2022/05/24 06:28:01 andvar Exp $
#       H/PC APM device emulator

include "dev/hpc/apm/files.apm"

# Transitioning from apmdev(4) to apm(4)
# While drivers are not converted let kernels have either old
#
#   apmdev0 at hpcapm0
#
# to maintain status quo, xor new
#
#   apm0 at hpcapm0
#
# for those who do driver conversion to pmf(9).
attach  apm at apmdevif with apm_apmdevif
file    dev/hpc/apm_apmdevif.c  apm_apmdevif

define  hpcapmif { }
device  hpcapm: apmdevif
attach  hpcapm at hpcapmif
file    dev/hpc/hpcapm.c        hpcapm

defflag opt_hpcapm.h            HPCAPMDEBUG
defparam opt_hpcapm.h           HPCAPMDEBUG_CONF