NetBSD/sys/dev/ppbus/files.ppbus

39 lines
1.0 KiB
Plaintext
Raw Normal View History

# Config file and device description for machine-independent parallel port bus
# code.
defflag opt_ppbus.h PPBUS_VERBOSE PPBUS_DEBUG
defflag opt_ppbus_1284.h DONTPROBE_1284 DEBUG_1284
# Generic device attribute: parallel port
define parport { }
# ppbus related files
device ppbus { }
attach ppbus at parport
file dev/ppbus/ppbus_conf.c ppbus needs-flag
file dev/ppbus/ppbus_base.c ppbus
file dev/ppbus/ppbus_msq.c ppbus
file dev/ppbus/ppbus_1284.c ppbus
# lpt driver
defflag opt_ppbus_lpt.h LPT_DEBUG LPT_VERBOSE
device lpt
attach lpt at ppbus with lpt_ppbus
file dev/ppbus/lpt.c lpt_ppbus
# XXX for now, include dev/ic/lpt.c if lpt is configured,
# to ease transition from old lpt(4)
defflag USE_ALT_LPT
file dev/ic/lpt.c lpt & !ppbus & !use_alt_lpt
# PLIP driver
defflag opt_plip.h PLIP_DEBUG
device plip # : arp, ether, ifnet
attach plip at ppbus
file dev/ppbus/if_plip.c plip needs-flag
# AT-compatible parallel port chipset
defflag opt_atppc.h ATPPC_DEBUG ATPPC_VERBOSE
device atppc: parport
file dev/ic/atppc.c atppc needs-flag