files.hpcapm revision 1.3
11.3Suwe# $NetBSD: files.hpcapm,v 1.3 2009/04/03 04:21:51 uwe Exp $ 21.1Scube# H/PC APM device emulator 31.1Scube 41.3Suwe# XXX: transitioning from apmdev(4) to apm(4) 51.3Suwe# XXX: cannot include both, unfortunately 61.3Suwe# 71.3Suwe# While drivers are not converted let kernels have either old 81.3Suwe# 91.3Suwe# apmdev0 at hpcapm0 # defined in dev/hpc/apm/files.apm 101.3Suwe# 111.3Suwe# to maintain status quo, xor new 121.3Suwe# 131.3Suwe# apm0 at hpcapm0 141.3Suwe# 151.3Suwe# for those who do driver convertion to pmf(9). 161.3Suwe 171.3Suwe#-if old apmdev(4) - dopowerhooks(9) 181.3Suwe 191.1Scubeinclude "dev/hpc/apm/files.apm" 201.1Scube 211.3Suwe#-else new apm(4) - pmf(9) 221.3Suwe 231.3Suwe#include "dev/apm/files.apm" 241.3Suwe#define apmdevif {} 251.3Suwe#attach apm at apmdevif with apm_apmdevif 261.3Suwe#file dev/hpc/apm_apmdevif.c apm_apmdevif 271.3Suwe 281.3Suwe#-endif 291.3Suwe 301.3Suwe 311.1Scubedefine hpcapmif { } 321.1Scubedevice hpcapm: apmdevif 331.1Scubeattach hpcapm at hpcapmif 341.1Scubefile dev/hpc/hpcapm.c hpcapm 351.2Speter 361.2Speterdefflag opt_hpcapm.h HPCAPMDEBUG 371.2Speterdefparam opt_hpcapm.h HPCAPMDEBUG_CONF 38